rollup 3.22.0 → 3.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 CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v3.22.0
6
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
5
+ Rollup.js v3.23.0
6
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
7
7
 
8
8
  https://github.com/rollup/rollup
9
9
 
@@ -25,7 +25,6 @@ const loadConfigFile_js = require('../shared/loadConfigFile.js');
25
25
  require('tty');
26
26
  require('node:perf_hooks');
27
27
  require('node:crypto');
28
- require('node:events');
29
28
  require('node:url');
30
29
 
31
30
  const help = "rollup version __VERSION__\n=====================================\n\nUsage: rollup [options] <entry file>\n\nBasic options:\n\n-c, --config <filename> Use this config file (if argument is used but value\n is unspecified, defaults to rollup.config.js)\n-d, --dir <dirname> Directory for chunks (if absent, prints to stdout)\n-e, --external <ids> Comma-separate list of module IDs to exclude\n-f, --format <format> Type of output (amd, cjs, es, iife, umd, system)\n-g, --globals <pairs> Comma-separate list of `moduleID:Global` pairs\n-h, --help Show this help message\n-i, --input <filename> Input (alternative to <entry file>)\n-m, --sourcemap Generate sourcemap (`-m inline` for inline map)\n-n, --name <name> Name for UMD export\n-o, --file <output> Single output file (if absent, prints to stdout)\n-p, --plugin <plugin> Use the plugin specified (may be repeated)\n-v, --version Show version number\n-w, --watch Watch files in bundle and rebuild on changes\n--amd.autoId Generate the AMD ID based off the chunk name\n--amd.basePath <prefix> Path to prepend to auto generated AMD ID\n--amd.define <name> Function to use in place of `define`\n--amd.forceJsExtensionForImports Use `.js` extension in AMD imports\n--amd.id <id> ID for AMD module (default is anonymous)\n--assetFileNames <pattern> Name pattern for emitted assets\n--banner <text> Code to insert at top of bundle (outside wrapper)\n--chunkFileNames <pattern> Name pattern for emitted secondary chunks\n--compact Minify wrapper code\n--context <variable> Specify top-level `this` value\n--no-dynamicImportInCjs Write external dynamic CommonJS imports as require\n--entryFileNames <pattern> Name pattern for emitted entry chunks\n--environment <values> Settings passed to config file (see example)\n--no-esModule Do not add __esModule property\n--exports <mode> Specify export mode (auto, default, named, none)\n--extend Extend global variable defined by --name\n--no-externalImportAssertions Omit import assertions in \"es\" output\n--no-externalLiveBindings Do not generate code to support live bindings\n--failAfterWarnings Exit with an error if the build produced warnings\n--footer <text> Code to insert at end of bundle (outside wrapper)\n--no-freeze Do not freeze namespace objects\n--generatedCode <preset> Which code features to use (es5/es2015)\n--generatedCode.arrowFunctions Use arrow functions in generated code\n--generatedCode.constBindings Use \"const\" in generated code\n--generatedCode.objectShorthand Use shorthand properties in generated code\n--no-generatedCode.reservedNamesAsProps Always quote reserved names as props\n--generatedCode.symbols Use symbols in generated code\n--no-hoistTransitiveImports Do not hoist transitive imports into entry chunks\n--no-indent Don't indent result\n--inlineDynamicImports Create single bundle when using dynamic imports\n--no-interop Do not include interop block\n--intro <text> Code to insert at top of bundle (inside wrapper)\n--no-makeAbsoluteExternalsRelative Prevent normalization of external imports\n--maxParallelFileOps <value> How many files to read in parallel\n--minifyInternalExports Force or disable minification of internal exports\n--noConflict Generate a noConflict method for UMD globals\n--outro <text> Code to insert at end of bundle (inside wrapper)\n--perf Display performance timings\n--no-preserveEntrySignatures Avoid facade chunks for entry points\n--preserveModules Preserve module structure\n--preserveModulesRoot Put preserved modules under this path at root level\n--preserveSymlinks Do not follow symlinks when resolving files\n--no-sanitizeFileName Do not replace invalid characters in file names\n--shimMissingExports Create shim variables for missing exports\n--silent Don't print warnings\n--sourcemapBaseUrl <url> Emit absolute sourcemap URLs with given base\n--sourcemapExcludeSources Do not include source code in source maps\n--sourcemapFile <file> Specify bundle position for source maps\n--stdin=ext Specify file extension used for stdin input\n--no-stdin Do not read \"-\" from stdin\n--no-strict Don't emit `\"use strict\";` in the generated modules\n--strictDeprecations Throw errors for deprecated features\n--no-systemNullSetters Do not replace empty SystemJS setters with `null`\n--no-treeshake Disable tree-shaking optimisations\n--no-treeshake.annotations Ignore pure call annotations\n--treeshake.correctVarValueBeforeDeclaration Deoptimize variables until declared\n--treeshake.manualPureFunctions <names> Manually declare functions as pure\n--no-treeshake.moduleSideEffects Assume modules have no side effects\n--no-treeshake.propertyReadSideEffects Ignore property access side effects\n--no-treeshake.tryCatchDeoptimization Do not turn off try-catch-tree-shaking\n--no-treeshake.unknownGlobalSideEffects Assume unknown globals do not throw\n--validate Validate output\n--waitForBundleInput Wait for bundle input files\n--watch.buildDelay <number> Throttle watch rebuilds\n--no-watch.clearScreen Do not clear the screen when rebuilding\n--watch.exclude <files> Exclude files from being watched\n--watch.include <files> Limit watching to specified files\n--watch.onBundleEnd <cmd> Shell command to run on `\"BUNDLE_END\"` event\n--watch.onBundleStart <cmd> Shell command to run on `\"BUNDLE_START\"` event\n--watch.onEnd <cmd> Shell command to run on `\"END\"` event\n--watch.onError <cmd> Shell command to run on `\"ERROR\"` event\n--watch.onStart <cmd> Shell command to run on `\"START\"` event\n--watch.skipWrite Do not write files to disk when watching\n\nExamples:\n\n# use settings in config file\nrollup -c\n\n# in config file, process.env.INCLUDE_DEPS === 'true'\n# and process.env.BUILD === 'production'\nrollup -c --environment INCLUDE_DEPS,BUILD:production\n\n# create CommonJS bundle.js from src/main.js\nrollup --format=cjs --file=bundle.js -- src/main.js\n\n# create self-executing IIFE using `window.jQuery`\n# and `window._` as external globals\nrollup -f iife --globals jquery:jQuery,lodash:_ \\\n -i src/app.js -o build/app.js -m build/app.js.map\n\nNotes:\n\n* When piping to stdout, only inline sourcemaps are permitted\n\nFor more information visit https://rollupjs.org\n";
