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:
12
node_modules/@babel/plugin-transform-classes/lib/index.js
generated
vendored
12
node_modules/@babel/plugin-transform-classes/lib/index.js
generated
vendored
@@ -29,11 +29,9 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
|
||||
name: "transform-classes",
|
||||
visitor: {
|
||||
ExportDefaultDeclaration(path) {
|
||||
var _path$splitExportDecl;
|
||||
if (!path.get("declaration").isClassDeclaration()) return;
|
||||
{
|
||||
var _path$splitExportDecl;
|
||||
(_path$splitExportDecl = path.splitExportDeclaration) != null ? _path$splitExportDecl : path.splitExportDeclaration = require("@babel/traverse").NodePath.prototype.splitExportDeclaration;
|
||||
}
|
||||
(_path$splitExportDecl = path.splitExportDeclaration) != null ? _path$splitExportDecl : path.splitExportDeclaration = require("@babel/traverse").NodePath.prototype.splitExportDeclaration;
|
||||
path.splitExportDeclaration();
|
||||
},
|
||||
ClassDeclaration(path) {
|
||||
@@ -44,14 +42,12 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
|
||||
path.replaceWith(_core.types.variableDeclaration("let", [_core.types.variableDeclarator(ref, _core.types.toExpression(node))]));
|
||||
},
|
||||
ClassExpression(path, state) {
|
||||
var _path$ensureFunctionN;
|
||||
const {
|
||||
node
|
||||
} = path;
|
||||
if (VISITED.has(node)) return;
|
||||
{
|
||||
var _path$ensureFunctionN;
|
||||
(_path$ensureFunctionN = path.ensureFunctionName) != null ? _path$ensureFunctionN : path.ensureFunctionName = require("@babel/traverse").NodePath.prototype.ensureFunctionName;
|
||||
}
|
||||
(_path$ensureFunctionN = path.ensureFunctionName) != null ? _path$ensureFunctionN : path.ensureFunctionName = require("@babel/traverse").NodePath.prototype.ensureFunctionName;
|
||||
const replacement = path.ensureFunctionName(supportUnicodeId);
|
||||
if (replacement && replacement.node !== node) return;
|
||||
VISITED.add(node);
|
||||
|
||||
Reference in New Issue
Block a user