@rollup/wasm-node 4.40.2 → 4.41.1
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 +34 -6
- 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 +72 -33
- package/dist/es/shared/parseAst.js +6 -3
- 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.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +4 -3
- package/dist/shared/parseAst.js +8 -2
- package/dist/shared/rollup.js +71 -32
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +24 -24
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.41.1
|
|
5
|
+
Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
|
@@ -1577,8 +1577,36 @@ const toLocaleString = (number, locale, options) => {
|
|
|
1577
1577
|
return result;
|
|
1578
1578
|
};
|
|
1579
1579
|
|
|
1580
|
+
const log10 = numberOrBigInt => {
|
|
1581
|
+
if (typeof numberOrBigInt === 'number') {
|
|
1582
|
+
return Math.log10(numberOrBigInt);
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
const string = numberOrBigInt.toString(10);
|
|
1586
|
+
|
|
1587
|
+
return string.length + Math.log10('0.' + string.slice(0, 15));
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
const log = numberOrBigInt => {
|
|
1591
|
+
if (typeof numberOrBigInt === 'number') {
|
|
1592
|
+
return Math.log(numberOrBigInt);
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
return log10(numberOrBigInt) * Math.log(10);
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
const divide = (numberOrBigInt, divisor) => {
|
|
1599
|
+
if (typeof numberOrBigInt === 'number') {
|
|
1600
|
+
return numberOrBigInt / divisor;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
const integerPart = numberOrBigInt / BigInt(divisor);
|
|
1604
|
+
const remainder = numberOrBigInt % BigInt(divisor);
|
|
1605
|
+
return Number(integerPart) + (Number(remainder) / divisor);
|
|
1606
|
+
};
|
|
1607
|
+
|
|
1580
1608
|
function prettyBytes(number, options) {
|
|
1581
|
-
if (!Number.isFinite(number)) {
|
|
1609
|
+
if (typeof number !== 'bigint' && !Number.isFinite(number)) {
|
|
1582
1610
|
throw new TypeError(`Expected a finite number, got ${typeof number}: ${number}`);
|
|
1583
1611
|
}
|
|
1584
1612
|
|
|
@@ -1595,7 +1623,7 @@ function prettyBytes(number, options) {
|
|
|
1595
1623
|
|
|
1596
1624
|
const separator = options.space ? ' ' : '';
|
|
1597
1625
|
|
|
1598
|
-
if (options.signed && number === 0) {
|
|
1626
|
+
if (options.signed && (typeof number === 'number' ? number === 0 : number === 0n)) {
|
|
1599
1627
|
return ` 0${separator}${UNITS[0]}`;
|
|
1600
1628
|
}
|
|
1601
1629
|
|
|
@@ -1621,8 +1649,8 @@ function prettyBytes(number, options) {
|
|
|
1621
1649
|
return prefix + numberString + separator + UNITS[0];
|
|
1622
1650
|
}
|
|
1623
1651
|
|
|
1624
|
-
const exponent = Math.min(Math.floor(options.binary ?
|
|
1625
|
-
number
|
|
1652
|
+
const exponent = Math.min(Math.floor(options.binary ? log(number) / Math.log(1024) : log10(number) / 3), UNITS.length - 1);
|
|
1653
|
+
number = divide(number, (options.binary ? 1024 : 1000) ** exponent);
|
|
1626
1654
|
|
|
1627
1655
|
if (!localeOptions) {
|
|
1628
1656
|
number = number.toPrecision(3);
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.41.1
|
|
4
|
+
Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
8
8
|
Released under the MIT License.
|
|
9
9
|
*/
|
|
10
|
-
import { EMPTY_OBJECT, ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, ObjectExpression as ObjectExpression$1, Property as Property$1, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, ExpressionStatement as ExpressionStatement$1, logMissingExport, normalize, getImportPath, logMissingNodeBuiltins, logReservedNamespace, error, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, RestElement as RestElement$1, logConstVariableReassignError,
|
|
10
|
+
import { EMPTY_OBJECT, ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, ArrowFunctionExpression as ArrowFunctionExpression$1, MemberExpression as MemberExpression$1, Identifier as Identifier$1, ImportExpression as ImportExpression$1, AwaitExpression as AwaitExpression$1, ObjectExpression as ObjectExpression$1, Property as Property$1, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, ExpressionStatement as ExpressionStatement$1, logMissingExport, normalize, getImportPath, logMissingNodeBuiltins, logReservedNamespace, error, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, RestElement as RestElement$1, logConstVariableReassignError, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logModuleParseError, logParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logSyntheticNamedExportsNeedNamespaceExport, logMissingEntryExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logMissingJsxExport, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, logInvalidFormatForTopLevelAwait, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logCircularReexport, logAddonNotGenerated, logIncompatibleExportOptionValue, logMixedExport, logFailedValidation, isPathFragment, logCyclicCrossChunkReexport, getAliasName, logUnexpectedNamedImport, isAbsolute as isAbsolute$1, relative as relative$1, logUnexpectedNamespaceReexport, logEmptyChunk, logMissingGlobalName, logOptimizeChunkStatus, logSourcemapBroken, logConflictingSourcemapSources, logChunkInvalid, logInvalidOption, URL_OUTPUT_FORMAT, URL_OUTPUT_DIR, URL_OUTPUT_SOURCEMAPFILE, URL_OUTPUT_AMD_ID, logCannotAssignModuleToChunk, logAnonymousPluginCache, logDuplicatePluginName, logUnknownOption, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, printQuotedStringList, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, relativeId, logBadLoader, logExternalModulesCannotBeTransformedToModules, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, warnDeprecation, logChunkNotGeneratedForFileName, logAssetNotFinalisedForFileName, logFileNameConflict, URL_GENERATEBUNDLE, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidAddonPluginHook, logInvalidFunctionPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_JSX, URL_TREESHAKE_MODULESIDEEFFECTS, URL_TREESHAKE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_GENERATEDCODE, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_MANUALCHUNKS, logInvalidExportOptionValue, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_INTEROP, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, logAlreadyClosed, logMissingFileOrDirOption, logCannotEmitFromOptionsHook, URL_WATCH } from './parseAst.js';
|
|
11
11
|
import { relative, dirname, basename, extname, resolve as resolve$1 } from 'node:path';
|
|
12
12
|
import { posix, isAbsolute, resolve, win32 } from 'path';
|
|
13
13
|
import { parseAsync, xxhashBase16, xxhashBase64Url, xxhashBase36 } from '../../native.js';
|
|
@@ -15,7 +15,7 @@ import process$1, { env } from 'node:process';
|
|
|
15
15
|
import { performance } from 'node:perf_hooks';
|
|
16
16
|
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
|
17
17
|
|
|
18
|
-
var version = "4.
|
|
18
|
+
var version = "4.41.1";
|
|
19
19
|
|
|
20
20
|
const comma = ','.charCodeAt(0);
|
|
21
21
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -2287,10 +2287,13 @@ const deoptimizeInteraction = (interaction) => {
|
|
|
2287
2287
|
argument?.deoptimizePath(UNKNOWN_PATH);
|
|
2288
2288
|
}
|
|
2289
2289
|
};
|
|
2290
|
-
const includeInteraction = (
|
|
2290
|
+
const includeInteraction = (interaction, context) => {
|
|
2291
2291
|
// We do not re-include the "this" argument as we expect this is already
|
|
2292
2292
|
// re-included at the call site
|
|
2293
|
-
args[0]?.includePath(UNKNOWN_PATH, context);
|
|
2293
|
+
interaction.args[0]?.includePath(UNKNOWN_PATH, context);
|
|
2294
|
+
includeInteractionWithoutThis(interaction, context);
|
|
2295
|
+
};
|
|
2296
|
+
const includeInteractionWithoutThis = ({ args }, context) => {
|
|
2294
2297
|
for (let argumentIndex = 1; argumentIndex < args.length; argumentIndex++) {
|
|
2295
2298
|
const argument = args[argumentIndex];
|
|
2296
2299
|
if (argument) {
|
|
@@ -2967,7 +2970,25 @@ function isObjectExpressionNode(node) {
|
|
|
2967
2970
|
return node instanceof NodeBase && node.type === ObjectExpression$1;
|
|
2968
2971
|
}
|
|
2969
2972
|
function isPropertyNode(node) {
|
|
2970
|
-
return node.type === Property$1;
|
|
2973
|
+
return node instanceof NodeBase && node.type === Property$1;
|
|
2974
|
+
}
|
|
2975
|
+
function isArrowFunctionExpressionNode(node) {
|
|
2976
|
+
return node instanceof NodeBase && node.type === ArrowFunctionExpression$1;
|
|
2977
|
+
}
|
|
2978
|
+
function isCallExpressionNode(node) {
|
|
2979
|
+
return node instanceof NodeBase && node.type === CallExpression$1;
|
|
2980
|
+
}
|
|
2981
|
+
function isMemberExpressionNode(node) {
|
|
2982
|
+
return node instanceof NodeBase && node.type === MemberExpression$1;
|
|
2983
|
+
}
|
|
2984
|
+
function isImportExpressionNode(node) {
|
|
2985
|
+
return node instanceof NodeBase && node.type === ImportExpression$1;
|
|
2986
|
+
}
|
|
2987
|
+
function isAwaitExpressionNode(node) {
|
|
2988
|
+
return node instanceof NodeBase && node.type === AwaitExpression$1;
|
|
2989
|
+
}
|
|
2990
|
+
function isIdentifierNode(node) {
|
|
2991
|
+
return node instanceof NodeBase && node.type === Identifier$1;
|
|
2971
2992
|
}
|
|
2972
2993
|
|
|
2973
2994
|
function assembleMemberDescriptions(memberDescriptions, inheritedDescriptions = null) {
|
|
@@ -5102,6 +5123,20 @@ class LocalVariable extends Variable {
|
|
|
5102
5123
|
break;
|
|
5103
5124
|
node = node.parent;
|
|
5104
5125
|
}
|
|
5126
|
+
/**
|
|
5127
|
+
* import('foo').then(m => {
|
|
5128
|
+
* console.log(m.foo)
|
|
5129
|
+
* })
|
|
5130
|
+
*/
|
|
5131
|
+
if (this.kind === 'parameter' &&
|
|
5132
|
+
isArrowFunctionExpressionNode(declaration.parent) &&
|
|
5133
|
+
isCallExpressionNode(declaration.parent.parent) &&
|
|
5134
|
+
isMemberExpressionNode(declaration.parent.parent.callee) &&
|
|
5135
|
+
isIdentifierNode(declaration.parent.parent.callee.property) &&
|
|
5136
|
+
declaration.parent.parent.callee.property.name === 'then' &&
|
|
5137
|
+
isImportExpressionNode(declaration.parent.parent.callee.object)) {
|
|
5138
|
+
declaration.parent.parent.callee.object.includePath(path);
|
|
5139
|
+
}
|
|
5105
5140
|
}
|
|
5106
5141
|
// We need to make sure we include the correct path of the init
|
|
5107
5142
|
if (path.length > 0) {
|
|
@@ -7492,7 +7527,21 @@ class MemberExpression extends NodeBase {
|
|
|
7492
7527
|
this.variable.includeCallArguments(interaction, context);
|
|
7493
7528
|
}
|
|
7494
7529
|
else {
|
|
7495
|
-
|
|
7530
|
+
if (isImportExpressionNode(this.object) ||
|
|
7531
|
+
/**
|
|
7532
|
+
* const c = await import('foo')
|
|
7533
|
+
* c.foo();
|
|
7534
|
+
*/
|
|
7535
|
+
(this.object.variable &&
|
|
7536
|
+
!this.object.variable.isReassigned &&
|
|
7537
|
+
this.object.variable instanceof LocalVariable &&
|
|
7538
|
+
isAwaitExpressionNode(this.object.variable.init) &&
|
|
7539
|
+
isImportExpressionNode(this.object.variable.init.argument))) {
|
|
7540
|
+
includeInteractionWithoutThis(interaction, context);
|
|
7541
|
+
}
|
|
7542
|
+
else {
|
|
7543
|
+
includeInteraction(interaction, context);
|
|
7544
|
+
}
|
|
7496
7545
|
}
|
|
7497
7546
|
}
|
|
7498
7547
|
includeDestructuredIfNecessary(context, destructuredInitPath, init) {
|
|
@@ -12937,8 +12986,7 @@ class ImportExpression extends NodeBase {
|
|
|
12937
12986
|
*
|
|
12938
12987
|
* 1. `const { foo } = await import('bar')`.
|
|
12939
12988
|
* 2. `(await import('bar')).foo`
|
|
12940
|
-
* 3. `import('bar').then((
|
|
12941
|
-
* 4. `import('bar').then(({ foo }) => {})`
|
|
12989
|
+
* 3. `import('bar').then(({ foo }) => {})`
|
|
12942
12990
|
*
|
|
12943
12991
|
* Returns empty array if it's side-effect only import.
|
|
12944
12992
|
* Returns undefined if it's not fully deterministic.
|
|
@@ -13002,30 +13050,11 @@ class ImportExpression extends NodeBase {
|
|
|
13002
13050
|
if (thenCallback.params.length === 0) {
|
|
13003
13051
|
return EMPTY_ARRAY;
|
|
13004
13052
|
}
|
|
13005
|
-
|
|
13006
|
-
|
|
13007
|
-
|
|
13008
|
-
// Case 3: import('bar').then(m => m.foo)
|
|
13009
|
-
if (declaration instanceof Identifier) {
|
|
13010
|
-
const starName = declaration.name;
|
|
13011
|
-
const memberExpression = thenCallback.body;
|
|
13012
|
-
if (!(memberExpression instanceof MemberExpression) ||
|
|
13013
|
-
memberExpression.computed ||
|
|
13014
|
-
!(memberExpression.property instanceof Identifier)) {
|
|
13015
|
-
return;
|
|
13016
|
-
}
|
|
13017
|
-
const returnVariable = memberExpression.object;
|
|
13018
|
-
if (!(returnVariable instanceof Identifier) || returnVariable.name !== starName) {
|
|
13019
|
-
return;
|
|
13020
|
-
}
|
|
13021
|
-
return [memberExpression.property.name];
|
|
13022
|
-
}
|
|
13023
|
-
// Case 4: import('bar').then(({ foo }) => {})
|
|
13024
|
-
if (declaration instanceof ObjectPattern) {
|
|
13025
|
-
return getDeterministicObjectDestructure(declaration);
|
|
13026
|
-
}
|
|
13053
|
+
const declaration = thenCallback.params[0];
|
|
13054
|
+
if (thenCallback.params.length === 1 && declaration instanceof ObjectPattern) {
|
|
13055
|
+
return getDeterministicObjectDestructure(declaration);
|
|
13027
13056
|
}
|
|
13028
|
-
return;
|
|
13057
|
+
return this.hasUnknownAccessedKey ? undefined : [...this.accessedPropKey];
|
|
13029
13058
|
}
|
|
13030
13059
|
}
|
|
13031
13060
|
hasEffects() {
|
|
@@ -20563,6 +20592,16 @@ function resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolve
|
|
|
20563
20592
|
...pluginContext,
|
|
20564
20593
|
resolve: (source, importer, { attributes, custom, isEntry, skipSelf } = BLANK) => {
|
|
20565
20594
|
skipSelf ??= true;
|
|
20595
|
+
if (skipSelf &&
|
|
20596
|
+
skip.findIndex(skippedCall => {
|
|
20597
|
+
return (skippedCall.plugin === plugin &&
|
|
20598
|
+
skippedCall.source === source &&
|
|
20599
|
+
skippedCall.importer === importer);
|
|
20600
|
+
}) !== -1) {
|
|
20601
|
+
// This means that the plugin recursively called itself
|
|
20602
|
+
// Thus returning Promise.resolve(null) in purpose of fallback to default behavior of `resolveId` plugin hook.
|
|
20603
|
+
return Promise.resolve(null);
|
|
20604
|
+
}
|
|
20566
20605
|
return moduleLoaderResolveId(source, importer, custom, isEntry, attributes || EMPTY_OBJECT, skipSelf ? [...skip, { importer, plugin, source }] : skip);
|
|
20567
20606
|
}
|
|
20568
20607
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.41.1
|
|
4
|
+
Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -13,13 +13,16 @@ import { resolve, dirname, basename, extname } from 'node:path';
|
|
|
13
13
|
// This file is generated by scripts/generate-node-types.js.
|
|
14
14
|
// Do not edit this file directly.
|
|
15
15
|
const ArrowFunctionExpression = 'ArrowFunctionExpression';
|
|
16
|
+
const AwaitExpression = 'AwaitExpression';
|
|
16
17
|
const BlockStatement = 'BlockStatement';
|
|
17
18
|
const CallExpression = 'CallExpression';
|
|
18
19
|
const CatchClause = 'CatchClause';
|
|
19
20
|
const ExportDefaultDeclaration = 'ExportDefaultDeclaration';
|
|
20
21
|
const ExpressionStatement = 'ExpressionStatement';
|
|
21
22
|
const Identifier = 'Identifier';
|
|
23
|
+
const ImportExpression = 'ImportExpression';
|
|
22
24
|
const Literal = 'Literal';
|
|
25
|
+
const MemberExpression = 'MemberExpression';
|
|
23
26
|
const ObjectExpression = 'ObjectExpression';
|
|
24
27
|
const PanicError = 'PanicError';
|
|
25
28
|
const ParseError = 'ParseError';
|
|
@@ -2070,4 +2073,4 @@ function getAstBuffer(astBuffer) {
|
|
|
2070
2073
|
const parseAst = (input, { allowReturnOutsideFunction = false, jsx = false } = {}) => convertProgram(getAstBuffer(parse(input, allowReturnOutsideFunction, jsx)));
|
|
2071
2074
|
const parseAstAsync = async (input, { allowReturnOutsideFunction = false, jsx = false, signal } = {}) => convertProgram(getAstBuffer(await parseAsync(input, allowReturnOutsideFunction, jsx, signal)));
|
|
2072
2075
|
|
|
2073
|
-
export { ANNOTATION_KEY, ArrowFunctionExpression, BLANK, BlockStatement, CallExpression, CatchClause, EMPTY_ARRAY, EMPTY_OBJECT, EMPTY_SET, ExportDefaultDeclaration, ExpressionStatement, FIXED_STRINGS, INVALID_ANNOTATION_KEY, Identifier, LOGLEVEL_DEBUG, LOGLEVEL_ERROR, LOGLEVEL_INFO, LOGLEVEL_WARN, Literal, ObjectExpression, Program, Property, RestElement, ReturnStatement, StaticBlock, TemplateLiteral, URL_GENERATEBUNDLE, URL_JSX, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_AMD_ID, URL_OUTPUT_DIR, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, URL_OUTPUT_FORMAT, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_OUTPUT_INTEROP, URL_OUTPUT_MANUALCHUNKS, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_SOURCEMAPFILE, URL_PRESERVEENTRYSIGNATURES, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_WATCH, VariableDeclarator, addTrailingSlashIfMissed, augmentCodeLocation, augmentLogMessage, convertAnnotations, convertNode, error, getAliasName, getAstBuffer, getImportPath, getRollupError, isAbsolute, isPathFragment, isRelative, isValidUrl, locate, logAddonNotGenerated, logAlreadyClosed, logAmbiguousExternalNamespaces, logAnonymousPluginCache, logAssetNotFinalisedForFileName, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logBadLoader, logCannotAssignModuleToChunk, logCannotCallNamespace, logCannotEmitFromOptionsHook, logChunkInvalid, logChunkNotGeneratedForFileName, logCircularDependency, logCircularReexport, logConflictingSourcemapSources, logConstVariableReassignError, logCyclicCrossChunkReexport, logDuplicateArgumentNameError, logDuplicateExportError, logDuplicatePluginName, logEmptyChunk, logEntryCannotBeExternal, logEval, logExternalModulesCannotBeIncludedInManualChunks, logExternalModulesCannotBeTransformedToModules, logExternalSyntheticExports, logFailedValidation, logFileNameConflict, logFileReferenceIdNotFoundForFilename, logFirstSideEffect, logIllegalIdentifierAsName, logIllegalImportReassignment, logImplicitDependantCannotBeExternal, logImplicitDependantIsNotIncluded, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logIncompatibleExportOptionValue, logInconsistentImportAttributes, logInputHookInOutputPlugin, logInternalIdCannotBeExternal, logInvalidAddonPluginHook, logInvalidAnnotation, logInvalidExportOptionValue, logInvalidFormatForTopLevelAwait, logInvalidFunctionPluginHook, logInvalidLogPosition, logInvalidOption, logInvalidRollupPhaseForChunkEmission, logInvalidSetAssetSourceCall, logInvalidSourcemapForError, logLevelPriority, logMissingEntryExport, logMissingExport, logMissingFileOrDirOption, logMissingGlobalName, logMissingJsxExport, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, logMissingNodeBuiltins, logMixedExport, logModuleLevelDirective, logModuleParseError, logNamespaceConflict, logNoAssetSourceSet, logNoTransformMapOrAstWithoutCode, logOptimizeChunkStatus, logParseError, logPluginError, logRedeclarationError, logReservedNamespace, logShimmedExport, logSourcemapBroken, logSyntheticNamedExportsNeedNamespaceExport, logThisIsUndefined, logUnexpectedNamedImport, logUnexpectedNamespaceReexport, logUnknownOption, logUnresolvedEntry, logUnresolvedImplicitDependant, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logUnusedExternalImports, normalize, parseAst, parseAstAsync, printQuotedStringList, relative, relativeId, warnDeprecation };
|
|
2076
|
+
export { ANNOTATION_KEY, ArrowFunctionExpression, AwaitExpression, BLANK, BlockStatement, CallExpression, CatchClause, EMPTY_ARRAY, EMPTY_OBJECT, EMPTY_SET, ExportDefaultDeclaration, ExpressionStatement, FIXED_STRINGS, INVALID_ANNOTATION_KEY, Identifier, ImportExpression, LOGLEVEL_DEBUG, LOGLEVEL_ERROR, LOGLEVEL_INFO, LOGLEVEL_WARN, Literal, MemberExpression, ObjectExpression, Program, Property, RestElement, ReturnStatement, StaticBlock, TemplateLiteral, URL_GENERATEBUNDLE, URL_JSX, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_AMD_ID, URL_OUTPUT_DIR, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, URL_OUTPUT_FORMAT, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_OUTPUT_INTEROP, URL_OUTPUT_MANUALCHUNKS, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_SOURCEMAPFILE, URL_PRESERVEENTRYSIGNATURES, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_WATCH, VariableDeclarator, addTrailingSlashIfMissed, augmentCodeLocation, augmentLogMessage, convertAnnotations, convertNode, error, getAliasName, getAstBuffer, getImportPath, getRollupError, isAbsolute, isPathFragment, isRelative, isValidUrl, locate, logAddonNotGenerated, logAlreadyClosed, logAmbiguousExternalNamespaces, logAnonymousPluginCache, logAssetNotFinalisedForFileName, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logBadLoader, logCannotAssignModuleToChunk, logCannotCallNamespace, logCannotEmitFromOptionsHook, logChunkInvalid, logChunkNotGeneratedForFileName, logCircularDependency, logCircularReexport, logConflictingSourcemapSources, logConstVariableReassignError, logCyclicCrossChunkReexport, logDuplicateArgumentNameError, logDuplicateExportError, logDuplicatePluginName, logEmptyChunk, logEntryCannotBeExternal, logEval, logExternalModulesCannotBeIncludedInManualChunks, logExternalModulesCannotBeTransformedToModules, logExternalSyntheticExports, logFailedValidation, logFileNameConflict, logFileReferenceIdNotFoundForFilename, logFirstSideEffect, logIllegalIdentifierAsName, logIllegalImportReassignment, logImplicitDependantCannotBeExternal, logImplicitDependantIsNotIncluded, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logIncompatibleExportOptionValue, logInconsistentImportAttributes, logInputHookInOutputPlugin, logInternalIdCannotBeExternal, logInvalidAddonPluginHook, logInvalidAnnotation, logInvalidExportOptionValue, logInvalidFormatForTopLevelAwait, logInvalidFunctionPluginHook, logInvalidLogPosition, logInvalidOption, logInvalidRollupPhaseForChunkEmission, logInvalidSetAssetSourceCall, logInvalidSourcemapForError, logLevelPriority, logMissingEntryExport, logMissingExport, logMissingFileOrDirOption, logMissingGlobalName, logMissingJsxExport, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, logMissingNodeBuiltins, logMixedExport, logModuleLevelDirective, logModuleParseError, logNamespaceConflict, logNoAssetSourceSet, logNoTransformMapOrAstWithoutCode, logOptimizeChunkStatus, logParseError, logPluginError, logRedeclarationError, logReservedNamespace, logShimmedExport, logSourcemapBroken, logSyntheticNamedExportsNeedNamespaceExport, logThisIsUndefined, logUnexpectedNamedImport, logUnexpectedNamespaceReexport, logUnknownOption, logUnresolvedEntry, logUnresolvedImplicitDependant, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logUnusedExternalImports, normalize, parseAst, parseAstAsync, printQuotedStringList, relative, relativeId, warnDeprecation };
|
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.js
CHANGED
package/dist/shared/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.41.1
|
|
4
|
+
Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -457,7 +457,8 @@ async function getConfigFileExport(fileName, commandOptions, watchMode) {
|
|
|
457
457
|
}
|
|
458
458
|
let cannotLoadEsm = false;
|
|
459
459
|
const handleWarning = (warning) => {
|
|
460
|
-
if (warning.message
|
|
460
|
+
if (warning.message?.includes('To load an ES module') ||
|
|
461
|
+
warning.message?.includes('Failed to load the ES module')) {
|
|
461
462
|
cannotLoadEsm = true;
|
|
462
463
|
}
|
|
463
464
|
};
|
package/dist/shared/parseAst.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.41.1
|
|
4
|
+
Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -1031,13 +1031,16 @@ const EMPTY_SET = Object.freeze(new (class extends Set {
|
|
|
1031
1031
|
// This file is generated by scripts/generate-node-types.js.
|
|
1032
1032
|
// Do not edit this file directly.
|
|
1033
1033
|
const ArrowFunctionExpression = 'ArrowFunctionExpression';
|
|
1034
|
+
const AwaitExpression = 'AwaitExpression';
|
|
1034
1035
|
const BlockStatement = 'BlockStatement';
|
|
1035
1036
|
const CallExpression = 'CallExpression';
|
|
1036
1037
|
const CatchClause = 'CatchClause';
|
|
1037
1038
|
const ExportDefaultDeclaration = 'ExportDefaultDeclaration';
|
|
1038
1039
|
const ExpressionStatement = 'ExpressionStatement';
|
|
1039
1040
|
const Identifier = 'Identifier';
|
|
1041
|
+
const ImportExpression = 'ImportExpression';
|
|
1040
1042
|
const Literal = 'Literal';
|
|
1043
|
+
const MemberExpression = 'MemberExpression';
|
|
1041
1044
|
const ObjectExpression = 'ObjectExpression';
|
|
1042
1045
|
const PanicError = 'PanicError';
|
|
1043
1046
|
const ParseError = 'ParseError';
|
|
@@ -2135,6 +2138,7 @@ const parseAstAsync = async (input, { allowReturnOutsideFunction = false, jsx =
|
|
|
2135
2138
|
|
|
2136
2139
|
exports.ANNOTATION_KEY = ANNOTATION_KEY;
|
|
2137
2140
|
exports.ArrowFunctionExpression = ArrowFunctionExpression;
|
|
2141
|
+
exports.AwaitExpression = AwaitExpression;
|
|
2138
2142
|
exports.BLANK = BLANK;
|
|
2139
2143
|
exports.BlockStatement = BlockStatement;
|
|
2140
2144
|
exports.CallExpression = CallExpression;
|
|
@@ -2147,11 +2151,13 @@ exports.ExpressionStatement = ExpressionStatement;
|
|
|
2147
2151
|
exports.FIXED_STRINGS = FIXED_STRINGS;
|
|
2148
2152
|
exports.INVALID_ANNOTATION_KEY = INVALID_ANNOTATION_KEY;
|
|
2149
2153
|
exports.Identifier = Identifier;
|
|
2154
|
+
exports.ImportExpression = ImportExpression;
|
|
2150
2155
|
exports.LOGLEVEL_DEBUG = LOGLEVEL_DEBUG;
|
|
2151
2156
|
exports.LOGLEVEL_ERROR = LOGLEVEL_ERROR;
|
|
2152
2157
|
exports.LOGLEVEL_INFO = LOGLEVEL_INFO;
|
|
2153
2158
|
exports.LOGLEVEL_WARN = LOGLEVEL_WARN;
|
|
2154
2159
|
exports.Literal = Literal;
|
|
2160
|
+
exports.MemberExpression = MemberExpression;
|
|
2155
2161
|
exports.ObjectExpression = ObjectExpression;
|
|
2156
2162
|
exports.Program = Program;
|
|
2157
2163
|
exports.Property = Property;
|
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.41.1
|
|
4
|
+
Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -17,7 +17,7 @@ const native_js = require('../native.js');
|
|
|
17
17
|
const node_perf_hooks = require('node:perf_hooks');
|
|
18
18
|
const promises = require('node:fs/promises');
|
|
19
19
|
|
|
20
|
-
var version = "4.
|
|
20
|
+
var version = "4.41.1";
|
|
21
21
|
|
|
22
22
|
function ensureArray$1(items) {
|
|
23
23
|
if (Array.isArray(items)) {
|
|
@@ -6057,10 +6057,13 @@ const deoptimizeInteraction = (interaction) => {
|
|
|
6057
6057
|
argument?.deoptimizePath(UNKNOWN_PATH);
|
|
6058
6058
|
}
|
|
6059
6059
|
};
|
|
6060
|
-
const includeInteraction = (
|
|
6060
|
+
const includeInteraction = (interaction, context) => {
|
|
6061
6061
|
// We do not re-include the "this" argument as we expect this is already
|
|
6062
6062
|
// re-included at the call site
|
|
6063
|
-
args[0]?.includePath(UNKNOWN_PATH, context);
|
|
6063
|
+
interaction.args[0]?.includePath(UNKNOWN_PATH, context);
|
|
6064
|
+
includeInteractionWithoutThis(interaction, context);
|
|
6065
|
+
};
|
|
6066
|
+
const includeInteractionWithoutThis = ({ args }, context) => {
|
|
6064
6067
|
for (let argumentIndex = 1; argumentIndex < args.length; argumentIndex++) {
|
|
6065
6068
|
const argument = args[argumentIndex];
|
|
6066
6069
|
if (argument) {
|
|
@@ -6735,7 +6738,25 @@ function isObjectExpressionNode(node) {
|
|
|
6735
6738
|
return node instanceof NodeBase && node.type === parseAst_js.ObjectExpression;
|
|
6736
6739
|
}
|
|
6737
6740
|
function isPropertyNode(node) {
|
|
6738
|
-
return node.type === parseAst_js.Property;
|
|
6741
|
+
return node instanceof NodeBase && node.type === parseAst_js.Property;
|
|
6742
|
+
}
|
|
6743
|
+
function isArrowFunctionExpressionNode(node) {
|
|
6744
|
+
return node instanceof NodeBase && node.type === parseAst_js.ArrowFunctionExpression;
|
|
6745
|
+
}
|
|
6746
|
+
function isCallExpressionNode(node) {
|
|
6747
|
+
return node instanceof NodeBase && node.type === parseAst_js.CallExpression;
|
|
6748
|
+
}
|
|
6749
|
+
function isMemberExpressionNode(node) {
|
|
6750
|
+
return node instanceof NodeBase && node.type === parseAst_js.MemberExpression;
|
|
6751
|
+
}
|
|
6752
|
+
function isImportExpressionNode(node) {
|
|
6753
|
+
return node instanceof NodeBase && node.type === parseAst_js.ImportExpression;
|
|
6754
|
+
}
|
|
6755
|
+
function isAwaitExpressionNode(node) {
|
|
6756
|
+
return node instanceof NodeBase && node.type === parseAst_js.AwaitExpression;
|
|
6757
|
+
}
|
|
6758
|
+
function isIdentifierNode(node) {
|
|
6759
|
+
return node instanceof NodeBase && node.type === parseAst_js.Identifier;
|
|
6739
6760
|
}
|
|
6740
6761
|
|
|
6741
6762
|
function assembleMemberDescriptions(memberDescriptions, inheritedDescriptions = null) {
|
|
@@ -8870,6 +8891,20 @@ class LocalVariable extends Variable {
|
|
|
8870
8891
|
break;
|
|
8871
8892
|
node = node.parent;
|
|
8872
8893
|
}
|
|
8894
|
+
/**
|
|
8895
|
+
* import('foo').then(m => {
|
|
8896
|
+
* console.log(m.foo)
|
|
8897
|
+
* })
|
|
8898
|
+
*/
|
|
8899
|
+
if (this.kind === 'parameter' &&
|
|
8900
|
+
isArrowFunctionExpressionNode(declaration.parent) &&
|
|
8901
|
+
isCallExpressionNode(declaration.parent.parent) &&
|
|
8902
|
+
isMemberExpressionNode(declaration.parent.parent.callee) &&
|
|
8903
|
+
isIdentifierNode(declaration.parent.parent.callee.property) &&
|
|
8904
|
+
declaration.parent.parent.callee.property.name === 'then' &&
|
|
8905
|
+
isImportExpressionNode(declaration.parent.parent.callee.object)) {
|
|
8906
|
+
declaration.parent.parent.callee.object.includePath(path);
|
|
8907
|
+
}
|
|
8873
8908
|
}
|
|
8874
8909
|
// We need to make sure we include the correct path of the init
|
|
8875
8910
|
if (path.length > 0) {
|
|
@@ -11248,7 +11283,21 @@ class MemberExpression extends NodeBase {
|
|
|
11248
11283
|
this.variable.includeCallArguments(interaction, context);
|
|
11249
11284
|
}
|
|
11250
11285
|
else {
|
|
11251
|
-
|
|
11286
|
+
if (isImportExpressionNode(this.object) ||
|
|
11287
|
+
/**
|
|
11288
|
+
* const c = await import('foo')
|
|
11289
|
+
* c.foo();
|
|
11290
|
+
*/
|
|
11291
|
+
(this.object.variable &&
|
|
11292
|
+
!this.object.variable.isReassigned &&
|
|
11293
|
+
this.object.variable instanceof LocalVariable &&
|
|
11294
|
+
isAwaitExpressionNode(this.object.variable.init) &&
|
|
11295
|
+
isImportExpressionNode(this.object.variable.init.argument))) {
|
|
11296
|
+
includeInteractionWithoutThis(interaction, context);
|
|
11297
|
+
}
|
|
11298
|
+
else {
|
|
11299
|
+
includeInteraction(interaction, context);
|
|
11300
|
+
}
|
|
11252
11301
|
}
|
|
11253
11302
|
}
|
|
11254
11303
|
includeDestructuredIfNecessary(context, destructuredInitPath, init) {
|
|
@@ -14531,8 +14580,7 @@ class ImportExpression extends NodeBase {
|
|
|
14531
14580
|
*
|
|
14532
14581
|
* 1. `const { foo } = await import('bar')`.
|
|
14533
14582
|
* 2. `(await import('bar')).foo`
|
|
14534
|
-
* 3. `import('bar').then((
|
|
14535
|
-
* 4. `import('bar').then(({ foo }) => {})`
|
|
14583
|
+
* 3. `import('bar').then(({ foo }) => {})`
|
|
14536
14584
|
*
|
|
14537
14585
|
* Returns empty array if it's side-effect only import.
|
|
14538
14586
|
* Returns undefined if it's not fully deterministic.
|
|
@@ -14596,30 +14644,11 @@ class ImportExpression extends NodeBase {
|
|
|
14596
14644
|
if (thenCallback.params.length === 0) {
|
|
14597
14645
|
return parseAst_js.EMPTY_ARRAY;
|
|
14598
14646
|
}
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
// Case 3: import('bar').then(m => m.foo)
|
|
14603
|
-
if (declaration instanceof Identifier) {
|
|
14604
|
-
const starName = declaration.name;
|
|
14605
|
-
const memberExpression = thenCallback.body;
|
|
14606
|
-
if (!(memberExpression instanceof MemberExpression) ||
|
|
14607
|
-
memberExpression.computed ||
|
|
14608
|
-
!(memberExpression.property instanceof Identifier)) {
|
|
14609
|
-
return;
|
|
14610
|
-
}
|
|
14611
|
-
const returnVariable = memberExpression.object;
|
|
14612
|
-
if (!(returnVariable instanceof Identifier) || returnVariable.name !== starName) {
|
|
14613
|
-
return;
|
|
14614
|
-
}
|
|
14615
|
-
return [memberExpression.property.name];
|
|
14616
|
-
}
|
|
14617
|
-
// Case 4: import('bar').then(({ foo }) => {})
|
|
14618
|
-
if (declaration instanceof ObjectPattern) {
|
|
14619
|
-
return getDeterministicObjectDestructure(declaration);
|
|
14620
|
-
}
|
|
14647
|
+
const declaration = thenCallback.params[0];
|
|
14648
|
+
if (thenCallback.params.length === 1 && declaration instanceof ObjectPattern) {
|
|
14649
|
+
return getDeterministicObjectDestructure(declaration);
|
|
14621
14650
|
}
|
|
14622
|
-
return;
|
|
14651
|
+
return this.hasUnknownAccessedKey ? undefined : [...this.accessedPropKey];
|
|
14623
14652
|
}
|
|
14624
14653
|
}
|
|
14625
14654
|
hasEffects() {
|
|
@@ -22021,6 +22050,16 @@ function resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolve
|
|
|
22021
22050
|
...pluginContext,
|
|
22022
22051
|
resolve: (source, importer, { attributes, custom, isEntry, skipSelf } = parseAst_js.BLANK) => {
|
|
22023
22052
|
skipSelf ??= true;
|
|
22053
|
+
if (skipSelf &&
|
|
22054
|
+
skip.findIndex(skippedCall => {
|
|
22055
|
+
return (skippedCall.plugin === plugin &&
|
|
22056
|
+
skippedCall.source === source &&
|
|
22057
|
+
skippedCall.importer === importer);
|
|
22058
|
+
}) !== -1) {
|
|
22059
|
+
// This means that the plugin recursively called itself
|
|
22060
|
+
// Thus returning Promise.resolve(null) in purpose of fallback to default behavior of `resolveId` plugin hook.
|
|
22061
|
+
return Promise.resolve(null);
|
|
22062
|
+
}
|
|
22024
22063
|
return moduleLoaderResolveId(source, importer, custom, isEntry, attributes || parseAst_js.EMPTY_OBJECT, skipSelf ? [...skip, { importer, plugin, source }] : skip);
|
|
22025
22064
|
}
|
|
22026
22065
|
});
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.41.1",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@codemirror/commands": "^6.8.1",
|
|
36
|
-
"@codemirror/lang-javascript": "^6.2.
|
|
36
|
+
"@codemirror/lang-javascript": "^6.2.4",
|
|
37
37
|
"@codemirror/language": "^6.11.0",
|
|
38
|
-
"@codemirror/search": "^6.5.
|
|
38
|
+
"@codemirror/search": "^6.5.11",
|
|
39
39
|
"@codemirror/state": "^6.5.2",
|
|
40
|
-
"@codemirror/view": "^6.36.
|
|
41
|
-
"@eslint/js": "^9.
|
|
42
|
-
"@inquirer/prompts": "^7.5.
|
|
40
|
+
"@codemirror/view": "^6.36.8",
|
|
41
|
+
"@eslint/js": "^9.27.0",
|
|
42
|
+
"@inquirer/prompts": "^7.5.1",
|
|
43
43
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
44
44
|
"@mermaid-js/mermaid-cli": "^11.4.2",
|
|
45
45
|
"@napi-rs/cli": "^2.18.4",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@rollup/plugin-terser": "^0.4.4",
|
|
53
53
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
54
54
|
"@rollup/pluginutils": "^5.1.4",
|
|
55
|
-
"@shikijs/vitepress-twoslash": "^3.
|
|
55
|
+
"@shikijs/vitepress-twoslash": "^3.4.2",
|
|
56
56
|
"@types/mocha": "^10.0.10",
|
|
57
|
-
"@types/node": "^18.19.
|
|
57
|
+
"@types/node": "^18.19.101",
|
|
58
58
|
"@types/picomatch": "^4.0.0",
|
|
59
59
|
"@types/semver": "^7.7.0",
|
|
60
60
|
"@types/yargs-parser": "^21.0.3",
|
|
@@ -71,22 +71,22 @@
|
|
|
71
71
|
"date-time": "^4.0.0",
|
|
72
72
|
"es5-shim": "^4.6.7",
|
|
73
73
|
"es6-shim": "^0.35.8",
|
|
74
|
-
"eslint": "^9.
|
|
75
|
-
"eslint-config-prettier": "^10.1.
|
|
76
|
-
"eslint-plugin-prettier": "^5.
|
|
77
|
-
"eslint-plugin-unicorn": "^59.0.
|
|
78
|
-
"eslint-plugin-vue": "^10.0
|
|
74
|
+
"eslint": "^9.27.0",
|
|
75
|
+
"eslint-config-prettier": "^10.1.5",
|
|
76
|
+
"eslint-plugin-prettier": "^5.4.0",
|
|
77
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
78
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
79
79
|
"fixturify": "^3.0.0",
|
|
80
80
|
"flru": "^1.0.2",
|
|
81
81
|
"fs-extra": "^11.3.0",
|
|
82
82
|
"github-api": "^3.4.0",
|
|
83
|
-
"globals": "^16.
|
|
83
|
+
"globals": "^16.1.0",
|
|
84
84
|
"husky": "^9.1.7",
|
|
85
85
|
"is-reference": "^3.0.3",
|
|
86
|
-
"lint-staged": "^
|
|
86
|
+
"lint-staged": "^16.0.0",
|
|
87
87
|
"locate-character": "^3.0.0",
|
|
88
88
|
"magic-string": "^0.30.17",
|
|
89
|
-
"mocha": "^11.
|
|
89
|
+
"mocha": "^11.4.0",
|
|
90
90
|
"nodemon": "^3.1.10",
|
|
91
91
|
"nyc": "^17.1.0",
|
|
92
92
|
"picocolors": "^1.1.1",
|
|
@@ -94,32 +94,32 @@
|
|
|
94
94
|
"pinia": "^3.0.2",
|
|
95
95
|
"prettier": "^3.5.3",
|
|
96
96
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
97
|
-
"pretty-bytes": "^
|
|
97
|
+
"pretty-bytes": "^7.0.0",
|
|
98
98
|
"pretty-ms": "^9.2.0",
|
|
99
99
|
"requirejs": "^2.3.7",
|
|
100
|
-
"rollup": "^4.
|
|
100
|
+
"rollup": "^4.41.0",
|
|
101
101
|
"rollup-plugin-license": "^3.6.0",
|
|
102
102
|
"rollup-plugin-string": "^3.0.0",
|
|
103
|
-
"semver": "^7.7.
|
|
103
|
+
"semver": "^7.7.2",
|
|
104
104
|
"shx": "^0.4.0",
|
|
105
105
|
"signal-exit": "^4.1.0",
|
|
106
106
|
"source-map": "^0.7.4",
|
|
107
107
|
"source-map-support": "^0.5.21",
|
|
108
108
|
"systemjs": "^6.15.1",
|
|
109
|
-
"terser": "^5.39.
|
|
109
|
+
"terser": "^5.39.2",
|
|
110
110
|
"tslib": "^2.8.1",
|
|
111
111
|
"typescript": "^5.8.3",
|
|
112
|
-
"typescript-eslint": "^8.
|
|
113
|
-
"vite": "^6.3.
|
|
112
|
+
"typescript-eslint": "^8.32.1",
|
|
113
|
+
"vite": "^6.3.5",
|
|
114
114
|
"vitepress": "^1.6.3",
|
|
115
|
-
"vue": "^3.5.
|
|
115
|
+
"vue": "^3.5.14",
|
|
116
116
|
"vue-tsc": "^2.2.10",
|
|
117
117
|
"wasm-pack": "^0.13.1",
|
|
118
118
|
"yargs-parser": "^21.1.1"
|
|
119
119
|
},
|
|
120
120
|
"overrides": {
|
|
121
121
|
"axios": "^1.9.0",
|
|
122
|
-
"semver": "^7.7.
|
|
122
|
+
"semver": "^7.7.2",
|
|
123
123
|
"readable-stream": "npm:@built-in/readable-stream@1",
|
|
124
124
|
"esbuild": ">0.24.2"
|
|
125
125
|
},
|