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

View File

@@ -371,44 +371,6 @@
"description": "This option enables cross-origin loading of chunks.",
"enum": [false, "anonymous", "use-credentials"]
},
"CssAutoGeneratorOptions": {
"description": "Generator options for css/auto modules.",
"type": "object",
"additionalProperties": false,
"properties": {
"esModule": {
"$ref": "#/definitions/CssGeneratorEsModule"
},
"exportsConvention": {
"$ref": "#/definitions/CssGeneratorExportsConvention"
},
"exportsOnly": {
"$ref": "#/definitions/CssGeneratorExportsOnly"
},
"localIdentName": {
"$ref": "#/definitions/CssGeneratorLocalIdentName"
}
}
},
"CssAutoParserOptions": {
"description": "Parser options for css/auto modules.",
"type": "object",
"additionalProperties": false,
"properties": {
"exportType": {
"$ref": "#/definitions/CssParserExportType"
},
"import": {
"$ref": "#/definitions/CssParserImport"
},
"namedExports": {
"$ref": "#/definitions/CssParserNamedExports"
},
"url": {
"$ref": "#/definitions/CssParserUrl"
}
}
},
"CssChunkFilename": {
"description": "Specifies the filename template of non-initial output css files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.",
"oneOf": [
@@ -468,47 +430,6 @@
}
}
},
"CssGlobalGeneratorOptions": {
"description": "Generator options for css/global modules.",
"type": "object",
"additionalProperties": false,
"properties": {
"esModule": {
"$ref": "#/definitions/CssGeneratorEsModule"
},
"exportType": {
"$ref": "#/definitions/CssParserExportType"
},
"exportsConvention": {
"$ref": "#/definitions/CssGeneratorExportsConvention"
},
"exportsOnly": {
"$ref": "#/definitions/CssGeneratorExportsOnly"
},
"localIdentName": {
"$ref": "#/definitions/CssGeneratorLocalIdentName"
}
}
},
"CssGlobalParserOptions": {
"description": "Parser options for css/global modules.",
"type": "object",
"additionalProperties": false,
"properties": {
"exportType": {
"$ref": "#/definitions/CssParserExportType"
},
"import": {
"$ref": "#/definitions/CssParserImport"
},
"namedExports": {
"$ref": "#/definitions/CssParserNamedExports"
},
"url": {
"$ref": "#/definitions/CssParserUrl"
}
}
},
"CssModuleGeneratorOptions": {
"description": "Generator options for css/module modules.",
"type": "object",
@@ -526,6 +447,15 @@
"exportsOnly": {
"$ref": "#/definitions/CssGeneratorExportsOnly"
},
"localIdentHashDigest": {
"$ref": "#/definitions/HashDigest"
},
"localIdentHashDigestLength": {
"$ref": "#/definitions/HashDigestLength"
},
"localIdentHashSalt": {
"$ref": "#/definitions/HashSalt"
},
"localIdentName": {
"$ref": "#/definitions/CssGeneratorLocalIdentName"
}
@@ -536,9 +466,27 @@
"type": "object",
"additionalProperties": false,
"properties": {
"animation": {
"$ref": "#/definitions/CssParserAnimation"
},
"container": {
"$ref": "#/definitions/CssParserContainer"
},
"customIdents": {
"$ref": "#/definitions/CssParserCustomIdents"
},
"dashedIdents": {
"$ref": "#/definitions/CssParserDashedIdents"
},
"exportType": {
"$ref": "#/definitions/CssParserExportType"
},
"function": {
"$ref": "#/definitions/CssParserFunction"
},
"grid": {
"$ref": "#/definitions/CssParserGrid"
},
"import": {
"$ref": "#/definitions/CssParserImport"
},
@@ -550,10 +498,34 @@
}
}
},
"CssParserAnimation": {
"description": "Enable/disable renaming of `@keyframes`.",
"type": "boolean"
},
"CssParserContainer": {
"description": "Enable/disable renaming of `@container` names.",
"type": "boolean"
},
"CssParserCustomIdents": {
"description": "Enable/disable renaming of custom identifiers.",
"type": "boolean"
},
"CssParserDashedIdents": {
"description": "Enable/disable renaming of dashed identifiers, e. g. custom properties.",
"type": "boolean"
},
"CssParserExportType": {
"description": "Configure how CSS content is exported as default.",
"enum": ["link", "text", "css-style-sheet"]
},
"CssParserFunction": {
"description": "Enable/disable renaming of `@function` names.",
"type": "boolean"
},
"CssParserGrid": {
"description": "Enable/disable renaming of grid identifiers.",
"type": "boolean"
},
"CssParserImport": {
"description": "Enable/disable `@import` at-rules handling.",
"type": "boolean"
@@ -1026,6 +998,10 @@
"description": "The environment supports `import.meta.dirname` and `import.meta.filename`.",
"type": "boolean"
},
"methodShorthand": {
"description": "The environment supports object method shorthand ('{ module() {} }').",
"type": "boolean"
},
"module": {
"description": "The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').",
"type": "boolean"
@@ -1621,10 +1597,10 @@
"$ref": "#/definitions/CssGeneratorOptions"
},
"css/auto": {
"$ref": "#/definitions/CssAutoGeneratorOptions"
"$ref": "#/definitions/CssModuleGeneratorOptions"
},
"css/global": {
"$ref": "#/definitions/CssGlobalGeneratorOptions"
"$ref": "#/definitions/CssModuleGeneratorOptions"
},
"css/module": {
"$ref": "#/definitions/CssModuleGeneratorOptions"
@@ -3378,7 +3354,8 @@
"type": "array",
"items": {
"description": "Size type, like 'javascript', 'webassembly'.",
"type": "string"
"type": "string",
"tsType": "(import(\"../lib/Module\").SourceType)"
},
"minItems": 1
},
@@ -4002,10 +3979,10 @@
"$ref": "#/definitions/CssParserOptions"
},
"css/auto": {
"$ref": "#/definitions/CssAutoParserOptions"
"$ref": "#/definitions/CssModuleParserOptions"
},
"css/global": {
"$ref": "#/definitions/CssGlobalParserOptions"
"$ref": "#/definitions/CssModuleParserOptions"
},
"css/module": {
"$ref": "#/definitions/CssModuleParserOptions"