rollup 4.43.0 → 4.44.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 +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 +28 -9
- 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 +28 -9
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +39 -39
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.1
|
|
5
|
+
Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
|
|
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.1
|
|
4
|
+
Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
|
|
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.1";
|
|
31
31
|
|
|
32
32
|
const comma = ','.charCodeAt(0);
|
|
33
33
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -9059,7 +9059,11 @@ function getAugmentedNamespace(n) {
|
|
|
9059
9059
|
var f = n.default;
|
|
9060
9060
|
if (typeof f == "function") {
|
|
9061
9061
|
var a = function a () {
|
|
9062
|
-
|
|
9062
|
+
var isInstance = false;
|
|
9063
|
+
try {
|
|
9064
|
+
isInstance = this instanceof a;
|
|
9065
|
+
} catch {}
|
|
9066
|
+
if (isInstance) {
|
|
9063
9067
|
return Reflect.construct(f, arguments, this.constructor);
|
|
9064
9068
|
}
|
|
9065
9069
|
return f.apply(this, arguments);
|
|
@@ -16425,14 +16429,18 @@ function getOriginalLocation(sourcemapChain, location) {
|
|
|
16425
16429
|
if (line) {
|
|
16426
16430
|
const filteredLine = line.filter((segment) => segment.length > 1);
|
|
16427
16431
|
const lastSegment = filteredLine[filteredLine.length - 1];
|
|
16428
|
-
|
|
16432
|
+
let previousSegment = filteredLine[0];
|
|
16433
|
+
for (let segment of filteredLine) {
|
|
16429
16434
|
if (segment[0] >= location.column || segment === lastSegment) {
|
|
16435
|
+
const notMatched = segment[0] !== location.column;
|
|
16436
|
+
segment = notMatched ? previousSegment : segment;
|
|
16430
16437
|
location = {
|
|
16431
16438
|
column: segment[3],
|
|
16432
16439
|
line: segment[2] + 1
|
|
16433
16440
|
};
|
|
16434
16441
|
continue traceSourcemap;
|
|
16435
16442
|
}
|
|
16443
|
+
previousSegment = segment;
|
|
16436
16444
|
}
|
|
16437
16445
|
}
|
|
16438
16446
|
throw new Error("Can't resolve original location of error.");
|
|
@@ -20023,10 +20031,21 @@ class Link {
|
|
|
20023
20031
|
let searchEnd = segments.length - 1;
|
|
20024
20032
|
while (searchStart <= searchEnd) {
|
|
20025
20033
|
const m = (searchStart + searchEnd) >> 1;
|
|
20026
|
-
|
|
20034
|
+
let segment = segments[m];
|
|
20027
20035
|
// If a sourcemap does not have sufficient resolution to contain a
|
|
20028
|
-
// necessary mapping, e.g. because it only contains line information
|
|
20029
|
-
//
|
|
20036
|
+
// necessary mapping, e.g. because it only contains line information or
|
|
20037
|
+
// 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),
|
|
20038
|
+
// we approximate by finding the closest segment whose segment[0] is less than the given column
|
|
20039
|
+
if (segment[0] !== column && searchStart === searchEnd) {
|
|
20040
|
+
let approximatedSegmentIndex = 0;
|
|
20041
|
+
for (let index = 0; index < segments.length; index++) {
|
|
20042
|
+
if (segments[index][0] > column) {
|
|
20043
|
+
break;
|
|
20044
|
+
}
|
|
20045
|
+
approximatedSegmentIndex = index;
|
|
20046
|
+
}
|
|
20047
|
+
segment = segments[approximatedSegmentIndex];
|
|
20048
|
+
}
|
|
20030
20049
|
if (segment[0] === column || searchStart === searchEnd) {
|
|
20031
20050
|
if (segment.length == 1)
|
|
20032
20051
|
return null;
|
|
@@ -22781,7 +22800,7 @@ const getMaxParallelFileOps = (config) => {
|
|
|
22781
22800
|
return Infinity;
|
|
22782
22801
|
return maxParallelFileOps;
|
|
22783
22802
|
}
|
|
22784
|
-
return
|
|
22803
|
+
return 1000;
|
|
22785
22804
|
};
|
|
22786
22805
|
const getModuleContext = (config, context) => {
|
|
22787
22806
|
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.1
|
|
4
|
+
Thu, 26 Jun 2025 04:33:05 GMT - commit 5a7f9e215a11de165b85dafd64350474847ec6db
|
|
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.1";
|
|
46
46
|
|
|
47
47
|
function ensureArray$1(items) {
|
|
48
48
|
if (Array.isArray(items)) {
|
|
@@ -944,7 +944,11 @@ function getAugmentedNamespace(n) {
|
|
|
944
944
|
var f = n.default;
|
|
945
945
|
if (typeof f == "function") {
|
|
946
946
|
var a = function a () {
|
|
947
|
-
|
|
947
|
+
var isInstance = false;
|
|
948
|
+
try {
|
|
949
|
+
isInstance = this instanceof a;
|
|
950
|
+
} catch {}
|
|
951
|
+
if (isInstance) {
|
|
948
952
|
return Reflect.construct(f, arguments, this.constructor);
|
|
949
953
|
}
|
|
950
954
|
return f.apply(this, arguments);
|
|
@@ -18027,14 +18031,18 @@ function getOriginalLocation(sourcemapChain, location) {
|
|
|
18027
18031
|
if (line) {
|
|
18028
18032
|
const filteredLine = line.filter((segment) => segment.length > 1);
|
|
18029
18033
|
const lastSegment = filteredLine[filteredLine.length - 1];
|
|
18030
|
-
|
|
18034
|
+
let previousSegment = filteredLine[0];
|
|
18035
|
+
for (let segment of filteredLine) {
|
|
18031
18036
|
if (segment[0] >= location.column || segment === lastSegment) {
|
|
18037
|
+
const notMatched = segment[0] !== location.column;
|
|
18038
|
+
segment = notMatched ? previousSegment : segment;
|
|
18032
18039
|
location = {
|
|
18033
18040
|
column: segment[3],
|
|
18034
18041
|
line: segment[2] + 1
|
|
18035
18042
|
};
|
|
18036
18043
|
continue traceSourcemap;
|
|
18037
18044
|
}
|
|
18045
|
+
previousSegment = segment;
|
|
18038
18046
|
}
|
|
18039
18047
|
}
|
|
18040
18048
|
throw new Error("Can't resolve original location of error.");
|
|
@@ -21516,10 +21524,21 @@ class Link {
|
|
|
21516
21524
|
let searchEnd = segments.length - 1;
|
|
21517
21525
|
while (searchStart <= searchEnd) {
|
|
21518
21526
|
const m = (searchStart + searchEnd) >> 1;
|
|
21519
|
-
|
|
21527
|
+
let segment = segments[m];
|
|
21520
21528
|
// If a sourcemap does not have sufficient resolution to contain a
|
|
21521
|
-
// necessary mapping, e.g. because it only contains line information
|
|
21522
|
-
//
|
|
21529
|
+
// necessary mapping, e.g. because it only contains line information or
|
|
21530
|
+
// 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),
|
|
21531
|
+
// we approximate by finding the closest segment whose segment[0] is less than the given column
|
|
21532
|
+
if (segment[0] !== column && searchStart === searchEnd) {
|
|
21533
|
+
let approximatedSegmentIndex = 0;
|
|
21534
|
+
for (let index = 0; index < segments.length; index++) {
|
|
21535
|
+
if (segments[index][0] > column) {
|
|
21536
|
+
break;
|
|
21537
|
+
}
|
|
21538
|
+
approximatedSegmentIndex = index;
|
|
21539
|
+
}
|
|
21540
|
+
segment = segments[approximatedSegmentIndex];
|
|
21541
|
+
}
|
|
21523
21542
|
if (segment[0] === column || searchStart === searchEnd) {
|
|
21524
21543
|
if (segment.length == 1)
|
|
21525
21544
|
return null;
|
|
@@ -23117,7 +23136,7 @@ const getMaxParallelFileOps = (config) => {
|
|
|
23117
23136
|
return Infinity;
|
|
23118
23137
|
return maxParallelFileOps;
|
|
23119
23138
|
}
|
|
23120
|
-
return
|
|
23139
|
+
return 1000;
|
|
23121
23140
|
};
|
|
23122
23141
|
const getModuleContext = (config, context) => {
|
|
23123
23142
|
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.1",
|
|
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.1",
|
|
113
|
+
"@rollup/rollup-android-arm64": "4.44.1",
|
|
114
|
+
"@rollup/rollup-win32-arm64-msvc": "4.44.1",
|
|
115
|
+
"@rollup/rollup-freebsd-arm64": "4.44.1",
|
|
116
|
+
"@rollup/rollup-linux-arm64-gnu": "4.44.1",
|
|
117
|
+
"@rollup/rollup-linux-arm64-musl": "4.44.1",
|
|
118
|
+
"@rollup/rollup-android-arm-eabi": "4.44.1",
|
|
119
|
+
"@rollup/rollup-linux-arm-gnueabihf": "4.44.1",
|
|
120
|
+
"@rollup/rollup-linux-arm-musleabihf": "4.44.1",
|
|
121
|
+
"@rollup/rollup-win32-ia32-msvc": "4.44.1",
|
|
122
|
+
"@rollup/rollup-linux-loongarch64-gnu": "4.44.1",
|
|
123
|
+
"@rollup/rollup-linux-riscv64-gnu": "4.44.1",
|
|
124
|
+
"@rollup/rollup-linux-riscv64-musl": "4.44.1",
|
|
125
|
+
"@rollup/rollup-linux-powerpc64le-gnu": "4.44.1",
|
|
126
|
+
"@rollup/rollup-linux-s390x-gnu": "4.44.1",
|
|
127
|
+
"@rollup/rollup-darwin-x64": "4.44.1",
|
|
128
|
+
"@rollup/rollup-win32-x64-msvc": "4.44.1",
|
|
129
|
+
"@rollup/rollup-freebsd-x64": "4.44.1",
|
|
130
|
+
"@rollup/rollup-linux-x64-gnu": "4.44.1",
|
|
131
|
+
"@rollup/rollup-linux-x64-musl": "4.44.1"
|
|
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"
|
|
@@ -142,29 +142,29 @@
|
|
|
142
142
|
"@codemirror/language": "^6.11.1",
|
|
143
143
|
"@codemirror/search": "^6.5.11",
|
|
144
144
|
"@codemirror/state": "^6.5.2",
|
|
145
|
-
"@codemirror/view": "^6.37.
|
|
146
|
-
"@eslint/js": "^9.
|
|
145
|
+
"@codemirror/view": "^6.37.2",
|
|
146
|
+
"@eslint/js": "^9.29.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",
|
|
153
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
153
|
+
"@rollup/plugin-commonjs": "^28.0.5",
|
|
154
154
|
"@rollup/plugin-json": "^6.1.0",
|
|
155
155
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
156
156
|
"@rollup/plugin-replace": "^6.0.2",
|
|
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.112",
|
|
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",
|
|
@@ -176,11 +176,11 @@
|
|
|
176
176
|
"date-time": "^4.0.0",
|
|
177
177
|
"es5-shim": "^4.6.7",
|
|
178
178
|
"es6-shim": "^0.35.8",
|
|
179
|
-
"eslint": "^9.
|
|
179
|
+
"eslint": "^9.29.0",
|
|
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",
|
|
@@ -188,22 +188,22 @@
|
|
|
188
188
|
"globals": "^16.2.0",
|
|
189
189
|
"husky": "^9.1.7",
|
|
190
190
|
"is-reference": "^3.0.3",
|
|
191
|
-
"lint-staged": "^16.1.
|
|
191
|
+
"lint-staged": "^16.1.2",
|
|
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.1",
|
|
219
219
|
"vite": "^6.3.5",
|
|
220
220
|
"vitepress": "^1.6.3",
|
|
221
221
|
"vue": "^3.5.16",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"yargs-parser": "^21.1.1"
|
|
225
225
|
},
|
|
226
226
|
"overrides": {
|
|
227
|
-
"axios": "^1.
|
|
227
|
+
"axios": "^1.10.0",
|
|
228
228
|
"semver": "^7.7.2",
|
|
229
229
|
"readable-stream": "npm:@built-in/readable-stream@1",
|
|
230
230
|
"esbuild": ">0.24.2"
|