update, text, response

This commit is contained in:
2025-11-02 11:09:14 +01:00
parent 14776c86b0
commit eed8a4ddcf
2794 changed files with 156786 additions and 129204 deletions

9
node_modules/uglify-js/lib/ast.js generated vendored
View File

@@ -169,8 +169,6 @@ DEF_BITPROPS(AST_Node, [
"private",
// AST_Call
"pure",
// AST_Assign
"redundant",
// AST_Node
"single_use",
// AST_ClassProperty
@@ -967,9 +965,12 @@ var AST_ClassProperty = DEFNODE("ClassProperty", "key private static value", {
if (this.key != null) throw new Error("key must be null");
} else if (typeof this.key != "string") {
if (!(this.key instanceof AST_Node)) throw new Error("key must be string or AST_Node");
if (this.private) throw new Error("computed key cannot be private");
must_be_expression(this, "key");
} else if (this.private) {
if (!/^#/.test(this.key)) throw new Error("private key must prefix with #");
}
if(this.value != null) {
if (this.value != null) {
if (!(this.value instanceof AST_Node)) throw new Error("value must be AST_Node");
}
},
@@ -978,7 +979,7 @@ var AST_ClassProperty = DEFNODE("ClassProperty", "key private static value", {
var AST_ClassField = DEFNODE("ClassField", null, {
$documentation: "A `class` field",
_validate: function() {
if(this.value != null) must_be_expression(this, "value");
if (this.value != null) must_be_expression(this, "value");
},
}, AST_ClassProperty);