@rollup/wasm-node 4.31.0-0 → 4.31.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 +683 -1498
- package/dist/es/shared/parseAst.js +3 -3
- package/dist/es/shared/watch.js +6 -6
- 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 +6 -6
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +679 -1494
- package/dist/shared/watch-cli.js +21 -9
- package/dist/shared/watch.js +3 -3
- package/dist/wasm-node/bindings_wasm.js +16 -16
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +16 -16
package/dist/shared/watch-cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.31.0
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.31.0
|
|
4
|
+
Sun, 19 Jan 2025 12:56:16 GMT - commit 15c264d59e0768b7d283a7bb8ded0519d1b5199e
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -21,8 +21,8 @@ const loadConfigFile_js = require('./loadConfigFile.js');
|
|
|
21
21
|
const node_child_process = require('node:child_process');
|
|
22
22
|
const rollup_js = require('../rollup.js');
|
|
23
23
|
require('path');
|
|
24
|
-
require('util');
|
|
25
24
|
require('fs');
|
|
25
|
+
require('util');
|
|
26
26
|
require('stream');
|
|
27
27
|
require('os');
|
|
28
28
|
require('./fsevents-importer.js');
|
|
@@ -365,7 +365,23 @@ const {
|
|
|
365
365
|
*
|
|
366
366
|
* Returns a function that may be used to unload signal-exit.
|
|
367
367
|
*/
|
|
368
|
-
onExit
|
|
368
|
+
onExit,
|
|
369
|
+
/**
|
|
370
|
+
* Load the listeners. Likely you never need to call this, unless
|
|
371
|
+
* doing a rather deep integration with signal-exit functionality.
|
|
372
|
+
* Mostly exposed for the benefit of testing.
|
|
373
|
+
*
|
|
374
|
+
* @internal
|
|
375
|
+
*/
|
|
376
|
+
load,
|
|
377
|
+
/**
|
|
378
|
+
* Unload the listeners. Likely you never need to call this, unless
|
|
379
|
+
* doing a rather deep integration with signal-exit functionality.
|
|
380
|
+
* Mostly exposed for the benefit of testing.
|
|
381
|
+
*
|
|
382
|
+
* @internal
|
|
383
|
+
*/
|
|
384
|
+
unload, } = signalExitWrap(processOk(process$1) ? new SignalExit(process$1) : new SignalExitFallback());
|
|
369
385
|
|
|
370
386
|
const CLEAR_SCREEN = '\u001Bc';
|
|
371
387
|
function getResetScreen(configs, allowClearScreen) {
|
|
@@ -425,10 +441,6 @@ async function watch(command) {
|
|
|
425
441
|
const runWatchHook = createWatchHooks(command);
|
|
426
442
|
onExit(close);
|
|
427
443
|
process$2.on('uncaughtException', closeWithError);
|
|
428
|
-
if (!process$2.stdin.isTTY) {
|
|
429
|
-
process$2.stdin.on('end', close);
|
|
430
|
-
process$2.stdin.resume();
|
|
431
|
-
}
|
|
432
444
|
async function loadConfigFromFileAndTrack(configFile) {
|
|
433
445
|
let configFileData = null;
|
|
434
446
|
let configFileRevision = 0;
|
|
@@ -512,7 +524,7 @@ async function watch(command) {
|
|
|
512
524
|
}
|
|
513
525
|
case 'END': {
|
|
514
526
|
runWatchHook('onEnd');
|
|
515
|
-
if (!silent
|
|
527
|
+
if (!silent) {
|
|
516
528
|
rollup.stderr(`\n[${dateTime()}] waiting for changes...`);
|
|
517
529
|
}
|
|
518
530
|
}
|
package/dist/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.31.0
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.31.0
|
|
4
|
+
Sun, 19 Jan 2025 12:56:16 GMT - commit 15c264d59e0768b7d283a7bb8ded0519d1b5199e
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -21,8 +21,8 @@ require('../native.js');
|
|
|
21
21
|
require('path');
|
|
22
22
|
require('node:perf_hooks');
|
|
23
23
|
require('node:fs/promises');
|
|
24
|
-
require('util');
|
|
25
24
|
require('fs');
|
|
25
|
+
require('util');
|
|
26
26
|
require('stream');
|
|
27
27
|
require('os');
|
|
28
28
|
require('./fsevents-importer.js');
|
|
@@ -217,18 +217,18 @@ module.exports.xxhashBase16 = function(input) {
|
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
|
|
220
|
-
module.exports.
|
|
220
|
+
module.exports.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
221
221
|
const ret = getObject(arg0).buffer;
|
|
222
222
|
return addHeapObject(ret);
|
|
223
223
|
};
|
|
224
224
|
|
|
225
|
-
module.exports.
|
|
226
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
225
|
+
module.exports.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
226
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
227
227
|
return addHeapObject(ret);
|
|
228
228
|
}, arguments) };
|
|
229
229
|
|
|
230
|
-
module.exports.
|
|
231
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
230
|
+
module.exports.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
231
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
232
232
|
return addHeapObject(ret);
|
|
233
233
|
}, arguments) };
|
|
234
234
|
|
|
@@ -241,7 +241,7 @@ module.exports.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return hand
|
|
|
241
241
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
242
242
|
}, arguments) };
|
|
243
243
|
|
|
244
|
-
module.exports.
|
|
244
|
+
module.exports.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
245
245
|
const ret = getObject(arg0).length;
|
|
246
246
|
return ret;
|
|
247
247
|
};
|
|
@@ -251,22 +251,22 @@ module.exports.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
|
|
|
251
251
|
return addHeapObject(ret);
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
module.exports.
|
|
254
|
+
module.exports.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
255
255
|
const ret = new Uint8Array(getObject(arg0));
|
|
256
256
|
return addHeapObject(ret);
|
|
257
257
|
};
|
|
258
258
|
|
|
259
|
-
module.exports.
|
|
259
|
+
module.exports.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
260
260
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
261
261
|
return addHeapObject(ret);
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
module.exports.
|
|
264
|
+
module.exports.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
|
|
265
265
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
266
266
|
return addHeapObject(ret);
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
module.exports.
|
|
269
|
+
module.exports.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
|
|
270
270
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
271
271
|
return addHeapObject(ret);
|
|
272
272
|
};
|
|
@@ -290,31 +290,31 @@ module.exports.__wbg_require_79b1e9274cde3c87 = function() { return handleError(
|
|
|
290
290
|
return addHeapObject(ret);
|
|
291
291
|
}, arguments) };
|
|
292
292
|
|
|
293
|
-
module.exports.
|
|
293
|
+
module.exports.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
294
294
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
295
295
|
};
|
|
296
296
|
|
|
297
|
-
module.exports.
|
|
297
|
+
module.exports.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
298
298
|
const ret = typeof global === 'undefined' ? null : global;
|
|
299
299
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
300
300
|
};
|
|
301
301
|
|
|
302
|
-
module.exports.
|
|
302
|
+
module.exports.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
303
303
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
304
304
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
305
305
|
};
|
|
306
306
|
|
|
307
|
-
module.exports.
|
|
307
|
+
module.exports.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
308
308
|
const ret = typeof self === 'undefined' ? null : self;
|
|
309
309
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
310
310
|
};
|
|
311
311
|
|
|
312
|
-
module.exports.
|
|
312
|
+
module.exports.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
313
313
|
const ret = typeof window === 'undefined' ? null : window;
|
|
314
314
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
315
315
|
};
|
|
316
316
|
|
|
317
|
-
module.exports.
|
|
317
|
+
module.exports.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
|
|
318
318
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
319
319
|
return addHeapObject(ret);
|
|
320
320
|
};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.31.0
|
|
3
|
+
"version": "4.31.0",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"core-js": "We only update manually as every update requires a snapshot update"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@codemirror/commands": "^6.
|
|
35
|
+
"@codemirror/commands": "^6.8.0",
|
|
36
36
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
37
37
|
"@codemirror/language": "^6.10.8",
|
|
38
38
|
"@codemirror/search": "^6.5.8",
|
|
39
|
-
"@codemirror/state": "^6.5.
|
|
40
|
-
"@codemirror/view": "^6.36.
|
|
41
|
-
"@eslint/js": "^9.
|
|
42
|
-
"@inquirer/prompts": "^7.2.
|
|
39
|
+
"@codemirror/state": "^6.5.1",
|
|
40
|
+
"@codemirror/view": "^6.36.2",
|
|
41
|
+
"@eslint/js": "^9.18.0",
|
|
42
|
+
"@inquirer/prompts": "^7.2.3",
|
|
43
43
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
44
44
|
"@mermaid-js/mermaid-cli": "^11.4.2",
|
|
45
45
|
"@napi-rs/cli": "^2.18.4",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@rollup/plugin-terser": "^0.4.4",
|
|
53
53
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
54
54
|
"@rollup/pluginutils": "^5.1.4",
|
|
55
|
-
"@shikijs/vitepress-twoslash": "^1.
|
|
55
|
+
"@shikijs/vitepress-twoslash": "^1.26.2",
|
|
56
56
|
"@types/mocha": "^10.0.10",
|
|
57
|
-
"@types/node": "^18.19.
|
|
57
|
+
"@types/node": "^18.19.70",
|
|
58
58
|
"@types/semver": "^7.5.8",
|
|
59
59
|
"@types/yargs-parser": "^21.0.3",
|
|
60
60
|
"@vue/language-server": "^2.2.0",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"buble": "^0.20.0",
|
|
65
65
|
"builtin-modules": "^4.0.0",
|
|
66
66
|
"chokidar": "^3.6.0",
|
|
67
|
-
"concurrently": "^9.1.
|
|
67
|
+
"concurrently": "^9.1.2",
|
|
68
68
|
"core-js": "3.38.1",
|
|
69
69
|
"cross-env": "^7.0.3",
|
|
70
70
|
"date-time": "^4.0.0",
|
|
71
71
|
"es5-shim": "^4.6.7",
|
|
72
72
|
"es6-shim": "^0.35.8",
|
|
73
|
-
"eslint": "^9.
|
|
74
|
-
"eslint-config-prettier": "^
|
|
73
|
+
"eslint": "^9.18.0",
|
|
74
|
+
"eslint-config-prettier": "^10.0.1",
|
|
75
75
|
"eslint-plugin-prettier": "^5.2.1",
|
|
76
76
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
77
77
|
"eslint-plugin-vue": "^9.32.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"globals": "^15.14.0",
|
|
83
83
|
"husky": "^9.1.7",
|
|
84
84
|
"is-reference": "^3.0.3",
|
|
85
|
-
"lint-staged": "^15.
|
|
85
|
+
"lint-staged": "^15.3.0",
|
|
86
86
|
"locate-character": "^3.0.0",
|
|
87
87
|
"magic-string": "^0.30.17",
|
|
88
88
|
"mocha": "^11.0.1",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"pretty-bytes": "^6.1.1",
|
|
97
97
|
"pretty-ms": "^9.2.0",
|
|
98
98
|
"requirejs": "^2.3.7",
|
|
99
|
-
"rollup": "^4.
|
|
99
|
+
"rollup": "^4.30.1",
|
|
100
100
|
"rollup-plugin-license": "^3.5.3",
|
|
101
101
|
"rollup-plugin-string": "^3.0.0",
|
|
102
102
|
"semver": "^7.6.3",
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
"systemjs": "^6.15.1",
|
|
108
108
|
"terser": "^5.37.0",
|
|
109
109
|
"tslib": "^2.8.1",
|
|
110
|
-
"typescript": "^5.7.
|
|
111
|
-
"typescript-eslint": "^8.
|
|
112
|
-
"vite": "^6.0.
|
|
110
|
+
"typescript": "^5.7.3",
|
|
111
|
+
"typescript-eslint": "^8.20.0",
|
|
112
|
+
"vite": "^6.0.7",
|
|
113
113
|
"vitepress": "^1.5.0",
|
|
114
114
|
"vue": "^3.5.13",
|
|
115
115
|
"vue-tsc": "^2.2.0",
|