rollup 4.41.0 → 4.41.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.41.0
5
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
4
+ Rollup.js v4.41.1
5
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
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.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
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.41.0";
18
+ var version = "4.41.1";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -20592,6 +20592,16 @@ function resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolve
20592
20592
  ...pluginContext,
20593
20593
  resolve: (source, importer, { attributes, custom, isEntry, skipSelf } = BLANK) => {
20594
20594
  skipSelf ??= true;
20595
+ if (skipSelf &&
20596
+ skip.findIndex(skippedCall => {
20597
+ return (skippedCall.plugin === plugin &&
20598
+ skippedCall.source === source &&
20599
+ skippedCall.importer === importer);
20600
+ }) !== -1) {
20601
+ // This means that the plugin recursively called itself
20602
+ // Thus returning Promise.resolve(null) in purpose of fallback to default behavior of `resolveId` plugin hook.
20603
+ return Promise.resolve(null);
20604
+ }
20595
20605
  return moduleLoaderResolveId(source, importer, custom, isEntry, attributes || EMPTY_OBJECT, skipSelf ? [...skip, { importer, plugin, source }] : skip);
20596
20606
  }
20597
20607
  });
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
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.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
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.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
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.41.0";
20
+ var version = "4.41.1";
21
21
 
22
22
  function ensureArray$1(items) {
23
23
  if (Array.isArray(items)) {
@@ -22050,6 +22050,16 @@ function resolveIdViaPlugins(source, importer, pluginDriver, moduleLoaderResolve
22050
22050
  ...pluginContext,
22051
22051
  resolve: (source, importer, { attributes, custom, isEntry, skipSelf } = parseAst_js.BLANK) => {
22052
22052
  skipSelf ??= true;
22053
+ if (skipSelf &&
22054
+ skip.findIndex(skippedCall => {
22055
+ return (skippedCall.plugin === plugin &&
22056
+ skippedCall.source === source &&
22057
+ skippedCall.importer === importer);
22058
+ }) !== -1) {
22059
+ // This means that the plugin recursively called itself
22060
+ // Thus returning Promise.resolve(null) in purpose of fallback to default behavior of `resolveId` plugin hook.
22061
+ return Promise.resolve(null);
22062
+ }
22053
22063
  return moduleLoaderResolveId(source, importer, custom, isEntry, attributes || parseAst_js.EMPTY_OBJECT, skipSelf ? [...skip, { importer, plugin, source }] : skip);
22054
22064
  }
22055
22065
  });
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.41.0
4
- Sun, 18 May 2025 05:33:01 GMT - commit 0928185cd544907dab472754634ddf988452aae6
3
+ Rollup.js v4.41.1
4
+ Sat, 24 May 2025 06:13:57 GMT - commit 7c469dc4eb8e1cb6def9fdc04581fdfce9975da3
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.41.0",
3
+ "version": "4.41.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -109,26 +109,26 @@
109
109
  "homepage": "https://rollupjs.org/",
110
110
  "optionalDependencies": {
111
111
  "fsevents": "~2.3.2",
112
- "@rollup/rollup-darwin-arm64": "4.41.0",
113
- "@rollup/rollup-android-arm64": "4.41.0",
114
- "@rollup/rollup-win32-arm64-msvc": "4.41.0",
115
- "@rollup/rollup-freebsd-arm64": "4.41.0",
116
- "@rollup/rollup-linux-arm64-gnu": "4.41.0",
117
- "@rollup/rollup-linux-arm64-musl": "4.41.0",
118
- "@rollup/rollup-android-arm-eabi": "4.41.0",
119
- "@rollup/rollup-linux-arm-gnueabihf": "4.41.0",
120
- "@rollup/rollup-linux-arm-musleabihf": "4.41.0",
121
- "@rollup/rollup-win32-ia32-msvc": "4.41.0",
122
- "@rollup/rollup-linux-loongarch64-gnu": "4.41.0",
123
- "@rollup/rollup-linux-riscv64-gnu": "4.41.0",
124
- "@rollup/rollup-linux-riscv64-musl": "4.41.0",
125
- "@rollup/rollup-linux-powerpc64le-gnu": "4.41.0",
126
- "@rollup/rollup-linux-s390x-gnu": "4.41.0",
127
- "@rollup/rollup-darwin-x64": "4.41.0",
128
- "@rollup/rollup-win32-x64-msvc": "4.41.0",
129
- "@rollup/rollup-freebsd-x64": "4.41.0",
130
- "@rollup/rollup-linux-x64-gnu": "4.41.0",
131
- "@rollup/rollup-linux-x64-musl": "4.41.0"
112
+ "@rollup/rollup-darwin-arm64": "4.41.1",
113
+ "@rollup/rollup-android-arm64": "4.41.1",
114
+ "@rollup/rollup-win32-arm64-msvc": "4.41.1",
115
+ "@rollup/rollup-freebsd-arm64": "4.41.1",
116
+ "@rollup/rollup-linux-arm64-gnu": "4.41.1",
117
+ "@rollup/rollup-linux-arm64-musl": "4.41.1",
118
+ "@rollup/rollup-android-arm-eabi": "4.41.1",
119
+ "@rollup/rollup-linux-arm-gnueabihf": "4.41.1",
120
+ "@rollup/rollup-linux-arm-musleabihf": "4.41.1",
121
+ "@rollup/rollup-win32-ia32-msvc": "4.41.1",
122
+ "@rollup/rollup-linux-loongarch64-gnu": "4.41.1",
123
+ "@rollup/rollup-linux-riscv64-gnu": "4.41.1",
124
+ "@rollup/rollup-linux-riscv64-musl": "4.41.1",
125
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.41.1",
126
+ "@rollup/rollup-linux-s390x-gnu": "4.41.1",
127
+ "@rollup/rollup-darwin-x64": "4.41.1",
128
+ "@rollup/rollup-win32-x64-msvc": "4.41.1",
129
+ "@rollup/rollup-freebsd-x64": "4.41.1",
130
+ "@rollup/rollup-linux-x64-gnu": "4.41.1",
131
+ "@rollup/rollup-linux-x64-musl": "4.41.1"
132
132
  },
133
133
  "dependencies": {
134
134
  "@types/estree": "1.0.7"
@@ -138,12 +138,12 @@
138
138
  },
139
139
  "devDependencies": {
140
140
  "@codemirror/commands": "^6.8.1",
141
- "@codemirror/lang-javascript": "^6.2.3",
141
+ "@codemirror/lang-javascript": "^6.2.4",
142
142
  "@codemirror/language": "^6.11.0",
143
- "@codemirror/search": "^6.5.10",
143
+ "@codemirror/search": "^6.5.11",
144
144
  "@codemirror/state": "^6.5.2",
145
145
  "@codemirror/view": "^6.36.8",
146
- "@eslint/js": "^9.26.0",
146
+ "@eslint/js": "^9.27.0",
147
147
  "@inquirer/prompts": "^7.5.1",
148
148
  "@jridgewell/sourcemap-codec": "^1.5.0",
149
149
  "@mermaid-js/mermaid-cli": "^11.4.2",
@@ -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": "^3.4.0",
160
+ "@shikijs/vitepress-twoslash": "^3.4.2",
161
161
  "@types/mocha": "^10.0.10",
162
- "@types/node": "^18.19.100",
162
+ "@types/node": "^18.19.101",
163
163
  "@types/picomatch": "^4.0.0",
164
164
  "@types/semver": "^7.7.0",
165
165
  "@types/yargs-parser": "^21.0.3",
@@ -176,7 +176,7 @@
176
176
  "date-time": "^4.0.0",
177
177
  "es5-shim": "^4.6.7",
178
178
  "es6-shim": "^0.35.8",
179
- "eslint": "^9.26.0",
179
+ "eslint": "^9.27.0",
180
180
  "eslint-config-prettier": "^10.1.5",
181
181
  "eslint-plugin-prettier": "^5.4.0",
182
182
  "eslint-plugin-unicorn": "^59.0.1",
@@ -191,7 +191,7 @@
191
191
  "lint-staged": "^16.0.0",
192
192
  "locate-character": "^3.0.0",
193
193
  "magic-string": "^0.30.17",
194
- "mocha": "^11.2.2",
194
+ "mocha": "^11.4.0",
195
195
  "nodemon": "^3.1.10",
196
196
  "nyc": "^17.1.0",
197
197
  "picocolors": "^1.1.1",
@@ -202,7 +202,7 @@
202
202
  "pretty-bytes": "^7.0.0",
203
203
  "pretty-ms": "^9.2.0",
204
204
  "requirejs": "^2.3.7",
205
- "rollup": "^4.40.2",
205
+ "rollup": "^4.41.0",
206
206
  "rollup-plugin-license": "^3.6.0",
207
207
  "rollup-plugin-string": "^3.0.0",
208
208
  "semver": "^7.7.2",
@@ -211,13 +211,13 @@
211
211
  "source-map": "^0.7.4",
212
212
  "source-map-support": "^0.5.21",
213
213
  "systemjs": "^6.15.1",
214
- "terser": "^5.39.0",
214
+ "terser": "^5.39.2",
215
215
  "tslib": "^2.8.1",
216
216
  "typescript": "^5.8.3",
217
217
  "typescript-eslint": "^8.32.1",
218
218
  "vite": "^6.3.5",
219
219
  "vitepress": "^1.6.3",
220
- "vue": "^3.5.13",
220
+ "vue": "^3.5.14",
221
221
  "vue-tsc": "^2.2.10",
222
222
  "wasm-pack": "^0.13.1",
223
223
  "yargs-parser": "^21.1.1"