Add <%br= %> jqhtml syntax docs, class override detection, npm update

Document event handler placement and model fetch clarification

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2026-01-15 10:16:06 +00:00
parent 61f8f058f2
commit 1594502cb2
791 changed files with 7044 additions and 6089 deletions

View File

@@ -6,43 +6,41 @@ Object.defineProperty(exports, "__esModule", {
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _default = exports.default = (0, _helperPluginUtils.declare)((api, options) => {
api.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");
api.assertVersion("^7.0.0-0 || ^8.0.0-0 || >8.0.0-alpha <8.0.0-beta");
let {
version
} = options;
{
const {
legacy
} = options;
if (legacy !== undefined) {
if (typeof legacy !== "boolean") {
throw new Error(".legacy must be a boolean.");
}
if (version !== undefined) {
throw new Error("You can either use the .legacy or the .version option, not both.");
}
const {
legacy
} = options;
if (legacy !== undefined) {
if (typeof legacy !== "boolean") {
throw new Error(".legacy must be a boolean.");
}
if (version === undefined) {
version = legacy ? "legacy" : "2018-09";
} else if (version !== "2023-11" && version !== "2023-05" && version !== "2023-01" && version !== "2022-03" && version !== "2021-12" && version !== "2018-09" && version !== "legacy") {
throw new Error("Unsupported decorators version: " + version);
if (version !== undefined) {
throw new Error("You can either use the .legacy or the .version option, not both.");
}
var {
decoratorsBeforeExport
} = options;
if (decoratorsBeforeExport === undefined) {
if (version === "2021-12" || version === "2022-03") {
decoratorsBeforeExport = false;
} else if (version === "2018-09") {
throw new Error("The decorators plugin, when .version is '2018-09' or not specified," + " requires a 'decoratorsBeforeExport' option, whose value must be a boolean.");
}
} else {
if (version === "legacy" || version === "2022-03" || version === "2023-01") {
throw new Error(`'decoratorsBeforeExport' can't be used with ${version} decorators.`);
}
if (typeof decoratorsBeforeExport !== "boolean") {
throw new Error("'decoratorsBeforeExport' must be a boolean.");
}
}
if (version === undefined) {
version = legacy ? "legacy" : "2018-09";
} else if (version !== "2023-11" && version !== "2023-05" && version !== "2023-01" && version !== "2022-03" && version !== "2021-12" && version !== "2018-09" && version !== "legacy") {
throw new Error("Unsupported decorators version: " + version);
}
var {
decoratorsBeforeExport
} = options;
if (decoratorsBeforeExport === undefined) {
if (version === "2021-12" || version === "2022-03") {
decoratorsBeforeExport = false;
} else if (version === "2018-09") {
throw new Error("The decorators plugin, when .version is '2018-09' or not specified," + " requires a 'decoratorsBeforeExport' option, whose value must be a boolean.");
}
} else {
if (version === "legacy" || version === "2022-03" || version === "2023-01") {
throw new Error(`'decoratorsBeforeExport' can't be used with ${version} decorators.`);
}
if (typeof decoratorsBeforeExport !== "boolean") {
throw new Error("'decoratorsBeforeExport' must be a boolean.");
}
}
return {

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "@babel/plugin-syntax-decorators",
"version": "7.27.1",
"version": "7.28.6",
"description": "Allow parsing of decorators",
"repository": {
"type": "git",
@@ -17,13 +17,13 @@
"babel-plugin"
],
"dependencies": {
"@babel/helper-plugin-utils": "^7.27.1"
"@babel/helper-plugin-utils": "^7.28.6"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0"
},
"devDependencies": {
"@babel/core": "^7.27.1"
"@babel/core": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"