rollup 4.22.5 → 4.23.0
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 +80 -19
- package/dist/es/shared/parseAst.js +5 -4
- 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 +4 -0
- 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 +5 -3
- package/dist/shared/rollup.js +79 -18
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +18 -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.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.23.0
|
|
5
|
+
Tue, 01 Oct 2024 07:09:35 GMT - commit ed98e0821e6ad064839f0af46ceca061adbe3f14
|
|
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,13 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.23.0
|
|
4
|
+
Tue, 01 Oct 2024 07:09:35 GMT - commit ed98e0821e6ad064839f0af46ceca061adbe3f14
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
8
8
|
Released under the MIT License.
|
|
9
9
|
*/
|
|
10
|
-
import { ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, Program as Program$1, BLANK, logIllegalImportReassignment, 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, Property as Property$1, logConstVariableReassignError, ArrowFunctionExpression as ArrowFunctionExpression$1, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logParseError, logModuleParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, Identifier as Identifier$1, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, EMPTY_OBJECT, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logSyntheticNamedExportsNeedNamespaceExport, logMissingEntryExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, logCircularReexport, logInvalidFormatForTopLevelAwait, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, 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, printQuotedStringList, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, relativeId, logBadLoader, logExternalModulesCannotBeTransformedToModules, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, logFileNameConflict, logAssetNotFinalisedForFileName, logChunkNotGeneratedForFileName, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidFunctionPluginHook, logInvalidAddonPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, logInvalidExportOptionValue,
|
|
10
|
+
import { ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, Program as Program$1, BLANK, logIllegalImportReassignment, 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, Property as Property$1, logConstVariableReassignError, ArrowFunctionExpression as ArrowFunctionExpression$1, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logParseError, logModuleParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, Identifier as Identifier$1, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, EMPTY_OBJECT, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logSyntheticNamedExportsNeedNamespaceExport, logMissingEntryExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, logCircularReexport, logInvalidFormatForTopLevelAwait, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, 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, printQuotedStringList, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, relativeId, logBadLoader, logExternalModulesCannotBeTransformedToModules, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, warnDeprecation, URL_GENERATEBUNDLE, logFileNameConflict, logAssetNotFinalisedForFileName, logChunkNotGeneratedForFileName, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidFunctionPluginHook, logInvalidAddonPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, logInvalidExportOptionValue, URL_OUTPUT_INTEROP, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_MANUALCHUNKS, 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 require$$0, { posix, win32, isAbsolute, resolve } from 'path';
|
|
13
13
|
import { parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } from '../../native.js';
|
|
@@ -16,7 +16,7 @@ import { performance } from 'node:perf_hooks';
|
|
|
16
16
|
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
|
17
17
|
import * as tty from 'tty';
|
|
18
18
|
|
|
19
|
-
var version = "4.
|
|
19
|
+
var version = "4.23.0";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -19420,10 +19420,25 @@ async function waitForDependencyResolution(loadPromise) {
|
|
|
19420
19420
|
return Promise.all([...resolveStaticDependencyPromises, ...resolveDynamicImportPromises]);
|
|
19421
19421
|
}
|
|
19422
19422
|
|
|
19423
|
-
function generateAssetFileName(name, source, originalFileName, sourceHash, outputOptions, bundle) {
|
|
19423
|
+
function generateAssetFileName(name, names, source, originalFileName, originalFileNames, sourceHash, outputOptions, bundle, inputOptions) {
|
|
19424
19424
|
const emittedName = outputOptions.sanitizeFileName(name || 'asset');
|
|
19425
19425
|
return makeUnique(renderNamePattern(typeof outputOptions.assetFileNames === 'function'
|
|
19426
|
-
? outputOptions.assetFileNames({
|
|
19426
|
+
? outputOptions.assetFileNames({
|
|
19427
|
+
// Additionally, this should be non-enumerable in the next major
|
|
19428
|
+
get name() {
|
|
19429
|
+
warnDeprecation('Accessing the "name" property of emitted assets when generating the file name is deprecated. Use the "names" property instead.', URL_GENERATEBUNDLE, false, inputOptions);
|
|
19430
|
+
return name;
|
|
19431
|
+
},
|
|
19432
|
+
names,
|
|
19433
|
+
// Additionally, this should be non-enumerable in the next major
|
|
19434
|
+
get originalFileName() {
|
|
19435
|
+
warnDeprecation('Accessing the "originalFileName" property of emitted assets when generating the file name is deprecated. Use the "originalFileNames" property instead.', URL_GENERATEBUNDLE, false, inputOptions);
|
|
19436
|
+
return originalFileName;
|
|
19437
|
+
},
|
|
19438
|
+
originalFileNames,
|
|
19439
|
+
source,
|
|
19440
|
+
type: 'asset'
|
|
19441
|
+
})
|
|
19427
19442
|
: outputOptions.assetFileNames, 'output.assetFileNames', {
|
|
19428
19443
|
ext: () => extname(emittedName).slice(1),
|
|
19429
19444
|
extname: () => extname(emittedName),
|
|
@@ -19539,7 +19554,7 @@ class FileEmitter {
|
|
|
19539
19554
|
const getHash = hasherByType[outputOptions.hashCharacters];
|
|
19540
19555
|
const output = (this.output = {
|
|
19541
19556
|
bundle,
|
|
19542
|
-
|
|
19557
|
+
fileNamesBySourceHash: new Map(),
|
|
19543
19558
|
getHash,
|
|
19544
19559
|
outputOptions
|
|
19545
19560
|
});
|
|
@@ -19694,15 +19709,15 @@ class FileEmitter {
|
|
|
19694
19709
|
}
|
|
19695
19710
|
return referenceId;
|
|
19696
19711
|
}
|
|
19697
|
-
finalizeAdditionalAsset(consumedFile, source, { bundle,
|
|
19698
|
-
let { fileName, needsCodeReference, originalFileName, referenceId } = consumedFile;
|
|
19712
|
+
finalizeAdditionalAsset(consumedFile, source, { bundle, fileNamesBySourceHash, getHash, outputOptions }) {
|
|
19713
|
+
let { fileName, name, needsCodeReference, originalFileName, referenceId } = consumedFile;
|
|
19699
19714
|
// Deduplicate assets if an explicit fileName is not provided
|
|
19700
19715
|
if (!fileName) {
|
|
19701
19716
|
const sourceHash = getHash(source);
|
|
19702
|
-
fileName =
|
|
19717
|
+
fileName = fileNamesBySourceHash.get(sourceHash);
|
|
19703
19718
|
if (!fileName) {
|
|
19704
|
-
fileName = generateAssetFileName(
|
|
19705
|
-
|
|
19719
|
+
fileName = generateAssetFileName(name, name ? [name] : [], source, originalFileName, originalFileName ? [originalFileName] : [], sourceHash, outputOptions, bundle, this.options);
|
|
19720
|
+
fileNamesBySourceHash.set(sourceHash, fileName);
|
|
19706
19721
|
}
|
|
19707
19722
|
}
|
|
19708
19723
|
// We must not modify the original assets to avoid interaction between outputs
|
|
@@ -19711,25 +19726,43 @@ class FileEmitter {
|
|
|
19711
19726
|
const existingAsset = bundle[fileName];
|
|
19712
19727
|
if (existingAsset?.type === 'asset') {
|
|
19713
19728
|
existingAsset.needsCodeReference &&= needsCodeReference;
|
|
19729
|
+
if (name) {
|
|
19730
|
+
existingAsset.names.push(name);
|
|
19731
|
+
}
|
|
19732
|
+
if (originalFileName) {
|
|
19733
|
+
existingAsset.originalFileNames.push(originalFileName);
|
|
19734
|
+
}
|
|
19714
19735
|
}
|
|
19715
19736
|
else {
|
|
19737
|
+
const { options } = this;
|
|
19716
19738
|
bundle[fileName] = {
|
|
19717
19739
|
fileName,
|
|
19718
|
-
name
|
|
19740
|
+
get name() {
|
|
19741
|
+
// Additionally, this should be non-enumerable in the next major
|
|
19742
|
+
warnDeprecation('Accessing the "name" property of emitted assets in the bundle is deprecated. Use the "names" property instead.', URL_GENERATEBUNDLE, false, options);
|
|
19743
|
+
return name;
|
|
19744
|
+
},
|
|
19745
|
+
names: name ? [name] : [],
|
|
19719
19746
|
needsCodeReference,
|
|
19720
|
-
originalFileName
|
|
19747
|
+
get originalFileName() {
|
|
19748
|
+
// Additionally, this should be non-enumerable in the next major
|
|
19749
|
+
warnDeprecation('Accessing the "originalFileName" property of emitted assets in the bundle is deprecated. Use the "originalFileNames" property instead.', URL_GENERATEBUNDLE, false, options);
|
|
19750
|
+
return originalFileName;
|
|
19751
|
+
},
|
|
19752
|
+
originalFileNames: originalFileName ? [originalFileName] : [],
|
|
19721
19753
|
source,
|
|
19722
19754
|
type: 'asset'
|
|
19723
19755
|
};
|
|
19724
19756
|
}
|
|
19725
19757
|
}
|
|
19726
|
-
finalizeAssetsWithSameSource(consumedFiles, sourceHash, { bundle,
|
|
19758
|
+
finalizeAssetsWithSameSource(consumedFiles, sourceHash, { bundle, fileNamesBySourceHash, outputOptions }) {
|
|
19759
|
+
const { names, originalFileNames } = getNamesFromAssets(consumedFiles);
|
|
19727
19760
|
let fileName = '';
|
|
19728
19761
|
let usedConsumedFile;
|
|
19729
19762
|
let needsCodeReference = true;
|
|
19730
19763
|
for (const consumedFile of consumedFiles) {
|
|
19731
19764
|
needsCodeReference &&= consumedFile.needsCodeReference;
|
|
19732
|
-
const assetFileName = generateAssetFileName(consumedFile.name, consumedFile.source, consumedFile.originalFileName, sourceHash, outputOptions, bundle);
|
|
19765
|
+
const assetFileName = generateAssetFileName(consumedFile.name, names, consumedFile.source, consumedFile.originalFileName, originalFileNames, sourceHash, outputOptions, bundle, this.options);
|
|
19733
19766
|
if (!fileName ||
|
|
19734
19767
|
assetFileName.length < fileName.length ||
|
|
19735
19768
|
(assetFileName.length === fileName.length && assetFileName < fileName)) {
|
|
@@ -19737,22 +19770,50 @@ class FileEmitter {
|
|
|
19737
19770
|
usedConsumedFile = consumedFile;
|
|
19738
19771
|
}
|
|
19739
19772
|
}
|
|
19740
|
-
|
|
19773
|
+
fileNamesBySourceHash.set(sourceHash, fileName);
|
|
19741
19774
|
for (const consumedFile of consumedFiles) {
|
|
19742
19775
|
// We must not modify the original assets to avoid interaction between outputs
|
|
19743
19776
|
const assetWithFileName = { ...consumedFile, fileName };
|
|
19744
19777
|
this.filesByReferenceId.set(consumedFile.referenceId, assetWithFileName);
|
|
19745
19778
|
}
|
|
19779
|
+
const { options } = this;
|
|
19746
19780
|
bundle[fileName] = {
|
|
19747
19781
|
fileName,
|
|
19748
|
-
name
|
|
19782
|
+
get name() {
|
|
19783
|
+
// Additionally, this should be non-enumerable in the next major
|
|
19784
|
+
warnDeprecation('Accessing the "name" property of emitted assets in the bundle is deprecated. Use the "names" property instead.', URL_GENERATEBUNDLE, false, options);
|
|
19785
|
+
return usedConsumedFile.name;
|
|
19786
|
+
},
|
|
19787
|
+
names,
|
|
19749
19788
|
needsCodeReference,
|
|
19750
|
-
originalFileName
|
|
19789
|
+
get originalFileName() {
|
|
19790
|
+
// Additionally, this should be non-enumerable in the next major
|
|
19791
|
+
warnDeprecation('Accessing the "originalFileName" property of emitted assets in the bundle is deprecated. Use the "originalFileNames" property instead.', URL_GENERATEBUNDLE, false, options);
|
|
19792
|
+
return usedConsumedFile.originalFileName;
|
|
19793
|
+
},
|
|
19794
|
+
originalFileNames,
|
|
19751
19795
|
source: usedConsumedFile.source,
|
|
19752
19796
|
type: 'asset'
|
|
19753
19797
|
};
|
|
19754
19798
|
}
|
|
19755
19799
|
}
|
|
19800
|
+
function getNamesFromAssets(consumedFiles) {
|
|
19801
|
+
const names = [];
|
|
19802
|
+
const originalFileNames = [];
|
|
19803
|
+
for (const { name, originalFileName } of consumedFiles) {
|
|
19804
|
+
if (typeof name === 'string') {
|
|
19805
|
+
names.push(name);
|
|
19806
|
+
}
|
|
19807
|
+
if (originalFileName) {
|
|
19808
|
+
originalFileNames.push(originalFileName);
|
|
19809
|
+
}
|
|
19810
|
+
}
|
|
19811
|
+
originalFileNames.sort();
|
|
19812
|
+
// Sort by length first and then alphabetically so that the order is stable
|
|
19813
|
+
// and the shortest names come first
|
|
19814
|
+
names.sort((a, b) => a.length - b.length || (a > b ? 1 : a === b ? 0 : -1));
|
|
19815
|
+
return { names, originalFileNames };
|
|
19816
|
+
}
|
|
19756
19817
|
|
|
19757
19818
|
function getLogHandler(level, code, logger, pluginName, logLevel) {
|
|
19758
19819
|
if (logLevelPriority[level] < logLevelPriority[logLevel]) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.23.0
|
|
4
|
+
Tue, 01 Oct 2024 07:09:35 GMT - commit ed98e0821e6ad064839f0af46ceca061adbe3f14
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -383,6 +383,7 @@ const URL_TREESHAKE_PURE = 'configuration-options/#pure';
|
|
|
383
383
|
const URL_TREESHAKE_NOSIDEEFFECTS = 'configuration-options/#no-side-effects';
|
|
384
384
|
const URL_TREESHAKE_MODULESIDEEFFECTS = 'configuration-options/#treeshake-modulesideeffects';
|
|
385
385
|
const URL_WATCH = 'configuration-options/#watch';
|
|
386
|
+
const URL_GENERATEBUNDLE = 'plugin-development/#generatebundle';
|
|
386
387
|
|
|
387
388
|
function error(base) {
|
|
388
389
|
throw base instanceof Error ? base : getRollupError(base);
|
|
@@ -1049,7 +1050,7 @@ function warnDeprecation(deprecation, urlSnippet, activeDeprecation, options, pl
|
|
|
1049
1050
|
warnDeprecationWithOptions(deprecation, urlSnippet, activeDeprecation, options.onLog, options.strictDeprecations);
|
|
1050
1051
|
}
|
|
1051
1052
|
function warnDeprecationWithOptions(deprecation, urlSnippet, activeDeprecation, log, strictDeprecations, plugin) {
|
|
1052
|
-
{
|
|
1053
|
+
if (activeDeprecation || strictDeprecations) {
|
|
1053
1054
|
const warning = logDeprecation(deprecation, urlSnippet);
|
|
1054
1055
|
if (strictDeprecations) {
|
|
1055
1056
|
return error(warning);
|
|
@@ -1923,4 +1924,4 @@ function getAstBuffer(astBuffer) {
|
|
|
1923
1924
|
const parseAst = (input, { allowReturnOutsideFunction = false } = {}) => convertProgram(getAstBuffer(parse(input, allowReturnOutsideFunction)));
|
|
1924
1925
|
const parseAstAsync = async (input, { allowReturnOutsideFunction = false, signal } = {}) => convertProgram(getAstBuffer(await parseAsync(input, allowReturnOutsideFunction, signal)));
|
|
1925
1926
|
|
|
1926
|
-
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, Program, Property, ReturnStatement, StaticBlock, TemplateLiteral, 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, 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 };
|
|
1927
|
+
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, Program, Property, ReturnStatement, StaticBlock, TemplateLiteral, URL_GENERATEBUNDLE, 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, 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.d.ts
CHANGED
|
@@ -815,8 +815,12 @@ export type WarningHandlerWithDefault = (
|
|
|
815
815
|
export type SerializedTimings = Record<string, [number, number, number]>;
|
|
816
816
|
|
|
817
817
|
export interface PreRenderedAsset {
|
|
818
|
+
/** @deprecated Use "names" instead. */
|
|
818
819
|
name: string | undefined;
|
|
820
|
+
names: string[];
|
|
821
|
+
/** @deprecated Use "originalFileNames" instead. */
|
|
819
822
|
originalFileName: string | null;
|
|
823
|
+
originalFileNames: string[];
|
|
820
824
|
source: string | Uint8Array;
|
|
821
825
|
type: 'asset';
|
|
822
826
|
}
|
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/parseAst.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.23.0
|
|
4
|
+
Tue, 01 Oct 2024 07:09:35 GMT - commit ed98e0821e6ad064839f0af46ceca061adbe3f14
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -273,6 +273,7 @@ const URL_WATCH = 'configuration-options/#watch';
|
|
|
273
273
|
// command-line-interface
|
|
274
274
|
const URL_BUNDLE_CONFIG_AS_CJS = 'command-line-interface/#bundleconfigascjs';
|
|
275
275
|
const URL_CONFIGURATION_FILES = 'command-line-interface/#configuration-files';
|
|
276
|
+
const URL_GENERATEBUNDLE = 'plugin-development/#generatebundle';
|
|
276
277
|
|
|
277
278
|
function error(base) {
|
|
278
279
|
throw base instanceof Error ? base : getRollupError(base);
|
|
@@ -997,7 +998,7 @@ function warnDeprecation(deprecation, urlSnippet, activeDeprecation, options, pl
|
|
|
997
998
|
warnDeprecationWithOptions(deprecation, urlSnippet, activeDeprecation, options.onLog, options.strictDeprecations);
|
|
998
999
|
}
|
|
999
1000
|
function warnDeprecationWithOptions(deprecation, urlSnippet, activeDeprecation, log, strictDeprecations, plugin) {
|
|
1000
|
-
{
|
|
1001
|
+
if (activeDeprecation || strictDeprecations) {
|
|
1001
1002
|
const warning = logDeprecation(deprecation, urlSnippet);
|
|
1002
1003
|
if (strictDeprecations) {
|
|
1003
1004
|
return error(warning);
|
|
@@ -2011,6 +2012,7 @@ exports.ReturnStatement = ReturnStatement;
|
|
|
2011
2012
|
exports.StaticBlock = StaticBlock;
|
|
2012
2013
|
exports.TemplateLiteral = TemplateLiteral;
|
|
2013
2014
|
exports.URL_AVOIDING_EVAL = URL_AVOIDING_EVAL;
|
|
2015
|
+
exports.URL_GENERATEBUNDLE = URL_GENERATEBUNDLE;
|
|
2014
2016
|
exports.URL_NAME_IS_NOT_EXPORTED = URL_NAME_IS_NOT_EXPORTED;
|
|
2015
2017
|
exports.URL_OUTPUT_AMD_BASEPATH = URL_OUTPUT_AMD_BASEPATH;
|
|
2016
2018
|
exports.URL_OUTPUT_AMD_ID = URL_OUTPUT_AMD_ID;
|
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.23.0
|
|
4
|
+
Tue, 01 Oct 2024 07:09:35 GMT - commit ed98e0821e6ad064839f0af46ceca061adbe3f14
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
|
|
|
31
31
|
|
|
32
32
|
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
|
33
33
|
|
|
34
|
-
var version = "4.
|
|
34
|
+
var version = "4.23.0";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -207,10 +207,25 @@ function makeUnique(name, { [lowercaseBundleKeys]: reservedLowercaseBundleKeys }
|
|
|
207
207
|
return uniqueName;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
function generateAssetFileName(name, source, originalFileName, sourceHash, outputOptions, bundle) {
|
|
210
|
+
function generateAssetFileName(name, names, source, originalFileName, originalFileNames, sourceHash, outputOptions, bundle, inputOptions) {
|
|
211
211
|
const emittedName = outputOptions.sanitizeFileName(name || 'asset');
|
|
212
212
|
return makeUnique(renderNamePattern(typeof outputOptions.assetFileNames === 'function'
|
|
213
|
-
? outputOptions.assetFileNames({
|
|
213
|
+
? outputOptions.assetFileNames({
|
|
214
|
+
// Additionally, this should be non-enumerable in the next major
|
|
215
|
+
get name() {
|
|
216
|
+
parseAst_js.warnDeprecation('Accessing the "name" property of emitted assets when generating the file name is deprecated. Use the "names" property instead.', parseAst_js.URL_GENERATEBUNDLE, false, inputOptions);
|
|
217
|
+
return name;
|
|
218
|
+
},
|
|
219
|
+
names,
|
|
220
|
+
// Additionally, this should be non-enumerable in the next major
|
|
221
|
+
get originalFileName() {
|
|
222
|
+
parseAst_js.warnDeprecation('Accessing the "originalFileName" property of emitted assets when generating the file name is deprecated. Use the "originalFileNames" property instead.', parseAst_js.URL_GENERATEBUNDLE, false, inputOptions);
|
|
223
|
+
return originalFileName;
|
|
224
|
+
},
|
|
225
|
+
originalFileNames,
|
|
226
|
+
source,
|
|
227
|
+
type: 'asset'
|
|
228
|
+
})
|
|
214
229
|
: outputOptions.assetFileNames, 'output.assetFileNames', {
|
|
215
230
|
ext: () => path.extname(emittedName).slice(1),
|
|
216
231
|
extname: () => path.extname(emittedName),
|
|
@@ -326,7 +341,7 @@ class FileEmitter {
|
|
|
326
341
|
const getHash = hasherByType[outputOptions.hashCharacters];
|
|
327
342
|
const output = (this.output = {
|
|
328
343
|
bundle,
|
|
329
|
-
|
|
344
|
+
fileNamesBySourceHash: new Map(),
|
|
330
345
|
getHash,
|
|
331
346
|
outputOptions
|
|
332
347
|
});
|
|
@@ -481,15 +496,15 @@ class FileEmitter {
|
|
|
481
496
|
}
|
|
482
497
|
return referenceId;
|
|
483
498
|
}
|
|
484
|
-
finalizeAdditionalAsset(consumedFile, source, { bundle,
|
|
485
|
-
let { fileName, needsCodeReference, originalFileName, referenceId } = consumedFile;
|
|
499
|
+
finalizeAdditionalAsset(consumedFile, source, { bundle, fileNamesBySourceHash, getHash, outputOptions }) {
|
|
500
|
+
let { fileName, name, needsCodeReference, originalFileName, referenceId } = consumedFile;
|
|
486
501
|
// Deduplicate assets if an explicit fileName is not provided
|
|
487
502
|
if (!fileName) {
|
|
488
503
|
const sourceHash = getHash(source);
|
|
489
|
-
fileName =
|
|
504
|
+
fileName = fileNamesBySourceHash.get(sourceHash);
|
|
490
505
|
if (!fileName) {
|
|
491
|
-
fileName = generateAssetFileName(
|
|
492
|
-
|
|
506
|
+
fileName = generateAssetFileName(name, name ? [name] : [], source, originalFileName, originalFileName ? [originalFileName] : [], sourceHash, outputOptions, bundle, this.options);
|
|
507
|
+
fileNamesBySourceHash.set(sourceHash, fileName);
|
|
493
508
|
}
|
|
494
509
|
}
|
|
495
510
|
// We must not modify the original assets to avoid interaction between outputs
|
|
@@ -498,25 +513,43 @@ class FileEmitter {
|
|
|
498
513
|
const existingAsset = bundle[fileName];
|
|
499
514
|
if (existingAsset?.type === 'asset') {
|
|
500
515
|
existingAsset.needsCodeReference &&= needsCodeReference;
|
|
516
|
+
if (name) {
|
|
517
|
+
existingAsset.names.push(name);
|
|
518
|
+
}
|
|
519
|
+
if (originalFileName) {
|
|
520
|
+
existingAsset.originalFileNames.push(originalFileName);
|
|
521
|
+
}
|
|
501
522
|
}
|
|
502
523
|
else {
|
|
524
|
+
const { options } = this;
|
|
503
525
|
bundle[fileName] = {
|
|
504
526
|
fileName,
|
|
505
|
-
name
|
|
527
|
+
get name() {
|
|
528
|
+
// Additionally, this should be non-enumerable in the next major
|
|
529
|
+
parseAst_js.warnDeprecation('Accessing the "name" property of emitted assets in the bundle is deprecated. Use the "names" property instead.', parseAst_js.URL_GENERATEBUNDLE, false, options);
|
|
530
|
+
return name;
|
|
531
|
+
},
|
|
532
|
+
names: name ? [name] : [],
|
|
506
533
|
needsCodeReference,
|
|
507
|
-
originalFileName
|
|
534
|
+
get originalFileName() {
|
|
535
|
+
// Additionally, this should be non-enumerable in the next major
|
|
536
|
+
parseAst_js.warnDeprecation('Accessing the "originalFileName" property of emitted assets in the bundle is deprecated. Use the "originalFileNames" property instead.', parseAst_js.URL_GENERATEBUNDLE, false, options);
|
|
537
|
+
return originalFileName;
|
|
538
|
+
},
|
|
539
|
+
originalFileNames: originalFileName ? [originalFileName] : [],
|
|
508
540
|
source,
|
|
509
541
|
type: 'asset'
|
|
510
542
|
};
|
|
511
543
|
}
|
|
512
544
|
}
|
|
513
|
-
finalizeAssetsWithSameSource(consumedFiles, sourceHash, { bundle,
|
|
545
|
+
finalizeAssetsWithSameSource(consumedFiles, sourceHash, { bundle, fileNamesBySourceHash, outputOptions }) {
|
|
546
|
+
const { names, originalFileNames } = getNamesFromAssets(consumedFiles);
|
|
514
547
|
let fileName = '';
|
|
515
548
|
let usedConsumedFile;
|
|
516
549
|
let needsCodeReference = true;
|
|
517
550
|
for (const consumedFile of consumedFiles) {
|
|
518
551
|
needsCodeReference &&= consumedFile.needsCodeReference;
|
|
519
|
-
const assetFileName = generateAssetFileName(consumedFile.name, consumedFile.source, consumedFile.originalFileName, sourceHash, outputOptions, bundle);
|
|
552
|
+
const assetFileName = generateAssetFileName(consumedFile.name, names, consumedFile.source, consumedFile.originalFileName, originalFileNames, sourceHash, outputOptions, bundle, this.options);
|
|
520
553
|
if (!fileName ||
|
|
521
554
|
assetFileName.length < fileName.length ||
|
|
522
555
|
(assetFileName.length === fileName.length && assetFileName < fileName)) {
|
|
@@ -524,22 +557,50 @@ class FileEmitter {
|
|
|
524
557
|
usedConsumedFile = consumedFile;
|
|
525
558
|
}
|
|
526
559
|
}
|
|
527
|
-
|
|
560
|
+
fileNamesBySourceHash.set(sourceHash, fileName);
|
|
528
561
|
for (const consumedFile of consumedFiles) {
|
|
529
562
|
// We must not modify the original assets to avoid interaction between outputs
|
|
530
563
|
const assetWithFileName = { ...consumedFile, fileName };
|
|
531
564
|
this.filesByReferenceId.set(consumedFile.referenceId, assetWithFileName);
|
|
532
565
|
}
|
|
566
|
+
const { options } = this;
|
|
533
567
|
bundle[fileName] = {
|
|
534
568
|
fileName,
|
|
535
|
-
name
|
|
569
|
+
get name() {
|
|
570
|
+
// Additionally, this should be non-enumerable in the next major
|
|
571
|
+
parseAst_js.warnDeprecation('Accessing the "name" property of emitted assets in the bundle is deprecated. Use the "names" property instead.', parseAst_js.URL_GENERATEBUNDLE, false, options);
|
|
572
|
+
return usedConsumedFile.name;
|
|
573
|
+
},
|
|
574
|
+
names,
|
|
536
575
|
needsCodeReference,
|
|
537
|
-
originalFileName
|
|
576
|
+
get originalFileName() {
|
|
577
|
+
// Additionally, this should be non-enumerable in the next major
|
|
578
|
+
parseAst_js.warnDeprecation('Accessing the "originalFileName" property of emitted assets in the bundle is deprecated. Use the "originalFileNames" property instead.', parseAst_js.URL_GENERATEBUNDLE, false, options);
|
|
579
|
+
return usedConsumedFile.originalFileName;
|
|
580
|
+
},
|
|
581
|
+
originalFileNames,
|
|
538
582
|
source: usedConsumedFile.source,
|
|
539
583
|
type: 'asset'
|
|
540
584
|
};
|
|
541
585
|
}
|
|
542
586
|
}
|
|
587
|
+
function getNamesFromAssets(consumedFiles) {
|
|
588
|
+
const names = [];
|
|
589
|
+
const originalFileNames = [];
|
|
590
|
+
for (const { name, originalFileName } of consumedFiles) {
|
|
591
|
+
if (typeof name === 'string') {
|
|
592
|
+
names.push(name);
|
|
593
|
+
}
|
|
594
|
+
if (originalFileName) {
|
|
595
|
+
originalFileNames.push(originalFileName);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
originalFileNames.sort();
|
|
599
|
+
// Sort by length first and then alphabetically so that the order is stable
|
|
600
|
+
// and the shortest names come first
|
|
601
|
+
names.sort((a, b) => a.length - b.length || (a > b ? 1 : a === b ? 0 : -1));
|
|
602
|
+
return { names, originalFileNames };
|
|
603
|
+
}
|
|
543
604
|
|
|
544
605
|
const doNothing = () => { };
|
|
545
606
|
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.23.0",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -107,22 +107,22 @@
|
|
|
107
107
|
"homepage": "https://rollupjs.org/",
|
|
108
108
|
"optionalDependencies": {
|
|
109
109
|
"fsevents": "~2.3.2",
|
|
110
|
-
"@rollup/rollup-darwin-arm64": "4.
|
|
111
|
-
"@rollup/rollup-android-arm64": "4.
|
|
112
|
-
"@rollup/rollup-win32-arm64-msvc": "4.
|
|
113
|
-
"@rollup/rollup-linux-arm64-gnu": "4.
|
|
114
|
-
"@rollup/rollup-linux-arm64-musl": "4.
|
|
115
|
-
"@rollup/rollup-android-arm-eabi": "4.
|
|
116
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.
|
|
117
|
-
"@rollup/rollup-linux-arm-musleabihf": "4.
|
|
118
|
-
"@rollup/rollup-win32-ia32-msvc": "4.
|
|
119
|
-
"@rollup/rollup-linux-riscv64-gnu": "4.
|
|
120
|
-
"@rollup/rollup-linux-powerpc64le-gnu": "4.
|
|
121
|
-
"@rollup/rollup-linux-s390x-gnu": "4.
|
|
122
|
-
"@rollup/rollup-darwin-x64": "4.
|
|
123
|
-
"@rollup/rollup-win32-x64-msvc": "4.
|
|
124
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
125
|
-
"@rollup/rollup-linux-x64-musl": "4.
|
|
110
|
+
"@rollup/rollup-darwin-arm64": "4.23.0",
|
|
111
|
+
"@rollup/rollup-android-arm64": "4.23.0",
|
|
112
|
+
"@rollup/rollup-win32-arm64-msvc": "4.23.0",
|
|
113
|
+
"@rollup/rollup-linux-arm64-gnu": "4.23.0",
|
|
114
|
+
"@rollup/rollup-linux-arm64-musl": "4.23.0",
|
|
115
|
+
"@rollup/rollup-android-arm-eabi": "4.23.0",
|
|
116
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.23.0",
|
|
117
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.23.0",
|
|
118
|
+
"@rollup/rollup-win32-ia32-msvc": "4.23.0",
|
|
119
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.23.0",
|
|
120
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "4.23.0",
|
|
121
|
+
"@rollup/rollup-linux-s390x-gnu": "4.23.0",
|
|
122
|
+
"@rollup/rollup-darwin-x64": "4.23.0",
|
|
123
|
+
"@rollup/rollup-win32-x64-msvc": "4.23.0",
|
|
124
|
+
"@rollup/rollup-linux-x64-gnu": "4.23.0",
|
|
125
|
+
"@rollup/rollup-linux-x64-musl": "4.23.0"
|
|
126
126
|
},
|
|
127
127
|
"dependencies": {
|
|
128
128
|
"@types/estree": "1.0.6"
|
|
@@ -156,6 +156,7 @@
|
|
|
156
156
|
"@types/node": "^18.19.50",
|
|
157
157
|
"@types/semver": "^7.5.8",
|
|
158
158
|
"@types/yargs-parser": "^21.0.3",
|
|
159
|
+
"@vue/language-server": "^2.1.6",
|
|
159
160
|
"acorn": "^8.12.1",
|
|
160
161
|
"acorn-import-assertions": "^1.9.0",
|
|
161
162
|
"buble": "^0.20.0",
|