@rollup/wasm-node 4.53.3 → 4.53.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/rollup +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +85 -42
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.d.ts +5 -3
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +85 -42
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm.js +68 -71
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +17 -17
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.53.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.53.5
|
|
5
|
+
Tue, 16 Dec 2025 06:14:08 GMT - commit 31bb66ee9eea35e5ae348e4074bbad55d390112b
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.53.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.53.5
|
|
4
|
+
Tue, 16 Dec 2025 06:14:08 GMT - commit 31bb66ee9eea35e5ae348e4074bbad55d390112b
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -27,7 +27,7 @@ function _mergeNamespaces(n, m) {
|
|
|
27
27
|
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
var version = "4.53.
|
|
30
|
+
var version = "4.53.5";
|
|
31
31
|
|
|
32
32
|
// src/vlq.ts
|
|
33
33
|
var comma = ",".charCodeAt(0);
|
|
@@ -2002,6 +2002,10 @@ const UnknownKey = Symbol('Unknown Key');
|
|
|
2002
2002
|
const UnknownNonAccessorKey = Symbol('Unknown Non-Accessor Key');
|
|
2003
2003
|
const UnknownInteger = Symbol('Unknown Integer');
|
|
2004
2004
|
const SymbolToStringTag = Symbol('Symbol.toStringTag');
|
|
2005
|
+
const SymbolDispose = Symbol('Symbol.asyncDispose');
|
|
2006
|
+
const SymbolAsyncDispose = Symbol('Symbol.dispose');
|
|
2007
|
+
const WELL_KNOWN_SYMBOLS_LIST = [SymbolToStringTag, SymbolDispose, SymbolAsyncDispose];
|
|
2008
|
+
const WELL_KNOWN_SYMBOLS = new Set(WELL_KNOWN_SYMBOLS_LIST);
|
|
2005
2009
|
const EMPTY_PATH = [];
|
|
2006
2010
|
const UNKNOWN_PATH = [UnknownKey];
|
|
2007
2011
|
// For deoptimizations, this means we are modifying an unknown property but did
|
|
@@ -4270,6 +4274,27 @@ const knownGlobals = {
|
|
|
4270
4274
|
for: PF,
|
|
4271
4275
|
keyFor: PF,
|
|
4272
4276
|
prototype: O,
|
|
4277
|
+
asyncDispose: {
|
|
4278
|
+
__proto__: null,
|
|
4279
|
+
[ValueProperties]: {
|
|
4280
|
+
deoptimizeArgumentsOnCall: doNothing,
|
|
4281
|
+
getLiteralValue() {
|
|
4282
|
+
return SymbolAsyncDispose;
|
|
4283
|
+
},
|
|
4284
|
+
// This might not be needed, but then we need to check a few more cases
|
|
4285
|
+
hasEffectsWhenCalled: returnTrue
|
|
4286
|
+
}
|
|
4287
|
+
},
|
|
4288
|
+
dispose: {
|
|
4289
|
+
__proto__: null,
|
|
4290
|
+
[ValueProperties]: {
|
|
4291
|
+
deoptimizeArgumentsOnCall: doNothing,
|
|
4292
|
+
getLiteralValue() {
|
|
4293
|
+
return SymbolDispose;
|
|
4294
|
+
},
|
|
4295
|
+
hasEffectsWhenCalled: returnTrue
|
|
4296
|
+
}
|
|
4297
|
+
},
|
|
4273
4298
|
toStringTag: {
|
|
4274
4299
|
__proto__: null,
|
|
4275
4300
|
[ValueProperties]: {
|
|
@@ -6490,7 +6515,7 @@ class ExpressionStatement extends NodeBase {
|
|
|
6490
6515
|
render(code, options) {
|
|
6491
6516
|
super.render(code, options);
|
|
6492
6517
|
if (code.original[this.end - 1] !== ';') {
|
|
6493
|
-
code.
|
|
6518
|
+
code.appendRight(this.end, ';');
|
|
6494
6519
|
}
|
|
6495
6520
|
}
|
|
6496
6521
|
shouldBeIncluded(context) {
|
|
@@ -7670,11 +7695,11 @@ class MemberExpression extends NodeBase {
|
|
|
7670
7695
|
this.dynamicPropertyKey = this.propertyKey;
|
|
7671
7696
|
const value = this.property.getLiteralValueAtPath(EMPTY_PATH, SHARED_RECURSION_TRACKER, this);
|
|
7672
7697
|
return (this.dynamicPropertyKey =
|
|
7673
|
-
value ===
|
|
7674
|
-
? value
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7698
|
+
typeof value === 'symbol'
|
|
7699
|
+
? WELL_KNOWN_SYMBOLS.has(value)
|
|
7700
|
+
? value
|
|
7701
|
+
: UnknownKey
|
|
7702
|
+
: String(value));
|
|
7678
7703
|
}
|
|
7679
7704
|
return this.dynamicPropertyKey;
|
|
7680
7705
|
}
|
|
@@ -13052,8 +13077,9 @@ function isReassignedExportsMember(variable, exportNamesByVariable) {
|
|
|
13052
13077
|
}
|
|
13053
13078
|
|
|
13054
13079
|
class VariableDeclarator extends NodeBase {
|
|
13055
|
-
declareDeclarator(kind
|
|
13056
|
-
this.isUsingDeclaration =
|
|
13080
|
+
declareDeclarator(kind) {
|
|
13081
|
+
this.isUsingDeclaration = kind === 'using';
|
|
13082
|
+
this.isAsyncUsingDeclaration = kind === 'await using';
|
|
13057
13083
|
this.id.declare(kind, EMPTY_PATH, this.init || UNDEFINED_EXPRESSION);
|
|
13058
13084
|
}
|
|
13059
13085
|
deoptimizePath(path) {
|
|
@@ -13064,6 +13090,7 @@ class VariableDeclarator extends NodeBase {
|
|
|
13064
13090
|
this.id.markDeclarationReached();
|
|
13065
13091
|
return (initEffect ||
|
|
13066
13092
|
this.isUsingDeclaration ||
|
|
13093
|
+
this.isAsyncUsingDeclaration ||
|
|
13067
13094
|
this.id.hasEffects(context) ||
|
|
13068
13095
|
(this.scope.context.options.treeshake
|
|
13069
13096
|
.propertyReadSideEffects &&
|
|
@@ -13072,7 +13099,7 @@ class VariableDeclarator extends NodeBase {
|
|
|
13072
13099
|
include(context, includeChildrenRecursively) {
|
|
13073
13100
|
const { id, init } = this;
|
|
13074
13101
|
if (!this.included)
|
|
13075
|
-
this.includeNode();
|
|
13102
|
+
this.includeNode(context);
|
|
13076
13103
|
init?.include(context, includeChildrenRecursively);
|
|
13077
13104
|
id.markDeclarationReached();
|
|
13078
13105
|
if (includeChildrenRecursively) {
|
|
@@ -13088,7 +13115,7 @@ class VariableDeclarator extends NodeBase {
|
|
|
13088
13115
|
render(code, options) {
|
|
13089
13116
|
const { exportNamesByVariable, snippets: { _, getPropertyAccess } } = options;
|
|
13090
13117
|
const { end, id, init, start } = this;
|
|
13091
|
-
const renderId = id.included || this.isUsingDeclaration;
|
|
13118
|
+
const renderId = id.included || this.isUsingDeclaration || this.isAsyncUsingDeclaration;
|
|
13092
13119
|
if (renderId) {
|
|
13093
13120
|
id.render(code, options);
|
|
13094
13121
|
}
|
|
@@ -13110,20 +13137,30 @@ class VariableDeclarator extends NodeBase {
|
|
|
13110
13137
|
code.appendLeft(end, `${_}=${_}void 0`);
|
|
13111
13138
|
}
|
|
13112
13139
|
}
|
|
13113
|
-
includeNode() {
|
|
13140
|
+
includeNode(context) {
|
|
13114
13141
|
this.included = true;
|
|
13115
13142
|
const { id, init } = this;
|
|
13116
|
-
if (init
|
|
13117
|
-
|
|
13118
|
-
|
|
13119
|
-
|
|
13120
|
-
|
|
13143
|
+
if (init) {
|
|
13144
|
+
if (this.isUsingDeclaration) {
|
|
13145
|
+
init.includePath(SYMBOL_DISPOSE_PATH, context);
|
|
13146
|
+
}
|
|
13147
|
+
else if (this.isAsyncUsingDeclaration) {
|
|
13148
|
+
init.includePath(SYMBOL_ASYNC_DISPOSE_PATH, context);
|
|
13149
|
+
}
|
|
13150
|
+
if (id instanceof Identifier && init instanceof ClassExpression && !init.id) {
|
|
13151
|
+
const { name, variable } = id;
|
|
13152
|
+
for (const accessedVariable of init.scope.accessedOutsideVariables.values()) {
|
|
13153
|
+
if (accessedVariable !== variable) {
|
|
13154
|
+
accessedVariable.forbidName(name);
|
|
13155
|
+
}
|
|
13121
13156
|
}
|
|
13122
13157
|
}
|
|
13123
13158
|
}
|
|
13124
13159
|
}
|
|
13125
13160
|
}
|
|
13126
13161
|
VariableDeclarator.prototype.applyDeoptimizations = doNotDeoptimize;
|
|
13162
|
+
const SYMBOL_DISPOSE_PATH = [SymbolDispose];
|
|
13163
|
+
const SYMBOL_ASYNC_DISPOSE_PATH = [SymbolAsyncDispose];
|
|
13127
13164
|
|
|
13128
13165
|
function getChunkInfoWithPath(chunk) {
|
|
13129
13166
|
return { fileName: chunk.getFileName(), ...chunk.getPreRenderedChunkInfo() };
|
|
@@ -15361,23 +15398,6 @@ class UpdateExpression extends NodeBase {
|
|
|
15361
15398
|
}
|
|
15362
15399
|
UpdateExpression.prototype.includeNode = onlyIncludeSelf;
|
|
15363
15400
|
|
|
15364
|
-
function areAllDeclarationsIncludedAndNotExported(declarations, exportNamesByVariable) {
|
|
15365
|
-
for (const declarator of declarations) {
|
|
15366
|
-
if (!declarator.id.included)
|
|
15367
|
-
return false;
|
|
15368
|
-
if (declarator.id.type === Identifier$1) {
|
|
15369
|
-
if (exportNamesByVariable.has(declarator.id.variable))
|
|
15370
|
-
return false;
|
|
15371
|
-
}
|
|
15372
|
-
else {
|
|
15373
|
-
const exportedVariables = [];
|
|
15374
|
-
declarator.id.addExportedVariables(exportedVariables, exportNamesByVariable);
|
|
15375
|
-
if (exportedVariables.length > 0)
|
|
15376
|
-
return false;
|
|
15377
|
-
}
|
|
15378
|
-
}
|
|
15379
|
-
return true;
|
|
15380
|
-
}
|
|
15381
15401
|
class VariableDeclaration extends NodeBase {
|
|
15382
15402
|
deoptimizePath() {
|
|
15383
15403
|
for (const declarator of this.declarations) {
|
|
@@ -15407,17 +15427,15 @@ class VariableDeclaration extends NodeBase {
|
|
|
15407
15427
|
}
|
|
15408
15428
|
initialise() {
|
|
15409
15429
|
super.initialise();
|
|
15410
|
-
this.isUsingDeclaration = this.kind === 'await using' || this.kind === 'using';
|
|
15411
15430
|
for (const declarator of this.declarations) {
|
|
15412
|
-
declarator.declareDeclarator(this.kind
|
|
15431
|
+
declarator.declareDeclarator(this.kind);
|
|
15413
15432
|
}
|
|
15414
15433
|
}
|
|
15415
15434
|
removeAnnotations(code) {
|
|
15416
15435
|
this.declarations[0].removeAnnotations(code);
|
|
15417
15436
|
}
|
|
15418
15437
|
render(code, options, nodeRenderOptions = BLANK) {
|
|
15419
|
-
if (this.
|
|
15420
|
-
areAllDeclarationsIncludedAndNotExported(this.declarations, options.exportNamesByVariable)) {
|
|
15438
|
+
if (this.areAllDeclarationsIncludedAndNotExported(options.exportNamesByVariable)) {
|
|
15421
15439
|
for (const declarator of this.declarations) {
|
|
15422
15440
|
declarator.render(code, options);
|
|
15423
15441
|
}
|
|
@@ -15517,6 +15535,26 @@ class VariableDeclaration extends NodeBase {
|
|
|
15517
15535
|
}
|
|
15518
15536
|
this.renderDeclarationEnd(code, separatorString, lastSeparatorPos, actualContentEnd, renderedContentEnd, aggregatedSystemExports, options);
|
|
15519
15537
|
}
|
|
15538
|
+
areAllDeclarationsIncludedAndNotExported(exportNamesByVariable) {
|
|
15539
|
+
if (this.kind === 'await using' || this.kind === 'using') {
|
|
15540
|
+
return true;
|
|
15541
|
+
}
|
|
15542
|
+
for (const declarator of this.declarations) {
|
|
15543
|
+
if (!declarator.id.included)
|
|
15544
|
+
return false;
|
|
15545
|
+
if (declarator.id.type === Identifier$1) {
|
|
15546
|
+
if (exportNamesByVariable.has(declarator.id.variable))
|
|
15547
|
+
return false;
|
|
15548
|
+
}
|
|
15549
|
+
else {
|
|
15550
|
+
const exportedVariables = [];
|
|
15551
|
+
declarator.id.addExportedVariables(exportedVariables, exportNamesByVariable);
|
|
15552
|
+
if (exportedVariables.length > 0)
|
|
15553
|
+
return false;
|
|
15554
|
+
}
|
|
15555
|
+
}
|
|
15556
|
+
return true;
|
|
15557
|
+
}
|
|
15520
15558
|
}
|
|
15521
15559
|
function gatherSystemExportsAndGetSingleExport(separatedNodes, options, aggregatedSystemExports) {
|
|
15522
15560
|
let singleSystemExport = null;
|
|
@@ -20262,11 +20300,16 @@ function collapseSourcemaps(file, map, modules, bundleSourcemapChain, excludeCon
|
|
|
20262
20300
|
sources = sources.map((source) => relative(directory, source));
|
|
20263
20301
|
file = basename(file);
|
|
20264
20302
|
}
|
|
20265
|
-
sourcesContent = (excludeContent ? null : sourcesContent);
|
|
20266
20303
|
for (const module of modules) {
|
|
20267
20304
|
resetSourcemapCache(module.originalSourcemap, module.sourcemapChain);
|
|
20268
20305
|
}
|
|
20269
|
-
return new SourceMap({
|
|
20306
|
+
return new SourceMap({
|
|
20307
|
+
file,
|
|
20308
|
+
mappings,
|
|
20309
|
+
names,
|
|
20310
|
+
sources,
|
|
20311
|
+
sourcesContent: excludeContent ? undefined : sourcesContent
|
|
20312
|
+
});
|
|
20270
20313
|
}
|
|
20271
20314
|
function collapseSourcemap(id, originalCode, originalSourcemap, sourcemapChain, log) {
|
|
20272
20315
|
if (sourcemapChain.length === 0) {
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/parseAst.js
CHANGED
package/dist/rollup.d.ts
CHANGED
|
@@ -562,7 +562,8 @@ export type PluginHooks = {
|
|
|
562
562
|
};
|
|
563
563
|
|
|
564
564
|
export interface OutputPlugin
|
|
565
|
-
extends
|
|
565
|
+
extends
|
|
566
|
+
Partial<{ [K in OutputPluginHooks]: PluginHooks[K] }>,
|
|
566
567
|
Partial<Record<AddonHooks, ObjectHook<AddonHook>>> {
|
|
567
568
|
cacheKey?: string | undefined;
|
|
568
569
|
name: string;
|
|
@@ -618,8 +619,9 @@ export interface NormalizedTreeshakingOptions {
|
|
|
618
619
|
unknownGlobalSideEffects: boolean;
|
|
619
620
|
}
|
|
620
621
|
|
|
621
|
-
export interface TreeshakingOptions
|
|
622
|
-
|
|
622
|
+
export interface TreeshakingOptions extends Partial<
|
|
623
|
+
Omit<NormalizedTreeshakingOptions, 'moduleSideEffects'>
|
|
624
|
+
> {
|
|
623
625
|
moduleSideEffects?: ModuleSideEffectsOption | undefined;
|
|
624
626
|
preset?: TreeshakingPreset | undefined;
|
|
625
627
|
}
|
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/parseAst.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.53.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.53.5
|
|
4
|
+
Tue, 16 Dec 2025 06:14:08 GMT - commit 31bb66ee9eea35e5ae348e4074bbad55d390112b
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
|
|
|
42
42
|
|
|
43
43
|
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
|
|
44
44
|
|
|
45
|
-
var version = "4.53.
|
|
45
|
+
var version = "4.53.5";
|
|
46
46
|
|
|
47
47
|
function ensureArray$1(items) {
|
|
48
48
|
if (Array.isArray(items)) {
|
|
@@ -5793,6 +5793,10 @@ const UnknownKey = Symbol('Unknown Key');
|
|
|
5793
5793
|
const UnknownNonAccessorKey = Symbol('Unknown Non-Accessor Key');
|
|
5794
5794
|
const UnknownInteger = Symbol('Unknown Integer');
|
|
5795
5795
|
const SymbolToStringTag = Symbol('Symbol.toStringTag');
|
|
5796
|
+
const SymbolDispose = Symbol('Symbol.asyncDispose');
|
|
5797
|
+
const SymbolAsyncDispose = Symbol('Symbol.dispose');
|
|
5798
|
+
const WELL_KNOWN_SYMBOLS_LIST = [SymbolToStringTag, SymbolDispose, SymbolAsyncDispose];
|
|
5799
|
+
const WELL_KNOWN_SYMBOLS = new Set(WELL_KNOWN_SYMBOLS_LIST);
|
|
5796
5800
|
const EMPTY_PATH = [];
|
|
5797
5801
|
const UNKNOWN_PATH = [UnknownKey];
|
|
5798
5802
|
// For deoptimizations, this means we are modifying an unknown property but did
|
|
@@ -8059,6 +8063,27 @@ const knownGlobals = {
|
|
|
8059
8063
|
for: PF,
|
|
8060
8064
|
keyFor: PF,
|
|
8061
8065
|
prototype: O,
|
|
8066
|
+
asyncDispose: {
|
|
8067
|
+
__proto__: null,
|
|
8068
|
+
[ValueProperties]: {
|
|
8069
|
+
deoptimizeArgumentsOnCall: doNothing,
|
|
8070
|
+
getLiteralValue() {
|
|
8071
|
+
return SymbolAsyncDispose;
|
|
8072
|
+
},
|
|
8073
|
+
// This might not be needed, but then we need to check a few more cases
|
|
8074
|
+
hasEffectsWhenCalled: returnTrue
|
|
8075
|
+
}
|
|
8076
|
+
},
|
|
8077
|
+
dispose: {
|
|
8078
|
+
__proto__: null,
|
|
8079
|
+
[ValueProperties]: {
|
|
8080
|
+
deoptimizeArgumentsOnCall: doNothing,
|
|
8081
|
+
getLiteralValue() {
|
|
8082
|
+
return SymbolDispose;
|
|
8083
|
+
},
|
|
8084
|
+
hasEffectsWhenCalled: returnTrue
|
|
8085
|
+
}
|
|
8086
|
+
},
|
|
8062
8087
|
toStringTag: {
|
|
8063
8088
|
__proto__: null,
|
|
8064
8089
|
[ValueProperties]: {
|
|
@@ -10267,7 +10292,7 @@ class ExpressionStatement extends NodeBase {
|
|
|
10267
10292
|
render(code, options) {
|
|
10268
10293
|
super.render(code, options);
|
|
10269
10294
|
if (code.original[this.end - 1] !== ';') {
|
|
10270
|
-
code.
|
|
10295
|
+
code.appendRight(this.end, ';');
|
|
10271
10296
|
}
|
|
10272
10297
|
}
|
|
10273
10298
|
shouldBeIncluded(context) {
|
|
@@ -11447,11 +11472,11 @@ class MemberExpression extends NodeBase {
|
|
|
11447
11472
|
this.dynamicPropertyKey = this.propertyKey;
|
|
11448
11473
|
const value = this.property.getLiteralValueAtPath(EMPTY_PATH, SHARED_RECURSION_TRACKER, this);
|
|
11449
11474
|
return (this.dynamicPropertyKey =
|
|
11450
|
-
value ===
|
|
11451
|
-
? value
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11475
|
+
typeof value === 'symbol'
|
|
11476
|
+
? WELL_KNOWN_SYMBOLS.has(value)
|
|
11477
|
+
? value
|
|
11478
|
+
: UnknownKey
|
|
11479
|
+
: String(value));
|
|
11455
11480
|
}
|
|
11456
11481
|
return this.dynamicPropertyKey;
|
|
11457
11482
|
}
|
|
@@ -14662,8 +14687,9 @@ function isReassignedExportsMember(variable, exportNamesByVariable) {
|
|
|
14662
14687
|
}
|
|
14663
14688
|
|
|
14664
14689
|
class VariableDeclarator extends NodeBase {
|
|
14665
|
-
declareDeclarator(kind
|
|
14666
|
-
this.isUsingDeclaration =
|
|
14690
|
+
declareDeclarator(kind) {
|
|
14691
|
+
this.isUsingDeclaration = kind === 'using';
|
|
14692
|
+
this.isAsyncUsingDeclaration = kind === 'await using';
|
|
14667
14693
|
this.id.declare(kind, EMPTY_PATH, this.init || UNDEFINED_EXPRESSION);
|
|
14668
14694
|
}
|
|
14669
14695
|
deoptimizePath(path) {
|
|
@@ -14674,6 +14700,7 @@ class VariableDeclarator extends NodeBase {
|
|
|
14674
14700
|
this.id.markDeclarationReached();
|
|
14675
14701
|
return (initEffect ||
|
|
14676
14702
|
this.isUsingDeclaration ||
|
|
14703
|
+
this.isAsyncUsingDeclaration ||
|
|
14677
14704
|
this.id.hasEffects(context) ||
|
|
14678
14705
|
(this.scope.context.options.treeshake
|
|
14679
14706
|
.propertyReadSideEffects &&
|
|
@@ -14682,7 +14709,7 @@ class VariableDeclarator extends NodeBase {
|
|
|
14682
14709
|
include(context, includeChildrenRecursively) {
|
|
14683
14710
|
const { id, init } = this;
|
|
14684
14711
|
if (!this.included)
|
|
14685
|
-
this.includeNode();
|
|
14712
|
+
this.includeNode(context);
|
|
14686
14713
|
init?.include(context, includeChildrenRecursively);
|
|
14687
14714
|
id.markDeclarationReached();
|
|
14688
14715
|
if (includeChildrenRecursively) {
|
|
@@ -14698,7 +14725,7 @@ class VariableDeclarator extends NodeBase {
|
|
|
14698
14725
|
render(code, options) {
|
|
14699
14726
|
const { exportNamesByVariable, snippets: { _, getPropertyAccess } } = options;
|
|
14700
14727
|
const { end, id, init, start } = this;
|
|
14701
|
-
const renderId = id.included || this.isUsingDeclaration;
|
|
14728
|
+
const renderId = id.included || this.isUsingDeclaration || this.isAsyncUsingDeclaration;
|
|
14702
14729
|
if (renderId) {
|
|
14703
14730
|
id.render(code, options);
|
|
14704
14731
|
}
|
|
@@ -14720,20 +14747,30 @@ class VariableDeclarator extends NodeBase {
|
|
|
14720
14747
|
code.appendLeft(end, `${_}=${_}void 0`);
|
|
14721
14748
|
}
|
|
14722
14749
|
}
|
|
14723
|
-
includeNode() {
|
|
14750
|
+
includeNode(context) {
|
|
14724
14751
|
this.included = true;
|
|
14725
14752
|
const { id, init } = this;
|
|
14726
|
-
if (init
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14753
|
+
if (init) {
|
|
14754
|
+
if (this.isUsingDeclaration) {
|
|
14755
|
+
init.includePath(SYMBOL_DISPOSE_PATH, context);
|
|
14756
|
+
}
|
|
14757
|
+
else if (this.isAsyncUsingDeclaration) {
|
|
14758
|
+
init.includePath(SYMBOL_ASYNC_DISPOSE_PATH, context);
|
|
14759
|
+
}
|
|
14760
|
+
if (id instanceof Identifier && init instanceof ClassExpression && !init.id) {
|
|
14761
|
+
const { name, variable } = id;
|
|
14762
|
+
for (const accessedVariable of init.scope.accessedOutsideVariables.values()) {
|
|
14763
|
+
if (accessedVariable !== variable) {
|
|
14764
|
+
accessedVariable.forbidName(name);
|
|
14765
|
+
}
|
|
14731
14766
|
}
|
|
14732
14767
|
}
|
|
14733
14768
|
}
|
|
14734
14769
|
}
|
|
14735
14770
|
}
|
|
14736
14771
|
VariableDeclarator.prototype.applyDeoptimizations = doNotDeoptimize;
|
|
14772
|
+
const SYMBOL_DISPOSE_PATH = [SymbolDispose];
|
|
14773
|
+
const SYMBOL_ASYNC_DISPOSE_PATH = [SymbolAsyncDispose];
|
|
14737
14774
|
|
|
14738
14775
|
function getChunkInfoWithPath(chunk) {
|
|
14739
14776
|
return { fileName: chunk.getFileName(), ...chunk.getPreRenderedChunkInfo() };
|
|
@@ -16971,23 +17008,6 @@ class UpdateExpression extends NodeBase {
|
|
|
16971
17008
|
}
|
|
16972
17009
|
UpdateExpression.prototype.includeNode = onlyIncludeSelf;
|
|
16973
17010
|
|
|
16974
|
-
function areAllDeclarationsIncludedAndNotExported(declarations, exportNamesByVariable) {
|
|
16975
|
-
for (const declarator of declarations) {
|
|
16976
|
-
if (!declarator.id.included)
|
|
16977
|
-
return false;
|
|
16978
|
-
if (declarator.id.type === parseAst_js.Identifier) {
|
|
16979
|
-
if (exportNamesByVariable.has(declarator.id.variable))
|
|
16980
|
-
return false;
|
|
16981
|
-
}
|
|
16982
|
-
else {
|
|
16983
|
-
const exportedVariables = [];
|
|
16984
|
-
declarator.id.addExportedVariables(exportedVariables, exportNamesByVariable);
|
|
16985
|
-
if (exportedVariables.length > 0)
|
|
16986
|
-
return false;
|
|
16987
|
-
}
|
|
16988
|
-
}
|
|
16989
|
-
return true;
|
|
16990
|
-
}
|
|
16991
17011
|
class VariableDeclaration extends NodeBase {
|
|
16992
17012
|
deoptimizePath() {
|
|
16993
17013
|
for (const declarator of this.declarations) {
|
|
@@ -17017,17 +17037,15 @@ class VariableDeclaration extends NodeBase {
|
|
|
17017
17037
|
}
|
|
17018
17038
|
initialise() {
|
|
17019
17039
|
super.initialise();
|
|
17020
|
-
this.isUsingDeclaration = this.kind === 'await using' || this.kind === 'using';
|
|
17021
17040
|
for (const declarator of this.declarations) {
|
|
17022
|
-
declarator.declareDeclarator(this.kind
|
|
17041
|
+
declarator.declareDeclarator(this.kind);
|
|
17023
17042
|
}
|
|
17024
17043
|
}
|
|
17025
17044
|
removeAnnotations(code) {
|
|
17026
17045
|
this.declarations[0].removeAnnotations(code);
|
|
17027
17046
|
}
|
|
17028
17047
|
render(code, options, nodeRenderOptions = parseAst_js.BLANK) {
|
|
17029
|
-
if (this.
|
|
17030
|
-
areAllDeclarationsIncludedAndNotExported(this.declarations, options.exportNamesByVariable)) {
|
|
17048
|
+
if (this.areAllDeclarationsIncludedAndNotExported(options.exportNamesByVariable)) {
|
|
17031
17049
|
for (const declarator of this.declarations) {
|
|
17032
17050
|
declarator.render(code, options);
|
|
17033
17051
|
}
|
|
@@ -17127,6 +17145,26 @@ class VariableDeclaration extends NodeBase {
|
|
|
17127
17145
|
}
|
|
17128
17146
|
this.renderDeclarationEnd(code, separatorString, lastSeparatorPos, actualContentEnd, renderedContentEnd, aggregatedSystemExports, options);
|
|
17129
17147
|
}
|
|
17148
|
+
areAllDeclarationsIncludedAndNotExported(exportNamesByVariable) {
|
|
17149
|
+
if (this.kind === 'await using' || this.kind === 'using') {
|
|
17150
|
+
return true;
|
|
17151
|
+
}
|
|
17152
|
+
for (const declarator of this.declarations) {
|
|
17153
|
+
if (!declarator.id.included)
|
|
17154
|
+
return false;
|
|
17155
|
+
if (declarator.id.type === parseAst_js.Identifier) {
|
|
17156
|
+
if (exportNamesByVariable.has(declarator.id.variable))
|
|
17157
|
+
return false;
|
|
17158
|
+
}
|
|
17159
|
+
else {
|
|
17160
|
+
const exportedVariables = [];
|
|
17161
|
+
declarator.id.addExportedVariables(exportedVariables, exportNamesByVariable);
|
|
17162
|
+
if (exportedVariables.length > 0)
|
|
17163
|
+
return false;
|
|
17164
|
+
}
|
|
17165
|
+
}
|
|
17166
|
+
return true;
|
|
17167
|
+
}
|
|
17130
17168
|
}
|
|
17131
17169
|
function gatherSystemExportsAndGetSingleExport(separatedNodes, options, aggregatedSystemExports) {
|
|
17132
17170
|
let singleSystemExport = null;
|
|
@@ -21756,11 +21794,16 @@ function collapseSourcemaps(file, map, modules, bundleSourcemapChain, excludeCon
|
|
|
21756
21794
|
sources = sources.map((source) => path.relative(directory, source));
|
|
21757
21795
|
file = path.basename(file);
|
|
21758
21796
|
}
|
|
21759
|
-
sourcesContent = (excludeContent ? null : sourcesContent);
|
|
21760
21797
|
for (const module of modules) {
|
|
21761
21798
|
resetSourcemapCache(module.originalSourcemap, module.sourcemapChain);
|
|
21762
21799
|
}
|
|
21763
|
-
return new SourceMap({
|
|
21800
|
+
return new SourceMap({
|
|
21801
|
+
file,
|
|
21802
|
+
mappings,
|
|
21803
|
+
names,
|
|
21804
|
+
sources,
|
|
21805
|
+
sourcesContent: excludeContent ? undefined : sourcesContent
|
|
21806
|
+
});
|
|
21764
21807
|
}
|
|
21765
21808
|
function collapseSourcemap(id, originalCode, originalSourcemap, sourcemapChain, log) {
|
|
21766
21809
|
if (sourcemapChain.length === 0) {
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
@@ -2,36 +2,6 @@
|
|
|
2
2
|
let imports = {};
|
|
3
3
|
imports['__wbindgen_placeholder__'] = module.exports;
|
|
4
4
|
|
|
5
|
-
let cachedUint8ArrayMemory0 = null;
|
|
6
|
-
|
|
7
|
-
function getUint8ArrayMemory0() {
|
|
8
|
-
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
9
|
-
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
10
|
-
}
|
|
11
|
-
return cachedUint8ArrayMemory0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
15
|
-
|
|
16
|
-
cachedTextDecoder.decode();
|
|
17
|
-
|
|
18
|
-
function decodeText(ptr, len) {
|
|
19
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function getStringFromWasm0(ptr, len) {
|
|
23
|
-
ptr = ptr >>> 0;
|
|
24
|
-
return decodeText(ptr, len);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
let heap = new Array(128).fill(undefined);
|
|
28
|
-
|
|
29
|
-
heap.push(undefined, null, true, false);
|
|
30
|
-
|
|
31
|
-
function getObject(idx) { return heap[idx]; }
|
|
32
|
-
|
|
33
|
-
let heap_next = heap.length;
|
|
34
|
-
|
|
35
5
|
function addHeapObject(obj) {
|
|
36
6
|
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
37
7
|
const idx = heap_next;
|
|
@@ -41,28 +11,46 @@ function addHeapObject(obj) {
|
|
|
41
11
|
return idx;
|
|
42
12
|
}
|
|
43
13
|
|
|
14
|
+
function dropObject(idx) {
|
|
15
|
+
if (idx < 132) return;
|
|
16
|
+
heap[idx] = heap_next;
|
|
17
|
+
heap_next = idx;
|
|
18
|
+
}
|
|
19
|
+
|
|
44
20
|
function getArrayU8FromWasm0(ptr, len) {
|
|
45
21
|
ptr = ptr >>> 0;
|
|
46
22
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
47
23
|
}
|
|
48
24
|
|
|
49
|
-
let
|
|
25
|
+
let cachedDataViewMemory0 = null;
|
|
26
|
+
function getDataViewMemory0() {
|
|
27
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
28
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
29
|
+
}
|
|
30
|
+
return cachedDataViewMemory0;
|
|
31
|
+
}
|
|
50
32
|
|
|
51
|
-
|
|
33
|
+
function getStringFromWasm0(ptr, len) {
|
|
34
|
+
ptr = ptr >>> 0;
|
|
35
|
+
return decodeText(ptr, len);
|
|
36
|
+
}
|
|
52
37
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
return {
|
|
58
|
-
read: arg.length,
|
|
59
|
-
written: buf.length
|
|
60
|
-
};
|
|
38
|
+
let cachedUint8ArrayMemory0 = null;
|
|
39
|
+
function getUint8ArrayMemory0() {
|
|
40
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
41
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
61
42
|
}
|
|
43
|
+
return cachedUint8ArrayMemory0;
|
|
62
44
|
}
|
|
63
45
|
|
|
64
|
-
function
|
|
46
|
+
function getObject(idx) { return heap[idx]; }
|
|
47
|
+
|
|
48
|
+
let heap = new Array(128).fill(undefined);
|
|
49
|
+
heap.push(undefined, null, true, false);
|
|
50
|
+
|
|
51
|
+
let heap_next = heap.length;
|
|
65
52
|
|
|
53
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
66
54
|
if (realloc === undefined) {
|
|
67
55
|
const buf = cachedTextEncoder.encode(arg);
|
|
68
56
|
const ptr = malloc(buf.length, 1) >>> 0;
|
|
@@ -83,7 +71,6 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
83
71
|
if (code > 0x7F) break;
|
|
84
72
|
mem[ptr + offset] = code;
|
|
85
73
|
}
|
|
86
|
-
|
|
87
74
|
if (offset !== len) {
|
|
88
75
|
if (offset !== 0) {
|
|
89
76
|
arg = arg.slice(offset);
|
|
@@ -100,33 +87,40 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
100
87
|
return ptr;
|
|
101
88
|
}
|
|
102
89
|
|
|
103
|
-
let cachedDataViewMemory0 = null;
|
|
104
|
-
|
|
105
|
-
function getDataViewMemory0() {
|
|
106
|
-
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
107
|
-
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
108
|
-
}
|
|
109
|
-
return cachedDataViewMemory0;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function dropObject(idx) {
|
|
113
|
-
if (idx < 132) return;
|
|
114
|
-
heap[idx] = heap_next;
|
|
115
|
-
heap_next = idx;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
90
|
function takeObject(idx) {
|
|
119
91
|
const ret = getObject(idx);
|
|
120
92
|
dropObject(idx);
|
|
121
93
|
return ret;
|
|
122
94
|
}
|
|
95
|
+
|
|
96
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
97
|
+
cachedTextDecoder.decode();
|
|
98
|
+
function decodeText(ptr, len) {
|
|
99
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
const cachedTextEncoder = new TextEncoder();
|
|
103
|
+
|
|
104
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
105
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
106
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
107
|
+
view.set(buf);
|
|
108
|
+
return {
|
|
109
|
+
read: arg.length,
|
|
110
|
+
written: buf.length
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
let WASM_VECTOR_LEN = 0;
|
|
116
|
+
|
|
123
117
|
/**
|
|
124
118
|
* @param {string} code
|
|
125
119
|
* @param {boolean} allow_return_outside_function
|
|
126
120
|
* @param {boolean} jsx
|
|
127
121
|
* @returns {Uint8Array}
|
|
128
122
|
*/
|
|
129
|
-
|
|
123
|
+
function parse(code, allow_return_outside_function, jsx) {
|
|
130
124
|
try {
|
|
131
125
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
132
126
|
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
|
|
@@ -140,18 +134,19 @@ exports.parse = function(code, allow_return_outside_function, jsx) {
|
|
|
140
134
|
} finally {
|
|
141
135
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
142
136
|
}
|
|
143
|
-
}
|
|
137
|
+
}
|
|
138
|
+
exports.parse = parse;
|
|
144
139
|
|
|
145
140
|
/**
|
|
146
141
|
* @param {Uint8Array} input
|
|
147
142
|
* @returns {string}
|
|
148
143
|
*/
|
|
149
|
-
|
|
144
|
+
function xxhashBase16(input) {
|
|
150
145
|
let deferred1_0;
|
|
151
146
|
let deferred1_1;
|
|
152
147
|
try {
|
|
153
148
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
154
|
-
wasm.
|
|
149
|
+
wasm.xxhashBase16(retptr, addHeapObject(input));
|
|
155
150
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
156
151
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
157
152
|
deferred1_0 = r0;
|
|
@@ -161,13 +156,14 @@ exports.xxhashBase64Url = function(input) {
|
|
|
161
156
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
162
157
|
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
|
|
163
158
|
}
|
|
164
|
-
}
|
|
159
|
+
}
|
|
160
|
+
exports.xxhashBase16 = xxhashBase16;
|
|
165
161
|
|
|
166
162
|
/**
|
|
167
163
|
* @param {Uint8Array} input
|
|
168
164
|
* @returns {string}
|
|
169
165
|
*/
|
|
170
|
-
|
|
166
|
+
function xxhashBase36(input) {
|
|
171
167
|
let deferred1_0;
|
|
172
168
|
let deferred1_1;
|
|
173
169
|
try {
|
|
@@ -182,18 +178,19 @@ exports.xxhashBase36 = function(input) {
|
|
|
182
178
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
183
179
|
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
|
|
184
180
|
}
|
|
185
|
-
}
|
|
181
|
+
}
|
|
182
|
+
exports.xxhashBase36 = xxhashBase36;
|
|
186
183
|
|
|
187
184
|
/**
|
|
188
185
|
* @param {Uint8Array} input
|
|
189
186
|
* @returns {string}
|
|
190
187
|
*/
|
|
191
|
-
|
|
188
|
+
function xxhashBase64Url(input) {
|
|
192
189
|
let deferred1_0;
|
|
193
190
|
let deferred1_1;
|
|
194
191
|
try {
|
|
195
192
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
196
|
-
wasm.
|
|
193
|
+
wasm.xxhashBase64Url(retptr, addHeapObject(input));
|
|
197
194
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
198
195
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
199
196
|
deferred1_0 = r0;
|
|
@@ -203,9 +200,10 @@ exports.xxhashBase16 = function(input) {
|
|
|
203
200
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
204
201
|
wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
|
|
205
202
|
}
|
|
206
|
-
}
|
|
203
|
+
}
|
|
204
|
+
exports.xxhashBase64Url = xxhashBase64Url;
|
|
207
205
|
|
|
208
|
-
exports.
|
|
206
|
+
exports.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) {
|
|
209
207
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
210
208
|
};
|
|
211
209
|
|
|
@@ -221,7 +219,7 @@ exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
|
221
219
|
}
|
|
222
220
|
};
|
|
223
221
|
|
|
224
|
-
exports.
|
|
222
|
+
exports.__wbg_length_22ac23eaec9d8053 = function(arg0) {
|
|
225
223
|
const ret = getObject(arg0).length;
|
|
226
224
|
return ret;
|
|
227
225
|
};
|
|
@@ -231,7 +229,7 @@ exports.__wbg_new_8a6f238a6ece86ea = function() {
|
|
|
231
229
|
return addHeapObject(ret);
|
|
232
230
|
};
|
|
233
231
|
|
|
234
|
-
exports.
|
|
232
|
+
exports.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) {
|
|
235
233
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
236
234
|
};
|
|
237
235
|
|
|
@@ -251,4 +249,3 @@ const wasmPath = `${__dirname}/bindings_wasm_bg.wasm`;
|
|
|
251
249
|
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
252
250
|
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
253
251
|
const wasm = exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports;
|
|
254
|
-
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.53.
|
|
3
|
+
"version": "4.53.5",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@codemirror/language": "^6.11.3",
|
|
41
41
|
"@codemirror/search": "^6.5.11",
|
|
42
42
|
"@codemirror/state": "^6.5.2",
|
|
43
|
-
"@codemirror/view": "^6.
|
|
43
|
+
"@codemirror/view": "^6.39.3",
|
|
44
44
|
"@eslint/js": "^9.39.1",
|
|
45
|
-
"@inquirer/prompts": "^7.10.
|
|
45
|
+
"@inquirer/prompts": "^7.10.1",
|
|
46
46
|
"@jridgewell/sourcemap-codec": "^1.5.5",
|
|
47
47
|
"@mermaid-js/mermaid-cli": "^11.12.0",
|
|
48
|
-
"@napi-rs/cli": "
|
|
48
|
+
"@napi-rs/cli": "3.4.1",
|
|
49
49
|
"@rollup/plugin-alias": "^6.0.0",
|
|
50
50
|
"@rollup/plugin-buble": "^1.0.3",
|
|
51
51
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"@rollup/plugin-terser": "^0.4.4",
|
|
56
56
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
57
57
|
"@rollup/pluginutils": "^5.3.0",
|
|
58
|
-
"@shikijs/vitepress-twoslash": "^3.
|
|
58
|
+
"@shikijs/vitepress-twoslash": "^3.19.0",
|
|
59
59
|
"@types/mocha": "^10.0.10",
|
|
60
|
-
"@types/node": "^20.19.
|
|
60
|
+
"@types/node": "^20.19.26",
|
|
61
61
|
"@types/picomatch": "^4.0.2",
|
|
62
62
|
"@types/semver": "^7.7.1",
|
|
63
63
|
"@types/yargs-parser": "^21.0.3",
|
|
64
|
-
"@vue/language-server": "^3.1.
|
|
64
|
+
"@vue/language-server": "^3.1.8",
|
|
65
65
|
"acorn": "^8.15.0",
|
|
66
66
|
"acorn-import-assertions": "^1.9.0",
|
|
67
67
|
"acorn-jsx": "^5.3.2",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"eslint-config-prettier": "^10.1.8",
|
|
79
79
|
"eslint-plugin-prettier": "^5.5.4",
|
|
80
80
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
81
|
-
"eslint-plugin-vue": "^10.
|
|
81
|
+
"eslint-plugin-vue": "^10.6.2",
|
|
82
82
|
"fixturify": "^3.0.0",
|
|
83
83
|
"flru": "^1.0.2",
|
|
84
84
|
"fs-extra": "^11.3.2",
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
"globals": "^16.5.0",
|
|
87
87
|
"husky": "^9.1.7",
|
|
88
88
|
"is-reference": "^3.0.3",
|
|
89
|
-
"lint-staged": "^16.2.
|
|
89
|
+
"lint-staged": "^16.2.7",
|
|
90
90
|
"locate-character": "^3.0.0",
|
|
91
91
|
"magic-string": "^0.30.21",
|
|
92
|
-
"memfs": "^4.
|
|
92
|
+
"memfs": "^4.51.1",
|
|
93
93
|
"mocha": "^11.7.5",
|
|
94
94
|
"nodemon": "^3.1.11",
|
|
95
95
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
@@ -98,12 +98,12 @@
|
|
|
98
98
|
"picocolors": "^1.1.1",
|
|
99
99
|
"picomatch": "^4.0.3",
|
|
100
100
|
"pinia": "^3.0.4",
|
|
101
|
-
"prettier": "^3.
|
|
101
|
+
"prettier": "^3.7.4",
|
|
102
102
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
103
103
|
"pretty-bytes": "^7.1.0",
|
|
104
104
|
"pretty-ms": "^9.3.0",
|
|
105
|
-
"requirejs": "^2.3.
|
|
106
|
-
"rollup": "^4.53.
|
|
105
|
+
"requirejs": "^2.3.8",
|
|
106
|
+
"rollup": "^4.53.3",
|
|
107
107
|
"rollup-plugin-license": "^3.6.0",
|
|
108
108
|
"rollup-plugin-string": "^3.0.0",
|
|
109
109
|
"semver": "^7.7.3",
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
"terser": "^5.44.1",
|
|
116
116
|
"tslib": "^2.8.1",
|
|
117
117
|
"typescript": "^5.9.3",
|
|
118
|
-
"typescript-eslint": "^8.
|
|
119
|
-
"vite": "^7.2.
|
|
118
|
+
"typescript-eslint": "^8.49.0",
|
|
119
|
+
"vite": "^7.2.7",
|
|
120
120
|
"vitepress": "^1.6.4",
|
|
121
|
-
"vue": "^3.5.
|
|
121
|
+
"vue": "^3.5.25",
|
|
122
122
|
"vue-eslint-parser": "^10.2.0",
|
|
123
|
-
"vue-tsc": "^3.1.
|
|
123
|
+
"vue-tsc": "^3.1.8",
|
|
124
124
|
"wasm-pack": "^0.13.1",
|
|
125
125
|
"yargs-parser": "^21.1.1"
|
|
126
126
|
},
|