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:
8
node_modules/webpack/lib/dependencies/HarmonyExports.js
generated
vendored
8
node_modules/webpack/lib/dependencies/HarmonyExports.js
generated
vendored
@@ -9,13 +9,13 @@ const RuntimeGlobals = require("../RuntimeGlobals");
|
||||
|
||||
/** @typedef {import("../Module").BuildInfo} BuildInfo */
|
||||
/** @typedef {import("../Module").BuildMeta} BuildMeta */
|
||||
/** @typedef {import("../Parser").ParserState} ParserState */
|
||||
/** @typedef {import("../javascript/JavascriptParser").JavascriptParserState} JavascriptParserState */
|
||||
|
||||
/** @type {WeakMap<ParserState, boolean>} */
|
||||
/** @type {WeakMap<JavascriptParserState, boolean>} */
|
||||
const parserStateExportsState = new WeakMap();
|
||||
|
||||
/**
|
||||
* @param {ParserState} parserState parser state
|
||||
* @param {JavascriptParserState} parserState parser state
|
||||
* @param {boolean} isStrictHarmony strict harmony mode should be enabled
|
||||
* @returns {void}
|
||||
*/
|
||||
@@ -37,7 +37,7 @@ module.exports.enable = (parserState, isStrictHarmony) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {ParserState} parserState parser state
|
||||
* @param {JavascriptParserState} parserState parser state
|
||||
* @returns {boolean} true, when enabled
|
||||
*/
|
||||
module.exports.isEnabled = (parserState) => {
|
||||
|
||||
Reference in New Issue
Block a user