Add JS-CATCH-FALLBACK-01 rule and update npm packages
Add PHP-ALIAS-01 rule: prohibit field aliasing in serialization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
5
node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js
generated
vendored
5
node_modules/webpack/lib/dependencies/HarmonyExportDependencyParserPlugin.js
generated
vendored
@@ -123,7 +123,7 @@ module.exports = class HarmonyExportDependencyParserPlugin {
|
||||
})
|
||||
.join(""),
|
||||
node.type.endsWith("Declaration") &&
|
||||
/** @type {FunctionDeclaration | ClassDeclaration} */ (node).id
|
||||
/** @type {FunctionDeclaration | ClassDeclaration} */ (node).id
|
||||
? /** @type {FunctionDeclaration | ClassDeclaration} */
|
||||
(node).id.name
|
||||
: isFunctionDeclaration
|
||||
@@ -224,7 +224,8 @@ module.exports = class HarmonyExportDependencyParserPlugin {
|
||||
const dep = new HarmonyExportImportedSpecifierDependency(
|
||||
/** @type {string} */
|
||||
(source),
|
||||
parser.state.lastHarmonyImportOrder,
|
||||
/** @type {number} */
|
||||
(parser.state.lastHarmonyImportOrder),
|
||||
id ? [id] : [],
|
||||
name,
|
||||
harmonyNamedExports,
|
||||
|
||||
Reference in New Issue
Block a user