@rollup/wasm-node 4.28.1 → 4.29.0-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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.28.1
4
- Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
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('fs');
25
24
  require('util');
25
+ require('fs');
26
26
  require('stream');
27
27
  require('os');
28
28
  require('./fsevents-importer.js');
@@ -366,23 +366,7 @@ const {
366
366
  *
367
367
  * Returns a function that may be used to unload signal-exit.
368
368
  */
369
- onExit,
370
- /**
371
- * Load the listeners. Likely you never need to call this, unless
372
- * doing a rather deep integration with signal-exit functionality.
373
- * Mostly exposed for the benefit of testing.
374
- *
375
- * @internal
376
- */
377
- load,
378
- /**
379
- * Unload the listeners. Likely you never need to call this, unless
380
- * doing a rather deep integration with signal-exit functionality.
381
- * Mostly exposed for the benefit of testing.
382
- *
383
- * @internal
384
- */
385
- unload, } = signalExitWrap(processOk(process$1) ? new SignalExit(process$1) : new SignalExitFallback());
369
+ onExit} = signalExitWrap(processOk(process$1) ? new SignalExit(process$1) : new SignalExitFallback());
386
370
 
387
371
  const CLEAR_SCREEN = '\u001Bc';
388
372
  function getResetScreen(configs, allowClearScreen) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.28.1
4
- Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
3
+ Rollup.js v4.29.0-1
4
+ Thu, 19 Dec 2024 06:37:00 GMT - commit fa5064084196636acd98263f95ffea59f8362e32
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -22,8 +22,8 @@ require('tty');
22
22
  require('path');
23
23
  require('node:perf_hooks');
24
24
  require('node:fs/promises');
25
- require('fs');
26
25
  require('util');
26
+ require('fs');
27
27
  require('stream');
28
28
  require('os');
29
29
  require('./fsevents-importer.js');
@@ -59,6 +59,10 @@ function takeObject(idx) {
59
59
  return ret;
60
60
  }
61
61
 
62
+ function isLikeNone(x) {
63
+ return x === undefined || x === null;
64
+ }
65
+
62
66
  let WASM_VECTOR_LEN = 0;
63
67
 
64
68
  let cachedTextEncoder = new TextEncoder('utf-8');
@@ -213,17 +217,17 @@ module.exports.xxhashBase16 = function(input) {
213
217
  }
214
218
  };
215
219
 