@@ -1705,10 +1704,7 @@ else {
1705
1704
  catch {
1706
1705
  // do nothing
1707
1706
  }
1708
- runRollup(command).then(() => {
1709
- process$1.stdout.on('finish', () => process$1.exit(0));
1710
- process$1.stdout.end();
1711
- });
1707
+ runRollup(command);
1712
1708
  }
1713
1709
 
1714
1710
  exports.getConfigPath = getConfigPath;
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -14,5 +14,4 @@ import 'node:process';
14
14
  import 'node:perf_hooks';
15
15
  import 'node:crypto';
16
16
  import 'node:fs/promises';
17
- import 'node:events';
18
17
  import 'tty';
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -13,10 +13,9 @@ import process$1, { env as env$1 } from 'node:process';
13
13
  import { performance } from 'node:perf_hooks';
14
14
  import { createHash as createHash$1 } from 'node:crypto';
15
15
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
16
- import { EventEmitter } from 'node:events';
17
16
  import * as tty from 'tty';
18
17
 
19
- var version$1 = "3.22.0";
18
+ var version$1 = "3.23.0";
20
19
 
21
20
  const comma = ','.charCodeAt(0);
22
21
  const semicolon = ';'.charCodeAt(0);
@@ -7150,6 +7149,13 @@ const IMPURE = {
7150
7149
  getLiteralValue: getTruthyLiteralValue,
7151
7150
  hasEffectsWhenCalled: returnTrue
7152
7151
  };
7152
+ const PURE_WITH_ARRAY = {
7153
+ deoptimizeArgumentsOnCall: doNothing,
7154
+ getLiteralValue: getTruthyLiteralValue,
7155
+ hasEffectsWhenCalled({ args }) {
7156
+ return args.length > 1 && !(args[1] instanceof ArrayExpression);
7157
+ }
7158
+ };
7153
7159
  // We use shortened variables to reduce file size here
7154
7160
  /* OBJECT */
