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:
7
node_modules/terser/lib/compress/reduce-vars.js
generated
vendored
7
node_modules/terser/lib/compress/reduce-vars.js
generated
vendored
@@ -87,7 +87,6 @@ import {
|
||||
AST_Try,
|
||||
AST_Unary,
|
||||
AST_UnaryPrefix,
|
||||
AST_Undefined,
|
||||
AST_UsingDef,
|
||||
AST_VarDef,
|
||||
AST_VarDefLike,
|
||||
@@ -98,7 +97,7 @@ import {
|
||||
walk_body,
|
||||
walk_parent,
|
||||
} from "../ast.js";
|
||||
import { HOP, make_node, noop } from "../utils/index.js";
|
||||
import { HOP, make_node, make_void_0, noop } from "../utils/index.js";
|
||||
|
||||
import { lazy_op, is_modified, is_lhs } from "./inference.js";
|
||||
import { INLINED, clear_flag } from "./compressor-flags.js";
|
||||
@@ -172,7 +171,7 @@ function safe_to_read(tw, def) {
|
||||
if (def.fixed == null) {
|
||||
var orig = def.orig[0];
|
||||
if (orig instanceof AST_SymbolFunarg || orig.name == "arguments") return false;
|
||||
def.fixed = make_node(AST_Undefined, orig);
|
||||
def.fixed = make_void_0(orig);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -470,7 +469,7 @@ function mark_lambda(tw, descend, compressor) {
|
||||
if (d.orig.length > 1) return;
|
||||
if (d.fixed === undefined && (!this.uses_arguments || tw.has_directive("use strict"))) {
|
||||
d.fixed = function() {
|
||||
return iife.args[i] || make_node(AST_Undefined, iife);
|
||||
return iife.args[i] || make_void_0(iife);
|
||||
};
|
||||
tw.loop_ids.set(d.id, tw.in_loop);
|
||||
mark(tw, d, true);
|
||||
|
||||
Reference in New Issue
Block a user