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/config/normalization.js
generated
vendored
4
node_modules/webpack/lib/config/normalization.js
generated
vendored
@@ -54,7 +54,7 @@ const nestedConfig = (value, fn) =>
|
||||
|
||||
/**
|
||||
* @template T
|
||||
* @param {T|undefined} value value or not
|
||||
* @param {T | undefined} value value or not
|
||||
* @returns {T} result value
|
||||
*/
|
||||
const cloneObject = (value) => /** @type {T} */ ({ ...value });
|
||||
@@ -90,7 +90,7 @@ const optionalNestedArray = (value, fn) =>
|
||||
/**
|
||||
* @template T
|
||||
* @template R
|
||||
* @param {Record<string, T>|undefined} value value or not
|
||||
* @param {Record<string, T> | undefined} value value or not
|
||||
* @param {(value: T) => R} fn nested handler
|
||||
* @param {Record<string, (value: T) => R>=} customKeys custom nested handler for some keys
|
||||
* @returns {Record<string, R>} result value
|
||||
|
||||
Reference in New Issue
Block a user