rollup 4.17.2 → 4.18.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 +24 -28
- package/dist/es/shared/parseAst.js +4 -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.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +9 -3
- package/dist/shared/parseAst.js +4 -2
- package/dist/shared/rollup.js +28 -32
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +35 -34
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.18.0
|
|
5
|
+
Wed, 22 May 2024 05:03:09 GMT - commit bb6f069ea3623b0297ef3895f2dcb98a2ca5ef58
|
|
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.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.18.0
|
|
4
|
+
Wed, 22 May 2024 05:03:09 GMT - commit bb6f069ea3623b0297ef3895f2dcb98a2ca5ef58
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { normalize, getImportPath, 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, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, Property as Property$1, logConstVariableReassignError, ExpressionStatement as ExpressionStatement$1, ArrowFunctionExpression as ArrowFunctionExpression$1, logMissingExport, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logParseError, logModuleParseError, error, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, Identifier as Identifier$1, logThisIsUndefined, getReadStringFunction, convertString, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, EMPTY_OBJECT, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logSyntheticNamedExportsNeedNamespaceExport, logMissingEntryExport, logInvalidFormatForTopLevelAwait, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, logCircularReexport, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logMissingNodeBuiltins, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, 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, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, logUnknownOption, printQuotedStringList, 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_MODULESIDEEFFECTS, URL_TREESHAKE, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_AMD_BASEPATH, logInvalidExportOptionValue, warnDeprecation, URL_OUTPUT_INTEROP, URL_OUTPUT_MANUALCHUNKS, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_GENERATEDCODE, 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
|
-
import require$$0
|
|
12
|
+
import require$$0, { win32, posix, isAbsolute, resolve } from 'path';
|
|
13
13
|
import { parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } from '../../native.js';
|
|
14
14
|
import process$1, { env as env$1 } 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
|
import * as tty from 'tty';
|
|
18
18
|
|
|
19
|
-
var version = "4.
|
|
19
|
+
var version = "4.18.0";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -2261,7 +2261,7 @@ function getAugmentedNamespace(n) {
|
|
|
2261
2261
|
|
|
2262
2262
|
var utils$3 = {};
|
|
2263
2263
|
|
|
2264
|
-
const path$1 = require$$0
|
|
2264
|
+
const path$1 = require$$0;
|
|
2265
2265
|
const WIN_SLASH = '\\\\/';
|
|
2266
2266
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
2267
2267
|
|
|
@@ -2441,7 +2441,7 @@ var constants$2 = {
|
|
|
2441
2441
|
|
|
2442
2442
|
(function (exports) {
|
|
2443
2443
|
|
|
2444
|
-
const path = require$$0
|
|
2444
|
+
const path = require$$0;
|
|
2445
2445
|
const win32 = process.platform === 'win32';
|
|
2446
2446
|
const {
|
|
2447
2447
|
REGEX_BACKSLASH,
|
|
@@ -3978,7 +3978,7 @@ parse$1.fastpaths = (input, options) => {
|
|
|
3978
3978
|
|
|
3979
3979
|
var parse_1 = parse$1;
|
|
3980
3980
|
|
|
3981
|
-
const path = require$$0
|
|
3981
|
+
const path = require$$0;
|
|
3982
3982
|
const scan = scan_1;
|
|
3983
3983
|
const parse = parse_1;
|
|
3984
3984
|
const utils = utils$3;
|
|
@@ -13103,6 +13103,8 @@ class UnknownNode extends NodeBase {
|
|
|
13103
13103
|
}
|
|
13104
13104
|
}
|
|
13105
13105
|
|
|
13106
|
+
// This file is generated by scripts/generate-node-index.js.
|
|
13107
|
+
// Do not edit this file directly.
|
|
13106
13108
|
const nodeConstructors = {
|
|
13107
13109
|
ArrayExpression,
|
|
13108
13110
|
ArrayPattern,
|
|
@@ -13121,6 +13123,7 @@ const nodeConstructors = {
|
|
|
13121
13123
|
ClassExpression,
|
|
13122
13124
|
ConditionalExpression,
|
|
13123
13125
|
ContinueStatement,
|
|
13126
|
+
DebuggerStatement,
|
|
13124
13127
|
DoWhileStatement,
|
|
13125
13128
|
EmptyStatement,
|
|
13126
13129
|
ExportAllDeclaration,
|
|
@@ -14876,8 +14879,9 @@ function updateExtensionForRelativeAmdId(id, forceJsExtensionForImports) {
|
|
|
14876
14879
|
return forceJsExtensionForImports ? addJsExtension(id) : removeJsExtension(id);
|
|
14877
14880
|
}
|
|
14878
14881
|
|
|
14879
|
-
const
|
|
14882
|
+
const builtinModules = [
|
|
14880
14883
|
"assert",
|
|
14884
|
+
"assert/strict",
|
|
14881
14885
|
"async_hooks",
|
|
14882
14886
|
"buffer",
|
|
14883
14887
|
"child_process",
|
|
@@ -14888,31 +14892,42 @@ const require$$0 = [
|
|
|
14888
14892
|
"dgram",
|
|
14889
14893
|
"diagnostics_channel",
|
|
14890
14894
|
"dns",
|
|
14895
|
+
"dns/promises",
|
|
14891
14896
|
"domain",
|
|
14892
14897
|
"events",
|
|
14893
14898
|
"fs",
|
|
14899
|
+
"fs/promises",
|
|
14894
14900
|
"http",
|
|
14895
14901
|
"http2",
|
|
14896
14902
|
"https",
|
|
14897
14903
|
"inspector",
|
|
14904
|
+
"inspector/promises",
|
|
14898
14905
|
"module",
|
|
14899
14906
|
"net",
|
|
14900
14907
|
"os",
|
|
14901
14908
|
"path",
|
|
14909
|
+
"path/posix",
|
|
14910
|
+
"path/win32",
|
|
14902
14911
|
"perf_hooks",
|
|
14903
14912
|
"process",
|
|
14904
14913
|
"punycode",
|
|
14905
14914
|
"querystring",
|
|
14906
14915
|
"readline",
|
|
14916
|
+
"readline/promises",
|
|
14907
14917
|
"repl",
|
|
14908
14918
|
"stream",
|
|
14919
|
+
"stream/consumers",
|
|
14920
|
+
"stream/promises",
|
|
14921
|
+
"stream/web",
|
|
14909
14922
|
"string_decoder",
|
|
14910
14923
|
"timers",
|
|
14924
|
+
"timers/promises",
|
|
14911
14925
|
"tls",
|
|
14912
14926
|
"trace_events",
|
|
14913
14927
|
"tty",
|
|
14914
14928
|
"url",
|
|
14915
14929
|
"util",
|
|
14930
|
+
"util/types",
|
|
14916
14931
|
"v8",
|
|
14917
14932
|
"vm",
|
|
14918
14933
|
"wasi",
|
|
@@ -14920,26 +14935,7 @@ const require$$0 = [
|
|
|
14920
14935
|
"zlib"
|
|
14921
14936
|
];
|
|
14922
14937
|
|
|
14923
|
-
|
|
14924
|
-
|
|
14925
|
-
const builtinModules = /*@__PURE__*/getDefaultExportFromCjs(_static);
|
|
14926
|
-
|
|
14927
|
-
const nodeBuiltins = new Set([
|
|
14928
|
-
...builtinModules,
|
|
14929
|
-
// TODO
|
|
14930
|
-
// remove once builtin-modules includes PR: https://github.com/sindresorhus/builtin-modules/pull/17
|
|
14931
|
-
'assert/strict',
|
|
14932
|
-
'dns/promises',
|
|
14933
|
-
'fs/promises',
|
|
14934
|
-
'path/posix',
|
|
14935
|
-
'path/win32',
|
|
14936
|
-
'readline/promises',
|
|
14937
|
-
'stream/consumers',
|
|
14938
|
-
'stream/promises',
|
|
14939
|
-
'stream/web',
|
|
14940
|
-
'timers/promises',
|
|
14941
|
-
'util/types'
|
|
14942
|
-
]);
|
|
14938
|
+
const nodeBuiltins = new Set(builtinModules);
|
|
14943
14939
|
function warnOnBuiltins(log, dependencies) {
|
|
14944
14940
|
const externalBuiltins = dependencies
|
|
14945
14941
|
.map(({ importPath }) => importPath)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.18.0
|
|
4
|
+
Wed, 22 May 2024 05:03:09 GMT - commit bb6f069ea3623b0297ef3895f2dcb98a2ca5ef58
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
import { parse, parseAsync } from '../../native.js';
|
|
11
11
|
import { resolve, basename, extname, dirname } from 'node:path';
|
|
12
12
|
|
|
13
|
+
// This file is generated by scripts/generate-node-types.js.
|
|
14
|
+
// Do not edit this file directly.
|
|
13
15
|
const ArrowFunctionExpression = 'ArrowFunctionExpression';
|
|
14
16
|
const BlockStatement = 'BlockStatement';
|
|
15
17
|
const CallExpression = 'CallExpression';
|
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.18.0
|
|
4
|
+
Wed, 22 May 2024 05:03:09 GMT - commit bb6f069ea3623b0297ef3895f2dcb98a2ca5ef58
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -508,8 +508,14 @@ async function loadTranspiledConfigFile(fileName, commandOptions) {
|
|
|
508
508
|
if (property === 'url') {
|
|
509
509
|
return `'${node_url.pathToFileURL(moduleId).href}'`;
|
|
510
510
|
}
|
|
511
|
+
if (property == 'filename') {
|
|
512
|
+
return `'${moduleId}'`;
|
|
513
|
+
}
|
|
514
|
+
if (property == 'dirname') {
|
|
515
|
+
return `'${path.dirname(moduleId)}'`;
|
|
516
|
+
}
|
|
511
517
|
if (property == null) {
|
|
512
|
-
return `{url:'${node_url.pathToFileURL(moduleId).href}'}`;
|
|
518
|
+
return `{url:'${node_url.pathToFileURL(moduleId).href}', filename: '${moduleId}', dirname: '${path.dirname(moduleId)}'}`;
|
|
513
519
|
}
|
|
514
520
|
}
|
|
515
521
|
}
|
package/dist/shared/parseAst.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.18.0
|
|
4
|
+
Wed, 22 May 2024 05:03:09 GMT - commit bb6f069ea3623b0297ef3895f2dcb98a2ca5ef58
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -1001,6 +1001,8 @@ const EMPTY_SET = Object.freeze(new (class extends Set {
|
|
|
1001
1001
|
}
|
|
1002
1002
|
})());
|
|
1003
1003
|
|
|
1004
|
+
// This file is generated by scripts/generate-node-types.js.
|
|
1005
|
+
// Do not edit this file directly.
|
|
1004
1006
|
const ArrowFunctionExpression = 'ArrowFunctionExpression';
|
|
1005
1007
|
const BlockStatement = 'BlockStatement';
|
|
1006
1008
|
const CallExpression = 'CallExpression';
|
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.18.0
|
|
4
|
+
Wed, 22 May 2024 05:03:09 GMT - commit bb6f069ea3623b0297ef3895f2dcb98a2ca5ef58
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -13,7 +13,7 @@ const parseAst_js = require('./parseAst.js');
|
|
|
13
13
|
const process$1 = require('node:process');
|
|
14
14
|
const tty = require('tty');
|
|
15
15
|
const path$2 = require('node:path');
|
|
16
|
-
const require$$0
|
|
16
|
+
const require$$0 = require('path');
|
|
17
17
|
const native_js = require('../native.js');
|
|
18
18
|
const node_perf_hooks = require('node:perf_hooks');
|
|
19
19
|
const promises = require('node:fs/promises');
|
|
@@ -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.18.0";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -3717,7 +3717,7 @@ function getAugmentedNamespace(n) {
|
|
|
3717
3717
|
|
|
3718
3718
|
var utils$3 = {};
|
|
3719
3719
|
|
|
3720
|
-
const path$1 = require$$0
|
|
3720
|
+
const path$1 = require$$0;
|
|
3721
3721
|
const WIN_SLASH = '\\\\/';
|
|
3722
3722
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
3723
3723
|
|
|
@@ -3897,7 +3897,7 @@ var constants$2 = {
|
|
|
3897
3897
|
|
|
3898
3898
|
(function (exports) {
|
|
3899
3899
|
|
|
3900
|
-
const path = require$$0
|
|
3900
|
+
const path = require$$0;
|
|
3901
3901
|
const win32 = process.platform === 'win32';
|
|
3902
3902
|
const {
|
|
3903
3903
|
REGEX_BACKSLASH,
|
|
@@ -5434,7 +5434,7 @@ parse$1.fastpaths = (input, options) => {
|
|
|
5434
5434
|
|
|
5435
5435
|
var parse_1 = parse$1;
|
|
5436
5436
|
|
|
5437
|
-
const path = require$$0
|
|
5437
|
+
const path = require$$0;
|
|
5438
5438
|
const scan = scan_1;
|
|
5439
5439
|
const parse = parse_1;
|
|
5440
5440
|
const utils = utils$3;
|
|
@@ -5827,22 +5827,22 @@ function ensureArray(thing) {
|
|
|
5827
5827
|
}
|
|
5828
5828
|
|
|
5829
5829
|
const normalizePath = function normalizePath(filename) {
|
|
5830
|
-
return filename.split(require$$0
|
|
5830
|
+
return filename.split(require$$0.win32.sep).join(require$$0.posix.sep);
|
|
5831
5831
|
};
|
|
5832
5832
|
|
|
5833
5833
|
function getMatcherString(id, resolutionBase) {
|
|
5834
|
-
if (resolutionBase === false || require$$0
|
|
5834
|
+
if (resolutionBase === false || require$$0.isAbsolute(id) || id.startsWith('**')) {
|
|
5835
5835
|
return normalizePath(id);
|
|
5836
5836
|
}
|
|
5837
5837
|
// resolve('') is valid and will default to process.cwd()
|
|
5838
|
-
const basePath = normalizePath(require$$0
|
|
5838
|
+
const basePath = normalizePath(require$$0.resolve(resolutionBase || ''))
|
|
5839
5839
|
// escape all possible (posix + win) path characters that might interfere with regex
|
|
5840
5840
|
.replace(/[-^$*+?.()|[\]{}]/g, '\\$&');
|
|
5841
5841
|
// Note that we use posix.join because:
|
|
5842
5842
|
// 1. the basePath has been normalized to use /
|
|
5843
5843
|
// 2. the incoming glob (id) matcher, also uses /
|
|
5844
5844
|
// otherwise Node will force backslash (\) on windows
|
|
5845
|
-
return require$$0
|
|
5845
|
+
return require$$0.posix.join(basePath, normalizePath(id));
|
|
5846
5846
|
}
|
|
5847
5847
|
const createFilter = function createFilter(include, exclude, options) {
|
|
5848
5848
|
const resolutionBase = options && options.resolve;
|
|
@@ -14545,6 +14545,8 @@ class UnknownNode extends NodeBase {
|
|
|
14545
14545
|
}
|
|
14546
14546
|
}
|
|
14547
14547
|
|
|
14548
|
+
// This file is generated by scripts/generate-node-index.js.
|
|
14549
|
+
// Do not edit this file directly.
|
|
14548
14550
|
const nodeConstructors = {
|
|
14549
14551
|
ArrayExpression,
|
|
14550
14552
|
ArrayPattern,
|
|
@@ -14563,6 +14565,7 @@ const nodeConstructors = {
|
|
|
14563
14565
|
ClassExpression,
|
|
14564
14566
|
ConditionalExpression,
|
|
14565
14567
|
ContinueStatement,
|
|
14568
|
+
DebuggerStatement,
|
|
14566
14569
|
DoWhileStatement,
|
|
14567
14570
|
EmptyStatement,
|
|
14568
14571
|
ExportAllDeclaration,
|
|
@@ -16311,8 +16314,9 @@ function updateExtensionForRelativeAmdId(id, forceJsExtensionForImports) {
|
|
|
16311
16314
|
return forceJsExtensionForImports ? addJsExtension(id) : removeJsExtension(id);
|
|
16312
16315
|
}
|
|
16313
16316
|
|
|
16314
|
-
const
|
|
16317
|
+
const builtinModules = [
|
|
16315
16318
|
"assert",
|
|
16319
|
+
"assert/strict",
|
|
16316
16320
|
"async_hooks",
|
|
16317
16321
|
"buffer",
|
|
16318
16322
|
"child_process",
|
|
@@ -16323,31 +16327,42 @@ const require$$0 = [
|
|
|
16323
16327
|
"dgram",
|
|
16324
16328
|
"diagnostics_channel",
|
|
16325
16329
|
"dns",
|
|
16330
|
+
"dns/promises",
|
|
16326
16331
|
"domain",
|
|
16327
16332
|
"events",
|
|
16328
16333
|
"fs",
|
|
16334
|
+
"fs/promises",
|
|
16329
16335
|
"http",
|
|
16330
16336
|
"http2",
|
|
16331
16337
|
"https",
|
|
16332
16338
|
"inspector",
|
|
16339
|
+
"inspector/promises",
|
|
16333
16340
|
"module",
|
|
16334
16341
|
"net",
|
|
16335
16342
|
"os",
|
|
16336
16343
|
"path",
|
|
16344
|
+
"path/posix",
|
|
16345
|
+
"path/win32",
|
|
16337
16346
|
"perf_hooks",
|
|
16338
16347
|
"process",
|
|
16339
16348
|
"punycode",
|
|
16340
16349
|
"querystring",
|
|
16341
16350
|
"readline",
|
|
16351
|
+
"readline/promises",
|
|
16342
16352
|
"repl",
|
|
16343
16353
|
"stream",
|
|
16354
|
+
"stream/consumers",
|
|
16355
|
+
"stream/promises",
|
|
16356
|
+
"stream/web",
|
|
16344
16357
|
"string_decoder",
|
|
16345
16358
|
"timers",
|
|
16359
|
+
"timers/promises",
|
|
16346
16360
|
"tls",
|
|
16347
16361
|
"trace_events",
|
|
16348
16362
|
"tty",
|
|
16349
16363
|
"url",
|
|
16350
16364
|
"util",
|
|
16365
|
+
"util/types",
|
|
16351
16366
|
"v8",
|
|
16352
16367
|
"vm",
|
|
16353
16368
|
"wasi",
|
|
@@ -16355,26 +16370,7 @@ const require$$0 = [
|
|
|
16355
16370
|
"zlib"
|
|
16356
16371
|
];
|
|
16357
16372
|
|
|
16358
|
-
|
|
16359
|
-
|
|
16360
|
-
const builtinModules = /*@__PURE__*/getDefaultExportFromCjs(_static);
|
|
16361
|
-
|
|
16362
|
-
const nodeBuiltins = new Set([
|
|
16363
|
-
...builtinModules,
|
|
16364
|
-
// TODO
|
|
16365
|
-
// remove once builtin-modules includes PR: https://github.com/sindresorhus/builtin-modules/pull/17
|
|
16366
|
-
'assert/strict',
|
|
16367
|
-
'dns/promises',
|
|
16368
|
-
'fs/promises',
|
|
16369
|
-
'path/posix',
|
|
16370
|
-
'path/win32',
|
|
16371
|
-
'readline/promises',
|
|
16372
|
-
'stream/consumers',
|
|
16373
|
-
'stream/promises',
|
|
16374
|
-
'stream/web',
|
|
16375
|
-
'timers/promises',
|
|
16376
|
-
'util/types'
|
|
16377
|
-
]);
|
|
16373
|
+
const nodeBuiltins = new Set(builtinModules);
|
|
16378
16374
|
function warnOnBuiltins(log, dependencies) {
|
|
16379
16375
|
const externalBuiltins = dependencies
|
|
16380
16376
|
.map(({ importPath }) => importPath)
|
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.18.0",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -105,22 +105,22 @@
|
|
|
105
105
|
"homepage": "https://rollupjs.org/",
|
|
106
106
|
"optionalDependencies": {
|
|
107
107
|
"fsevents": "~2.3.2",
|
|
108
|
-
"@rollup/rollup-darwin-arm64": "4.
|
|
109
|
-
"@rollup/rollup-android-arm64": "4.
|
|
110
|
-
"@rollup/rollup-win32-arm64-msvc": "4.
|
|
111
|
-
"@rollup/rollup-linux-arm64-gnu": "4.
|
|
112
|
-
"@rollup/rollup-linux-arm64-musl": "4.
|
|
113
|
-
"@rollup/rollup-android-arm-eabi": "4.
|
|
114
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.
|
|
115
|
-
"@rollup/rollup-linux-arm-musleabihf": "4.
|
|
116
|
-
"@rollup/rollup-win32-ia32-msvc": "4.
|
|
117
|
-
"@rollup/rollup-linux-riscv64-gnu": "4.
|
|
118
|
-
"@rollup/rollup-linux-powerpc64le-gnu": "4.
|
|
119
|
-
"@rollup/rollup-linux-s390x-gnu": "4.
|
|
120
|
-
"@rollup/rollup-darwin-x64": "4.
|
|
121
|
-
"@rollup/rollup-win32-x64-msvc": "4.
|
|
122
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
123
|
-
"@rollup/rollup-linux-x64-musl": "4.
|
|
108
|
+
"@rollup/rollup-darwin-arm64": "4.18.0",
|
|
109
|
+
"@rollup/rollup-android-arm64": "4.18.0",
|
|
110
|
+
"@rollup/rollup-win32-arm64-msvc": "4.18.0",
|
|
111
|
+
"@rollup/rollup-linux-arm64-gnu": "4.18.0",
|
|
112
|
+
"@rollup/rollup-linux-arm64-musl": "4.18.0",
|
|
113
|
+
"@rollup/rollup-android-arm-eabi": "4.18.0",
|
|
114
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.18.0",
|
|
115
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.18.0",
|
|
116
|
+
"@rollup/rollup-win32-ia32-msvc": "4.18.0",
|
|
117
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.18.0",
|
|
118
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "4.18.0",
|
|
119
|
+
"@rollup/rollup-linux-s390x-gnu": "4.18.0",
|
|
120
|
+
"@rollup/rollup-darwin-x64": "4.18.0",
|
|
121
|
+
"@rollup/rollup-win32-x64-msvc": "4.18.0",
|
|
122
|
+
"@rollup/rollup-linux-x64-gnu": "4.18.0",
|
|
123
|
+
"@rollup/rollup-linux-x64-musl": "4.18.0"
|
|
124
124
|
},
|
|
125
125
|
"dependencies": {
|
|
126
126
|
"@types/estree": "1.0.5"
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
"@codemirror/state": "^6.4.1",
|
|
138
138
|
"@codemirror/view": "^6.26.3",
|
|
139
139
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
140
|
-
"@mermaid-js/mermaid-cli": "^10.
|
|
141
|
-
"@napi-rs/cli": "^2.18.
|
|
140
|
+
"@mermaid-js/mermaid-cli": "^10.9.0",
|
|
141
|
+
"@napi-rs/cli": "^2.18.3",
|
|
142
142
|
"@rollup/plugin-alias": "^5.1.0",
|
|
143
143
|
"@rollup/plugin-buble": "^1.0.3",
|
|
144
144
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
@@ -148,20 +148,21 @@
|
|
|
148
148
|
"@rollup/plugin-terser": "^0.4.4",
|
|
149
149
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
150
150
|
"@rollup/pluginutils": "^5.1.0",
|
|
151
|
-
"@shikijs/vitepress-twoslash": "^1.
|
|
151
|
+
"@shikijs/vitepress-twoslash": "^1.5.1",
|
|
152
152
|
"@types/eslint": "^8.56.10",
|
|
153
153
|
"@types/inquirer": "^9.0.7",
|
|
154
154
|
"@types/mocha": "^10.0.6",
|
|
155
155
|
"@types/node": "~18.18.14",
|
|
156
|
+
"@types/semver": "^7.5.8",
|
|
156
157
|
"@types/yargs-parser": "^21.0.3",
|
|
157
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
158
|
-
"@typescript-eslint/parser": "^7.
|
|
158
|
+
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
159
|
+
"@typescript-eslint/parser": "^7.9.0",
|
|
159
160
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
160
161
|
"@vue/eslint-config-typescript": "^13.0.0",
|
|
161
162
|
"acorn": "^8.11.3",
|
|
162
163
|
"acorn-import-assertions": "^1.9.0",
|
|
163
164
|
"buble": "^0.20.0",
|
|
164
|
-
"builtin-modules": "^
|
|
165
|
+
"builtin-modules": "^4.0.0",
|
|
165
166
|
"chokidar": "^3.6.0",
|
|
166
167
|
"colorette": "^2.0.20",
|
|
167
168
|
"concurrently": "^8.2.2",
|
|
@@ -174,14 +175,14 @@
|
|
|
174
175
|
"eslint-config-prettier": "^9.1.0",
|
|
175
176
|
"eslint-plugin-import": "^2.29.1",
|
|
176
177
|
"eslint-plugin-prettier": "^5.1.3",
|
|
177
|
-
"eslint-plugin-unicorn": "^
|
|
178
|
-
"eslint-plugin-vue": "^9.
|
|
178
|
+
"eslint-plugin-unicorn": "^53.0.0",
|
|
179
|
+
"eslint-plugin-vue": "^9.26.0",
|
|
179
180
|
"fixturify": "^3.0.0",
|
|
180
181
|
"flru": "^1.0.2",
|
|
181
182
|
"fs-extra": "^11.2.0",
|
|
182
183
|
"github-api": "^3.4.0",
|
|
183
184
|
"husky": "^9.0.11",
|
|
184
|
-
"inquirer": "^9.2.
|
|
185
|
+
"inquirer": "^9.2.21",
|
|
185
186
|
"is-reference": "^3.0.2",
|
|
186
187
|
"lint-staged": "^15.2.2",
|
|
187
188
|
"locate-character": "^3.0.0",
|
|
@@ -193,28 +194,28 @@
|
|
|
193
194
|
"pretty-bytes": "^6.1.1",
|
|
194
195
|
"pretty-ms": "^9.0.0",
|
|
195
196
|
"requirejs": "^2.3.6",
|
|
196
|
-
"rollup": "^4.
|
|
197
|
+
"rollup": "^4.17.2",
|
|
197
198
|
"rollup-plugin-license": "^3.3.1",
|
|
198
199
|
"rollup-plugin-string": "^3.0.0",
|
|
199
|
-
"semver": "^7.6.
|
|
200
|
+
"semver": "^7.6.2",
|
|
200
201
|
"shx": "^0.3.4",
|
|
201
202
|
"signal-exit": "^4.1.0",
|
|
202
203
|
"source-map": "^0.7.4",
|
|
203
204
|
"source-map-support": "^0.5.21",
|
|
204
|
-
"systemjs": "^6.
|
|
205
|
-
"terser": "^5.
|
|
205
|
+
"systemjs": "^6.15.1",
|
|
206
|
+
"terser": "^5.31.0",
|
|
206
207
|
"tslib": "^2.6.2",
|
|
207
208
|
"typescript": "^5.4.5",
|
|
208
|
-
"vite": "^5.2.
|
|
209
|
-
"vitepress": "^1.1.
|
|
210
|
-
"vue": "^3.4.
|
|
209
|
+
"vite": "^5.2.11",
|
|
210
|
+
"vitepress": "^1.1.4",
|
|
211
|
+
"vue": "^3.4.27",
|
|
211
212
|
"wasm-pack": "^0.12.1",
|
|
212
213
|
"weak-napi": "^2.0.2",
|
|
213
214
|
"yargs-parser": "^21.1.1"
|
|
214
215
|
},
|
|
215
216
|
"overrides": {
|
|
216
217
|
"axios": "^1.6.8",
|
|
217
|
-
"semver": "^7.6.
|
|
218
|
+
"semver": "^7.6.2"
|
|
218
219
|
},
|
|
219
220
|
"files": [
|
|
220
221
|
"dist/*.node",
|