rollup 4.14.1 → 4.14.3

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/README.md CHANGED
@@ -89,6 +89,7 @@ But with ES modules, instead of importing the whole `utils` object, we can just
89
89
  ```js
90
90
  // import the ajax function with an ES import statement
91
91
  import { ajax } from 'node:utils';
92
+
92
93
  var query = 'Rollup';
93
94
  // call the ajax function
94
95
  ajax('https://api.example.com?search=' + query).then(handleResponse);
@@ -108,7 +109,7 @@ To make sure your ES modules are immediately usable by tools that work with Comm
108
109
 
109
110
  ## Contributors
110
111
 
111
- This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. <a href="https://github.com/rollup/rollup/graphs/contributors"><img src="https://opencollective.com/rollup/contributors.svg?width=890" /></a>
112
+ This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. <a href="https://github.com/rollup/rollup/graphs/contributors"><img src="https://opencollective.com/rollup/contributors.svg?width=890" /></a>. If you want to contribute yourself, head over to the [contribution guidelines](CONTRIBUTING.md).
112
113
 
113
114
  ## Backers
114
115
 
package/dist/bin/rollup CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.14.1
5
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
4
+ Rollup.js v4.14.3
5
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -20,7 +20,7 @@ const require$$0$1 = require('fs');
20
20
  const parseAst_js = require('../shared/parseAst.js');
21
21
  const fseventsImporter = require('../shared/fsevents-importer.js');
22
22
  const promises = require('node:fs/promises');
23
- const node_path = require('node:path');
23
+ const path = require('node:path');
24
24
  const loadConfigFile_js = require('../shared/loadConfigFile.js');
25
25
  require('tty');
26
26
  require('../native.js');
@@ -1607,7 +1607,7 @@ async function build(inputOptions, warnings, silent = false) {
1607
1607
  const DEFAULT_CONFIG_BASE = 'rollup.config';
1608
1608
  async function getConfigPath(commandConfig) {
1609
1609
  if (commandConfig === true) {
1610
- return node_path.resolve(await findConfigFileNameInCwd());
1610
+ return path.resolve(await findConfigFileNameInCwd());
1611
1611
  }
1612
1612
  if (commandConfig.slice(0, 5) === 'node:') {
1613
1613
  const packageName = commandConfig.slice(5);
@@ -1628,7 +1628,7 @@ async function getConfigPath(commandConfig) {
1628
1628
  }
1629
1629
  }
1630
1630
  }
1631
- return node_path.resolve(commandConfig);
1631
+ return path.resolve(commandConfig);
1632
1632
  }
1633
1633
  async function findConfigFileNameInCwd() {
1634
1634
  const filesInWorkingDirectory = new Set(await promises.readdir(process$1.cwd()));
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
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.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { performance } from 'node:perf_hooks';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version = "4.14.1";
19
+ var version = "4.14.3";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -4638,7 +4638,7 @@ function getMemberReturnExpressionWhenCalled(members, memberName) {
4638
4638
  return [members[memberName].returns, false];
4639
4639
  }
4640
4640
 
4641
- // This file is generated by scripts/generate-ast-converters.js.
4641
+ // This file is generated by scripts/generate-child-node-keys.js.
4642
4642
  // Do not edit this file directly.
4643
4643
  const childNodeKeys = {
4644
4644
  ArrayExpression: ['elements'],
@@ -12226,7 +12226,7 @@ class YieldExpression extends NodeBase {
12226
12226
  }
12227
12227
  }
12228
12228
 
12229
- // This file is generated by scripts/generate-ast-converters.js.
12229
+ // This file is generated by scripts/generate-buffer-parsers.js.
12230
12230
  // Do not edit this file directly.
12231
12231
  function convertProgram(buffer, parent, parentScope) {
12232
12232
  return convertNode(parent, parentScope, 0, new Uint32Array(buffer.buffer), getReadStringFunction(buffer));
@@ -16069,15 +16069,15 @@ class Chunk {
16069
16069
  const renderedExports = exportMode === 'none' ? [] : this.getChunkExportDeclarations(format);
16070
16070
  let hasExports = renderedExports.length > 0;
16071
16071
  let hasDefaultExport = false;
16072
- for (const renderedDependence of renderedDependencies) {
16073
- const { reexports } = renderedDependence;
16072
+ for (const renderedDependency of renderedDependencies) {
16073
+ const { reexports } = renderedDependency;
16074
16074
  if (reexports?.length) {
16075
16075
  hasExports = true;
16076
16076
  if (!hasDefaultExport && reexports.some(reexport => reexport.reexported === 'default')) {
16077
16077
  hasDefaultExport = true;
16078
16078
  }
16079
16079
  if (format === 'es') {
16080
- renderedDependence.reexports = reexports.filter(
16080
+ renderedDependency.reexports = reexports.filter(
16081
16081
  // eslint-disable-next-line unicorn/prefer-array-some
16082
16082
  ({ reexported }) => !renderedExports.find(({ exported }) => exported === reexported));
16083
16083
  }
@@ -16284,8 +16284,13 @@ class Chunk {
16284
16284
  deconflictedDefault.add(chunk);
16285
16285
  }
16286
16286
  }
16287
- else if (variable.name === '*' &&
16288
- namespaceInteropHelpersByInteropType[interop(module.id)]) {
16287
+ else if (variable.isNamespace &&
16288
+ namespaceInteropHelpersByInteropType[interop(module.id)] &&
16289
+ (this.imports.has(variable) ||
16290
+ !this.exportNamesByVariable.get(variable)?.every(name => name.startsWith('*')))) {
16291
+ // We only need to deconflict it if the namespace is actually
16292
+ // created as a variable, i.e. because it is used internally or
16293
+ // because it is reexported as an object
16289
16294
  deconflictedNamespace.add(chunk);
16290
16295
  }
16291
16296
  }
@@ -16499,23 +16504,25 @@ class Chunk {
16499
16504
  const reexportSpecifiers = this.getReexportSpecifiers();
16500
16505
  const renderedDependencies = new Map();
16501
16506
  const fileName = this.getFileName();
16502
- for (const dep of this.dependencies) {
16503
- const imports = importSpecifiers.get(dep) || null;
16504
- const reexports = reexportSpecifiers.get(dep) || null;
16505
- const namedExportsMode = dep instanceof ExternalChunk || dep.exportMode !== 'default';
16506
- const importPath = dep.getImportPath(fileName);
16507
- renderedDependencies.set(dep, {
16508
- attributes: dep instanceof ExternalChunk ? dep.getImportAttributes(this.snippets) : null,
16509
- defaultVariableName: dep.defaultVariableName,
16510
- globalName: dep instanceof ExternalChunk &&
16507
+ for (const dependency of this.dependencies) {
16508
+ const imports = importSpecifiers.get(dependency) || null;
16509
+ const reexports = reexportSpecifiers.get(dependency) || null;
16510
+ const namedExportsMode = dependency instanceof ExternalChunk || dependency.exportMode !== 'default';
16511
+ const importPath = dependency.getImportPath(fileName);
16512
+ renderedDependencies.set(dependency, {
16513
+ attributes: dependency instanceof ExternalChunk
16514
+ ? dependency.getImportAttributes(this.snippets)
16515
+ : null,
16516
+ defaultVariableName: dependency.defaultVariableName,
16517
+ globalName: dependency instanceof ExternalChunk &&
16511
16518
  (this.outputOptions.format === 'umd' || this.outputOptions.format === 'iife') &&
16512
- getGlobalName(dep, this.outputOptions.globals, (imports || reexports) !== null, this.inputOptions.onLog),
16519
+ getGlobalName(dependency, this.outputOptions.globals, (imports || reexports) !== null, this.inputOptions.onLog),
16513
16520
  importPath,
16514
16521
  imports,
16515
- isChunk: dep instanceof Chunk,
16516
- name: dep.variableName,
16522
+ isChunk: dependency instanceof Chunk,
16523
+ name: dependency.variableName,
16517
16524
  namedExportsMode,
16518
- namespaceVariableName: dep.namespaceVariableName,
16525
+ namespaceVariableName: dependency.namespaceVariableName,
16519
16526
  reexports
16520
16527
  });
16521
16528
  }
@@ -17427,6 +17434,13 @@ const compareExecIndex = (unitA, unitB) => unitA.execIndex > unitB.execIndex ? 1
17427
17434
  function sortByExecutionOrder(units) {
17428
17435
  units.sort(compareExecIndex);
17429
17436
  }
17437
+ // This process is currently faulty in so far as it only takes the first entry
17438
+ // module into account and assumes that dynamic imports are imported in a
17439
+ // certain order.
17440
+ // A better algorithm would follow every possible execution path and mark which
17441
+ // modules are executed before or after which other modules. THen the chunking
17442
+ // would need to take care that in each chunk, all modules are always executed
17443
+ // in the same sequence.
17430
17444
  function analyseModuleExecution(entryModules) {
17431
17445
  let nextExecIndex = 0;
17432
17446
  const cyclePaths = [];
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -33,7 +33,7 @@ const EMPTY_SET = Object.freeze(new (class extends Set {
33
33
  }
34
34
  })());
35
35
 
36
- // This file is generated by scripts/generate-string-constant.js.
36
+ // This file is generated by scripts/generate-string-constants.js.
37
37
  // Do not edit this file directly.
38
38
  const FIXED_STRINGS = [
39
39
  'var',
@@ -1044,7 +1044,7 @@ function warnDeprecationWithOptions(deprecation, urlSnippet, activeDeprecation,
1044
1044
  }
1045
1045
  }
1046
1046
 
1047
- // This file is generated by scripts/generate-ast-converters.js.
1047
+ // This file is generated by scripts/generate-buffer-to-ast.js.
1048
1048
  // Do not edit this file directly.
1049
1049
  function convertProgram(buffer, readString) {
1050
1050
  const node = convertNode(0, new Uint32Array(buffer), readString);
@@ -1,13 +1,13 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
8
8
  Released under the MIT License.
9
9
  */
10
- import { resolve } from 'node:path';
10
+ import path$1 from 'node:path';
11
11
  import process$1 from 'node:process';
12
12
  import { picomatch as picomatch$2, getAugmentedNamespace, fseventsImporter, createFilter, rollupInternal } from './node-entry.js';
13
13
  import { platform } from 'node:os';
@@ -4754,7 +4754,7 @@ class Task {
4754
4754
  this.outputs = this.options.output;
4755
4755
  this.outputFiles = this.outputs.map(output => {
4756
4756
  if (output.file || output.dir)
4757
- return resolve(output.file || output.dir);
4757
+ return path$1.resolve(output.file || output.dir);
4758
4758
  return undefined;
4759
4759
  });
4760
4760
  const watchOptions = this.options.watch || {};
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/native.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const { existsSync } = require('node:fs');
2
- const { join } = require('node:path');
2
+ const path = require('node:path');
3
3
  const { platform, arch, report } = require('node:process');
4
4
 
5
5
  const isMusl = () => !report.getReport().header.glibcVersionRuntime;
@@ -14,9 +14,9 @@ const bindingsByPlatformAndArch = {
14
14
  x64: { base: 'darwin-x64' }
15
15
  },
16
16
  linux: {
17
- arm: { base: 'linux-arm-gnueabihf', musl: null },
17
+ arm: { base: 'linux-arm-gnueabihf', musl: 'linux-arm-musleabihf' },
18
18
  arm64: { base: 'linux-arm64-gnu', musl: 'linux-arm64-musl' },
19
- ppc64le: { base: 'linux-powerpc64le-gnu', musl: null },
19
+ ppc64: { base: 'linux-powerpc64le-gnu', musl: null },
20
20
  riscv64: { base: 'linux-riscv64-gnu', musl: null },
21
21
  s390x: { base: 'linux-s390x-gnu', musl: null },
22
22
  x64: { base: 'linux-x64-gnu', musl: 'linux-x64-musl' }
@@ -66,7 +66,7 @@ const requireWithFriendlyError = id => {
66
66
  };
67
67
 
68
68
  const { parse, parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } = requireWithFriendlyError(
69
- existsSync(join(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
69
+ existsSync(path.join(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
70
70
  );
71
71
 
72
72
  function getPackageBase() {
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
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.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -10,7 +10,7 @@
10
10
  'use strict';
11
11
 
12
12
  const promises = require('node:fs/promises');
13
- const node_path = require('node:path');
13
+ const path = require('node:path');
14
14
  const process$1 = require('node:process');
15
15
  const node_url = require('node:url');
16
16
  const rollup = require('./rollup.js');
@@ -384,11 +384,11 @@ async function loadAndRegisterPlugin(inputOptions, pluginText) {
384
384
  if (!plugin) {
385
385
  try {
386
386
  if (pluginText[0] == '.')
387
- pluginText = node_path.resolve(pluginText);
387
+ pluginText = path.resolve(pluginText);
388
388
  // Windows absolute paths must be specified as file:// protocol URL
389
389
  // Note that we do not have coverage for Windows-only code paths
390
390
  else if (/^[A-Za-z]:\\/.test(pluginText)) {
391
- pluginText = node_url.pathToFileURL(node_path.resolve(pluginText)).href;
391
+ pluginText = node_url.pathToFileURL(path.resolve(pluginText)).href;
392
392
  }
393
393
  plugin = await requireOrImport(pluginText);
394
394
  }
@@ -490,7 +490,7 @@ async function loadTranspiledConfigFile(fileName, commandOptions) {
490
490
  const { bundleConfigAsCjs, configPlugin, silent } = commandOptions;
491
491
  const warnings = batchWarnings(commandOptions);
492
492
  const inputOptions = {
493
- external: (id) => (id[0] !== '.' && !node_path.isAbsolute(id)) || id.slice(-5, id.length) === '.json',
493
+ external: (id) => (id[0] !== '.' && !path.isAbsolute(id)) || id.slice(-5, id.length) === '.json',
494
494
  input: fileName,
495
495
  onwarn: warnings.add,
496
496
  plugins: [],
@@ -519,7 +519,7 @@ async function loadTranspiledConfigFile(fileName, commandOptions) {
519
519
  rollup.stderr(rollup.bold(`loaded ${parseAst_js.relativeId(fileName)} with warnings`));
520
520
  warnings.flush();
521
521
  }
522
- return loadConfigFromWrittenFile(node_path.join(node_path.dirname(fileName), `rollup.config-${Date.now()}.${bundleConfigAsCjs ? 'cjs' : 'mjs'}`), code);
522
+ return loadConfigFromWrittenFile(path.join(path.dirname(fileName), `rollup.config-${Date.now()}.${bundleConfigAsCjs ? 'cjs' : 'mjs'}`), code);
523
523
  }
524
524
  async function loadConfigFromWrittenFile(bundledFileName, bundledCode) {
525
525
  await promises.writeFile(bundledFileName, bundledCode);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -10,7 +10,7 @@
10
10
  'use strict';
11
11
 
12
12
  const native_js = require('../native.js');
13
- const node_path = require('node:path');
13
+ const path = require('node:path');
14
14
 
15
15
  /** @typedef {import('./types').Location} Location */
16
16
 
@@ -192,13 +192,13 @@ function relative(from, to) {
192
192
  }
193
193
 
194
194
  function getAliasName(id) {
195
- const base = node_path.basename(id);
196
- return base.slice(0, Math.max(0, base.length - node_path.extname(id).length));
195
+ const base = path.basename(id);
196
+ return base.slice(0, Math.max(0, base.length - path.extname(id).length));
197
197
  }
198
198
  function relativeId(id) {
199
199
  if (!isAbsolute(id))
200
200
  return id;
201
- return relative(node_path.resolve(), id);
201
+ return relative(path.resolve(), id);
202
202
  }
203
203
  function isPathFragment(name) {
204
204
  // starting with "/", "./", "../", "C:/"
@@ -210,15 +210,15 @@ function getImportPath(importerId, targetPath, stripJsExtension, ensureFileName)
210
210
  targetPath = targetPath.slice(3);
211
211
  importerId = '_/' + importerId;
212
212
  }
213
- let relativePath = normalize(relative(node_path.dirname(importerId), targetPath));
213
+ let relativePath = normalize(relative(path.dirname(importerId), targetPath));
214
214
  if (stripJsExtension && relativePath.endsWith('.js')) {
215
215
  relativePath = relativePath.slice(0, -3);
216
216
  }
217
217
  if (ensureFileName) {
218
218
  if (relativePath === '')
219
- return '../' + node_path.basename(targetPath);
219
+ return '../' + path.basename(targetPath);
220
220
  if (UPPER_DIR_REGEX.test(relativePath)) {
221
- return [...relativePath.split('/'), '..', node_path.basename(targetPath)].join('/');
221
+ return [...relativePath.split('/'), '..', path.basename(targetPath)].join('/');
222
222
  }
223
223
  }
224
224
  return relativePath ? (relativePath.startsWith('..') ? relativePath : './' + relativePath) : '.';
@@ -683,7 +683,7 @@ function logMissingEntryExport(binding, exporter) {
683
683
  };
684
684
  }
685
685
  function logMissingExport(binding, importingModule, exporter) {
686
- const isJson = node_path.extname(exporter) === '.json';
686
+ const isJson = path.extname(exporter) === '.json';
687
687
  return {
688
688
  binding,
689
689
  code: MISSING_EXPORT,
@@ -1015,7 +1015,7 @@ const Property = 'Property';
1015
1015
  const ReturnStatement = 'ReturnStatement';
1016
1016
  const TemplateLiteral = 'TemplateLiteral';
1017
1017
 
1018
- // This file is generated by scripts/generate-string-constant.js.
1018
+ // This file is generated by scripts/generate-string-constants.js.
1019
1019
  // Do not edit this file directly.
1020
1020
  const FIXED_STRINGS = [
1021
1021
  'var',
@@ -1107,7 +1107,7 @@ const convertString = (position, buffer, readString) => {
1107
1107
  return readString(bytePosition, length);
1108
1108
  };
1109
1109
 
1110
- // This file is generated by scripts/generate-ast-converters.js.
1110
+ // This file is generated by scripts/generate-buffer-to-ast.js.
1111
1111
  // Do not edit this file directly.
1112
1112
  function convertProgram(buffer, readString) {
1113
1113
  const node = convertNode(0, new Uint32Array(buffer), readString);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -12,7 +12,7 @@
12
12
  const parseAst_js = require('./parseAst.js');
13
13
  const process$1 = require('node:process');
14
14
  const tty = require('tty');
15
- const node_path = require('node:path');
15
+ const path$2 = require('node:path');
16
16
  const require$$0$1 = require('path');
17
17
  const native_js = require('../native.js');
18
18
  const node_perf_hooks = require('node:perf_hooks');
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
31
31
 
32
32
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
33
 
34
- var version = "4.14.1";
34
+ var version = "4.14.3";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -195,7 +195,7 @@ function renderNamePattern(pattern, patternName, replacements) {
195
195
  function makeUnique(name, { [lowercaseBundleKeys]: reservedLowercaseBundleKeys }) {
196
196
  if (!reservedLowercaseBundleKeys.has(name.toLowerCase()))
197
197
  return name;
198
- const extension = node_path.extname(name);
198
+ const extension = path$2.extname(name);
199
199
  name = name.slice(0, Math.max(0, name.length - extension.length));
200
200
  let uniqueName, uniqueIndex = 1;
201
201
  while (reservedLowercaseBundleKeys.has((uniqueName = name + ++uniqueIndex + extension).toLowerCase()))
@@ -208,10 +208,10 @@ function generateAssetFileName(name, source, sourceHash, outputOptions, bundle)
208
208
  return makeUnique(renderNamePattern(typeof outputOptions.assetFileNames === 'function'
209
209
  ? outputOptions.assetFileNames({ name, source, type: 'asset' })
210
210
  : outputOptions.assetFileNames, 'output.assetFileNames', {
211
- ext: () => node_path.extname(emittedName).slice(1),
212
- extname: () => node_path.extname(emittedName),
211
+ ext: () => path$2.extname(emittedName).slice(1),
212
+ extname: () => path$2.extname(emittedName),
213
213
  hash: size => sourceHash.slice(0, Math.max(0, size || DEFAULT_HASH_SIZE)),
214
- name: () => emittedName.slice(0, Math.max(0, emittedName.length - node_path.extname(emittedName).length))
214
+ name: () => emittedName.slice(0, Math.max(0, emittedName.length - path$2.extname(emittedName).length))
215
215
  }), bundle);
216
216
  }
217
217
  function reserveFileNameInBundle(fileName, { bundle }, log) {
@@ -3218,7 +3218,7 @@ class ExternalChunk {
3218
3218
  const { paths } = this.options;
3219
3219
  return (this.fileName =
3220
3220
  (typeof paths === 'function' ? paths(this.id) : paths[this.id]) ||
3221
- (this.renormalizeRenderPath ? parseAst_js.normalize(node_path.relative(this.inputBase, this.id)) : this.id));
3221
+ (this.renormalizeRenderPath ? parseAst_js.normalize(path$2.relative(this.inputBase, this.id)) : this.id));
3222
3222
  }
3223
3223
  getImportAttributes(snippets) {
3224
3224
  return (this.importAttributes ||= formatAttributes(this.options.format === 'es' &&
@@ -6093,7 +6093,7 @@ function getMemberReturnExpressionWhenCalled(members, memberName) {
6093
6093
  return [members[memberName].returns, false];
6094
6094
  }
6095
6095
 
6096
- // This file is generated by scripts/generate-ast-converters.js.
6096
+ // This file is generated by scripts/generate-child-node-keys.js.
6097
6097
  // Do not edit this file directly.
6098
6098
  const childNodeKeys = {
6099
6099
  ArrayExpression: ['elements'],
@@ -12379,7 +12379,7 @@ class MetaProperty extends NodeBase {
12379
12379
  const chunkId = preliminaryChunkId;
12380
12380
  if (referenceId) {
12381
12381
  const fileName = pluginDriver.getFileName(referenceId);
12382
- const relativePath = parseAst_js.normalize(node_path.relative(node_path.dirname(chunkId), fileName));
12382
+ const relativePath = parseAst_js.normalize(path$2.relative(path$2.dirname(chunkId), fileName));
12383
12383
  const replacement = pluginDriver.hookFirstSync('resolveFileUrl', [
12384
12384
  { chunkId, fileName, format, moduleId, referenceId, relativePath }
12385
12385
  ]) || relativeUrlMechanisms[format](relativePath);
@@ -13667,7 +13667,7 @@ class YieldExpression extends NodeBase {
13667
13667
  }
13668
13668
  }
13669
13669
 
13670
- // This file is generated by scripts/generate-ast-converters.js.
13670
+ // This file is generated by scripts/generate-buffer-parsers.js.
13671
13671
  // Do not edit this file directly.
13672
13672
  function convertProgram(buffer, parent, parentScope) {
13673
13673
  return convertNode(parent, parentScope, 0, new Uint32Array(buffer.buffer), parseAst_js.getReadStringFunction(buffer));
@@ -15095,8 +15095,8 @@ class Module {
15095
15095
  };
15096
15096
  }
15097
15097
  basename() {
15098
- const base = node_path.basename(this.id);
15099
- const extension = node_path.extname(this.id);
15098
+ const base = path$2.basename(this.id);
15099
+ const extension = path$2.extname(this.id);
15100
15100
  return makeLegal(extension ? base.slice(0, -extension.length) : base);
15101
15101
  }
15102
15102
  bindReferences() {
@@ -17300,7 +17300,7 @@ class Chunk {
17300
17300
  let hashPlaceholder = null;
17301
17301
  const { chunkFileNames, entryFileNames, file, format, preserveModules } = this.outputOptions;
17302
17302
  if (file) {
17303
- fileName = node_path.basename(file);
17303
+ fileName = path$2.basename(file);
17304
17304
  }
17305
17305
  else if (this.fileName === null) {
17306
17306
  const [pattern, patternName] = preserveModules || this.facadeModule?.isUserDefinedEntryPoint
@@ -17398,15 +17398,15 @@ class Chunk {
17398
17398
  const renderedExports = exportMode === 'none' ? [] : this.getChunkExportDeclarations(format);
17399
17399
  let hasExports = renderedExports.length > 0;
17400
17400
  let hasDefaultExport = false;
17401
- for (const renderedDependence of renderedDependencies) {
17402
- const { reexports } = renderedDependence;
17401
+ for (const renderedDependency of renderedDependencies) {
17402
+ const { reexports } = renderedDependency;
17403
17403
  if (reexports?.length) {
17404
17404
  hasExports = true;
17405
17405
  if (!hasDefaultExport && reexports.some(reexport => reexport.reexported === 'default')) {
17406
17406
  hasDefaultExport = true;
17407
17407
  }
17408
17408
  if (format === 'es') {
17409
- renderedDependence.reexports = reexports.filter(
17409
+ renderedDependency.reexports = reexports.filter(
17410
17410
  // eslint-disable-next-line unicorn/prefer-array-some
17411
17411
  ({ reexported }) => !renderedExports.find(({ exported }) => exported === reexported));
17412
17412
  }
@@ -17613,8 +17613,13 @@ class Chunk {
17613
17613
  deconflictedDefault.add(chunk);
17614
17614
  }
17615
17615
  }
17616
- else if (variable.name === '*' &&
17617
- namespaceInteropHelpersByInteropType[interop(module.id)]) {
17616
+ else if (variable.isNamespace &&
17617
+ namespaceInteropHelpersByInteropType[interop(module.id)] &&
17618
+ (this.imports.has(variable) ||
17619
+ !this.exportNamesByVariable.get(variable)?.every(name => name.startsWith('*')))) {
17620
+ // We only need to deconflict it if the namespace is actually
17621
+ // created as a variable, i.e. because it is used internally or
17622
+ // because it is reexported as an object
17618
17623
  deconflictedNamespace.add(chunk);
17619
17624
  }
17620
17625
  }
@@ -17748,17 +17753,17 @@ class Chunk {
17748
17753
  return predefinedChunkName;
17749
17754
  const { preserveModulesRoot, sanitizeFileName } = this.outputOptions;
17750
17755
  const sanitizedId = sanitizeFileName(parseAst_js.normalize(module.id.split(QUERY_HASH_REGEX, 1)[0]));
17751
- const extensionName = node_path.extname(sanitizedId);
17756
+ const extensionName = path$2.extname(sanitizedId);
17752
17757
  const idWithoutExtension = NON_ASSET_EXTENSIONS.has(extensionName)
17753
17758
  ? sanitizedId.slice(0, -extensionName.length)
17754
17759
  : sanitizedId;
17755
17760
  if (parseAst_js.isAbsolute(idWithoutExtension)) {
17756
- return preserveModulesRoot && node_path.resolve(idWithoutExtension).startsWith(preserveModulesRoot)
17761
+ return preserveModulesRoot && path$2.resolve(idWithoutExtension).startsWith(preserveModulesRoot)
17757
17762
  ? idWithoutExtension.slice(preserveModulesRoot.length).replace(/^[/\\]/, '')
17758
17763
  : parseAst_js.relative(this.inputBase, idWithoutExtension);
17759
17764
  }
17760
17765
  else {
17761
- return `_virtual/${node_path.basename(idWithoutExtension)}`;
17766
+ return `_virtual/${path$2.basename(idWithoutExtension)}`;
17762
17767
  }
17763
17768
  }
17764
17769
  getReexportSpecifiers() {
@@ -17828,23 +17833,25 @@ class Chunk {
17828
17833
  const reexportSpecifiers = this.getReexportSpecifiers();
17829
17834
  const renderedDependencies = new Map();
17830
17835
  const fileName = this.getFileName();
17831
- for (const dep of this.dependencies) {
17832
- const imports = importSpecifiers.get(dep) || null;
17833
- const reexports = reexportSpecifiers.get(dep) || null;
17834
- const namedExportsMode = dep instanceof ExternalChunk || dep.exportMode !== 'default';
17835
- const importPath = dep.getImportPath(fileName);
17836
- renderedDependencies.set(dep, {
17837
- attributes: dep instanceof ExternalChunk ? dep.getImportAttributes(this.snippets) : null,
17838
- defaultVariableName: dep.defaultVariableName,
17839
- globalName: dep instanceof ExternalChunk &&
17836
+ for (const dependency of this.dependencies) {
17837
+ const imports = importSpecifiers.get(dependency) || null;
17838
+ const reexports = reexportSpecifiers.get(dependency) || null;
17839
+ const namedExportsMode = dependency instanceof ExternalChunk || dependency.exportMode !== 'default';
17840
+ const importPath = dependency.getImportPath(fileName);
17841
+ renderedDependencies.set(dependency, {
17842
+ attributes: dependency instanceof ExternalChunk
17843
+ ? dependency.getImportAttributes(this.snippets)
17844
+ : null,
17845
+ defaultVariableName: dependency.defaultVariableName,
17846
+ globalName: dependency instanceof ExternalChunk &&
17840
17847
  (this.outputOptions.format === 'umd' || this.outputOptions.format === 'iife') &&
17841
- getGlobalName(dep, this.outputOptions.globals, (imports || reexports) !== null, this.inputOptions.onLog),
17848
+ getGlobalName(dependency, this.outputOptions.globals, (imports || reexports) !== null, this.inputOptions.onLog),
17842
17849
  importPath,
17843
17850
  imports,
17844
- isChunk: dep instanceof Chunk,
17845
- name: dep.variableName,
17851
+ isChunk: dependency instanceof Chunk,
17852
+ name: dependency.variableName,
17846
17853
  namedExportsMode,
17847
- namespaceVariableName: dep.namespaceVariableName,
17854
+ namespaceVariableName: dependency.namespaceVariableName,
17848
17855
  reexports
17849
17856
  });
17850
17857
  }
@@ -18739,7 +18746,7 @@ function commondir(files) {
18739
18746
  if (files.length === 0)
18740
18747
  return '/';
18741
18748
  if (files.length === 1)
18742
- return node_path.dirname(files[0]);
18749
+ return path$2.dirname(files[0]);
18743
18750
  const commonSegments = files.slice(1).reduce((commonSegments, file) => {
18744
18751
  const pathSegments = file.split(/\/+|\\+/);
18745
18752
  let index;
@@ -18756,6 +18763,13 @@ const compareExecIndex = (unitA, unitB) => unitA.execIndex > unitB.execIndex ? 1
18756
18763
  function sortByExecutionOrder(units) {
18757
18764
  units.sort(compareExecIndex);
18758
18765
  }
18766
+ // This process is currently faulty in so far as it only takes the first entry
18767
+ // module into account and assumes that dynamic imports are imported in a
18768
+ // certain order.
18769
+ // A better algorithm would follow every possible execution path and mark which
18770
+ // modules are executed before or after which other modules. THen the chunking
18771
+ // would need to take care that in each chunk, all modules are always executed
18772
+ // in the same sequence.
18759
18773
  function analyseModuleExecution(entryModules) {
18760
18774
  let nextExecIndex = 0;
18761
18775
  const cyclePaths = [];
@@ -18990,9 +19004,9 @@ function getCollapsedSourcemap(id, originalCode, originalSourcemap, sourcemapCha
18990
19004
  if (originalSourcemap) {
18991
19005
  const sources = originalSourcemap.sources;
18992
19006
  const sourcesContent = originalSourcemap.sourcesContent || [];
18993
- const directory = node_path.dirname(id) || '.';
19007
+ const directory = path$2.dirname(id) || '.';
18994
19008
  const sourceRoot = originalSourcemap.sourceRoot || '.';
18995
- const baseSources = sources.map((source, index) => new Source(node_path.resolve(directory, sourceRoot, source), sourcesContent[index]));
19009
+ const baseSources = sources.map((source, index) => new Source(path$2.resolve(directory, sourceRoot, source), sourcesContent[index]));
18996
19010
  source = new Link(originalSourcemap, baseSources);
18997
19011
  }
18998
19012
  else {
@@ -19009,9 +19023,9 @@ function collapseSourcemaps(file, map, modules, bundleSourcemapChain, excludeCon
19009
19023
  const source = bundleSourcemapChain.reduce(linkMap, link);
19010
19024
  let { sources, sourcesContent, names, mappings } = source.traceMappings();
19011
19025
  if (file) {
19012
- const directory = node_path.dirname(file);
19013
- sources = sources.map((source) => node_path.relative(directory, source));
19014
- file = node_path.basename(file);
19026
+ const directory = path$2.dirname(file);
19027
+ sources = sources.map((source) => path$2.relative(directory, source));
19028
+ file = path$2.basename(file);
19015
19029
  }
19016
19030
  sourcesContent = (excludeContent ? null : sourcesContent);
19017
19031
  for (const module of modules) {
@@ -19085,11 +19099,11 @@ async function transformChunk(magicString, fileName, usedModules, chunkGraph, op
19085
19099
  timeStart('sourcemaps', 3);
19086
19100
  let resultingFile;
19087
19101
  if (file)
19088
- resultingFile = node_path.resolve(sourcemapFile || file);
19102
+ resultingFile = path$2.resolve(sourcemapFile || file);
19089
19103
  else if (dir)
19090
- resultingFile = node_path.resolve(dir, fileName);
19104
+ resultingFile = path$2.resolve(dir, fileName);
19091
19105
  else
19092
- resultingFile = node_path.resolve(fileName);
19106
+ resultingFile = path$2.resolve(fileName);
19093
19107
  const decodedMap = magicString.generateDecodedMap({});
19094
19108
  map = collapseSourcemaps(resultingFile, decodedMap, usedModules, sourcemapChain, sourcemapExcludeSources, log);
19095
19109
  for (let sourcesIndex = 0; sourcesIndex < map.sources.length; ++sourcesIndex) {
@@ -19235,7 +19249,7 @@ function emitSourceMapAndGetComment(fileName, map, pluginDriver, { sourcemap, so
19235
19249
  url = map.toUrl();
19236
19250
  }
19237
19251
  else {
19238
- const sourcemapFileName = node_path.basename(fileName);
19252
+ const sourcemapFileName = path$2.basename(fileName);
19239
19253
  url = sourcemapBaseUrl
19240
19254
  ? new URL(sourcemapFileName, sourcemapBaseUrl).toString()
19241
19255
  : sourcemapFileName;
@@ -19509,7 +19523,7 @@ async function resolveId(source, importer, preserveSymlinks, pluginDriver, modul
19509
19523
  // absolute path is created. Absolute importees therefore shortcircuit the
19510
19524
  // resolve call and require no special handing on our part.
19511
19525
  // See https://nodejs.org/api/path.html#path_path_resolve_paths
19512
- return addJsExtensionIfNecessary(importer ? node_path.resolve(node_path.dirname(importer), source) : node_path.resolve(source), preserveSymlinks);
19526
+ return addJsExtensionIfNecessary(importer ? path$2.resolve(path$2.dirname(importer), source) : path$2.resolve(source), preserveSymlinks);
19513
19527
  }
19514
19528
  async function addJsExtensionIfNecessary(file, preserveSymlinks) {
19515
19529
  return ((await findFile(file, preserveSymlinks)) ??
@@ -19523,8 +19537,8 @@ async function findFile(file, preserveSymlinks) {
19523
19537
  return await findFile(await promises.realpath(file), preserveSymlinks);
19524
19538
  if ((preserveSymlinks && stats.isSymbolicLink()) || stats.isFile()) {
19525
19539
  // check case
19526
- const name = node_path.basename(file);
19527
- const files = await promises.readdir(node_path.dirname(file));
19540
+ const name = path$2.basename(file);
19541
+ const files = await promises.readdir(path$2.dirname(file));
19528
19542
  if (files.includes(name))
19529
19543
  return file;
19530
19544
  }
@@ -20080,8 +20094,8 @@ class ModuleLoader {
20080
20094
  function normalizeRelativeExternalId(source, importer) {
20081
20095
  return parseAst_js.isRelative(source)
20082
20096
  ? importer
20083
- ? node_path.resolve(importer, '..', source)
20084
- : node_path.resolve(source)
20097
+ ? path$2.resolve(importer, '..', source)
20098
+ : path$2.resolve(source)
20085
20099
  : source;
20086
20100
  }
20087
20101
  function addChunkNamesToModule(module, { fileName, name }, isUserDefined, priority) {
@@ -20469,7 +20483,7 @@ const getModuleContext = (config, context) => {
20469
20483
  if (configModuleContext) {
20470
20484
  const contextByModuleId = Object.create(null);
20471
20485
  for (const [key, moduleContext] of Object.entries(configModuleContext)) {
20472
- contextByModuleId[node_path.resolve(key)] = moduleContext;
20486
+ contextByModuleId[path$2.resolve(key)] = moduleContext;
20473
20487
  }
20474
20488
  return id => contextByModuleId[id] ?? context;
20475
20489
  }
@@ -20660,7 +20674,7 @@ const getPreserveModulesRoot = (config) => {
20660
20674
  if (preserveModulesRoot === null || preserveModulesRoot === undefined) {
20661
20675
  return undefined;
20662
20676
  }
20663
- return node_path.resolve(preserveModulesRoot);
20677
+ return path$2.resolve(preserveModulesRoot);
20664
20678
  };
20665
20679
  const getAmd = (config) => {
20666
20680
  const mergedOption = {
@@ -20960,9 +20974,9 @@ function getSortingFileType(file) {
20960
20974
  return SortingFileType.SECONDARY_CHUNK;
20961
20975
  }
20962
20976
  async function writeOutputFile(outputFile, outputOptions) {
20963
- const fileName = node_path.resolve(outputOptions.dir || node_path.dirname(outputOptions.file), outputFile.fileName);
20977
+ const fileName = path$2.resolve(outputOptions.dir || path$2.dirname(outputOptions.file), outputFile.fileName);
20964
20978
  // 'recursive: true' does not throw if the folder structure, or parts of it, already exist
20965
- await promises.mkdir(node_path.dirname(fileName), { recursive: true });
20979
+ await promises.mkdir(path$2.dirname(fileName), { recursive: true });
20966
20980
  return promises.writeFile(fileName, outputFile.type === 'asset' ? outputFile.source : outputFile.code);
20967
20981
  }
20968
20982
  /**
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.14.1
4
- Sun, 07 Apr 2024 07:35:08 GMT - commit 0b665c31833525c923c0fc20f43ebfca748c6670
3
+ Rollup.js v4.14.3
4
+ Mon, 15 Apr 2024 07:18:00 GMT - commit e64f3d8d0cdc561f00d3efe503e3081f81889679
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -11,7 +11,7 @@
11
11
 
12
12
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
13
13
 
14
- const node_path = require('node:path');
14
+ const path = require('node:path');
15
15
  const process = require('node:process');
16
16
  const rollup = require('./rollup.js');
17
17
  const node_os = require('node:os');
@@ -205,7 +205,7 @@ class Task {
205
205
  this.outputs = this.options.output;
206
206
  this.outputFiles = this.outputs.map(output => {
207
207
  if (output.file || output.dir)
208
- return node_path.resolve(output.file || output.dir);
208
+ return path.resolve(output.file || output.dir);
209
209
  return undefined;
210
210
  });
211
211
  const watchOptions = this.options.watch || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "4.14.1",
3
+ "version": "4.14.3",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -23,6 +23,7 @@
23
23
  "aarch64-unknown-linux-musl",
24
24
  "armv7-linux-androideabi",
25
25
  "armv7-unknown-linux-gnueabihf",
26
+ "armv7-unknown-linux-musleabihf",
26
27
  "i686-pc-windows-msvc",
27
28
  "riscv64gc-unknown-linux-gnu",
28
29
  "powerpc64le-unknown-linux-gnu",
@@ -103,21 +104,22 @@
103
104
  "homepage": "https://rollupjs.org/",
104
105
  "optionalDependencies": {
105
106
  "fsevents": "~2.3.2",
106
- "@rollup/rollup-darwin-arm64": "4.14.1",
107
- "@rollup/rollup-android-arm64": "4.14.1",
108
- "@rollup/rollup-win32-arm64-msvc": "4.14.1",
109
- "@rollup/rollup-linux-arm64-gnu": "4.14.1",
110
- "@rollup/rollup-linux-arm64-musl": "4.14.1",
111
- "@rollup/rollup-android-arm-eabi": "4.14.1",
112
- "@rollup/rollup-linux-arm-gnueabihf": "4.14.1",
113
- "@rollup/rollup-win32-ia32-msvc": "4.14.1",
114
- "@rollup/rollup-linux-riscv64-gnu": "4.14.1",
115
- "@rollup/rollup-linux-powerpc64le-gnu": "4.14.1",
116
- "@rollup/rollup-linux-s390x-gnu": "4.14.1",
117
- "@rollup/rollup-darwin-x64": "4.14.1",
118
- "@rollup/rollup-win32-x64-msvc": "4.14.1",
119
- "@rollup/rollup-linux-x64-gnu": "4.14.1",
120
- "@rollup/rollup-linux-x64-musl": "4.14.1"
107
+ "@rollup/rollup-darwin-arm64": "4.14.3",
108
+ "@rollup/rollup-android-arm64": "4.14.3",
109
+ "@rollup/rollup-win32-arm64-msvc": "4.14.3",
110
+ "@rollup/rollup-linux-arm64-gnu": "4.14.3",
111
+ "@rollup/rollup-linux-arm64-musl": "4.14.3",
112
+ "@rollup/rollup-android-arm-eabi": "4.14.3",
113
+ "@rollup/rollup-linux-arm-gnueabihf": "4.14.3",
114
+ "@rollup/rollup-linux-arm-musleabihf": "4.14.3",
115
+ "@rollup/rollup-win32-ia32-msvc": "4.14.3",
116
+ "@rollup/rollup-linux-riscv64-gnu": "4.14.3",
117
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.14.3",
118
+ "@rollup/rollup-linux-s390x-gnu": "4.14.3",
119
+ "@rollup/rollup-darwin-x64": "4.14.3",
120
+ "@rollup/rollup-win32-x64-msvc": "4.14.3",
121
+ "@rollup/rollup-linux-x64-gnu": "4.14.3",
122
+ "@rollup/rollup-linux-x64-musl": "4.14.3"
121
123
  },
122
124
  "dependencies": {
123
125
  "@types/estree": "1.0.5"
@@ -135,7 +137,7 @@
135
137
  "@codemirror/view": "^6.26.1",
136
138
  "@jridgewell/sourcemap-codec": "^1.4.15",
137
139
  "@mermaid-js/mermaid-cli": "^10.8.0",
138
- "@napi-rs/cli": "^2.18.0",
140
+ "@napi-rs/cli": "^2.18.1",
139
141
  "@rollup/plugin-alias": "^5.1.0",
140
142
  "@rollup/plugin-buble": "^1.0.3",
141
143
  "@rollup/plugin-commonjs": "^25.0.7",
@@ -145,14 +147,14 @@
145
147
  "@rollup/plugin-terser": "^0.4.4",
146
148
  "@rollup/plugin-typescript": "^11.1.6",
147
149
  "@rollup/pluginutils": "^5.1.0",
148
- "@shikijs/vitepress-twoslash": "^1.2.3",
150
+ "@shikijs/vitepress-twoslash": "^1.2.4",
149
151
  "@types/eslint": "^8.56.7",
150
152
  "@types/inquirer": "^9.0.7",
151
153
  "@types/mocha": "^10.0.6",
152
154
  "@types/node": "~18.18.14",
153
155
  "@types/yargs-parser": "^21.0.3",
154
- "@typescript-eslint/eslint-plugin": "^7.5.0",
155
- "@typescript-eslint/parser": "^7.5.0",
156
+ "@typescript-eslint/eslint-plugin": "^7.6.0",
157
+ "@typescript-eslint/parser": "^7.6.0",
156
158
  "@vue/eslint-config-prettier": "^9.0.0",
157
159
  "@vue/eslint-config-typescript": "^13.0.0",
158
160
  "acorn": "^8.11.3",
@@ -170,8 +172,8 @@
170
172
  "eslint-config-prettier": "^9.1.0",
171
173
  "eslint-plugin-import": "^2.29.1",
172
174
  "eslint-plugin-prettier": "^5.1.3",
173
- "eslint-plugin-unicorn": "^51.0.1",
174
- "eslint-plugin-vue": "^9.24.0",
175
+ "eslint-plugin-unicorn": "^52.0.0",
176
+ "eslint-plugin-vue": "^9.24.1",
175
177
  "fixturify": "^3.0.0",
176
178
  "flru": "^1.0.2",
177
179
  "fs-extra": "^11.2.0",
@@ -181,7 +183,7 @@
181
183
  "is-reference": "^3.0.2",
182
184
  "lint-staged": "^15.2.2",
183
185
  "locate-character": "^3.0.0",
184
- "magic-string": "^0.30.8",
186
+ "magic-string": "^0.30.9",
185
187
  "mocha": "^10.4.0",
186
188
  "nyc": "^15.1.0",
187
189
  "pinia": "^2.1.7",
@@ -189,7 +191,7 @@
189
191
  "pretty-bytes": "^6.1.1",
190
192
  "pretty-ms": "^9.0.0",
191
193
  "requirejs": "^2.3.6",
192
- "rollup": "^4.13.2",
194
+ "rollup": "^4.14.1",
193
195
  "rollup-plugin-license": "^3.3.1",
194
196
  "rollup-plugin-string": "^3.0.0",
195
197
  "semver": "^7.6.0",
@@ -198,10 +200,10 @@
198
200
  "source-map": "^0.7.4",
199
201
  "source-map-support": "^0.5.21",
200
202
  "systemjs": "^6.14.3",
201
- "terser": "^5.30.1",
203
+ "terser": "^5.30.3",
202
204
  "tslib": "^2.6.2",
203
- "typescript": "^5.4.3",
204
- "vite": "^5.2.7",
205
+ "typescript": "^5.4.4",
206
+ "vite": "^5.2.8",
205
207
  "vitepress": "^1.0.2",
206
208
  "vue": "^3.4.21",
207
209
  "wasm-pack": "^0.12.1",