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:
4
node_modules/webpack/lib/util/source.js
generated
vendored
4
node_modules/webpack/lib/util/source.js
generated
vendored
@@ -17,9 +17,9 @@ const equalityCache = new WeakMap();
|
||||
*/
|
||||
const _isSourceEqual = (a, b) => {
|
||||
// prefer .buffer(), it's called anyway during emit
|
||||
/** @type {Buffer|string} */
|
||||
/** @type {Buffer | string} */
|
||||
let aSource = typeof a.buffer === "function" ? a.buffer() : a.source();
|
||||
/** @type {Buffer|string} */
|
||||
/** @type {Buffer | string} */
|
||||
let bSource = typeof b.buffer === "function" ? b.buffer() : b.source();
|
||||
if (aSource === bSource) return true;
|
||||
if (typeof aSource === "string" && typeof bSource === "string") return false;
|
||||
|
||||
Reference in New Issue
Block a user