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:
root
2025-12-23 07:36:18 +00:00
parent 3cc590186a
commit 3ce82a924a
1256 changed files with 6491 additions and 3989 deletions

21
node_modules/webpack/hot/dev-server.js generated vendored Executable file → Normal file
View File

@@ -61,14 +61,29 @@ if (module.hot) {
}
});
};
/** @type {EventTarget | NodeJS.EventEmitter} */
var hotEmitter = require("./emitter");
hotEmitter.on("webpackHotUpdate", function (currentHash) {
lastHash = currentHash;
/**
* @param {CustomEvent<{ currentHash: string }>} event event or hash
*/
var handler = function (event) {
lastHash = typeof event === "string" ? event : event.detail.currentHash;
if (!upToDate() && module.hot.status() === "idle") {
log("info", "[HMR] Checking for updates on the server...");
check();
}
});
};
if (typeof EventTarget !== "undefined" && hotEmitter instanceof EventTarget) {
hotEmitter.addEventListener(
"webpackHotUpdate",
/** @type {EventListener} */
(handler)
);
} else {
hotEmitter.on("webpackHotUpdate", handler);
}
log("info", "[HMR] Waiting for update signal from WDS...");
} else {
throw new Error("[HMR] Hot Module Replacement is disabled.");