@rollup/wasm-node 4.2.0 → 4.3.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
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.2.0
5
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
4
+ Rollup.js v4.3.1
5
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -28,7 +28,7 @@ require('../native.js');
28
28
  require('node:url');
29
29
  require('../getLogFilter.js');
30
30
 
31
- 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-externalImportAttributes Omit import attributes 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--filterLogs <filter> Filter log messages\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--logLevel <level> Which kind of logs to display\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--sourcemapFileNames <pattern> Name pattern for emitted sourcemaps\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";
31
+ 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-externalImportAttributes Omit import attributes 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--filterLogs <filter> Filter log messages\n--footer <text> Code to insert at end of bundle (outside wrapper)\n--forceExit Force exit the process when done\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--logLevel <level> Which kind of logs to display\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--sourcemapFileNames <pattern> Name pattern for emitted sourcemaps\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";
32
32
 
33
33
  /**
34
34
  * @license
@@ -1705,7 +1705,11 @@ else {
1705
1705
  catch {
1706
1706
  // do nothing
1707
1707
  }
1708
- runRollup(command);
1708
+ const promise = runRollup(command);
1709
+ if (command.forceExit) {
1710
+ // eslint-disable-next-line unicorn/no-process-exit
1711
+ promise.then(() => process$1.exit());
1712
+ }
1709
1713
  }
1710
1714
 
1711
1715
  exports.getConfigPath = getConfigPath;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { xxhashBase64Url } from '../../native.js';
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.2.0";
19
+ var version = "4.3.1";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -19626,6 +19626,7 @@ async function mergeOptions(config, watchMode, rawCommandOptions = EMPTY_COMMAND
19626
19626
  'environment',
19627
19627
  'failAfterWarnings',
19628
19628
  'filterLogs',
19629
+ 'forceExit',
19629
19630
  'plugin',
19630
19631
  'silent',
19631
19632
  'stdin',
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -335,7 +335,7 @@ const URL_WATCH = 'configuration-options/#watch';
335
335
  function error(base) {
336
336
  if (!(base instanceof Error)) {
337
337
  base = Object.assign(new Error(base.message), base);
338
- Object.defineProperty(base, 'name', { value: 'RollupError' });
338
+ Object.defineProperty(base, 'name', { value: 'RollupError', writable: true });
339
339
  }
340
340
  throw base;
341
341
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -526,8 +526,7 @@ async function loadConfigFromWrittenFile(bundledFileName, bundledCode) {
526
526
  return (await import(node_url.pathToFileURL(bundledFileName).href)).default;
527
527
  }
528
528
  finally {
529
- // Not awaiting here saves some ms while potentially hiding a non-critical error
530
- promises.unlink(bundledFileName);
529
+ promises.unlink(bundledFileName).catch(error => console.warn(error?.message || error));
531
530
  }
532
531
  }
533
532
  async function getConfigList(configFileExport, commandOptions) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -277,7 +277,7 @@ const URL_CONFIGURATION_FILES = 'command-line-interface/#configuration-files';
277
277
  function error(base) {
278
278
  if (!(base instanceof Error)) {
279
279
  base = Object.assign(new Error(base.message), base);
280
- Object.defineProperty(base, 'name', { value: 'RollupError' });
280
+ Object.defineProperty(base, 'name', { value: 'RollupError', writable: true });
281
281
  }
282
282
  throw base;
283
283
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
31
31
 
32
32
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
33
 
34
- var version = "4.2.0";
34
+ var version = "4.3.1";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -1169,6 +1169,7 @@ async function mergeOptions(config, watchMode, rawCommandOptions = EMPTY_COMMAND
1169
1169
  'environment',
1170
1170
  'failAfterWarnings',
1171
1171
  'filterLogs',
1172
+ 'forceExit',
1172
1173
  'plugin',
1173
1174
  'silent',
1174
1175
  'stdin',
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.2.0
4
- Tue, 31 Oct 2023 08:09:58 GMT - commit fbf806aceffd822d43e4603b664c54165c72cf36
3
+ Rollup.js v4.3.1
4
+ Sat, 11 Nov 2023 07:57:25 GMT - commit 52c55bb1e17154ae6d01fb40e0e4a3589bc20a8f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -132,7 +132,7 @@ module.exports.parse = function(code, allow_return_outside_function) {
132
132
  var r0 = getInt32Memory0()[retptr / 4 + 0];
133
133
  var r1 = getInt32Memory0()[retptr / 4 + 1];
134
134
  var v2 = getArrayU8FromWasm0(r0, r1).slice();
135
- wasm.__wbindgen_free(r0, r1 * 1);
135
+ wasm.__wbindgen_free(r0, r1 * 1, 1);
136
136
  return v2;
137
137
  } finally {
138
138
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -172,7 +172,7 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
172
172
  takeObject(arg0);
173
173
  };
174
174
 
175
- module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
175
+ module.exports.__wbg_crypto_58f13aa23ffcb166 = function(arg0) {
176
176
  const ret = getObject(arg0).crypto;
177
177
  return addHeapObject(ret);
178
178
  };
@@ -183,17 +183,17 @@ module.exports.__wbindgen_is_object = function(arg0) {
183
183
  return ret;
184
184
  };
185
185
 
186
- module.exports.__wbg_process_298734cf255a885d = function(arg0) {
186
+ module.exports.__wbg_process_5b786e71d465a513 = function(arg0) {
187
187
  const ret = getObject(arg0).process;
188
188
  return addHeapObject(ret);
189
189
  };
190
190
 
191
- module.exports.__wbg_versions_e2e78e134e3e5d01 = function(arg0) {
191
+ module.exports.__wbg_versions_c2ab80650590b6a2 = function(arg0) {
192
192
  const ret = getObject(arg0).versions;
193
193
  return addHeapObject(ret);
194
194
  };
195
195
 
196
- module.exports.__wbg_node_1cd7a5d853dbea79 = function(arg0) {
196
+ module.exports.__wbg_node_523d7bd03ef69fba = function(arg0) {
197
197
  const ret = getObject(arg0).node;
198
198
  return addHeapObject(ret);
199
199
  };
@@ -203,12 +203,12 @@ module.exports.__wbindgen_is_string = function(arg0) {
203
203
  return ret;
204
204
  };
205
205
 
206
- module.exports.__wbg_msCrypto_bcb970640f50a1e8 = function(arg0) {
206
+ module.exports.__wbg_msCrypto_abcb1295e768d1f2 = function(arg0) {
207
207
  const ret = getObject(arg0).msCrypto;
208
208
  return addHeapObject(ret);
209
209
  };
210
210
 
211
- module.exports.__wbg_require_8f08ceecec0f4fee = function() { return handleError(function () {
211
+ module.exports.__wbg_require_2784e593a4674877 = function() { return handleError(function () {
212
212
  const ret = module.require;
213
213
  return addHeapObject(ret);
214
214
  }, arguments) };
@@ -223,20 +223,20 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
223
223
  return addHeapObject(ret);
224
224
  };
225
225
 
226
- module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
226
+ module.exports.__wbg_randomFillSync_a0d98aa11c81fe89 = function() { return handleError(function (arg0, arg1) {
227
227
  getObject(arg0).randomFillSync(takeObject(arg1));
228
228
  }, arguments) };
229
229
 
230
- module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
230
+ module.exports.__wbg_getRandomValues_504510b5564925af = function() { return handleError(function (arg0, arg1) {
231
231
  getObject(arg0).getRandomValues(getObject(arg1));
232
232
  }, arguments) };
233
233
 
234
- module.exports.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
234
+ module.exports.__wbg_newnoargs_ccdcae30fd002262 = function(arg0, arg1) {
235
235
  const ret = new Function(getStringFromWasm0(arg0, arg1));
236
236
  return addHeapObject(ret);
237
237
  };
238
238
 
239
- module.exports.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
239
+ module.exports.__wbg_call_669127b9d730c650 = function() { return handleError(function (arg0, arg1) {
240
240
  const ret = getObject(arg0).call(getObject(arg1));
241
241
  return addHeapObject(ret);
242
242
  }, arguments) };
@@ -246,22 +246,22 @@ module.exports.__wbindgen_object_clone_ref = function(arg0) {
246
246
  return addHeapObject(ret);
247
247
  };
248
248
 
249
- module.exports.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {
249
+ module.exports.__wbg_self_3fad056edded10bd = function() { return handleError(function () {
250
250
  const ret = self.self;
251
251
  return addHeapObject(ret);
252
252
  }, arguments) };
253
253
 
254
- module.exports.__wbg_window_5f4faef6c12b79ec = function() { return handleError(function () {
254
+ module.exports.__wbg_window_a4f46c98a61d4089 = function() { return handleError(function () {
255
255
  const ret = window.window;
256
256
  return addHeapObject(ret);
257
257
  }, arguments) };
258
258
 
259
- module.exports.__wbg_globalThis_1d39714405582d3c = function() { return handleError(function () {
259
+ module.exports.__wbg_globalThis_17eff828815f7d84 = function() { return handleError(function () {
260
260
  const ret = globalThis.globalThis;
261
261
  return addHeapObject(ret);
262
262
  }, arguments) };
263
263
 
264
- module.exports.__wbg_global_651f05c6a0944d1c = function() { return handleError(function () {
264
+ module.exports.__wbg_global_46f939f6541643c5 = function() { return handleError(function () {
265
265
  const ret = global.global;
266
266
  return addHeapObject(ret);
267
267
  }, arguments) };
@@ -271,41 +271,41 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
271
271
  return ret;
272
272
  };
273
273
 
274
- module.exports.__wbg_call_01734de55d61e11d = function() { return handleError(function (arg0, arg1, arg2) {
274
+ module.exports.__wbg_call_53fc3abd42e24ec8 = function() { return handleError(function (arg0, arg1, arg2) {
275
275
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
276
276
  return addHeapObject(ret);
277
277
  }, arguments) };
278
278
 
279
- module.exports.__wbg_buffer_085ec1f694018c4f = function(arg0) {
279
+ module.exports.__wbg_buffer_344d9b41efe96da7 = function(arg0) {
280
280
  const ret = getObject(arg0).buffer;
281
281
  return addHeapObject(ret);
282
282
  };
283
283
 
284
- module.exports.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa = function(arg0, arg1, arg2) {
284
+ module.exports.__wbg_newwithbyteoffsetandlength_2dc04d99088b15e3 = function(arg0, arg1, arg2) {
285
285
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
286
286
  return addHeapObject(ret);
287
287
  };
288
288
 
289
- module.exports.__wbg_new_8125e318e6245eed = function(arg0) {
289
+ module.exports.__wbg_new_d8a000788389a31e = function(arg0) {
290
290
  const ret = new Uint8Array(getObject(arg0));
291
291
  return addHeapObject(ret);
292
292
  };
293
293
 
294
- module.exports.__wbg_set_5cf90238115182c3 = function(arg0, arg1, arg2) {
294
+ module.exports.__wbg_set_dcfd613a3420f908 = function(arg0, arg1, arg2) {
295
295
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
296
296
  };
297
297
 
298
- module.exports.__wbg_length_72e2208bbc0efc61 = function(arg0) {
298
+ module.exports.__wbg_length_a5587d6cd79ab197 = function(arg0) {
299
299
  const ret = getObject(arg0).length;
300
300
  return ret;
301
301
  };
302
302
 
303
- module.exports.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) {
303
+ module.exports.__wbg_newwithlength_13b5319ab422dcf6 = function(arg0) {
304
304
  const ret = new Uint8Array(arg0 >>> 0);
305
305
  return addHeapObject(ret);
306
306
  };
307
307
 
308
- module.exports.__wbg_subarray_13db269f57aa838d = function(arg0, arg1, arg2) {
308
+ module.exports.__wbg_subarray_6ca5cfa7fbb9abbe = function(arg0, arg1, arg2) {
309
309
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
310
310
  return addHeapObject(ret);
311
311
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.2.0",
3
+ "version": "4.3.1",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -34,49 +34,48 @@
34
34
  "@codemirror/language": "^6.9.2",
35
35
  "@codemirror/search": "^6.5.4",
36
36
  "@codemirror/state": "^6.3.1",
37
- "@codemirror/view": "^6.21.4",
37
+ "@codemirror/view": "^6.22.0",
38
38
  "@jridgewell/sourcemap-codec": "^1.4.15",
39
- "@mermaid-js/mermaid-cli": "^10.5.1",
40
- "@napi-rs/cli": "^2.16.3",
39
+ "@mermaid-js/mermaid-cli": "^10.6.0",
40
+ "@napi-rs/cli": "^2.16.5",
41
41
  "@rollup/plugin-alias": "^5.0.1",
42
42
  "@rollup/plugin-buble": "^1.0.3",
43
43
  "@rollup/plugin-commonjs": "^25.0.7",
44
44
  "@rollup/plugin-json": "^6.0.1",
45
45
  "@rollup/plugin-node-resolve": "^15.2.3",
46
- "@rollup/plugin-replace": "^5.0.4",
46
+ "@rollup/plugin-replace": "^5.0.5",
47
47
  "@rollup/plugin-terser": "^0.4.4",
48
48
  "@rollup/plugin-typescript": "11.1.5",
49
49
  "@rollup/pluginutils": "^5.0.5",
50
- "@types/estree": "1.0.3",
50
+ "@types/estree": "1.0.5",
51
51
  "@types/mocha": "^10.0.3",
52
52
  "@types/node": "18.0.0",
53
53
  "@types/yargs-parser": "^21.0.2",
54
- "@typescript-eslint/eslint-plugin": "^6.9.0",
55
- "@typescript-eslint/parser": "^6.9.0",
54
+ "@typescript-eslint/eslint-plugin": "^6.10.0",
55
+ "@typescript-eslint/parser": "^6.10.0",
56
56
  "@vue/eslint-config-prettier": "^8.0.0",
57
57
  "@vue/eslint-config-typescript": "^12.0.0",
58
- "acorn": "^8.10.0",
58
+ "acorn": "^8.11.2",
59
59
  "acorn-import-assertions": "^1.9.0",
60
60
  "buble": "^0.20.0",
61
61
  "builtin-modules": "^3.3.0",
62
62
  "chokidar": "^3.5.3",
63
63
  "colorette": "^2.0.20",
64
64
  "concurrently": "^8.2.2",
65
- "core-js": "^3.33.1",
65
+ "core-js": "^3.33.2",
66
66
  "date-time": "^4.0.0",
67
67
  "es5-shim": "^4.6.7",
68
68
  "es6-shim": "^0.35.8",
69
- "eslint": "^8.52.0",
69
+ "eslint": "^8.53.0",
70
70
  "eslint-config-prettier": "^9.0.0",
71
71
  "eslint-plugin-import": "^2.29.0",
72
72
  "eslint-plugin-prettier": "^5.0.1",
73
- "eslint-plugin-unicorn": "^48.0.1",
74
- "eslint-plugin-vue": "^9.18.0",
73
+ "eslint-plugin-unicorn": "^49.0.0",
74
+ "eslint-plugin-vue": "^9.18.1",
75
75
  "fixturify": "^3.0.0",
76
76
  "flru": "^1.0.2",
77
77
  "fs-extra": "^11.1.1",
78
78
  "github-api": "^3.4.0",
79
- "hash.js": "^1.1.7",
80
79
  "husky": "^8.0.3",
81
80
  "inquirer": "^9.2.11",
82
81
  "is-reference": "^3.0.2",
@@ -90,7 +89,7 @@
90
89
  "pretty-bytes": "^6.1.1",
91
90
  "pretty-ms": "^8.0.0",
92
91
  "requirejs": "^2.3.6",
93
- "rollup": "^4.1.4",
92
+ "rollup": "^4.3.0",
94
93
  "rollup-plugin-license": "^3.2.0",
95
94
  "rollup-plugin-string": "^3.0.0",
96
95
  "rollup-plugin-thatworks": "^1.0.4",
@@ -100,17 +99,18 @@
100
99
  "source-map": "^0.7.4",
101
100
  "source-map-support": "^0.5.21",
102
101
  "systemjs": "^6.14.2",
103
- "terser": "^5.22.0",
102
+ "terser": "^5.24.0",
104
103
  "tslib": "^2.6.2",
105
104
  "typescript": "^5.2.2",
106
105
  "vite": "^4.5.0",
107
- "vitepress": "^1.0.0-rc.24",
108
- "vue": "^3.3.7",
106
+ "vitepress": "^1.0.0-rc.25",
107
+ "vue": "^3.3.8",
109
108
  "wasm-pack": "^0.12.1",
110
109
  "weak-napi": "^2.0.2",
111
110
  "yargs-parser": "^21.1.1"
112
111
  },
113
112
  "overrides": {
113
+ "axios": "^1.6.0",
114
114
  "semver": "^7.5.4"
115
115
  },
116
116
  "files": [