rollup 3.22.0 → 3.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin/rollup 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.22.1
6
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1";
20
19
 
21
20
  const comma = ','.charCodeAt(0);
22
21
  const semicolon = ';'.charCodeAt(0);
@@ -24936,25 +24935,34 @@ function formatAction([pluginName, hookName, parameters]) {
24936
24935
  }
24937
24936
  return action;
24938
24937
  }
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));
24938
+ let handleBeforeExit = null;
24939
+ const rejectByPluginDriver = new Map();
24945
24940
  async function catchUnfinishedHookActions(pluginDriver, callback) {
24946
- let handleEmptyEventLoop;
24947
24941
  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);
24942
+ rejectByPluginDriver.set(pluginDriver, reject);
24943
+ if (!handleBeforeExit) {
24944
+ // We only ever create a single event listener to avoid max listener and
24945
+ // other issues
24946
+ handleBeforeExit = () => {
24947
+ for (const [pluginDriver, reject] of rejectByPluginDriver) {
24948
+ const unfulfilledActions = pluginDriver.getUnfulfilledHookActions();
24949
+ reject(new Error(`Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:\n` +
24950
+ [...unfulfilledActions].map(formatAction).join('\n')));
24951
+ }
24952
+ };
24953
+ process$1.once('beforeExit', handleBeforeExit);
24954
+ }
24954
24955
  });
24955
- const result = await Promise.race([callback(), emptyEventLoopPromise]);
24956
- beforeExitEmitter.off(beforeExitEvent, handleEmptyEventLoop);
24957
- return result;
24956
+ try {
24957
+ return await Promise.race([callback(), emptyEventLoopPromise]);
24958
+ }
24959
+ finally {
24960
+ rejectByPluginDriver.delete(pluginDriver);
24961
+ if (rejectByPluginDriver.size === 0) {
24962
+ process$1.off('beforeExit', handleBeforeExit);
24963
+ handleBeforeExit = null;
24964
+ }
24965
+ }
24958
24966
  }
24959
24967
 
24960
24968
  const leftCurlyBrace = "{".charCodeAt(0);
@@ -25053,7 +25061,7 @@ function importAssertions(Parser) {
25053
25061
  if (this.type !== tt.string) { this.unexpected(); }
25054
25062
  node.source = this.parseExprAtom();
25055
25063
 
25056
- if (this.type === this.assertToken) {
25064
+ if (this.type === this.assertToken || this.type === tt._with) {
25057
25065
  this.next();
25058
25066
  const assertions = this.parseImportAssertions();
25059
25067
  if (assertions) {
@@ -25097,7 +25105,7 @@ function importAssertions(Parser) {
25097
25105
  if (this.type !== tt.string) { this.unexpected(); }
25098
25106
  node.source = this.parseExprAtom();
25099
25107
 
25100
- if (this.type === this.assertToken) {
25108
+ if (this.type === this.assertToken || this.type === tt._with) {
25101
25109
  this.next();
25102
25110
  const assertions = this.parseImportAssertions();
25103
25111
  if (assertions) {
@@ -25134,7 +25142,7 @@ function importAssertions(Parser) {
25134
25142
  this.type === tt.string ? this.parseExprAtom() : this.unexpected();
25135
25143
  }
25136
25144
 
25137
- if (this.type === this.assertToken) {
25145
+ if (this.type === this.assertToken || this.type == tt._with) {
25138
25146
  this.next();
25139
25147
  const assertions = this.parseImportAssertions();
25140
25148
  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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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 = {};
@@ -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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1";
35
34
 
36
35
  function ensureArray$1(items) {
37
36
  if (Array.isArray(items)) {
@@ -25431,25 +25430,34 @@ function formatAction([pluginName, hookName, parameters]) {
25431
25430
  }
25432
25431
  return action;
25433
25432
  }
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));
25433
+ let handleBeforeExit = null;
25434
+ const rejectByPluginDriver = new Map();
25440
25435
  async function catchUnfinishedHookActions(pluginDriver, callback) {
25441
- let handleEmptyEventLoop;
25442
25436
  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);
25437
+ rejectByPluginDriver.set(pluginDriver, reject);
25438
+ if (!handleBeforeExit) {
25439
+ // We only ever create a single event listener to avoid max listener and
25440
+ // other issues
25441
+ handleBeforeExit = () => {
25442
+ for (const [pluginDriver, reject] of rejectByPluginDriver) {
25443
+ const unfulfilledActions = pluginDriver.getUnfulfilledHookActions();
25444
+ reject(new Error(`Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit:\n` +
25445
+ [...unfulfilledActions].map(formatAction).join('\n')));
25446
+ }
25447
+ };
25448
+ process$1.once('beforeExit', handleBeforeExit);
25449
+ }
25449
25450
  });
25450
- const result = await Promise.race([callback(), emptyEventLoopPromise]);
25451
- beforeExitEmitter.off(beforeExitEvent, handleEmptyEventLoop);
25452
- return result;
25451
+ try {
25452
+ return await Promise.race([callback(), emptyEventLoopPromise]);
25453
+ }
25454
+ finally {
25455
+ rejectByPluginDriver.delete(pluginDriver);
25456
+ if (rejectByPluginDriver.size === 0) {
25457
+ process$1.off('beforeExit', handleBeforeExit);
25458
+ handleBeforeExit = null;
25459
+ }
25460
+ }
25453
25461
  }
25454
25462
 
25455
25463
  const leftCurlyBrace = "{".charCodeAt(0);
@@ -25548,7 +25556,7 @@ function importAssertions(Parser) {
25548
25556
  if (this.type !== tt.string) { this.unexpected(); }
25549
25557
  node.source = this.parseExprAtom();
25550
25558
 
25551
- if (this.type === this.assertToken) {
25559
+ if (this.type === this.assertToken || this.type === tt._with) {
25552
25560
  this.next();
25553
25561
  const assertions = this.parseImportAssertions();
25554
25562
  if (assertions) {
@@ -25592,7 +25600,7 @@ function importAssertions(Parser) {
25592
25600
  if (this.type !== tt.string) { this.unexpected(); }
25593
25601
  node.source = this.parseExprAtom();
25594
25602
 
25595
- if (this.type === this.assertToken) {
25603
+ if (this.type === this.assertToken || this.type === tt._with) {
25596
25604
  this.next();
25597
25605
  const assertions = this.parseImportAssertions();
25598
25606
  if (assertions) {
@@ -25629,7 +25637,7 @@ function importAssertions(Parser) {
25629
25637
  this.type === tt.string ? this.parseExprAtom() : this.unexpected();
25630
25638
  }
25631
25639
 
25632
- if (this.type === this.assertToken) {
25640
+ if (this.type === this.assertToken || this.type == tt._with) {
25633
25641
  this.next();
25634
25642
  const assertions = this.parseImportAssertions();
25635
25643
  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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1
4
+ Sun, 21 May 2023 19:51:48 GMT - commit fba14ad6955081dd400261157e60d31132acba03
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.22.1",
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
  },