@rollup/wasm-node 4.50.3-0 → 4.51.1-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 CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.50.3-0
5
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
4
+ Rollup.js v4.51.1-0
5
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1444,7 +1444,7 @@ function prettyMilliseconds(milliseconds, options) {
1444
1444
  if (
1445
1445
  options.separateMilliseconds
1446
1446
  || options.formatSubMilliseconds
1447
- || (!options.colonNotation && milliseconds < 1000)
1447
+ || (!options.colonNotation && milliseconds < 1000 && !options.subSecondsAsDecimals)
1448
1448
  ) {
1449
1449
  const seconds = Number(parsed.seconds);
1450
1450
  const milliseconds = Number(parsed.milliseconds);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
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.3-0";
30
+ var version = "4.51.1-0";
31
31
 
32
32
  // src/vlq.ts
33
33
  var comma = ",".charCodeAt(0);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
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.3-0";
45
+ var version = "4.51.1-0";
46
46
 
47
47
  function ensureArray$1(items) {
48
48
  if (Array.isArray(items)) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.50.3-0
4
- Fri, 19 Sep 2025 04:40:38 GMT - commit d43171cfc96cc464ce1b96a7f42490d53002b615
3
+ Rollup.js v4.51.1-0
4
+ Fri, 19 Sep 2025 12:07:52 GMT - commit 04b4b56d20a1702ee95b518e0f623baa64ed4a89
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -4,23 +4,6 @@ imports['__wbindgen_placeholder__'] = module.exports;
4
4
  let wasm;
5
5
  const { TextDecoder, TextEncoder } = require(`util`);
6
6
 
7
- const heap = new Array(128).fill(undefined);
8
-
9
- heap.push(undefined, null, true, false);
10
-
11
- function getObject(idx) { return heap[idx]; }
12
-
13
- let heap_next = heap.length;
14
-
15
- function addHeapObject(obj) {
16
- if (heap_next === heap.length) heap.push(heap.length + 1);
17
- const idx = heap_next;
18
- heap_next = heap[idx];
19
-
20
- heap[idx] = obj;
21
- return idx;
22
- }
23
-
24
7
  let cachedUint8ArrayMemory0 = null;
25
8
 
26
9
  function getUint8ArrayMemory0() {
@@ -43,6 +26,28 @@ function getStringFromWasm0(ptr, len) {
43
26
  return decodeText(ptr, len);
44
27
  }
45
28
 
29
+ const heap = new Array(128).fill(undefined);
30
+
31
+ heap.push(undefined, null, true, false);
32
+
33
+ function getObject(idx) { return heap[idx]; }
34
+
35
+ let heap_next = heap.length;
36
+
37
+ function addHeapObject(obj) {
38
+ if (heap_next === heap.length) heap.push(heap.length + 1);
39
+ const idx = heap_next;
40
+ heap_next = heap[idx];
41
+
42
+ heap[idx] = obj;
43
+ return idx;
44
+ }
45
+
46
+ function getArrayU8FromWasm0(ptr, len) {
47
+ ptr = ptr >>> 0;
48
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
49
+ }
50
+
46
51
  let WASM_VECTOR_LEN = 0;
47
52
 
48
53
  const cachedTextEncoder = new TextEncoder('utf-8');
@@ -119,11 +124,6 @@ function takeObject(idx) {
119
124
  dropObject(idx);
120
125
  return ret;
121
126
  }
122
-
123
- function getArrayU8FromWasm0(ptr, len) {
124
- ptr = ptr >>> 0;
125
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
126
- }
127
127
  /**
128
128
  * @param {string} code
129
129
  * @param {boolean} allow_return_outside_function
@@ -209,11 +209,6 @@ module.exports.xxhashBase16 = function(input) {
209
209
  }
210
210
  };
211
211
 
212
- module.exports.__wbg_buffer_a1a27a0dfa70165d = function(arg0) {
213
- const ret = getObject(arg0).buffer;
214
- return addHeapObject(ret);
215
- };
216
-
217
212
  module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
218
213
  let deferred0_0;
219
214
  let deferred0_1;
@@ -226,7 +221,7 @@ module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
226
221
  }
227
222
  };
228
223
 
229
- module.exports.__wbg_length_ab6d22b5ead75c72 = function(arg0) {
224
+ module.exports.__wbg_length_904c0910ed998bf3 = function(arg0) {
230
225
  const ret = getObject(arg0).length;
231
226
  return ret;
232
227
  };
@@ -236,13 +231,8 @@ module.exports.__wbg_new_8a6f238a6ece86ea = function() {
236
231
  return addHeapObject(ret);
237
232
  };
238
233
 
239
- module.exports.__wbg_new_e52b3efaaa774f96 = function(arg0) {
240
- const ret = new Uint8Array(getObject(arg0));
241
- return addHeapObject(ret);
242
- };
243
-
244
- module.exports.__wbg_set_fe4e79d1ed3b0e9b = function(arg0, arg1, arg2) {
245
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
234
+ module.exports.__wbg_prototypesetcall_c5f74efd31aea86b = function(arg0, arg1, arg2) {
235
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
246
236
  };
247
237
 
248
238
  module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
@@ -253,19 +243,14 @@ module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
253
243
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
254
244
  };
255
245
 
256
- module.exports.__wbindgen_memory = function() {
257
- const ret = wasm.memory;
258
- return addHeapObject(ret);
246
+ module.exports.__wbg_wbindgenthrow_4c11a24fca429ccf = function(arg0, arg1) {
247
+ throw new Error(getStringFromWasm0(arg0, arg1));
259
248
  };
260
249
 
261
250
  module.exports.__wbindgen_object_drop_ref = function(arg0) {
262
251
  takeObject(arg0);
263
252
  };
264
253
 
265
- module.exports.__wbindgen_throw = function(arg0, arg1) {
266
- throw new Error(getStringFromWasm0(arg0, arg1));
267
- };
268
-
269
254
  const path = require('path').join(__dirname, 'bindings_wasm_bg.wasm');
270
255
  const bytes = require('fs').readFileSync(path);
271
256
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.50.3-0",
3
+ "version": "4.51.1-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",
@@ -39,10 +39,10 @@
39
39
  "@codemirror/state": "^6.5.2",
40
40
  "@codemirror/view": "^6.38.2",
41
41
  "@eslint/js": "^9.35.0",
42
- "@inquirer/prompts": "^7.8.4",
42
+ "@inquirer/prompts": "^7.8.6",
43
43
  "@jridgewell/sourcemap-codec": "^1.5.5",
44
- "@mermaid-js/mermaid-cli": "^11.9.0",
45
- "@napi-rs/cli": "^3.1.5",
44
+ "@mermaid-js/mermaid-cli": "^11.10.1",
45
+ "@napi-rs/cli": "^3.2.0",
46
46
  "@rollup/plugin-alias": "^5.1.1",
47
47
  "@rollup/plugin-buble": "^1.0.3",
48
48
  "@rollup/plugin-commonjs": "^28.0.6",
@@ -54,11 +54,11 @@
54
54
  "@rollup/pluginutils": "^5.3.0",
55
55
  "@shikijs/vitepress-twoslash": "^3.12.2",
56
56
  "@types/mocha": "^10.0.10",
57
- "@types/node": "^20.19.13",
57
+ "@types/node": "^20.19.15",
58
58
  "@types/picomatch": "^4.0.2",
59
59
  "@types/semver": "^7.7.1",
60
60
  "@types/yargs-parser": "^21.0.3",
61
- "@vue/language-server": "^3.0.6",
61
+ "@vue/language-server": "^3.0.7",
62
62
  "acorn": "^8.15.0",
63
63
  "acorn-import-assertions": "^1.9.0",
64
64
  "acorn-jsx": "^5.3.2",
@@ -78,15 +78,15 @@
78
78
  "eslint-plugin-vue": "^10.4.0",
79
79
  "fixturify": "^3.0.0",
80
80
  "flru": "^1.0.2",
81
- "fs-extra": "^11.3.1",
81
+ "fs-extra": "^11.3.2",
82
82
  "github-api": "^3.4.0",
83
- "globals": "^16.3.0",
83
+ "globals": "^16.4.0",
84
84
  "husky": "^9.1.7",
85
85
  "is-reference": "^3.0.3",
86
86
  "lint-staged": "^16.1.6",
87
87
  "locate-character": "^3.0.0",
88
88
  "magic-string": "^0.30.19",
89
- "memfs": "^4.38.2",
89
+ "memfs": "^4.39.0",
90
90
  "mocha": "^11.7.2",
91
91
  "nodemon": "^3.1.10",
92
92
  "nyc": "^17.1.0",
@@ -96,9 +96,9 @@
96
96
  "prettier": "^3.6.2",
97
97
  "prettier-plugin-organize-imports": "^4.2.0",
98
98
  "pretty-bytes": "^7.0.1",
99
- "pretty-ms": "^9.2.0",
99
+ "pretty-ms": "^9.3.0",
100
100
  "requirejs": "^2.3.7",
101
- "rollup": "^4.50.1",
101
+ "rollup": "^4.50.2",
102
102
  "rollup-plugin-license": "^3.6.0",
103
103
  "rollup-plugin-string": "^3.0.0",
104
104
  "semver": "^7.7.2",
@@ -110,7 +110,7 @@
110
110
  "terser": "^5.44.0",
111
111
  "tslib": "^2.8.1",
112
112
  "typescript": "^5.9.2",
113
- "typescript-eslint": "^8.43.0",
113
+ "typescript-eslint": "^8.44.0",
114
114
  "vite": "^7.1.5",
115
115
  "vitepress": "^1.6.4",
116
116
  "vue": "^3.5.21",
@@ -120,7 +120,7 @@
120
120
  "yargs-parser": "^21.1.1"
121
121
  },
122
122
  "overrides": {
123
- "axios": "^1.11.0",
123
+ "axios": "^1.12.2",
124
124
  "semver": "^7.7.2",
125
125
  "readable-stream": "npm:@built-in/readable-stream@1",
126
126
  "esbuild": ">0.24.2"