Update npm packages (73 packages including @jqhtml 2.3.36)
Update npm registry domain from privatenpm.hanson.xyz to npm.internal.hanson.xyz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
895
node_modules/php-parser/dist/php-parser.js
generated
vendored
895
node_modules/php-parser/dist/php-parser.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
node_modules/php-parser/dist/php-parser.min.js
generated
vendored
2
node_modules/php-parser/dist/php-parser.min.js
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/php-parser/dist/php-parser.min.js.LICENSE.txt
generated
vendored
2
node_modules/php-parser/dist/php-parser.min.js.LICENSE.txt
generated
vendored
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* Package: php-parser
|
||||
* Parse PHP code from JS and returns its AST
|
||||
* Build: af8d03f746832042f503 - 7/10/2025
|
||||
* Build: 945ab5fd1635905af6d5 - 2/18/2026
|
||||
* Copyright (C) 2021 Glayzzle (BSD-3-Clause)
|
||||
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
|
||||
* @url http://glayzzle.com
|
||||
|
||||
8
node_modules/php-parser/package.json
generated
vendored
8
node_modules/php-parser/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "php-parser",
|
||||
"version": "3.2.5",
|
||||
"version": "3.3.0",
|
||||
"description": "Parse PHP code from JS and returns its AST",
|
||||
"main": "src/index.js",
|
||||
"browser": "dist/php-parser.js",
|
||||
@@ -60,7 +60,7 @@
|
||||
"@babel/core": "^7.27.4",
|
||||
"@babel/preset-env": "^7.27.2",
|
||||
"@eslint/js": "^9.29.0",
|
||||
"@types/node": "^24.0.4",
|
||||
"@types/node": "^25.2.3",
|
||||
"babel-loader": "^10.0.0",
|
||||
"benchmark": "^2.1.4",
|
||||
"coveralls": "^3.0.3",
|
||||
@@ -68,7 +68,7 @@
|
||||
"eslint-config-prettier": "^10.1.5",
|
||||
"eslint-plugin-jest": "^29.0.1",
|
||||
"eslint-plugin-prettier": "^5.5.0",
|
||||
"globals": "^16.2.0",
|
||||
"globals": "^17.3.0",
|
||||
"husky": "^9.1.7",
|
||||
"jest": "^30.0.3",
|
||||
"jest-runner-eslint": "^2.2.1",
|
||||
@@ -78,7 +78,7 @@
|
||||
"prettier": "^3.6.1",
|
||||
"tsd-jsdoc": "^2.5.0",
|
||||
"typescript": "^5.8.3",
|
||||
"webpack": "5.96.0",
|
||||
"webpack": "5.105.2",
|
||||
"webpack-cli": "^6.0.1",
|
||||
"yarpm": "^1.2.0"
|
||||
},
|
||||
|
||||
3
node_modules/php-parser/src/lexer/tokens.js
generated
vendored
3
node_modules/php-parser/src/lexer/tokens.js
generated
vendored
@@ -342,6 +342,9 @@ module.exports = {
|
||||
} else if (nchar === "|") {
|
||||
this.input();
|
||||
return this.tok.T_BOOLEAN_OR;
|
||||
} else if (nchar === ">") {
|
||||
this.input();
|
||||
return this.tok.T_PIPE;
|
||||
}
|
||||
return "|";
|
||||
},
|
||||
|
||||
24
node_modules/php-parser/src/parser/expr.js
generated
vendored
24
node_modules/php-parser/src/parser/expr.js
generated
vendored
@@ -119,6 +119,14 @@ module.exports = {
|
||||
if (this.token === this.tok.T_COALESCE) {
|
||||
return result("bin", "??", expr, this.next().read_expr());
|
||||
}
|
||||
// extra operations :
|
||||
// $a = "Hi" |> strtoupper(...);
|
||||
if (this.token === this.tok.T_PIPE) {
|
||||
if (this.version < 805) {
|
||||
this.raiseError("PHP 8.5+ is required to use pipe operator");
|
||||
}
|
||||
return result("bin", "|>", expr, this.next().read_expr());
|
||||
}
|
||||
|
||||
// extra operations :
|
||||
// $username = $_GET['user'] ? true : false;
|
||||
@@ -763,6 +771,15 @@ module.exports = {
|
||||
return result(newExp, args);
|
||||
}
|
||||
const attrs = this.read_attr_list();
|
||||
const isReadonly = this.token === this.tok.T_READ_ONLY;
|
||||
if (isReadonly) {
|
||||
if (this.version < 803) {
|
||||
this.raiseError(
|
||||
"Anonymous readonly classes are not allowed before PHP 8.3",
|
||||
);
|
||||
}
|
||||
this.next();
|
||||
}
|
||||
if (this.token === this.tok.T_CLASS) {
|
||||
const what = this.node("class");
|
||||
// Annonymous class declaration
|
||||
@@ -775,7 +792,12 @@ module.exports = {
|
||||
if (this.expect("{")) {
|
||||
body = this.next().read_class_body(true, false);
|
||||
}
|
||||
const whatNode = what(null, propExtends, propImplements, body, [0, 0, 0]);
|
||||
const whatNode = what(null, propExtends, propImplements, body, [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
isReadonly ? 1 : 0,
|
||||
]);
|
||||
whatNode.attrGroups = attrs;
|
||||
return result(whatNode, args);
|
||||
}
|
||||
|
||||
1
node_modules/php-parser/src/tokens.js
generated
vendored
1
node_modules/php-parser/src/tokens.js
generated
vendored
@@ -155,6 +155,7 @@ const TokenNames = {
|
||||
T_NAME_RELATIVE: 241,
|
||||
T_NAME_QUALIFIED: 242,
|
||||
T_NAME_FULLY_QUALIFIED: 243,
|
||||
T_PIPE: 244,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
1
node_modules/php-parser/types.d.ts
generated
vendored
1
node_modules/php-parser/types.d.ts
generated
vendored
@@ -1434,6 +1434,7 @@ declare module "php-parser" {
|
||||
T_NAME_RELATIVE = 241,
|
||||
T_NAME_QUALIFIED = 242,
|
||||
T_NAME_FULLY_QUALIFIED = 243,
|
||||
T_PIPE = 244,
|
||||
}
|
||||
/**
|
||||
* PHP AST Tokens
|
||||
|
||||
Reference in New Issue
Block a user