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:
32
node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js
generated
vendored
32
node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js
generated
vendored
@@ -136,9 +136,7 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
|
||||
if (path.isCallExpression() && !_core.types.isImport(path.node.callee)) return;
|
||||
if (path.isCallExpression()) {
|
||||
if (!this.file.has("@babel/plugin-proposal-dynamic-import")) {
|
||||
{
|
||||
console.warn(MISSING_PLUGIN_WARNING);
|
||||
}
|
||||
console.warn(MISSING_PLUGIN_WARNING);
|
||||
}
|
||||
} else {
|
||||
if (!this.file.has("@babel/plugin-proposal-dynamic-import")) {
|
||||
@@ -166,6 +164,7 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
|
||||
}
|
||||
},
|
||||
exit(path, state) {
|
||||
var _path$scope, _path$scope$hoistVari;
|
||||
const scope = path.scope;
|
||||
const exportIdent = scope.generateUid("export");
|
||||
const {
|
||||
@@ -348,10 +347,7 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
|
||||
});
|
||||
let moduleName = (0, _helperModuleTransforms.getModuleName)(this.file.opts, options);
|
||||
if (moduleName) moduleName = _core.types.stringLiteral(moduleName);
|
||||
{
|
||||
var _path$scope, _path$scope$hoistVari;
|
||||
(_path$scope$hoistVari = (_path$scope = path.scope).hoistVariables) != null ? _path$scope$hoistVari : _path$scope.hoistVariables = require("@babel/traverse").Scope.prototype.hoistVariables;
|
||||
}
|
||||
(_path$scope$hoistVari = (_path$scope = path.scope).hoistVariables) != null ? _path$scope$hoistVari : _path$scope.hoistVariables = require("@babel/traverse").Scope.prototype.hoistVariables;
|
||||
path.scope.hoistVariables((id, hasInit) => {
|
||||
variableIds.push(id);
|
||||
if (!hasInit && id.name in exportMap) {
|
||||
@@ -376,18 +372,16 @@ var _default = exports.default = (0, _helperPluginUtils.declare)((api, options)
|
||||
path.remove();
|
||||
}
|
||||
let hasTLA = false;
|
||||
{
|
||||
path.traverse({
|
||||
AwaitExpression(path) {
|
||||
hasTLA = true;
|
||||
path.stop();
|
||||
},
|
||||
Function(path) {
|
||||
path.skip();
|
||||
},
|
||||
noScope: true
|
||||
});
|
||||
}
|
||||
path.traverse({
|
||||
AwaitExpression(path) {
|
||||
hasTLA = true;
|
||||
path.stop();
|
||||
},
|
||||
Function(path) {
|
||||
path.skip();
|
||||
},
|
||||
noScope: true
|
||||
});
|
||||
path.node.body = [buildTemplate({
|
||||
SYSTEM_REGISTER: _core.types.memberExpression(_core.types.identifier(systemGlobal), _core.types.identifier("register")),
|
||||
BEFORE_BODY: beforeBody,
|
||||
|
||||
2
node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js.map
generated
vendored
2
node_modules/@babel/plugin-transform-modules-systemjs/lib/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user