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:
2
node_modules/webpack/lib/serialization/ObjectMiddleware.js
generated
vendored
2
node_modules/webpack/lib/serialization/ObjectMiddleware.js
generated
vendored
@@ -157,11 +157,9 @@ jsTypes.set(ReferenceError, new ErrorObjectSerializer(ReferenceError));
|
||||
jsTypes.set(SyntaxError, new ErrorObjectSerializer(SyntaxError));
|
||||
jsTypes.set(TypeError, new ErrorObjectSerializer(TypeError));
|
||||
|
||||
// @ts-expect-error ES2018 doesn't `AggregateError`, but it can be used by developers
|
||||
// eslint-disable-next-line n/no-unsupported-features/es-builtins, n/no-unsupported-features/es-syntax
|
||||
if (typeof AggregateError !== "undefined") {
|
||||
jsTypes.set(
|
||||
// @ts-expect-error ES2018 doesn't `AggregateError`, but it can be used by developers
|
||||
// eslint-disable-next-line n/no-unsupported-features/es-builtins, n/no-unsupported-features/es-syntax
|
||||
AggregateError,
|
||||
new AggregateErrorSerializer()
|
||||
|
||||
Reference in New Issue
Block a user