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:
62
node_modules/@babel/plugin-syntax-decorators/lib/index.js
generated
vendored
62
node_modules/@babel/plugin-syntax-decorators/lib/index.js
generated
vendored
@@ -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 {
|
||||
|
||||
2
node_modules/@babel/plugin-syntax-decorators/lib/index.js.map
generated
vendored
2
node_modules/@babel/plugin-syntax-decorators/lib/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
6
node_modules/@babel/plugin-syntax-decorators/package.json
generated
vendored
6
node_modules/@babel/plugin-syntax-decorators/package.json
generated
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user