216
- module.exports.__wbg_buffer_6e1d53ff183194fc = function(arg0) {
220
+ module.exports.__wbg_buffer_61b7ce01341d7f88 = function(arg0) {
217
221
  const ret = getObject(arg0).buffer;
218
222
  return addHeapObject(ret);
219
223
  };
220
224
 
221
- module.exports.__wbg_call_0411c0c3c424db9a = function() { return handleError(function (arg0, arg1, arg2) {
225
+ module.exports.__wbg_call_500db948e69c7330 = function() { return handleError(function (arg0, arg1, arg2) {
222
226
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
223
227
  return addHeapObject(ret);
224
228
  }, arguments) };
225
229
 
226
- module.exports.__wbg_call_3114932863209ca6 = function() { return handleError(function (arg0, arg1) {
230
+ module.exports.__wbg_call_b0d8e36992d9900d = function() { return handleError(function (arg0, arg1) {
227
231
  const ret = getObject(arg0).call(getObject(arg1));
228
232
  return addHeapObject(ret);
229
233
  }, arguments) };
@@ -237,17 +241,7 @@ module.exports.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return hand
237
241
  getObject(arg0).getRandomValues(getObject(arg1));
238
242
  }, arguments) };
239
243
 
240
- module.exports.__wbg_globalThis_1e2ac1d6eee845b3 = function() { return handleError(function () {
241
- const ret = globalThis.globalThis;
242
- return addHeapObject(ret);
243
- }, arguments) };
244
-
245
- module.exports.__wbg_global_f25a574ae080367c = function() { return handleError(function () {
246
- const ret = global.global;
247
- return addHeapObject(ret);
248
- }, arguments) };
249
-
250
- module.exports.__wbg_length_2e63ba34c4121df5 = function(arg0) {
244
+ module.exports.__wbg_length_65d1cd11729ced11 = function(arg0) {
251
245
  const ret = getObject(arg0).length;
252
246
  return ret;
253
247
  };
@@ -257,22 +251,22 @@ module.exports.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
257
251
  return addHeapObject(ret);
258
252
  };
259
253
 
260
- module.exports.__wbg_new_23362fa370a0a372 = function(arg0) {
254
+ module.exports.__wbg_new_3ff5b33b1ce712df = function(arg0) {
261
255
  const ret = new Uint8Array(getObject(arg0));
262
256
  return addHeapObject(ret);
263
257
  };
264
258
 
265
- module.exports.__wbg_newnoargs_19a249f4eceaaac3 = function(arg0, arg1) {
259
+ module.exports.__wbg_newnoargs_fd9e4bf8be2bc16d = function(arg0, arg1) {
266
260
  const ret = new Function(getStringFromWasm0(arg0, arg1));
267
261
  return addHeapObject(ret);
268
262
  };
269
263
 
270
- module.exports.__wbg_newwithbyteoffsetandlength_ee8def7000b7b2be = function(arg0, arg1, arg2) {
264
+ module.exports.__wbg_newwithbyteoffsetandlength_ba35896968751d91 = function(arg0, arg1, arg2) {
271
265
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
272
266
  return addHeapObject(ret);
273
267
  };
274
268
 
275
- module.exports.__wbg_newwithlength_91de49dea5643c87 = function(arg0) {
269
+ module.exports.__wbg_newwithlength_34ce8f1051e74449 = function(arg0) {
276
270
  const ret = new Uint8Array(arg0 >>> 0);
277
271
  return addHeapObject(ret);
278
272
  };
@@ -296,16 +290,31 @@ module.exports.__wbg_require_79b1e9274cde3c87 = function() { return handleError(
296
290
  return addHeapObject(ret);
297
291
  }, arguments) };
298
292
 
299
- module.exports.__wbg_self_ac4343e4047b83cc = function() { return handleError(function () {
300
- const ret = self.self;
301
- return addHeapObject(ret);
302
- }, arguments) };
303
-
304
- module.exports.__wbg_set_7b70226104a82921 = function(arg0, arg1, arg2) {
293
+ module.exports.__wbg_set_23d69db4e5c66a6e = function(arg0, arg1, arg2) {
305
294
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
306
295
  };
307
296
 
308
- module.exports.__wbg_subarray_b4e9772c34a7f5ba = function(arg0, arg1, arg2) {
297
+ module.exports.__wbg_static_accessor_GLOBAL_0be7472e492ad3e3 = function() {
298
+ const ret = typeof global === 'undefined' ? null : global;
299
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
300
+ };
301
+
302
+ module.exports.__wbg_static_accessor_GLOBAL_THIS_1a6eb482d12c9bfb = function() {
303
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
304
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
305
+ };
306
+
307
+ module.exports.__wbg_static_accessor_SELF_1dc398a895c82351 = function() {
308
+ const ret = typeof self === 'undefined' ? null : self;
309
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
310
+ };
311
+
312
+ module.exports.__wbg_static_accessor_WINDOW_ae1c80c7eea8d64a = function() {
313
+ const ret = typeof window === 'undefined' ? null : window;
314
+ return isLikeNone(ret) ? 0 : addHeapObject(ret);
315
+ };
316
+
317
+ module.exports.__wbg_subarray_46adeb9b86949d12 = function(arg0, arg1, arg2) {
309
318
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
310
319
  return addHeapObject(ret);
311
320
  };
@@ -315,11 +324,6 @@ module.exports.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
315
324
  return addHeapObject(ret);
316
325
  };
317
326
 
318
- module.exports.__wbg_window_1a23defd102c72f4 = function() { return handleError(function () {
319
- const ret = window.window;
320
- return addHeapObject(ret);
321
- }, arguments) };
322
-
323
327
  module.exports.__wbindgen_is_function = function(arg0) {
324
328
  const ret = typeof(getObject(arg0)) === 'function';
325
329
  return ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.28.1",
3
+ "version": "4.29.0-1",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -36,10 +36,10 @@
36
36
  "@codemirror/lang-javascript": "^6.2.2",
37
37
  "@codemirror/language": "^6.10.6",
38
38
  "@codemirror/search": "^6.5.8",
39
- "@codemirror/state": "^6.4.1",
40
- "@codemirror/view": "^6.35.0",
39
+ "@codemirror/state": "^6.5.0",
40
+ "@codemirror/view": "^6.35.3",
41
41
  "@eslint/js": "^9.16.0",
42
- "@inquirer/prompts": "^7.1.0",
42
+ "@inquirer/prompts": "^7.2.0",
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,7 +52,7 @@
52
52
  "@rollup/plugin-terser": "^0.4.4",
53
53
  "@rollup/plugin-typescript": "^12.1.1",
54
54
  "@rollup/pluginutils": "^5.1.3",
55
- "@shikijs/vitepress-twoslash": "^1.24.0",
55
+ "@shikijs/vitepress-twoslash": "^1.24.1",
56
56
  "@types/mocha": "^10.0.10",
57
57
  "@types/node": "^18.19.67",
58
58
  "@types/semver": "^7.5.8",
@@ -90,13 +90,13 @@
90
90
  "nodemon": "^3.1.7",
91
91
  "npm-audit-resolver": "^3.0.0-RC.0",
92
92
  "nyc": "^17.1.0",
93
- "pinia": "^2.2.8",
94
- "prettier": "^3.4.1",
93
+ "pinia": "^2.3.0",
94
+ "prettier": "^3.4.2",
95
95
  "prettier-plugin-organize-imports": "^4.1.0",
96
96
  "pretty-bytes": "^6.1.1",
97
97
  "pretty-ms": "^9.2.0",
98
98
  "requirejs": "^2.3.7",
99
- "rollup": "^4.28.0",
99
+ "rollup": "^4.28.1",
100
100
  "rollup-plugin-license": "^3.5.3",
101
101
  "rollup-plugin-string": "^3.0.0",
102
102
  "semver": "^7.6.3",
@@ -105,11 +105,11 @@
105
105
  "source-map": "^0.7.4",
106
106
  "source-map-support": "^0.5.21",
107
107
  "systemjs": "^6.15.1",
108
- "terser": "^5.36.0",
108
+ "terser": "^5.37.0",
109
109
  "tslib": "^2.8.1",
110
110
  "typescript": "^5.7.2",
111
- "typescript-eslint": "^8.17.0",
112
- "vite": "^6.0.2",
111
+ "typescript-eslint": "^8.18.0",
112
+ "vite": "^6.0.3",
113
113
  "vitepress": "^1.5.0",
114
114
  "vue": "^3.5.13",
115
115
  "vue-tsc": "^2.1.10",
@@ -117,7 +117,7 @@
117
117
  "yargs-parser": "^21.1.1"
118
118
  },
119
119
  "overrides": {
120
- "axios": "^1.7.8",
120
+ "axios": "^1.7.9",
121
121
  "semver": "^7.6.3",
122
122
  "readable-stream": "npm:@built-in/readable-stream@1"
123
123
  },