@rollup/wasm-node 4.50.1 → 4.50.2
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 +33 -5
- 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 +33 -5
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +14 -14
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.50.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.50.2
|
|
5
|
+
Mon, 15 Sep 2025 07:13:55 GMT - commit 76a3b8ede4729a71eb522fc29f7d550a4358827b
|
|
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.50.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.50.2
|
|
4
|
+
Mon, 15 Sep 2025 07:13:55 GMT - commit 76a3b8ede4729a71eb522fc29f7d550a4358827b
|
|
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.50.
|
|
30
|
+
var version = "4.50.2";
|
|
31
31
|
|
|
32
32
|
// src/vlq.ts
|
|
33
33
|
var comma = ",".charCodeAt(0);
|
|
@@ -772,6 +772,10 @@ class MagicString {
|
|
|
772
772
|
if (chunk.outro.length) mappings.advance(chunk.outro);
|
|
773
773
|
});
|
|
774
774
|
|
|
775
|
+
if (this.outro) {
|
|
776
|
+
mappings.advance(this.outro);
|
|
777
|
+
}
|
|
778
|
+
|
|
775
779
|
return {
|
|
776
780
|
file: options.file ? options.file.split(/[/\\]/).pop() : undefined,
|
|
777
781
|
sources: [
|
|
@@ -1437,7 +1441,12 @@ class MagicString {
|
|
|
1437
1441
|
const index = original.indexOf(string);
|
|
1438
1442
|
|
|
1439
1443
|
if (index !== -1) {
|
|
1440
|
-
|
|
1444
|
+
if (typeof replacement === 'function') {
|
|
1445
|
+
replacement = replacement(string, index, original);
|
|
1446
|
+
}
|
|
1447
|
+
if (string !== replacement) {
|
|
1448
|
+
this.overwrite(index, index + string.length, replacement);
|
|
1449
|
+
}
|
|
1441
1450
|
}
|
|
1442
1451
|
|
|
1443
1452
|
return this;
|
|
@@ -1460,7 +1469,11 @@ class MagicString {
|
|
|
1460
1469
|
index = original.indexOf(string, index + stringLength)
|
|
1461
1470
|
) {
|
|
1462
1471
|
const previous = original.slice(index, index + stringLength);
|
|
1463
|
-
|
|
1472
|
+
let _replacement = replacement;
|
|
1473
|
+
if (typeof replacement === 'function') {
|
|
1474
|
+
_replacement = replacement(previous, index, original);
|
|
1475
|
+
}
|
|
1476
|
+
if (previous !== _replacement) this.overwrite(index, index + stringLength, _replacement);
|
|
1464
1477
|
}
|
|
1465
1478
|
|
|
1466
1479
|
return this;
|
|
@@ -11389,6 +11402,21 @@ class ArrayPattern extends NodeBase {
|
|
|
11389
11402
|
}
|
|
11390
11403
|
return this.included;
|
|
11391
11404
|
}
|
|
11405
|
+
render(code, options) {
|
|
11406
|
+
let removedStart = this.start + 1;
|
|
11407
|
+
for (const element of this.elements) {
|
|
11408
|
+
if (!element)
|
|
11409
|
+
continue;
|
|
11410
|
+
if (element.included) {
|
|
11411
|
+
element.render(code, options);
|
|
11412
|
+
removedStart = element.end;
|
|
11413
|
+
}
|
|
11414
|
+
else {
|
|
11415
|
+
code.remove(removedStart, this.end - 1);
|
|
11416
|
+
break;
|
|
11417
|
+
}
|
|
11418
|
+
}
|
|
11419
|
+
}
|
|
11392
11420
|
markDeclarationReached() {
|
|
11393
11421
|
for (const element of this.elements) {
|
|
11394
11422
|
element?.markDeclarationReached();
|
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.50.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.50.2
|
|
4
|
+
Mon, 15 Sep 2025 07:13:55 GMT - commit 76a3b8ede4729a71eb522fc29f7d550a4358827b
|
|
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.50.
|
|
45
|
+
var version = "4.50.2";
|
|
46
46
|
|
|
47
47
|
function ensureArray$1(items) {
|
|
48
48
|
if (Array.isArray(items)) {
|
|
@@ -4578,6 +4578,10 @@ class MagicString {
|
|
|
4578
4578
|
if (chunk.outro.length) mappings.advance(chunk.outro);
|
|
4579
4579
|
});
|
|
4580
4580
|
|
|
4581
|
+
if (this.outro) {
|
|
4582
|
+
mappings.advance(this.outro);
|
|
4583
|
+
}
|
|
4584
|
+
|
|
4581
4585
|
return {
|
|
4582
4586
|
file: options.file ? options.file.split(/[/\\]/).pop() : undefined,
|
|
4583
4587
|
sources: [
|
|
@@ -5243,7 +5247,12 @@ class MagicString {
|
|
|
5243
5247
|
const index = original.indexOf(string);
|
|
5244
5248
|
|
|
5245
5249
|
if (index !== -1) {
|
|
5246
|
-
|
|
5250
|
+
if (typeof replacement === 'function') {
|
|
5251
|
+
replacement = replacement(string, index, original);
|
|
5252
|
+
}
|
|
5253
|
+
if (string !== replacement) {
|
|
5254
|
+
this.overwrite(index, index + string.length, replacement);
|
|
5255
|
+
}
|
|
5247
5256
|
}
|
|
5248
5257
|
|
|
5249
5258
|
return this;
|
|
@@ -5266,7 +5275,11 @@ class MagicString {
|
|
|
5266
5275
|
index = original.indexOf(string, index + stringLength)
|
|
5267
5276
|
) {
|
|
5268
5277
|
const previous = original.slice(index, index + stringLength);
|
|
5269
|
-
|
|
5278
|
+
let _replacement = replacement;
|
|
5279
|
+
if (typeof replacement === 'function') {
|
|
5280
|
+
_replacement = replacement(previous, index, original);
|
|
5281
|
+
}
|
|
5282
|
+
if (previous !== _replacement) this.overwrite(index, index + stringLength, _replacement);
|
|
5270
5283
|
}
|
|
5271
5284
|
|
|
5272
5285
|
return this;
|
|
@@ -12998,6 +13011,21 @@ class ArrayPattern extends NodeBase {
|
|
|
12998
13011
|
}
|
|
12999
13012
|
return this.included;
|
|
13000
13013
|
}
|
|
13014
|
+
render(code, options) {
|
|
13015
|
+
let removedStart = this.start + 1;
|
|
13016
|
+
for (const element of this.elements) {
|
|
13017
|
+
if (!element)
|
|
13018
|
+
continue;
|
|
13019
|
+
if (element.included) {
|
|
13020
|
+
element.render(code, options);
|
|
13021
|
+
removedStart = element.end;
|
|
13022
|
+
}
|
|
13023
|
+
else {
|
|
13024
|
+
code.remove(removedStart, this.end - 1);
|
|
13025
|
+
break;
|
|
13026
|
+
}
|
|
13027
|
+
}
|
|
13028
|
+
}
|
|
13001
13029
|
markDeclarationReached() {
|
|
13002
13030
|
for (const element of this.elements) {
|
|
13003
13031
|
element?.markDeclarationReached();
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.50.
|
|
3
|
+
"version": "4.50.2",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codemirror/search": "^6.5.11",
|
|
39
39
|
"@codemirror/state": "^6.5.2",
|
|
40
40
|
"@codemirror/view": "^6.38.2",
|
|
41
|
-
"@eslint/js": "^9.
|
|
41
|
+
"@eslint/js": "^9.35.0",
|
|
42
42
|
"@inquirer/prompts": "^7.8.4",
|
|
43
43
|
"@jridgewell/sourcemap-codec": "^1.5.5",
|
|
44
44
|
"@mermaid-js/mermaid-cli": "^11.9.0",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"@rollup/plugin-replace": "^6.0.2",
|
|
52
52
|
"@rollup/plugin-terser": "^0.4.4",
|
|
53
53
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
54
|
-
"@rollup/pluginutils": "^5.
|
|
55
|
-
"@shikijs/vitepress-twoslash": "^3.12.
|
|
54
|
+
"@rollup/pluginutils": "^5.3.0",
|
|
55
|
+
"@shikijs/vitepress-twoslash": "^3.12.2",
|
|
56
56
|
"@types/mocha": "^10.0.10",
|
|
57
|
-
"@types/node": "^20.19.
|
|
57
|
+
"@types/node": "^20.19.13",
|
|
58
58
|
"@types/picomatch": "^4.0.2",
|
|
59
|
-
"@types/semver": "^7.7.
|
|
59
|
+
"@types/semver": "^7.7.1",
|
|
60
60
|
"@types/yargs-parser": "^21.0.3",
|
|
61
61
|
"@vue/language-server": "^3.0.6",
|
|
62
62
|
"acorn": "^8.15.0",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"date-time": "^4.0.0",
|
|
72
72
|
"es5-shim": "^4.6.7",
|
|
73
73
|
"es6-shim": "^0.35.8",
|
|
74
|
-
"eslint": "^9.
|
|
74
|
+
"eslint": "^9.35.0",
|
|
75
75
|
"eslint-config-prettier": "^10.1.8",
|
|
76
76
|
"eslint-plugin-prettier": "^5.5.4",
|
|
77
|
-
"eslint-plugin-unicorn": "^
|
|
77
|
+
"eslint-plugin-unicorn": "^61.0.2",
|
|
78
78
|
"eslint-plugin-vue": "^10.4.0",
|
|
79
79
|
"fixturify": "^3.0.0",
|
|
80
80
|
"flru": "^1.0.2",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"is-reference": "^3.0.3",
|
|
86
86
|
"lint-staged": "^16.1.6",
|
|
87
87
|
"locate-character": "^3.0.0",
|
|
88
|
-
"magic-string": "^0.30.
|
|
88
|
+
"magic-string": "^0.30.19",
|
|
89
89
|
"memfs": "^4.38.2",
|
|
90
90
|
"mocha": "^11.7.2",
|
|
91
91
|
"nodemon": "^3.1.10",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"pretty-bytes": "^7.0.1",
|
|
99
99
|
"pretty-ms": "^9.2.0",
|
|
100
100
|
"requirejs": "^2.3.7",
|
|
101
|
-
"rollup": "^4.50.
|
|
101
|
+
"rollup": "^4.50.1",
|
|
102
102
|
"rollup-plugin-license": "^3.6.0",
|
|
103
103
|
"rollup-plugin-string": "^3.0.0",
|
|
104
104
|
"semver": "^7.7.2",
|
|
@@ -107,13 +107,13 @@
|
|
|
107
107
|
"source-map": "^0.7.6",
|
|
108
108
|
"source-map-support": "^0.5.21",
|
|
109
109
|
"systemjs": "^6.15.1",
|
|
110
|
-
"terser": "^5.
|
|
110
|
+
"terser": "^5.44.0",
|
|
111
111
|
"tslib": "^2.8.1",
|
|
112
112
|
"typescript": "^5.9.2",
|
|
113
|
-
"typescript-eslint": "^8.
|
|
114
|
-
"vite": "^7.1.
|
|
113
|
+
"typescript-eslint": "^8.43.0",
|
|
114
|
+
"vite": "^7.1.5",
|
|
115
115
|
"vitepress": "^1.6.4",
|
|
116
|
-
"vue": "^3.5.
|
|
116
|
+
"vue": "^3.5.21",
|
|
117
117
|
"vue-eslint-parser": "^10.2.0",
|
|
118
118
|
"vue-tsc": "^2.2.12",
|
|
119
119
|
"wasm-pack": "^0.13.1",
|