7155
7161
  const O = {
@@ -7187,6 +7193,11 @@ const PC = {
7187
7193
  [ValueProperties]: PURE,
7188
7194
  prototype: O
7189
7195
  };
7196
+ const PC_WITH_ARRAY = {
7197
+ __proto__: null,
7198
+ [ValueProperties]: PURE_WITH_ARRAY,
7199
+ prototype: O
7200
+ };
7190
7201
  const ARRAY_TYPE = {
7191
7202
  __proto__: null,
7192
7203
  [ValueProperties]: PURE,
@@ -7257,7 +7268,7 @@ const knownGlobals = {
7257
7268
  isNaN: PF,
7258
7269
  isPrototypeOf: O,
7259
7270
  JSON: O,
7260
- Map: C,
7271
+ Map: PC_WITH_ARRAY,
7261
7272
  Math: {
7262
7273
  __proto__: null,
7263
7274
  [ValueProperties]: IMPURE,
@@ -7353,7 +7364,7 @@ const knownGlobals = {
7353
7364
  ReferenceError: PC,
7354
7365
  Reflect: O,
7355
7366
  RegExp: PC,
7356
- Set: C,
7367
+ Set: PC_WITH_ARRAY,
7357
7368
  SharedArrayBuffer: C,
7358
7369
  String: {
7359
7370
  __proto__: null,
@@ -7393,8 +7404,8 @@ const knownGlobals = {
7393
7404
  unescape: PF,
7394
7405
  URIError: PC,
7395
7406
  valueOf: O,
7396
- WeakMap: C,
7397
- WeakSet: C,
7407
+ WeakMap: PC_WITH_ARRAY,
7408
+ WeakSet: PC_WITH_ARRAY,
7398
7409
  // Additional globals shared by Node and Browser that are not strictly part of the language
7399
7410
  clearInterval: C,
7400
7411
  clearTimeout: C,
@@ -24106,10 +24117,10 @@ function reserveFileNameInBundle(fileName, { bundle }, warn) {
24106
24117
  bundle[fileName] = FILE_PLACEHOLDER;
24107
24118
  }
24108
24119
  }
24120
+ const emittedFileTypes = new Set(['chunk', 'asset', 'prebuilt-chunk']);
24109
24121
  function hasValidType(emittedFile) {
24110
24122
  return Boolean(emittedFile &&
24111
- (emittedFile.type === 'asset' ||
24112
- emittedFile.type === 'chunk'));
24123
+ emittedFileTypes.has(emittedFile.type));
24113
24124
  }
24114
24125
  function hasValidName(emittedFile) {
24115
24126
  const validatedName = emittedFile.fileName || emittedFile.name;
@@ -24147,10 +24158,13 @@ class FileEmitter {
24147
24158
  this.outputFileEmitters = [];
24148
24159
  this.emitFile = (emittedFile) => {
24149
24160
  if (!hasValidType(emittedFile)) {
24150
- return error(errorFailedValidation(`Emitted files must be of type "asset" or "chunk", received "${emittedFile && emittedFile.type}".`));
24161
+ return error(errorFailedValidation(`Emitted files must be of type "asset", "chunk" or "prebuilt-chunk", received "${emittedFile && emittedFile.type}".`));
24162
+ }
24163
+ if (emittedFile.type === 'prebuilt-chunk') {
24164
+ return this.emitPrebuiltChunk(emittedFile);
24151
24165
  }
24152
24166
  if (!hasValidName(emittedFile)) {
24153
- return error(errorFailedValidation(`The "fileName" or "name" properties of emitted files must be strings that are neither absolute nor relative paths, received "${emittedFile.fileName || emittedFile.name}".`));
24167
+ return error(errorFailedValidation(`The "fileName" or "name" properties of emitted chunks and assets must be strings that are neither absolute nor relative paths, received "${emittedFile.fileName || emittedFile.name}".`));
24154
24168
  }
24155
24169
  if (emittedFile.type === 'chunk') {
24156
24170
  return this.emitChunk(emittedFile);
@@ -24170,6 +24184,9 @@ class FileEmitter {
24170
24184
  if (emittedFile.type === 'chunk') {
24171
24185
  return getChunkFileName(emittedFile, this.facadeChunkByModule);
24172
24186
  }
24187
+ if (emittedFile.type === 'prebuilt-chunk') {
24188
+ return emittedFile.fileName;
24189
+ }
24173
24190
  return getAssetFileName(emittedFile, fileReferenceId);
24174
24191
  };
24175
24192
  this.setAssetSource = (referenceId, requestedSource) => {
@@ -24218,6 +24235,9 @@ class FileEmitter {
24218
24235
  getOrCreate(consumedAssetsByHash, sourceHash, () => []).push(consumedFile);
24219
24236
  }
24220
24237
  }
24238
+ else if (consumedFile.type === 'prebuilt-chunk') {
24239
+ this.output.bundle[consumedFile.fileName] = this.createPrebuiltChunk(consumedFile);
24240
+ }
24221
24241
  }
24222
24242
  for (const [sourceHash, consumedFiles] of consumedAssetsByHash) {
24223
24243
  this.finalizeAssetsWithSameSource(consumedFiles, sourceHash, output);
@@ -24244,6 +24264,27 @@ class FileEmitter {
24244
24264
  }
24245
24265
  return referenceId;
24246
24266
  }
24267
+ createPrebuiltChunk(prebuiltChunk) {
24268
+ return {
24269
+ code: prebuiltChunk.code,
24270
+ dynamicImports: [],
24271
+ exports: prebuiltChunk.exports || [],
24272
+ facadeModuleId: null,
24273
+ fileName: prebuiltChunk.fileName,
24274
+ implicitlyLoadedBefore: [],
24275
+ importedBindings: {},
24276
+ imports: [],
24277
+ isDynamicEntry: false,
24278
+ isEntry: false,
24279
+ isImplicitEntry: false,
24280
+ map: prebuiltChunk.map || null,
24281
+ moduleIds: [],
24282
+ modules: {},
24283
+ name: prebuiltChunk.fileName,
24284
+ referencedFiles: [],
24285
+ type: 'chunk'
24286
+ };
24287
+ }
24247
24288
  emitAsset(emittedAsset) {
24248
24289
  const source = emittedAsset.source === undefined
24249
24290
  ? undefined
@@ -24299,6 +24340,29 @@ class FileEmitter {
24299
24340
  });
24300
24341
  return this.assignReferenceId(consumedChunk, emittedChunk.id);
24301
24342
  }
24343
+ emitPrebuiltChunk(emitPrebuiltChunk) {
24344
+ if (typeof emitPrebuiltChunk.code !== 'string') {
24345
+ return error(errorFailedValidation(`Emitted prebuilt chunks need to have a valid string code, received "${emitPrebuiltChunk.code}".`));
24346
+ }
24347
+ if (typeof emitPrebuiltChunk.fileName !== 'string' ||
24348
+ isPathFragment(emitPrebuiltChunk.fileName)) {
24349
+ return error(errorFailedValidation(`The "fileName" property of emitted prebuilt chunks must be strings that are neither absolute nor relative paths, received "${emitPrebuiltChunk.fileName}".`));
24350
+ }
24351
+ const consumedPrebuiltChunk = {
24352
+ code: emitPrebuiltChunk.code,
24353
+ exports: emitPrebuiltChunk.exports,
24354
+ fileName: emitPrebuiltChunk.fileName,
24355
+ map: emitPrebuiltChunk.map,
24356
+ referenceId: '',
24357
+ type: 'prebuilt-chunk'
24358
+ };
24359
+ const referenceId = this.assignReferenceId(consumedPrebuiltChunk, consumedPrebuiltChunk.fileName);
24360
+ if (this.output) {
24361
+ this.output.bundle[consumedPrebuiltChunk.fileName] =
24362
+ this.createPrebuiltChunk(consumedPrebuiltChunk);
24363
+ }
24364
+ return referenceId;
24365
+ }
24302
24366
  finalizeAdditionalAsset(consumedFile, source, { bundle, fileNamesBySource, outputOptions }) {
24303
24367
  let { fileName, needsCodeReference, referenceId } = consumedFile;
24304
24368
  // Deduplicate assets if an explicit fileName is not provided
@@ -24936,25 +25000,34 @@ function formatAction([pluginName, hookName, parameters]) {
24936
25000
  }
24937
25001
  return action;
24938
25002
  }
24939
- // We do not directly listen on process to avoid max listeners warnings for
24940
- // complicated build processes
24941
- const beforeExitEvent = 'beforeExit';
24942
- const beforeExitEmitter = new EventEmitter();
24943
- beforeExitEmitter.setMaxListeners(0);
24944
- process$1.on(beforeExitEvent, () => beforeExitEmitter.emit(beforeExitEvent));
25003
+ let handleBeforeExit = null;
25004
+ const rejectByPluginDriver = new Map();
24945
25005
  async function catchUnfinishedHookActions(pluginDriver, callback) {
24946
- let handleEmptyEventLoop;
24947
25006
  const emptyEventLoopPromise = new Promise((_, reject) => {
24948
- handleEmptyEventLoop = () => {
24949
- const unfulfilledActions = pluginDriver.getUnfulfilledHookActions();
24950
- reject(new Error(`Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:\n` +
24951
- [...unfulfilledActions].map(formatAction).join('\n')));
24952
- };
24953
- beforeExitEmitter.once(beforeExitEvent, handleEmptyEventLoop);
25007
+ rejectByPluginDriver.set(pluginDriver, reject);
25008
+ if (!handleBeforeExit) {
25009
+ // We only ever create a single event listener to avoid max listener and
25010
+ // other issues
25011
+ handleBeforeExit = () => {
25012
+ for (const [pluginDriver, reject] of rejectByPluginDriver) {
25013
+ const unfulfilledActions = pluginDriver.getUnfulfilledHookActions();
25014
+ reject(new Error(`Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:\n` +
25015
+ [...unfulfilledActions].map(formatAction).join('\n')));
25016
+ }
25017
+ };
25018
+ process$1.once('beforeExit', handleBeforeExit);
25019
+ }
24954
25020
  });
24955
- const result = await Promise.race([callback(), emptyEventLoopPromise]);
24956
- beforeExitEmitter.off(beforeExitEvent, handleEmptyEventLoop);
24957
- return result;
25021
+ try {
25022
+ return await Promise.race([callback(), emptyEventLoopPromise]);
25023
+ }
25024
+ finally {
25025
+ rejectByPluginDriver.delete(pluginDriver);
25026
+ if (rejectByPluginDriver.size === 0) {
25027
+ process$1.off('beforeExit', handleBeforeExit);
25028
+ handleBeforeExit = null;
25029
+ }
25030
+ }
24958
25031
  }
24959
25032
 
24960
25033
  const leftCurlyBrace = "{".charCodeAt(0);
@@ -25053,7 +25126,7 @@ function importAssertions(Parser) {
25053
25126
  if (this.type !== tt.string) { this.unexpected(); }
25054
25127
  node.source = this.parseExprAtom();
25055
25128
 
25056
- if (this.type === this.assertToken) {
25129
+ if (this.type === this.assertToken || this.type === tt._with) {
25057
25130
  this.next();
25058
25131
  const assertions = this.parseImportAssertions();
25059
25132
  if (assertions) {
@@ -25097,7 +25170,7 @@ function importAssertions(Parser) {
25097
25170
  if (this.type !== tt.string) { this.unexpected(); }
25098
25171
  node.source = this.parseExprAtom();
25099
25172
 
25100
- if (this.type === this.assertToken) {
25173
+ if (this.type === this.assertToken || this.type === tt._with) {
25101
25174
  this.next();
25102
25175
  const assertions = this.parseImportAssertions();
25103
25176
  if (assertions) {
@@ -25134,7 +25207,7 @@ function importAssertions(Parser) {
25134
25207
  this.type === tt.string ? this.parseExprAtom() : this.unexpected();
25135
25208
  }
25136
25209
 
25137
- if (this.type === this.assertToken) {
25210
+ if (this.type === this.assertToken || this.type == tt._with) {
25138
25211
  this.next();
25139
25212
  const assertions = this.parseImportAssertions();
25140
25213
  if (assertions) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -20,7 +20,6 @@ import require$$0$3 from 'events';
20
20
  import 'node:perf_hooks';
21
21
  import 'node:crypto';
22
22
  import 'node:fs/promises';
23
- import 'node:events';
24
23
  import 'tty';
25
24
 
26
25
  var chokidar = {};
@@ -2661,10 +2660,6 @@ const setFsWatchFileListener = (path, fullPath, options, handlers) => {
2661
2660
  const {listener, rawEmitter} = handlers;
2662
2661
  let cont = FsWatchFileInstances.get(fullPath);
2663
2662
 
2664
- /* eslint-disable no-unused-vars, prefer-destructuring */
2665
- new Set();
2666
- new Set();
2667
-
2668
2663
  const copts = cont && cont.options;
2669
2664
  if (copts && (copts.persistent < options.persistent || copts.interval > options.interval)) {
2670
2665
  fs$2.unwatchFile(fullPath);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -21,7 +21,6 @@ require('tty');
21
21
  require('path');
22
22
  require('node:perf_hooks');
23
23
  require('node:crypto');
24
- require('node:events');
25
24
 
26
25
 
27
26
 
package/dist/rollup.d.ts CHANGED
@@ -150,7 +150,15 @@ export interface EmittedChunk {
150
150
  type: 'chunk';
151
151
  }
152
152
 
153
- export type EmittedFile = EmittedAsset | EmittedChunk;
153
+ export interface EmittedPrebuiltChunk {
154
+ code: string;
155
+ exports?: string[];
156
+ fileName: string;
157
+ map?: SourceMap;
158
+ type: 'prebuilt-chunk';
159
+ }
160
+
161
+ export type EmittedFile = EmittedAsset | EmittedChunk | EmittedPrebuiltChunk;
154
162
 
155
163
  export type EmitFile = (emittedFile: EmittedFile) => string;
156
164
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -20,7 +20,6 @@ require('path');
20
20
  require('node:perf_hooks');
21
21
  require('node:crypto');
22
22
  require('node:fs/promises');
23
- require('node:events');
24
23
  require('./shared/fsevents-importer.js');
25
24
 
26
25
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -2656,10 +2656,6 @@ const setFsWatchFileListener = (path, fullPath, options, handlers) => {
2656
2656
  const {listener, rawEmitter} = handlers;
2657
2657
  let cont = FsWatchFileInstances.get(fullPath);
2658
2658
 
2659
- /* eslint-disable no-unused-vars, prefer-destructuring */
2660
- new Set();
2661
- new Set();
2662
-
2663
2659
  const copts = cont && cont.options;
2664
2660
  if (copts && (copts.persistent < options.persistent || copts.interval > options.interval)) {
2665
2661
  fs$2.unwatchFile(fullPath);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,6 @@ const require$$0$1 = require('path');
16
16
  const node_perf_hooks = require('node:perf_hooks');
17
17
  const node_crypto = require('node:crypto');
18
18
  const promises = require('node:fs/promises');
19
- const node_events = require('node:events');
20
19
 
21
20
  function _interopNamespaceDefault(e) {
22
21
  const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
@@ -31,7 +30,7 @@ function _interopNamespaceDefault(e) {
31
30
 
32
31
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
32
 
34
- var version$1 = "3.22.0";
33
+ var version$1 = "3.23.0";
35
34
 
36
35
  function ensureArray$1(items) {
37
36
  if (Array.isArray(items)) {
@@ -7645,6 +7644,13 @@ const IMPURE = {
7645
7644
  getLiteralValue: getTruthyLiteralValue,
7646
7645
  hasEffectsWhenCalled: returnTrue
7647
7646
  };
7647
+ const PURE_WITH_ARRAY = {
7648
+ deoptimizeArgumentsOnCall: doNothing,
7649
+ getLiteralValue: getTruthyLiteralValue,
7650
+ hasEffectsWhenCalled({ args }) {
7651
+ return args.length > 1 && !(args[1] instanceof ArrayExpression);
7652
+ }
7653
+ };
7648
7654
  // We use shortened variables to reduce file size here
7649
7655
  /* OBJECT */
7650
7656
  const O = {
@@ -7682,6 +7688,11 @@ const PC = {
7682
7688
  [ValueProperties]: PURE,
7683
7689
  prototype: O
7684
7690
  };
7691
+ const PC_WITH_ARRAY = {
7692
+ __proto__: null,
7693
+ [ValueProperties]: PURE_WITH_ARRAY,
7694
+ prototype: O
7695
+ };
7685
7696
  const ARRAY_TYPE = {
7686
7697
  __proto__: null,
7687
7698
  [ValueProperties]: PURE,
@@ -7752,7 +7763,7 @@ const knownGlobals = {
7752
7763
  isNaN: PF,
7753
7764
  isPrototypeOf: O,
7754
7765
  JSON: O,
7755
- Map: C,
7766
+ Map: PC_WITH_ARRAY,
7756
7767
  Math: {
7757
7768
  __proto__: null,
7758
7769
  [ValueProperties]: IMPURE,
@@ -7848,7 +7859,7 @@ const knownGlobals = {
7848
7859
  ReferenceError: PC,
7849
7860
  Reflect: O,
7850
7861
  RegExp: PC,
7851
- Set: C,
7862
+ Set: PC_WITH_ARRAY,
7852
7863
  SharedArrayBuffer: C,
7853
7864
  String: {
7854
7865
  __proto__: null,
@@ -7888,8 +7899,8 @@ const knownGlobals = {
7888
7899
  unescape: PF,
7889
7900
  URIError: PC,
7890
7901
  valueOf: O,
7891
- WeakMap: C,
7892
- WeakSet: C,
7902
+ WeakMap: PC_WITH_ARRAY,
7903
+ WeakSet: PC_WITH_ARRAY,
7893
7904
  // Additional globals shared by Node and Browser that are not strictly part of the language
7894
7905
  clearInterval: C,
7895
7906
  clearTimeout: C,
@@ -24601,10 +24612,10 @@ function reserveFileNameInBundle(fileName, { bundle }, warn) {
24601
24612
  bundle[fileName] = FILE_PLACEHOLDER;
24602
24613
  }
24603
24614
  }
24615
+ const emittedFileTypes = new Set(['chunk', 'asset', 'prebuilt-chunk']);
24604
24616
  function hasValidType(emittedFile) {
24605
24617
  return Boolean(emittedFile &&
24606
- (emittedFile.type === 'asset' ||
24607
- emittedFile.type === 'chunk'));
24618
+ emittedFileTypes.has(emittedFile.type));
24608
24619
  }
24609
24620
  function hasValidName(emittedFile) {
24610
24621
  const validatedName = emittedFile.fileName || emittedFile.name;
@@ -24642,10 +24653,13 @@ class FileEmitter {
24642
24653
  this.outputFileEmitters = [];
24643
24654
  this.emitFile = (emittedFile) => {
24644
24655
  if (!hasValidType(emittedFile)) {
24645
- return error(errorFailedValidation(`Emitted files must be of type "asset" or "chunk", received "${emittedFile && emittedFile.type}".`));
24656
+ return error(errorFailedValidation(`Emitted files must be of type "asset", "chunk" or "prebuilt-chunk", received "${emittedFile && emittedFile.type}".`));
24657
+ }
24658
+ if (emittedFile.type === 'prebuilt-chunk') {
24659
+ return this.emitPrebuiltChunk(emittedFile);
24646
24660
  }
24647
24661
  if (!hasValidName(emittedFile)) {
24648
- return error(errorFailedValidation(`The "fileName" or "name" properties of emitted files must be strings that are neither absolute nor relative paths, received "${emittedFile.fileName || emittedFile.name}".`));
24662
+ return error(errorFailedValidation(`The "fileName" or "name" properties of emitted chunks and assets must be strings that are neither absolute nor relative paths, received "${emittedFile.fileName || emittedFile.name}".`));
24649
24663
  }
24650
24664
  if (emittedFile.type === 'chunk') {
24651
24665
  return this.emitChunk(emittedFile);
@@ -24665,6 +24679,9 @@ class FileEmitter {
24665
24679
  if (emittedFile.type === 'chunk') {
24666
24680
  return getChunkFileName(emittedFile, this.facadeChunkByModule);
24667
24681
  }
24682
+ if (emittedFile.type === 'prebuilt-chunk') {
24683
+ return emittedFile.fileName;
24684
+ }
24668
24685
  return getAssetFileName(emittedFile, fileReferenceId);
24669
24686
  };
24670
24687
  this.setAssetSource = (referenceId, requestedSource) => {
@@ -24713,6 +24730,9 @@ class FileEmitter {
24713
24730
  getOrCreate(consumedAssetsByHash, sourceHash, () => []).push(consumedFile);
24714
24731
  }
24715
24732
  }
24733
+ else if (consumedFile.type === 'prebuilt-chunk') {
24734
+ this.output.bundle[consumedFile.fileName] = this.createPrebuiltChunk(consumedFile);
24735
+ }
24716
24736
  }
24717
24737
  for (const [sourceHash, consumedFiles] of consumedAssetsByHash) {
24718
24738
  this.finalizeAssetsWithSameSource(consumedFiles, sourceHash, output);
@@ -24739,6 +24759,27 @@ class FileEmitter {
24739
24759
  }
24740
24760
  return referenceId;
24741
24761
  }
24762
+ createPrebuiltChunk(prebuiltChunk) {
24763
+ return {
24764
+ code: prebuiltChunk.code,
24765
+ dynamicImports: [],
24766
+ exports: prebuiltChunk.exports || [],
24767
+ facadeModuleId: null,
24768
+ fileName: prebuiltChunk.fileName,
24769
+ implicitlyLoadedBefore: [],
24770
+ importedBindings: {},
24771
+ imports: [],
24772
+ isDynamicEntry: false,
24773
+ isEntry: false,
24774
+ isImplicitEntry: false,
24775
+ map: prebuiltChunk.map || null,
24776
+ moduleIds: [],
24777
+ modules: {},
24778
+ name: prebuiltChunk.fileName,
24779
+ referencedFiles: [],
24780
+ type: 'chunk'
24781
+ };
24782
+ }
24742
24783
  emitAsset(emittedAsset) {
24743
24784
  const source = emittedAsset.source === undefined
24744
24785
  ? undefined
@@ -24794,6 +24835,29 @@ class FileEmitter {
24794
24835
  });
24795
24836
  return this.assignReferenceId(consumedChunk, emittedChunk.id);
24796
24837
  }
24838
+ emitPrebuiltChunk(emitPrebuiltChunk) {
24839
+ if (typeof emitPrebuiltChunk.code !== 'string') {
24840
+ return error(errorFailedValidation(`Emitted prebuilt chunks need to have a valid string code, received "${emitPrebuiltChunk.code}".`));
24841
+ }
24842
+ if (typeof emitPrebuiltChunk.fileName !== 'string' ||
24843
+ isPathFragment(emitPrebuiltChunk.fileName)) {
24844
+ return error(errorFailedValidation(`The "fileName" property of emitted prebuilt chunks must be strings that are neither absolute nor relative paths, received "${emitPrebuiltChunk.fileName}".`));
24845
+ }
24846
+ const consumedPrebuiltChunk = {
24847
+ code: emitPrebuiltChunk.code,
24848
+ exports: emitPrebuiltChunk.exports,
24849
+ fileName: emitPrebuiltChunk.fileName,
24850
+ map: emitPrebuiltChunk.map,
24851
+ referenceId: '',
24852
+ type: 'prebuilt-chunk'
24853
+ };
24854
+ const referenceId = this.assignReferenceId(consumedPrebuiltChunk, consumedPrebuiltChunk.fileName);
24855
+ if (this.output) {
24856
+ this.output.bundle[consumedPrebuiltChunk.fileName] =
24857
+ this.createPrebuiltChunk(consumedPrebuiltChunk);
24858
+ }
24859
+ return referenceId;
24860
+ }
24797
24861
  finalizeAdditionalAsset(consumedFile, source, { bundle, fileNamesBySource, outputOptions }) {
24798
24862
  let { fileName, needsCodeReference, referenceId } = consumedFile;
24799
24863
  // Deduplicate assets if an explicit fileName is not provided
@@ -25431,25 +25495,34 @@ function formatAction([pluginName, hookName, parameters]) {
25431
25495
  }
25432
25496
  return action;
25433
25497
  }
25434
- // We do not directly listen on process to avoid max listeners warnings for
25435
- // complicated build processes
25436
- const beforeExitEvent = 'beforeExit';
25437
- const beforeExitEmitter = new node_events.EventEmitter();
25438
- beforeExitEmitter.setMaxListeners(0);
25439
- process$1.on(beforeExitEvent, () => beforeExitEmitter.emit(beforeExitEvent));
25498
+ let handleBeforeExit = null;
25499
+ const rejectByPluginDriver = new Map();
25440
25500
  async function catchUnfinishedHookActions(pluginDriver, callback) {
25441
- let handleEmptyEventLoop;
25442
25501
  const emptyEventLoopPromise = new Promise((_, reject) => {
25443
- handleEmptyEventLoop = () => {
25444
- const unfulfilledActions = pluginDriver.getUnfulfilledHookActions();
25445
- reject(new Error(`Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:\n` +
25446
- [...unfulfilledActions].map(formatAction).join('\n')));
25447
- };
25448
- beforeExitEmitter.once(beforeExitEvent, handleEmptyEventLoop);
25502
+ rejectByPluginDriver.set(pluginDriver, reject);
25503
+ if (!handleBeforeExit) {
25504
+ // We only ever create a single event listener to avoid max listener and
25505
+ // other issues
25506
+ handleBeforeExit = () => {
25507
+ for (const [pluginDriver, reject] of rejectByPluginDriver) {
25508
+ const unfulfilledActions = pluginDriver.getUnfulfilledHookActions();
25509
+ reject(new Error(`Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:\n` +
25510
+ [...unfulfilledActions].map(formatAction).join('\n')));
25511
+ }
25512
+ };
25513
+ process$1.once('beforeExit', handleBeforeExit);
25514
+ }
25449
25515
  });
25450
- const result = await Promise.race([callback(), emptyEventLoopPromise]);
25451
- beforeExitEmitter.off(beforeExitEvent, handleEmptyEventLoop);
25452
- return result;
25516
+ try {
25517
+ return await Promise.race([callback(), emptyEventLoopPromise]);
25518
+ }
25519
+ finally {
25520
+ rejectByPluginDriver.delete(pluginDriver);
25521
+ if (rejectByPluginDriver.size === 0) {
25522
+ process$1.off('beforeExit', handleBeforeExit);
25523
+ handleBeforeExit = null;
25524
+ }
25525
+ }
25453
25526
  }
25454
25527
 
25455
25528
  const leftCurlyBrace = "{".charCodeAt(0);
@@ -25548,7 +25621,7 @@ function importAssertions(Parser) {
25548
25621
  if (this.type !== tt.string) { this.unexpected(); }
25549
25622
  node.source = this.parseExprAtom();
25550
25623
 
25551
- if (this.type === this.assertToken) {
25624
+ if (this.type === this.assertToken || this.type === tt._with) {
25552
25625
  this.next();
25553
25626
  const assertions = this.parseImportAssertions();
25554
25627
  if (assertions) {
@@ -25592,7 +25665,7 @@ function importAssertions(Parser) {
25592
25665
  if (this.type !== tt.string) { this.unexpected(); }
25593
25666
  node.source = this.parseExprAtom();
25594
25667
 
25595
- if (this.type === this.assertToken) {
25668
+ if (this.type === this.assertToken || this.type === tt._with) {
25596
25669
  this.next();
25597
25670
  const assertions = this.parseImportAssertions();
25598
25671
  if (assertions) {
@@ -25629,7 +25702,7 @@ function importAssertions(Parser) {
25629
25702
  this.type === tt.string ? this.parseExprAtom() : this.unexpected();
25630
25703
  }
25631
25704
 
25632
- if (this.type === this.assertToken) {
25705
+ if (this.type === this.assertToken || this.type == tt._with) {
25633
25706
  this.next();
25634
25707
  const assertions = this.parseImportAssertions();
25635
25708
  if (assertions) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -30,7 +30,6 @@ require('node:path');
30
30
  require('tty');
31
31
  require('node:perf_hooks');
32
32
  require('node:crypto');
33
- require('node:events');
34
33
  require('node:url');
35
34
 
36
35
  function timeZone(date = new Date()) {
@@ -140,7 +139,6 @@ class Emitter {
140
139
  id = Math.random();
141
140
  constructor() {
142
141
  if (global[kExitEmitter]) {
143
- console.error('reusing global emitter');
144
142
  return global[kExitEmitter];
145
143
  }
146
144
  ObjectDefineProperty(global, kExitEmitter, {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.22.0
4
- Wed, 17 May 2023 04:19:47 GMT - commit 9f05b91e5e1862f7ea7a728fb63fb2750dfe7392
3
+ Rollup.js v3.23.0
4
+ Mon, 22 May 2023 05:28:38 GMT - commit 5ea36552c447d2903050d2622f2dcae3dd2df975
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -21,7 +21,6 @@ require('path');
21
21
  require('node:perf_hooks');
22
22
  require('node:crypto');
23
23
  require('node:fs/promises');
24
- require('node:events');
25
24
  require('fs');
26
25
  require('util');
27
26
  require('stream');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "3.22.0",
3
+ "version": "3.23.0",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -64,32 +64,32 @@
64
64
  },
65
65
  "devDependencies": {
66
66
  "@codemirror/commands": "^6.2.4",
67
- "@codemirror/lang-javascript": "^6.1.7",
67
+ "@codemirror/lang-javascript": "^6.1.8",
68
68
  "@codemirror/language": "^6.6.0",
69
69
  "@codemirror/search": "^6.4.0",
70
70
  "@codemirror/state": "^6.2.0",
71
- "@codemirror/view": "^6.11.0",
71
+ "@codemirror/view": "^6.11.3",
72
72
  "@jridgewell/sourcemap-codec": "^1.4.15",
73
73
  "@mermaid-js/mermaid-cli": "^10.1.0",
74
74
  "@rollup/plugin-alias": "^5.0.0",
75
75
  "@rollup/plugin-buble": "^1.0.2",
76
- "@rollup/plugin-commonjs": "^24.1.0",
76
+ "@rollup/plugin-commonjs": "^25.0.0",
77
77
  "@rollup/plugin-json": "^6.0.0",
78
78
  "@rollup/plugin-node-resolve": "^15.0.2",
79
79
  "@rollup/plugin-replace": "^5.0.2",
80
- "@rollup/plugin-terser": "^0.4.1",
81
- "@rollup/plugin-typescript": "^11.1.0",
80
+ "@rollup/plugin-terser": "^0.4.3",
81
+ "@rollup/plugin-typescript": "^11.1.1",
82
82
  "@rollup/pluginutils": "^5.0.2",
83
83
  "@types/estree": "1.0.1",
84
84
  "@types/mocha": "^10.0.1",
85
- "@types/node": "~14.18.43",
85
+ "@types/node": "~14.18.47",
86
86
  "@types/yargs-parser": "^21.0.0",
87
- "@typescript-eslint/eslint-plugin": "^5.59.2",
88
- "@typescript-eslint/parser": "^5.59.2",
87
+ "@typescript-eslint/eslint-plugin": "^5.59.6",
88
+ "@typescript-eslint/parser": "^5.59.6",
89
89
  "@vue/eslint-config-prettier": "^7.1.0",
90
90
  "@vue/eslint-config-typescript": "^11.0.3",
91
91
  "acorn": "^8.8.2",
92
- "acorn-import-assertions": "^1.8.0",
92
+ "acorn-import-assertions": "^1.9.0",
93
93
  "acorn-jsx": "^5.3.2",
94
94
  "acorn-walk": "^8.2.0",
95
95
  "buble": "^0.20.0",
@@ -97,49 +97,49 @@
97
97
  "chokidar": "^3.5.3",
98
98
  "colorette": "^2.0.20",
99
99
  "concurrently": "^8.0.1",
100
- "core-js": "^3.30.1",
100
+ "core-js": "^3.30.2",
101
101
  "date-time": "^4.0.0",
102
102
  "es5-shim": "^4.6.7",
103
103
  "es6-shim": "^0.35.8",
104
- "eslint": "^8.39.0",
104
+ "eslint": "^8.40.0",
105
105
  "eslint-config-prettier": "^8.8.0",
106
106
  "eslint-plugin-import": "^2.27.5",
107
107
  "eslint-plugin-prettier": "^4.2.1",
108
- "eslint-plugin-unicorn": "^46.0.0",
109
- "eslint-plugin-vue": "^9.11.0",
108
+ "eslint-plugin-unicorn": "^47.0.0",
109
+ "eslint-plugin-vue": "^9.13.0",
110
110
  "fixturify": "^3.0.0",
111
111
  "flru": "^1.0.2",
112
112
  "fs-extra": "^11.1.1",
113
113
  "github-api": "^3.4.0",
114
114
  "hash.js": "^1.1.7",
115
115
  "husky": "^8.0.3",
116
- "inquirer": "^9.2.0",
116
+ "inquirer": "^9.2.3",
117
117
  "is-reference": "^3.0.1",
118
118
  "lint-staged": "^13.2.2",
119
119
  "locate-character": "^2.0.5",
120
120
  "magic-string": "^0.30.0",
121
121
  "mocha": "^10.2.0",
122
122
  "nyc": "^15.1.0",
123
- "pinia": "^2.0.35",
123
+ "pinia": "^2.1.1",
124
124
  "prettier": "^2.8.8",
125
125
  "pretty-bytes": "^6.1.0",
126
126
  "pretty-ms": "^8.0.0",
127
127
  "requirejs": "^2.3.6",
128
- "rollup": "^3.21.3",
128
+ "rollup": "^3.22.0",
129
129
  "rollup-plugin-license": "^3.0.1",
130
130
  "rollup-plugin-string": "^3.0.0",
131
131
  "rollup-plugin-thatworks": "^1.0.4",
132
- "semver": "^7.5.0",
132
+ "semver": "^7.5.1",
133
133
  "shx": "^0.3.4",
134
- "signal-exit": "^4.0.1",
134
+ "signal-exit": "^4.0.2",
135
135
  "source-map": "^0.7.4",
136
136
  "source-map-support": "^0.5.21",
137
137
  "systemjs": "^6.14.1",
138
- "terser": "^5.17.1",
138
+ "terser": "^5.17.4",
139
139
  "tslib": "^2.5.0",
140
140
  "typescript": "^5.0.4",
141
141
  "vitepress": "^1.0.0-alpha.75",
142
- "vue": "^3.2.47",
142
+ "vue": "^3.3.2",
143
143
  "weak-napi": "^2.0.2",
144
144
  "yargs-parser": "^21.1.1"
145
145
  },