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:
6
node_modules/webpack/lib/RuntimeTemplate.js
generated
vendored
6
node_modules/webpack/lib/RuntimeTemplate.js
generated
vendored
@@ -127,6 +127,10 @@ class RuntimeTemplate {
|
||||
return this.outputOptions.environment.const;
|
||||
}
|
||||
|
||||
supportsMethodShorthand() {
|
||||
return this.outputOptions.environment.methodShorthand;
|
||||
}
|
||||
|
||||
supportsArrowFunction() {
|
||||
return this.outputOptions.environment.arrowFunction;
|
||||
}
|
||||
@@ -956,7 +960,7 @@ class RuntimeTemplate {
|
||||
* @param {string} options.request the request
|
||||
* @param {string | string[]} options.exportName the export name
|
||||
* @param {Module} options.originModule the origin module
|
||||
* @param {boolean|undefined} options.asiSafe true, if location is safe for ASI, a bracket can be emitted
|
||||
* @param {boolean | undefined} options.asiSafe true, if location is safe for ASI, a bracket can be emitted
|
||||
* @param {boolean} options.isCall true, if expression will be called
|
||||
* @param {boolean | null} options.callContext when false, call context will not be preserved
|
||||
* @param {boolean} options.defaultInterop when true and accessing the default exports, interop code will be generated
|
||||
|
||||
Reference in New Issue
Block a user