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:
38
node_modules/@babel/traverse/lib/path/introspection.js
generated
vendored
38
node_modules/@babel/traverse/lib/path/introspection.js
generated
vendored
@@ -33,29 +33,25 @@ const {
|
||||
function matchesPattern(pattern, allowPartial) {
|
||||
return _matchesPattern(this.node, pattern, allowPartial);
|
||||
}
|
||||
{
|
||||
exports.has = function has(key) {
|
||||
var _this$node;
|
||||
const val = (_this$node = this.node) == null ? void 0 : _this$node[key];
|
||||
if (val && Array.isArray(val)) {
|
||||
return !!val.length;
|
||||
} else {
|
||||
return !!val;
|
||||
}
|
||||
};
|
||||
}
|
||||
exports.has = function has(key) {
|
||||
var _this$node;
|
||||
const val = (_this$node = this.node) == null ? void 0 : _this$node[key];
|
||||
if (val && Array.isArray(val)) {
|
||||
return !!val.length;
|
||||
} else {
|
||||
return !!val;
|
||||
}
|
||||
};
|
||||
function isStatic() {
|
||||
return this.scope.isStatic(this.node);
|
||||
}
|
||||
{
|
||||
exports.is = exports.has;
|
||||
exports.isnt = function isnt(key) {
|
||||
return !this.has(key);
|
||||
};
|
||||
exports.equals = function equals(key, value) {
|
||||
return this.node[key] === value;
|
||||
};
|
||||
}
|
||||
exports.is = exports.has;
|
||||
exports.isnt = function isnt(key) {
|
||||
return !this.has(key);
|
||||
};
|
||||
exports.equals = function equals(key, value) {
|
||||
return this.node[key] === value;
|
||||
};
|
||||
function isNodeType(type) {
|
||||
return isType(this.type, type);
|
||||
}
|
||||
@@ -109,7 +105,7 @@ function referencesImport(moduleSource, importName) {
|
||||
return false;
|
||||
}
|
||||
const binding = this.scope.getBinding(this.node.name);
|
||||
if (!binding || binding.kind !== "module") return false;
|
||||
if ((binding == null ? void 0 : binding.kind) !== "module") return false;
|
||||
const path = binding.path;
|
||||
const parent = path.parentPath;
|
||||
if (!parent.isImportDeclaration()) return false;
|
||||
|
||||
Reference in New Issue
Block a user