rollup 4.43.0 → 4.44.0
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 +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +25 -13
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +25 -13
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +33 -33
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.44.0
|
|
5
|
+
Thu, 19 Jun 2025 06:21:58 GMT - commit fa4b2842c823f6a61f6b994a28b7fcb54419b6c6
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.44.0
|
|
4
|
+
Thu, 19 Jun 2025 06:21:58 GMT - commit fa4b2842c823f6a61f6b994a28b7fcb54419b6c6
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -27,7 +27,7 @@ function _mergeNamespaces(n, m) {
|
|
|
27
27
|
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
var version = "4.
|
|
30
|
+
var version = "4.44.0";
|
|
31
31
|
|
|
32
32
|
const comma = ','.charCodeAt(0);
|
|
33
33
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -16425,14 +16425,18 @@ function getOriginalLocation(sourcemapChain, location) {
|
|
|
16425
16425
|
if (line) {
|
|
16426
16426
|
const filteredLine = line.filter((segment) => segment.length > 1);
|
|
16427
16427
|
const lastSegment = filteredLine[filteredLine.length - 1];
|
|
16428
|
-
|
|
16428
|
+
let previousSegment = filteredLine[0];
|
|
16429
|
+
for (let segment of filteredLine) {
|
|
16429
16430
|
if (segment[0] >= location.column || segment === lastSegment) {
|
|
16431
|
+
const notMatched = segment[0] !== location.column;
|
|
16432
|
+
segment = notMatched ? previousSegment : segment;
|
|
16430
16433
|
location = {
|
|
16431
16434
|
column: segment[3],
|
|
16432
16435
|
line: segment[2] + 1
|
|
16433
16436
|
};
|
|
16434
16437
|
continue traceSourcemap;
|
|
16435
16438
|
}
|
|
16439
|
+
previousSegment = segment;
|
|
16436
16440
|
}
|
|
16437
16441
|
}
|
|
16438
16442
|
throw new Error("Can't resolve original location of error.");
|
|
@@ -20023,10 +20027,21 @@ class Link {
|
|
|
20023
20027
|
let searchEnd = segments.length - 1;
|
|
20024
20028
|
while (searchStart <= searchEnd) {
|
|
20025
20029
|
const m = (searchStart + searchEnd) >> 1;
|
|
20026
|
-
|
|
20030
|
+
let segment = segments[m];
|
|
20027
20031
|
// If a sourcemap does not have sufficient resolution to contain a
|
|
20028
|
-
// necessary mapping, e.g. because it only contains line information
|
|
20029
|
-
//
|
|
20032
|
+
// necessary mapping, e.g. because it only contains line information or
|
|
20033
|
+
// the column is not precise (e.g. the sourcemap is generated by esbuild, segment[0] may be shorter than the location of the first letter),
|
|
20034
|
+
// we approximate by finding the closest segment whose segment[0] is less than the given column
|
|
20035
|
+
if (segment[0] !== column && searchStart === searchEnd) {
|
|
20036
|
+
let approximatedSegmentIndex = 0;
|
|
20037
|
+
for (let index = 0; index < segments.length; index++) {
|
|
20038
|
+
if (segments[index][0] > column) {
|
|
20039
|
+
break;
|
|
20040
|
+
}
|
|
20041
|
+
approximatedSegmentIndex = index;
|
|
20042
|
+
}
|
|
20043
|
+
segment = segments[approximatedSegmentIndex];
|
|
20044
|
+
}
|
|
20030
20045
|
if (segment[0] === column || searchStart === searchEnd) {
|
|
20031
20046
|
if (segment.length == 1)
|
|
20032
20047
|
return null;
|
|
@@ -22776,12 +22791,9 @@ const getJsx = (config) => {
|
|
|
22776
22791
|
};
|
|
22777
22792
|
const getMaxParallelFileOps = (config) => {
|
|
22778
22793
|
const maxParallelFileOps = config.maxParallelFileOps;
|
|
22779
|
-
if (typeof maxParallelFileOps
|
|
22780
|
-
|
|
22781
|
-
|
|
22782
|
-
return maxParallelFileOps;
|
|
22783
|
-
}
|
|
22784
|
-
return 20;
|
|
22794
|
+
if (typeof maxParallelFileOps !== 'number' || maxParallelFileOps <= 0)
|
|
22795
|
+
return Infinity;
|
|
22796
|
+
return maxParallelFileOps;
|
|
22785
22797
|
};
|
|
22786
22798
|
const getModuleContext = (config, context) => {
|
|
22787
22799
|
const configModuleContext = config.moduleContext;
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/parseAst.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.44.0
|
|
4
|
+
Thu, 19 Jun 2025 06:21:58 GMT - commit fa4b2842c823f6a61f6b994a28b7fcb54419b6c6
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ function _mergeNamespaces(n, m) {
|
|
|
42
42
|
|
|
43
43
|
const promises__namespace = /*#__PURE__*/_interopNamespaceDefault(promises);
|
|
44
44
|
|
|
45
|
-
var version = "4.
|
|
45
|
+
var version = "4.44.0";
|
|
46
46
|
|
|
47
47
|
function ensureArray$1(items) {
|
|
48
48
|
if (Array.isArray(items)) {
|
|
@@ -18027,14 +18027,18 @@ function getOriginalLocation(sourcemapChain, location) {
|
|
|
18027
18027
|
if (line) {
|
|
18028
18028
|
const filteredLine = line.filter((segment) => segment.length > 1);
|
|
18029
18029
|
const lastSegment = filteredLine[filteredLine.length - 1];
|
|
18030
|
-
|
|
18030
|
+
let previousSegment = filteredLine[0];
|
|
18031
|
+
for (let segment of filteredLine) {
|
|
18031
18032
|
if (segment[0] >= location.column || segment === lastSegment) {
|
|
18033
|
+
const notMatched = segment[0] !== location.column;
|
|
18034
|
+
segment = notMatched ? previousSegment : segment;
|
|
18032
18035
|
location = {
|
|
18033
18036
|
column: segment[3],
|
|
18034
18037
|
line: segment[2] + 1
|
|
18035
18038
|
};
|
|
18036
18039
|
continue traceSourcemap;
|
|
18037
18040
|
}
|
|
18041
|
+
previousSegment = segment;
|
|
18038
18042
|
}
|
|
18039
18043
|
}
|
|
18040
18044
|
throw new Error("Can't resolve original location of error.");
|
|
@@ -21516,10 +21520,21 @@ class Link {
|
|
|
21516
21520
|
let searchEnd = segments.length - 1;
|
|
21517
21521
|
while (searchStart <= searchEnd) {
|
|
21518
21522
|
const m = (searchStart + searchEnd) >> 1;
|
|
21519
|
-
|
|
21523
|
+
let segment = segments[m];
|
|
21520
21524
|
// If a sourcemap does not have sufficient resolution to contain a
|
|
21521
|
-
// necessary mapping, e.g. because it only contains line information
|
|
21522
|
-
//
|
|
21525
|
+
// necessary mapping, e.g. because it only contains line information or
|
|
21526
|
+
// the column is not precise (e.g. the sourcemap is generated by esbuild, segment[0] may be shorter than the location of the first letter),
|
|
21527
|
+
// we approximate by finding the closest segment whose segment[0] is less than the given column
|
|
21528
|
+
if (segment[0] !== column && searchStart === searchEnd) {
|
|
21529
|
+
let approximatedSegmentIndex = 0;
|
|
21530
|
+
for (let index = 0; index < segments.length; index++) {
|
|
21531
|
+
if (segments[index][0] > column) {
|
|
21532
|
+
break;
|
|
21533
|
+
}
|
|
21534
|
+
approximatedSegmentIndex = index;
|
|
21535
|
+
}
|
|
21536
|
+
segment = segments[approximatedSegmentIndex];
|
|
21537
|
+
}
|
|
21523
21538
|
if (segment[0] === column || searchStart === searchEnd) {
|
|
21524
21539
|
if (segment.length == 1)
|
|
21525
21540
|
return null;
|
|
@@ -23112,12 +23127,9 @@ const getJsx = (config) => {
|
|
|
23112
23127
|
};
|
|
23113
23128
|
const getMaxParallelFileOps = (config) => {
|
|
23114
23129
|
const maxParallelFileOps = config.maxParallelFileOps;
|
|
23115
|
-
if (typeof maxParallelFileOps
|
|
23116
|
-
|
|
23117
|
-
|
|
23118
|
-
return maxParallelFileOps;
|
|
23119
|
-
}
|
|
23120
|
-
return 20;
|
|
23130
|
+
if (typeof maxParallelFileOps !== 'number' || maxParallelFileOps <= 0)
|
|
23131
|
+
return Infinity;
|
|
23132
|
+
return maxParallelFileOps;
|
|
23121
23133
|
};
|
|
23122
23134
|
const getModuleContext = (config, context) => {
|
|
23123
23135
|
const configModuleContext = config.moduleContext;
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.44.0",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -109,29 +109,29 @@
|
|
|
109
109
|
"homepage": "https://rollupjs.org/",
|
|
110
110
|
"optionalDependencies": {
|
|
111
111
|
"fsevents": "~2.3.2",
|
|
112
|
-
"@rollup/rollup-darwin-arm64": "4.
|
|
113
|
-
"@rollup/rollup-android-arm64": "4.
|
|
114
|
-
"@rollup/rollup-win32-arm64-msvc": "4.
|
|
115
|
-
"@rollup/rollup-freebsd-arm64": "4.
|
|
116
|
-
"@rollup/rollup-linux-arm64-gnu": "4.
|
|
117
|
-
"@rollup/rollup-linux-arm64-musl": "4.
|
|
118
|
-
"@rollup/rollup-android-arm-eabi": "4.
|
|
119
|
-
"@rollup/rollup-linux-arm-gnueabihf": "4.
|
|
120
|
-
"@rollup/rollup-linux-arm-musleabihf": "4.
|
|
121
|
-
"@rollup/rollup-win32-ia32-msvc": "4.
|
|
122
|
-
"@rollup/rollup-linux-loongarch64-gnu": "4.
|
|
123
|
-
"@rollup/rollup-linux-riscv64-gnu": "4.
|
|
124
|
-
"@rollup/rollup-linux-riscv64-musl": "4.
|
|
125
|
-
"@rollup/rollup-linux-powerpc64le-gnu": "4.
|
|
126
|
-
"@rollup/rollup-linux-s390x-gnu": "4.
|
|
127
|
-
"@rollup/rollup-darwin-x64": "4.
|
|
128
|
-
"@rollup/rollup-win32-x64-msvc": "4.
|
|
129
|
-
"@rollup/rollup-freebsd-x64": "4.
|
|
130
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
131
|
-
"@rollup/rollup-linux-x64-musl": "4.
|
|
112
|
+
"@rollup/rollup-darwin-arm64": "4.44.0",
|
|
113
|
+
"@rollup/rollup-android-arm64": "4.44.0",
|
|
114
|
+
"@rollup/rollup-win32-arm64-msvc": "4.44.0",
|
|
115
|
+
"@rollup/rollup-freebsd-arm64": "4.44.0",
|
|
116
|
+
"@rollup/rollup-linux-arm64-gnu": "4.44.0",
|
|
117
|
+
"@rollup/rollup-linux-arm64-musl": "4.44.0",
|
|
118
|
+
"@rollup/rollup-android-arm-eabi": "4.44.0",
|
|
119
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.44.0",
|
|
120
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.44.0",
|
|
121
|
+
"@rollup/rollup-win32-ia32-msvc": "4.44.0",
|
|
122
|
+
"@rollup/rollup-linux-loongarch64-gnu": "4.44.0",
|
|
123
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.44.0",
|
|
124
|
+
"@rollup/rollup-linux-riscv64-musl": "4.44.0",
|
|
125
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "4.44.0",
|
|
126
|
+
"@rollup/rollup-linux-s390x-gnu": "4.44.0",
|
|
127
|
+
"@rollup/rollup-darwin-x64": "4.44.0",
|
|
128
|
+
"@rollup/rollup-win32-x64-msvc": "4.44.0",
|
|
129
|
+
"@rollup/rollup-freebsd-x64": "4.44.0",
|
|
130
|
+
"@rollup/rollup-linux-x64-gnu": "4.44.0",
|
|
131
|
+
"@rollup/rollup-linux-x64-musl": "4.44.0"
|
|
132
132
|
},
|
|
133
133
|
"dependencies": {
|
|
134
|
-
"@types/estree": "1.0.
|
|
134
|
+
"@types/estree": "1.0.8"
|
|
135
135
|
},
|
|
136
136
|
"devDependenciesComments": {
|
|
137
137
|
"core-js": "We only update manually as every update requires a snapshot update"
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"@eslint/js": "^9.28.0",
|
|
147
147
|
"@inquirer/prompts": "^7.5.3",
|
|
148
148
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
149
|
-
"@mermaid-js/mermaid-cli": "^11.4.
|
|
149
|
+
"@mermaid-js/mermaid-cli": "^11.4.3",
|
|
150
150
|
"@napi-rs/cli": "^2.18.4",
|
|
151
151
|
"@rollup/plugin-alias": "^5.1.1",
|
|
152
152
|
"@rollup/plugin-buble": "^1.0.3",
|
|
@@ -157,14 +157,14 @@
|
|
|
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.
|
|
160
|
+
"@shikijs/vitepress-twoslash": "^3.6.0",
|
|
161
161
|
"@types/mocha": "^10.0.10",
|
|
162
|
-
"@types/node": "^18.19.
|
|
162
|
+
"@types/node": "^18.19.111",
|
|
163
163
|
"@types/picomatch": "^4.0.0",
|
|
164
164
|
"@types/semver": "^7.7.0",
|
|
165
165
|
"@types/yargs-parser": "^21.0.3",
|
|
166
166
|
"@vue/language-server": "^2.2.10",
|
|
167
|
-
"acorn": "^8.
|
|
167
|
+
"acorn": "^8.15.0",
|
|
168
168
|
"acorn-import-assertions": "^1.9.0",
|
|
169
169
|
"acorn-jsx": "^5.3.2",
|
|
170
170
|
"buble": "^0.20.0",
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"eslint-config-prettier": "^10.1.5",
|
|
181
181
|
"eslint-plugin-prettier": "^5.4.1",
|
|
182
182
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
183
|
-
"eslint-plugin-vue": "^10.
|
|
183
|
+
"eslint-plugin-vue": "^10.2.0",
|
|
184
184
|
"fixturify": "^3.0.0",
|
|
185
185
|
"flru": "^1.0.2",
|
|
186
186
|
"fs-extra": "^11.3.0",
|
|
@@ -191,19 +191,19 @@
|
|
|
191
191
|
"lint-staged": "^16.1.0",
|
|
192
192
|
"locate-character": "^3.0.0",
|
|
193
193
|
"magic-string": "^0.30.17",
|
|
194
|
-
"memfs": "^4.17.
|
|
195
|
-
"mocha": "^11.
|
|
194
|
+
"memfs": "^4.17.2",
|
|
195
|
+
"mocha": "^11.6.0",
|
|
196
196
|
"nodemon": "^3.1.10",
|
|
197
197
|
"nyc": "^17.1.0",
|
|
198
198
|
"picocolors": "^1.1.1",
|
|
199
199
|
"picomatch": "^4.0.2",
|
|
200
|
-
"pinia": "^3.0.
|
|
200
|
+
"pinia": "^3.0.3",
|
|
201
201
|
"prettier": "^3.5.3",
|
|
202
202
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
203
203
|
"pretty-bytes": "^7.0.0",
|
|
204
204
|
"pretty-ms": "^9.2.0",
|
|
205
205
|
"requirejs": "^2.3.7",
|
|
206
|
-
"rollup": "^4.
|
|
206
|
+
"rollup": "^4.43.0",
|
|
207
207
|
"rollup-plugin-license": "^3.6.0",
|
|
208
208
|
"rollup-plugin-string": "^3.0.0",
|
|
209
209
|
"semver": "^7.7.2",
|
|
@@ -212,10 +212,10 @@
|
|
|
212
212
|
"source-map": "^0.7.4",
|
|
213
213
|
"source-map-support": "^0.5.21",
|
|
214
214
|
"systemjs": "^6.15.1",
|
|
215
|
-
"terser": "^5.
|
|
215
|
+
"terser": "^5.42.0",
|
|
216
216
|
"tslib": "^2.8.1",
|
|
217
217
|
"typescript": "^5.8.3",
|
|
218
|
-
"typescript-eslint": "^8.
|
|
218
|
+
"typescript-eslint": "^8.34.0",
|
|
219
219
|
"vite": "^6.3.5",
|
|
220
220
|
"vitepress": "^1.6.3",
|
|
221
221
|
"vue": "^3.5.16",
|