rollup 4.34.7 → 4.34.9

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.7
5
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
4
+ Rollup.js v4.34.9
5
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7";
18
+ var version = "4.34.9";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -13805,7 +13805,7 @@ class LogicalExpression extends NodeBase {
13805
13805
  this.expressionsToBeDeoptimized.push(origin);
13806
13806
  return usedBranch.getLiteralValueAtPath(path, recursionTracker, origin);
13807
13807
  }
13808
- else if (!this.hasDeoptimizedCache) {
13808
+ else if (!this.hasDeoptimizedCache && !path.length) {
13809
13809
  const rightValue = this.right.getLiteralValueAtPath(path, recursionTracker, origin);
13810
13810
  const booleanOrUnknown = tryCastLiteralValueToBoolean(rightValue);
13811
13811
  if (typeof booleanOrUnknown !== 'symbol') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.d.ts CHANGED
@@ -212,7 +212,10 @@ interface ModuleInfo extends ModuleOptions {
212
212
 
213
213
  export type GetModuleInfo = (moduleId: string) => ModuleInfo | null;
214
214
 
215
- export type CustomPluginOptions = Record<string, any>;
215
+ // eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style -- this is an interface so that it can be extended by plugins
216
+ export interface CustomPluginOptions {
217
+ [plugin: string]: any;
218
+ }
216
219
 
217
220
  type LoggingFunctionWithPosition = (
218
221
  log: RollupLog | string | (() => RollupLog | string),
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7";
20
+ var version = "4.34.9";
21
21
 
22
22
  function ensureArray$1(items) {
23
23
  if (Array.isArray(items)) {
@@ -15273,7 +15273,7 @@ class LogicalExpression extends NodeBase {
15273
15273
  this.expressionsToBeDeoptimized.push(origin);
15274
15274
  return usedBranch.getLiteralValueAtPath(path, recursionTracker, origin);
15275
15275
  }
15276
- else if (!this.hasDeoptimizedCache) {
15276
+ else if (!this.hasDeoptimizedCache && !path.length) {
15277
15277
  const rightValue = this.right.getLiteralValueAtPath(path, recursionTracker, origin);
15278
15278
  const booleanOrUnknown = tryCastLiteralValueToBoolean(rightValue);
15279
15279
  if (typeof booleanOrUnknown !== 'symbol') {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.34.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7
4
- Fri, 14 Feb 2025 09:53:29 GMT - commit f9c52f80074e33f5b0799e8ca215e3bfac7d2755
3
+ Rollup.js v4.34.9
4
+ Sat, 01 Mar 2025 07:32:06 GMT - commit 0ab9b9772e24dfe9ef08bfce3132e99a15b793f6
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.7",
3
+ "version": "4.34.9",
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.7",
114
- "@rollup/rollup-android-arm64": "4.34.7",
115
- "@rollup/rollup-win32-arm64-msvc": "4.34.7",
116
- "@rollup/rollup-freebsd-arm64": "4.34.7",
117
- "@rollup/rollup-linux-arm64-gnu": "4.34.7",
118
- "@rollup/rollup-linux-arm64-musl": "4.34.7",
119
- "@rollup/rollup-android-arm-eabi": "4.34.7",
120
- "@rollup/rollup-linux-arm-gnueabihf": "4.34.7",
121
- "@rollup/rollup-linux-arm-musleabihf": "4.34.7",
122
- "@rollup/rollup-win32-ia32-msvc": "4.34.7",
123
- "@rollup/rollup-linux-loongarch64-gnu": "4.34.7",
124
- "@rollup/rollup-linux-riscv64-gnu": "4.34.7",
125
- "@rollup/rollup-linux-powerpc64le-gnu": "4.34.7",
126
- "@rollup/rollup-linux-s390x-gnu": "4.34.7",
127
- "@rollup/rollup-darwin-x64": "4.34.7",
128
- "@rollup/rollup-win32-x64-msvc": "4.34.7",
129
- "@rollup/rollup-freebsd-x64": "4.34.7",
130
- "@rollup/rollup-linux-x64-gnu": "4.34.7",
131
- "@rollup/rollup-linux-x64-musl": "4.34.7"
113
+ "@rollup/rollup-darwin-arm64": "4.34.9",
114
+ "@rollup/rollup-android-arm64": "4.34.9",
115
+ "@rollup/rollup-win32-arm64-msvc": "4.34.9",
116
+ "@rollup/rollup-freebsd-arm64": "4.34.9",
117
+ "@rollup/rollup-linux-arm64-gnu": "4.34.9",
118
+ "@rollup/rollup-linux-arm64-musl": "4.34.9",
119
+ "@rollup/rollup-android-arm-eabi": "4.34.9",
120
+ "@rollup/rollup-linux-arm-gnueabihf": "4.34.9",
121
+ "@rollup/rollup-linux-arm-musleabihf": "4.34.9",
122
+ "@rollup/rollup-win32-ia32-msvc": "4.34.9",
123
+ "@rollup/rollup-linux-loongarch64-gnu": "4.34.9",
124
+ "@rollup/rollup-linux-riscv64-gnu": "4.34.9",
125
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.34.9",
126
+ "@rollup/rollup-linux-s390x-gnu": "4.34.9",
127
+ "@rollup/rollup-darwin-x64": "4.34.9",
128
+ "@rollup/rollup-win32-x64-msvc": "4.34.9",
129
+ "@rollup/rollup-freebsd-x64": "4.34.9",
130
+ "@rollup/rollup-linux-x64-gnu": "4.34.9",
131
+ "@rollup/rollup-linux-x64-musl": "4.34.9"
132
132
  },
133
133
  "dependencies": {
134
134
  "@types/estree": "1.0.6"
@@ -138,13 +138,13 @@
138
138
  },
139
139
  "devDependencies": {
140
140
  "@codemirror/commands": "^6.8.0",
141
- "@codemirror/lang-javascript": "^6.2.2",
141
+ "@codemirror/lang-javascript": "^6.2.3",
142
142
  "@codemirror/language": "^6.10.8",
143
- "@codemirror/search": "^6.5.8",
143
+ "@codemirror/search": "^6.5.9",
144
144
  "@codemirror/state": "^6.5.2",
145
- "@codemirror/view": "^6.36.2",
146
- "@eslint/js": "^9.20.0",
147
- "@inquirer/prompts": "^7.3.1",
145
+ "@codemirror/view": "^6.36.3",
146
+ "@eslint/js": "^9.21.0",
147
+ "@inquirer/prompts": "^7.3.2",
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,12 +157,12 @@
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.3.2",
160
+ "@shikijs/vitepress-twoslash": "^3.0.0",
161
161
  "@types/mocha": "^10.0.10",
162
- "@types/node": "^18.19.75",
162
+ "@types/node": "^18.19.76",
163
163
  "@types/semver": "^7.5.8",
164
164
  "@types/yargs-parser": "^21.0.3",
165
- "@vue/language-server": "^2.2.0",
165
+ "@vue/language-server": "^2.2.4",
166
166
  "acorn": "^8.14.0",
167
167
  "acorn-import-assertions": "^1.9.0",
168
168
  "acorn-jsx": "^5.3.2",
@@ -175,7 +175,7 @@
175
175
  "date-time": "^4.0.0",
176
176
  "es5-shim": "^4.6.7",
177
177
  "es6-shim": "^0.35.8",
178
- "eslint": "^9.20.0",
178
+ "eslint": "^9.21.0",
179
179
  "eslint-config-prettier": "^10.0.1",
180
180
  "eslint-plugin-prettier": "^5.2.3",
181
181
  "eslint-plugin-unicorn": "^56.0.1",
@@ -184,7 +184,7 @@
184
184
  "flru": "^1.0.2",
185
185
  "fs-extra": "^11.3.0",
186
186
  "github-api": "^3.4.0",
187
- "globals": "^15.14.0",
187
+ "globals": "^16.0.0",
188
188
  "husky": "^9.1.7",
189
189
  "is-reference": "^3.0.3",
190
190
  "lint-staged": "^15.4.3",
@@ -195,14 +195,14 @@
195
195
  "npm-audit-resolver": "^3.0.0-RC.0",
196
196
  "nyc": "^17.1.0",
197
197
  "picocolors": "^1.1.1",
198
- "pinia": "^2.3.1",
199
- "prettier": "^3.5.0",
198
+ "pinia": "^3.0.1",
199
+ "prettier": "^3.5.2",
200
200
  "prettier-plugin-organize-imports": "^4.1.0",
201
201
  "pretty-bytes": "^6.1.1",
202
202
  "pretty-ms": "^9.2.0",
203
203
  "requirejs": "^2.3.7",
204
- "rollup": "^4.34.6",
205
- "rollup-plugin-license": "^3.5.3",
204
+ "rollup": "^4.34.8",
205
+ "rollup-plugin-license": "^3.6.0",
206
206
  "rollup-plugin-string": "^3.0.0",
207
207
  "semver": "^7.7.1",
208
208
  "shx": "^0.3.4",
@@ -210,21 +210,22 @@
210
210
  "source-map": "^0.7.4",
211
211
  "source-map-support": "^0.5.21",
212
212
  "systemjs": "^6.15.1",
213
- "terser": "^5.38.1",
213
+ "terser": "^5.39.0",
214
214
  "tslib": "^2.8.1",
215
215
  "typescript": "^5.7.3",
216
- "typescript-eslint": "^8.24.0",
217
- "vite": "^6.1.0",
216
+ "typescript-eslint": "^8.25.0",
217
+ "vite": "^6.2.0",
218
218
  "vitepress": "^1.6.3",
219
219
  "vue": "^3.5.13",
220
- "vue-tsc": "^2.2.0",
220
+ "vue-tsc": "^2.2.4",
221
221
  "wasm-pack": "^0.13.1",
222
222
  "yargs-parser": "^21.1.1"
223
223
  },
224
224
  "overrides": {
225
225
  "axios": "^1.7.9",
226
226
  "semver": "^7.7.1",
227
- "readable-stream": "npm:@built-in/readable-stream@1"
227
+ "readable-stream": "npm:@built-in/readable-stream@1",
228
+ "esbuild": ">0.24.2"
228
229
  },
229
230
  "comments": {
230
231
  "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"