@rollup/wasm-node 4.34.4 → 4.34.5

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.34.4
5
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
4
+ Rollup.js v4.34.5
5
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -15,7 +15,7 @@ import process$1, { env } from 'node:process';
15
15
  import { performance } from 'node:perf_hooks';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
 
18
- var version = "4.34.4";
18
+ var version = "4.34.5";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -16486,6 +16486,7 @@ class Module {
16486
16486
  this.sideEffectDependenciesByVariable = new Map();
16487
16487
  this.sourcesWithAttributes = new Map();
16488
16488
  this.allExportNames = null;
16489
+ this.allExportsIncluded = false;
16489
16490
  this.ast = null;
16490
16491
  this.exportAllModules = [];
16491
16492
  this.exportAllSources = new Set();
@@ -16827,6 +16828,9 @@ class Module {
16827
16828
  this.ast.include(context, false);
16828
16829
  }
16829
16830
  includeAllExports(includeNamespaceMembers) {
16831
+ if (this.allExportsIncluded)
16832
+ return;
16833
+ this.allExportsIncluded = true;
16830
16834
  if (!this.isExecuted) {
16831
16835
  markModuleAndImpureDependenciesAsExecuted(this);
16832
16836
  this.graph.needsTreeshakingPass = true;
@@ -16846,9 +16850,7 @@ class Module {
16846
16850
  const [variable] = this.getVariableForExportName(name);
16847
16851
  if (variable) {
16848
16852
  variable.deoptimizePath(UNKNOWN_PATH);
16849
- if (!variable.included) {
16850
- this.includeVariable(variable, UNKNOWN_PATH, inclusionContext);
16851
- }
16853
+ this.includeVariable(variable, UNKNOWN_PATH, inclusionContext);
16852
16854
  if (variable instanceof ExternalVariable) {
16853
16855
  variable.module.reexported = true;
16854
16856
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
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.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -17,7 +17,7 @@ const native_js = require('../native.js');
17
17
  const node_perf_hooks = require('node:perf_hooks');
18
18
  const promises = require('node:fs/promises');
19
19
 
20
- var version = "4.34.4";
20
+ var version = "4.34.5";
21
21
 
22
22
  function ensureArray$1(items) {
23
23
  if (Array.isArray(items)) {
@@ -17947,6 +17947,7 @@ class Module {
17947
17947
  this.sideEffectDependenciesByVariable = new Map();
17948
17948
  this.sourcesWithAttributes = new Map();
17949
17949
  this.allExportNames = null;
17950
+ this.allExportsIncluded = false;
17950
17951
  this.ast = null;
17951
17952
  this.exportAllModules = [];
17952
17953
  this.exportAllSources = new Set();
@@ -18288,6 +18289,9 @@ class Module {
18288
18289
  this.ast.include(context, false);
18289
18290
  }
18290
18291
  includeAllExports(includeNamespaceMembers) {
18292
+ if (this.allExportsIncluded)
18293
+ return;
18294
+ this.allExportsIncluded = true;
18291
18295
  if (!this.isExecuted) {
18292
18296
  markModuleAndImpureDependenciesAsExecuted(this);
18293
18297
  this.graph.needsTreeshakingPass = true;
@@ -18307,9 +18311,7 @@ class Module {
18307
18311
  const [variable] = this.getVariableForExportName(name);
18308
18312
  if (variable) {
18309
18313
  variable.deoptimizePath(UNKNOWN_PATH);
18310
- if (!variable.included) {
18311
- this.includeVariable(variable, UNKNOWN_PATH, inclusionContext);
18312
- }
18314
+ this.includeVariable(variable, UNKNOWN_PATH, inclusionContext);
18313
18315
  if (variable instanceof ExternalVariable) {
18314
18316
  variable.module.reexported = true;
18315
18317
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.4
4
- Wed, 05 Feb 2025 21:30:40 GMT - commit 19312a762c3cda56a0f6dc80a0887a4499db2257
3
+ Rollup.js v4.34.5
4
+ Fri, 07 Feb 2025 08:52:31 GMT - commit 3426b026e95319048dd5b703f2a0330c1c924e52
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.34.4",
3
+ "version": "4.34.5",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -36,10 +36,10 @@
36
36
  "@codemirror/lang-javascript": "^6.2.2",
37
37
  "@codemirror/language": "^6.10.8",
38
38
  "@codemirror/search": "^6.5.8",
39
- "@codemirror/state": "^6.5.1",
39
+ "@codemirror/state": "^6.5.2",
40
40
  "@codemirror/view": "^6.36.2",
41
41
  "@eslint/js": "^9.19.0",
42
- "@inquirer/prompts": "^7.2.3",
42
+ "@inquirer/prompts": "^7.3.1",
43
43
  "@jridgewell/sourcemap-codec": "^1.5.0",
44
44
  "@mermaid-js/mermaid-cli": "^11.4.2",
45
45
  "@napi-rs/cli": "^2.18.4",
@@ -52,9 +52,9 @@
52
52
  "@rollup/plugin-terser": "^0.4.4",
53
53
  "@rollup/plugin-typescript": "^12.1.2",
54
54
  "@rollup/pluginutils": "^5.1.4",
55
- "@shikijs/vitepress-twoslash": "^2.1.0",
55
+ "@shikijs/vitepress-twoslash": "^2.2.0",
56
56
  "@types/mocha": "^10.0.10",
57
- "@types/node": "^18.19.74",
57
+ "@types/node": "^18.19.75",
58
58
  "@types/semver": "^7.5.8",
59
59
  "@types/yargs-parser": "^21.0.3",
60
60
  "@vue/language-server": "^2.2.0",
@@ -96,10 +96,10 @@
96
96
  "pretty-bytes": "^6.1.1",
97
97
  "pretty-ms": "^9.2.0",
98
98
  "requirejs": "^2.3.7",
99
- "rollup": "^4.32.0",
99
+ "rollup": "^4.34.1",
100
100
  "rollup-plugin-license": "^3.5.3",
101
101
  "rollup-plugin-string": "^3.0.0",
102
- "semver": "^7.6.3",
102
+ "semver": "^7.7.1",
103
103
  "shx": "^0.3.4",
104
104
  "signal-exit": "^4.1.0",
105
105
  "source-map": "^0.7.4",
@@ -108,7 +108,7 @@
108
108
  "terser": "^5.37.0",
109
109
  "tslib": "^2.8.1",
110
110
  "typescript": "^5.7.3",
111
- "typescript-eslint": "^8.22.0",
111
+ "typescript-eslint": "^8.23.0",
112
112
  "vite": "^6.0.11",
113
113
  "vitepress": "^1.6.3",
114
114
  "vue": "^3.5.13",
@@ -118,7 +118,7 @@
118
118
  },
119
119
  "overrides": {
120
120
  "axios": "^1.7.9",
121
- "semver": "^7.6.3",
121
+ "semver": "^7.7.1",
122
122
  "readable-stream": "npm:@built-in/readable-stream@1"
123
123
  },
124
124
  "comments": {