rollup 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",
3
- "version": "4.34.4",
3
+ "version": "4.34.5",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -110,25 +110,25 @@
110
110
  "homepage": "https://rollupjs.org/",
111
111
  "optionalDependencies": {
112
112
  "fsevents": "~2.3.2",
113
- "@rollup/rollup-darwin-arm64": "4.34.4",
114
- "@rollup/rollup-android-arm64": "4.34.4",
115
- "@rollup/rollup-win32-arm64-msvc": "4.34.4",
116
- "@rollup/rollup-freebsd-arm64": "4.34.4",
117
- "@rollup/rollup-linux-arm64-gnu": "4.34.4",
118
- "@rollup/rollup-linux-arm64-musl": "4.34.4",
119
- "@rollup/rollup-android-arm-eabi": "4.34.4",
120
- "@rollup/rollup-linux-arm-gnueabihf": "4.34.4",
121
- "@rollup/rollup-linux-arm-musleabihf": "4.34.4",
122
- "@rollup/rollup-win32-ia32-msvc": "4.34.4",
123
- "@rollup/rollup-linux-loongarch64-gnu": "4.34.4",
124
- "@rollup/rollup-linux-riscv64-gnu": "4.34.4",
125
- "@rollup/rollup-linux-powerpc64le-gnu": "4.34.4",
126
- "@rollup/rollup-linux-s390x-gnu": "4.34.4",
127
- "@rollup/rollup-darwin-x64": "4.34.4",
128
- "@rollup/rollup-win32-x64-msvc": "4.34.4",
129
- "@rollup/rollup-freebsd-x64": "4.34.4",
130
- "@rollup/rollup-linux-x64-gnu": "4.34.4",
131
- "@rollup/rollup-linux-x64-musl": "4.34.4"
113
+ "@rollup/rollup-darwin-arm64": "4.34.5",
114
+ "@rollup/rollup-android-arm64": "4.34.5",
115
+ "@rollup/rollup-win32-arm64-msvc": "4.34.5",
116
+ "@rollup/rollup-freebsd-arm64": "4.34.5",
117
+ "@rollup/rollup-linux-arm64-gnu": "4.34.5",
118
+ "@rollup/rollup-linux-arm64-musl": "4.34.5",
119
+ "@rollup/rollup-android-arm-eabi": "4.34.5",
120
+ "@rollup/rollup-linux-arm-gnueabihf": "4.34.5",
121
+ "@rollup/rollup-linux-arm-musleabihf": "4.34.5",
122
+ "@rollup/rollup-win32-ia32-msvc": "4.34.5",
123
+ "@rollup/rollup-linux-loongarch64-gnu": "4.34.5",
124
+ "@rollup/rollup-linux-riscv64-gnu": "4.34.5",
125
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.34.5",
126
+ "@rollup/rollup-linux-s390x-gnu": "4.34.5",
127
+ "@rollup/rollup-darwin-x64": "4.34.5",
128
+ "@rollup/rollup-win32-x64-msvc": "4.34.5",
129
+ "@rollup/rollup-freebsd-x64": "4.34.5",
130
+ "@rollup/rollup-linux-x64-gnu": "4.34.5",
131
+ "@rollup/rollup-linux-x64-musl": "4.34.5"
132
132
  },
133
133
  "dependencies": {
134
134
  "@types/estree": "1.0.6"
@@ -141,10 +141,10 @@
141
141
  "@codemirror/lang-javascript": "^6.2.2",
142
142
  "@codemirror/language": "^6.10.8",
143
143
  "@codemirror/search": "^6.5.8",
144
- "@codemirror/state": "^6.5.1",
144
+ "@codemirror/state": "^6.5.2",
145
145
  "@codemirror/view": "^6.36.2",
146
146
  "@eslint/js": "^9.19.0",
147
- "@inquirer/prompts": "^7.2.3",
147
+ "@inquirer/prompts": "^7.3.1",
148
148
  "@jridgewell/sourcemap-codec": "^1.5.0",
149
149
  "@mermaid-js/mermaid-cli": "^11.4.2",
150
150
  "@napi-rs/cli": "^2.18.4",
@@ -157,9 +157,9 @@
157
157
  "@rollup/plugin-terser": "^0.4.4",
158
158
  "@rollup/plugin-typescript": "^12.1.2",
159
159
  "@rollup/pluginutils": "^5.1.4",
160
- "@shikijs/vitepress-twoslash": "^2.1.0",
160
+ "@shikijs/vitepress-twoslash": "^2.2.0",
161
161
  "@types/mocha": "^10.0.10",
162
- "@types/node": "^18.19.74",
162
+ "@types/node": "^18.19.75",
163
163
  "@types/semver": "^7.5.8",
164
164
  "@types/yargs-parser": "^21.0.3",
165
165
  "@vue/language-server": "^2.2.0",
@@ -201,10 +201,10 @@
201
201
  "pretty-bytes": "^6.1.1",
202
202
  "pretty-ms": "^9.2.0",
203
203
  "requirejs": "^2.3.7",
204
- "rollup": "^4.32.0",
204
+ "rollup": "^4.34.1",
205
205
  "rollup-plugin-license": "^3.5.3",
206
206
  "rollup-plugin-string": "^3.0.0",
207
- "semver": "^7.6.3",
207
+ "semver": "^7.7.1",
208
208
  "shx": "^0.3.4",
209
209
  "signal-exit": "^4.1.0",
210
210
  "source-map": "^0.7.4",
@@ -213,7 +213,7 @@
213
213
  "terser": "^5.37.0",
214
214
  "tslib": "^2.8.1",
215
215
  "typescript": "^5.7.3",
216
- "typescript-eslint": "^8.22.0",
216
+ "typescript-eslint": "^8.23.0",
217
217
  "vite": "^6.0.11",
218
218
  "vitepress": "^1.6.3",
219
219
  "vue": "^3.5.13",
@@ -223,7 +223,7 @@
223
223
  },
224
224
  "overrides": {
225
225
  "axios": "^1.7.9",
226
- "semver": "^7.6.3",
226
+ "semver": "^7.7.1",
227
227
  "readable-stream": "npm:@built-in/readable-stream@1"
228
228
  },
229
229
  "comments": {