@rollup/wasm-node 4.63.1 → 4.63.3
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 +21 -12
- package/dist/es/getLogFilter.js +3 -3
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +340 -155
- package/dist/es/shared/parseAst.js +4 -2
- package/dist/es/shared/watch.js +29 -19
- package/dist/getLogFilter.js +3 -3
- 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 +4 -2
- package/dist/shared/rollup.js +340 -155
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +29 -19
- package/dist/wasm-node/bindings_wasm.js +3 -3
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +21 -21
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.63.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.63.3
|
|
4
|
+
Mon, 14 Sep 2026 12:44:36 GMT - commit 250deca2945f8817350564f7d52bab0f79175d1b
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -117,7 +117,7 @@ class Watcher {
|
|
|
117
117
|
this.buildDelay = Math.max(this.buildDelay, watch.buildDelay);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
process.nextTick(() => this.run());
|
|
120
|
+
process.nextTick(() => this.run().catch(error => this.reportError(error)));
|
|
121
121
|
}
|
|
122
122
|
async close() {
|
|
123
123
|
if (this.closed)
|
|
@@ -159,30 +159,40 @@ class Watcher {
|
|
|
159
159
|
this.invalidatedIds.clear();
|
|
160
160
|
await this.emitter.emit('restart');
|
|
161
161
|
this.emitter.removeListenersForCurrentRun();
|
|
162
|
-
this.run();
|
|
162
|
+
await this.run();
|
|
163
163
|
}
|
|
164
164
|
catch (error) {
|
|
165
|
-
this.
|
|
166
|
-
await this.emitter.emit('event', {
|
|
167
|
-
code: 'ERROR',
|
|
168
|
-
error,
|
|
169
|
-
result: null
|
|
170
|
-
});
|
|
171
|
-
await this.emitter.emit('event', {
|
|
172
|
-
code: 'END'
|
|
173
|
-
});
|
|
165
|
+
await this.reportError(error);
|
|
174
166
|
}
|
|
175
167
|
}, this.buildDelay);
|
|
176
168
|
}
|
|
177
|
-
async
|
|
178
|
-
this.
|
|
169
|
+
async reportError(error) {
|
|
170
|
+
this.invalidatedIds.clear();
|
|
179
171
|
await this.emitter.emit('event', {
|
|
180
|
-
code: '
|
|
172
|
+
code: 'ERROR',
|
|
173
|
+
error,
|
|
174
|
+
result: null
|
|
181
175
|
});
|
|
182
|
-
|
|
183
|
-
|
|
176
|
+
await this.emitter.emit('event', {
|
|
177
|
+
code: 'END'
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
async run() {
|
|
181
|
+
this.running = true;
|
|
182
|
+
// Drop a rerun request left over from a failed run: honoring it after this run
|
|
183
|
+
// would start an empty run that removes the plugin event listeners of this run.
|
|
184
|
+
this.rerun = false;
|
|
185
|
+
try {
|
|
186
|
+
await this.emitter.emit('event', {
|
|
187
|
+
code: 'START'
|
|
188
|
+
});
|
|
189
|
+
for (const task of this.tasks) {
|
|
190
|
+
await task.run();
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
finally {
|
|
194
|
+
this.running = false;
|
|
184
195
|
}
|
|
185
|
-
this.running = false;
|
|
186
196
|
await this.emitter.emit('event', {
|
|
187
197
|
code: 'END'
|
|
188
198
|
});
|
|
@@ -91,7 +91,7 @@ exports.xxhashBase64Url = xxhashBase64Url;
|
|
|
91
91
|
function __wbg_get_imports() {
|
|
92
92
|
const import0 = {
|
|
93
93
|
__proto__: null,
|
|
94
|
-
|
|
94
|
+
__wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
|
|
95
95
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
96
96
|
},
|
|
97
97
|
__wbg_error_757e9472f8410341: function(arg0, arg1) {
|
|
@@ -105,7 +105,7 @@ function __wbg_get_imports() {
|
|
|
105
105
|
wasm.__wbindgen_export(deferred0_0, deferred0_1, 1);
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
|
-
|
|
108
|
+
__wbg_length_31bdaf014f5fbde2: function(arg0) {
|
|
109
109
|
const ret = getObject(arg0).length;
|
|
110
110
|
return ret;
|
|
111
111
|
},
|
|
@@ -113,7 +113,7 @@ function __wbg_get_imports() {
|
|
|
113
113
|
const ret = new Error();
|
|
114
114
|
return addHeapObject(ret);
|
|
115
115
|
},
|
|
116
|
-
|
|
116
|
+
__wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
|
|
117
117
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
118
118
|
},
|
|
119
119
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.63.
|
|
3
|
+
"version": "4.63.3",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"@codemirror/commands": "^6.11.0",
|
|
40
40
|
"@codemirror/lang-javascript": "^6.2.5",
|
|
41
41
|
"@codemirror/language": "^6.12.4",
|
|
42
|
-
"@codemirror/search": "^6.7.
|
|
43
|
-
"@codemirror/state": "^6.7.
|
|
44
|
-
"@codemirror/view": "^6.43.
|
|
42
|
+
"@codemirror/search": "^6.7.2",
|
|
43
|
+
"@codemirror/state": "^6.7.4",
|
|
44
|
+
"@codemirror/view": "^6.43.11",
|
|
45
45
|
"@emnapi/core": "^1.11.3",
|
|
46
46
|
"@emnapi/runtime": "^1.11.3",
|
|
47
47
|
"@eslint/js": "^10.0.1",
|
|
48
48
|
"@inquirer/prompts": "^7.10.1",
|
|
49
|
-
"@jridgewell/sourcemap-codec": "^1.
|
|
50
|
-
"@mermaid-js/mermaid-cli": "^11.
|
|
49
|
+
"@jridgewell/sourcemap-codec": "^1.6.0",
|
|
50
|
+
"@mermaid-js/mermaid-cli": "^11.17.0",
|
|
51
51
|
"@napi-rs/cli": "3.4.1",
|
|
52
52
|
"@rollup/plugin-alias": "^6.0.0",
|
|
53
53
|
"@rollup/plugin-buble": "^1.0.3",
|
|
@@ -77,23 +77,23 @@
|
|
|
77
77
|
"date-time": "^4.0.0",
|
|
78
78
|
"es5-shim": "^4.6.7",
|
|
79
79
|
"es6-shim": "^0.35.8",
|
|
80
|
-
"eslint": "^10.
|
|
80
|
+
"eslint": "^10.10.0",
|
|
81
81
|
"eslint-config-prettier": "^10.1.8",
|
|
82
82
|
"eslint-plugin-prettier": "^5.5.6",
|
|
83
|
-
"eslint-plugin-unicorn": "^
|
|
84
|
-
"eslint-plugin-vue": "^10.
|
|
83
|
+
"eslint-plugin-unicorn": "^74.0.0",
|
|
84
|
+
"eslint-plugin-vue": "^10.11.0",
|
|
85
85
|
"fixturify": "^3.0.0",
|
|
86
86
|
"flru": "^1.0.2",
|
|
87
87
|
"fs-extra": "^11.4.0",
|
|
88
88
|
"github-api": "^3.4.0",
|
|
89
|
-
"globals": "^17.
|
|
89
|
+
"globals": "^17.12.0",
|
|
90
90
|
"husky": "^9.1.7",
|
|
91
91
|
"is-reference": "^3.0.3",
|
|
92
|
-
"lint-staged": "^17.
|
|
92
|
+
"lint-staged": "^17.5.0",
|
|
93
93
|
"locate-character": "^3.0.0",
|
|
94
|
-
"magic-string": "^1.2.
|
|
95
|
-
"memfs": "^4.
|
|
96
|
-
"mocha": "11.8.0",
|
|
94
|
+
"magic-string": "^1.2.3",
|
|
95
|
+
"memfs": "^4.71.0",
|
|
96
|
+
"mocha": "^11.8.0",
|
|
97
97
|
"nodemon": "^3.1.14",
|
|
98
98
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
99
99
|
"nyc": "^18.0.0",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
"pinia": "^4.0.3",
|
|
104
104
|
"prettier": "^3.9.6",
|
|
105
105
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
106
|
-
"pretty-bytes": "^7.1.
|
|
107
|
-
"pretty-ms": "^9.3.
|
|
106
|
+
"pretty-bytes": "^7.1.3",
|
|
107
|
+
"pretty-ms": "^9.3.1",
|
|
108
108
|
"requirejs": "^2.3.8",
|
|
109
|
-
"rollup": "^4.
|
|
109
|
+
"rollup": "^4.63.1",
|
|
110
110
|
"rollup-plugin-license": "^3.7.1",
|
|
111
111
|
"semver": "^7.8.5",
|
|
112
112
|
"shx": "^0.4.0",
|
|
@@ -114,20 +114,20 @@
|
|
|
114
114
|
"source-map": "^0.8.0",
|
|
115
115
|
"source-map-support": "^0.5.21",
|
|
116
116
|
"systemjs": "^6.15.1",
|
|
117
|
-
"terser": "^5.
|
|
117
|
+
"terser": "^5.51.2",
|
|
118
118
|
"tslib": "^2.8.1",
|
|
119
119
|
"typescript": "^5.9.3",
|
|
120
|
-
"typescript-eslint": "^8.
|
|
120
|
+
"typescript-eslint": "^8.70.0",
|
|
121
121
|
"vite": "^7.3.6",
|
|
122
122
|
"vitepress": "^1.6.4",
|
|
123
|
-
"vue": "^3.5.
|
|
123
|
+
"vue": "^3.5.42",
|
|
124
124
|
"vue-eslint-parser": "^10.4.1",
|
|
125
125
|
"vue-tsc": "^3.3.11",
|
|
126
126
|
"wasm-pack": "^0.15.0",
|
|
127
127
|
"yargs-parser": "^21.1.1"
|
|
128
128
|
},
|
|
129
129
|
"overrides": {
|
|
130
|
-
"axios": "^1.
|
|
130
|
+
"axios": "^1.20.0",
|
|
131
131
|
"esbuild": ">0.24.2",
|
|
132
132
|
"lodash-es": ">4.17.22",
|
|
133
133
|
"path-scurry": {
|