@rollup/wasm-node 4.36.0 → 4.38.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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.36.0
4
- Mon, 17 Mar 2025 08:35:11 GMT - commit ab7bfa8fe9c25e41cc62058fa2dcde6b321fd51d
3
+ Rollup.js v4.38.0
4
+ Sat, 29 Mar 2025 06:28:32 GMT - commit 22b64bcc511dfc40ce463e3f662a928915908713
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.36.0
4
- Mon, 17 Mar 2025 08:35:11 GMT - commit ab7bfa8fe9c25e41cc62058fa2dcde6b321fd51d
3
+ Rollup.js v4.38.0
4
+ Sat, 29 Mar 2025 06:28:32 GMT - commit 22b64bcc511dfc40ce463e3f662a928915908713
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -21,18 +21,6 @@ function addHeapObject(obj) {
21
21
  return idx;
22
22
  }
23
23
 
24
- function dropObject(idx) {
25
- if (idx < 132) return;
26
- heap[idx] = heap_next;
27
- heap_next = idx;
28
- }
29
-
30
- function takeObject(idx) {
31
- const ret = getObject(idx);
32
- dropObject(idx);
33
- return ret;
34
- }
35
-
36
24
  let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
37
25
 
38
26
  cachedTextDecoder.decode();
@@ -116,6 +104,18 @@ function getDataViewMemory0() {
116
104
  return cachedDataViewMemory0;
117
105
  }
118
106
 
107
+ function dropObject(idx) {
108
+ if (idx < 132) return;
109
+ heap[idx] = heap_next;
110
+ heap_next = idx;
111
+ }
112
+
113
+ function takeObject(idx) {
114
+ const ret = getObject(idx);
115
+ dropObject(idx);
116
+ return ret;
117
+ }
118
+
119
119
  function getArrayU8FromWasm0(ptr, len) {
120
120
  ptr = ptr >>> 0;
121
121
  return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
@@ -129,13 +129,13 @@ function getArrayU8FromWasm0(ptr, len) {
129
129
  module.exports.parse = function(code, allow_return_outside_function, jsx) {
130
130
  try {
131
131
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
132
- const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
132
+ const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
133
133
  const len0 = WASM_VECTOR_LEN;
134
134
  wasm.parse(retptr, ptr0, len0, allow_return_outside_function, jsx);
135
135
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
136
136
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
137
137
  var v2 = getArrayU8FromWasm0(r0, r1).slice();
138
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
138
+ wasm.__wbindgen_export_0(r0, r1 * 1, 1);
139
139
  return v2;
140
140
  } finally {
141
141
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -159,7 +159,7 @@ module.exports.xxhashBase64Url = function(input) {
159
159
  return getStringFromWasm0(r0, r1);
160
160
  } finally {
161
161
  wasm.__wbindgen_add_to_stack_pointer(16);
162
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
162
+ wasm.__wbindgen_export_0(deferred1_0, deferred1_1, 1);
163
163
  }
164
164
  };
165
165
 
@@ -180,7 +180,7 @@ module.exports.xxhashBase36 = function(input) {
180
180
  return getStringFromWasm0(r0, r1);
181
181
  } finally {
182
182
  wasm.__wbindgen_add_to_stack_pointer(16);
183
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
183
+ wasm.__wbindgen_export_0(deferred1_0, deferred1_1, 1);
184
184
  }
185
185
  };
186
186
 
@@ -201,7 +201,7 @@ module.exports.xxhashBase16 = function(input) {
201
201
  return getStringFromWasm0(r0, r1);
202
202
  } finally {
203
203
  wasm.__wbindgen_add_to_stack_pointer(16);
204
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
204
+ wasm.__wbindgen_export_0(deferred1_0, deferred1_1, 1);
205
205
  }
206
206
  };
207
207
 
@@ -210,11 +210,28 @@ module.exports.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
210
210
  return addHeapObject(ret);
211
211
  };
212
212
 
213
+ module.exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
214
+ let deferred0_0;
215
+ let deferred0_1;
216
+ try {
217
+ deferred0_0 = arg0;
218
+ deferred0_1 = arg1;
219
+ console.error(getStringFromWasm0(arg0, arg1));
220
+ } finally {
221
+ wasm.__wbindgen_export_0(deferred0_0, deferred0_1, 1);
222
+ }
223
+ };
224
+
213
225
  module.exports.__wbg_length_a446193dc22c12f8 = function(arg0) {
214
226
  const ret = getObject(arg0).length;
215
227
  return ret;
216
228
  };
217
229
 
230
+ module.exports.__wbg_new_8a6f238a6ece86ea = function() {
231
+ const ret = new Error();
232
+ return addHeapObject(ret);
233
+ };
234
+
218
235
  module.exports.__wbg_new_a12002a7f91c75be = function(arg0) {
219
236
  const ret = new Uint8Array(getObject(arg0));
220
237
  return addHeapObject(ret);
@@ -224,6 +241,14 @@ module.exports.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
224
241
  getObject(arg0).set(getObject(arg1), arg2 >>> 0);
225
242
  };
226
243
 
244
+ module.exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
245
+ const ret = getObject(arg1).stack;
246
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
247
+ const len1 = WASM_VECTOR_LEN;
248
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
249
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
250
+ };
251
+
227
252
  module.exports.__wbindgen_memory = function() {
228
253
  const ret = wasm.memory;
229
254
  return addHeapObject(ret);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.36.0",
3
+ "version": "4.38.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",
@@ -26,7 +26,7 @@
26
26
  "fsevents": "~2.3.2"
27
27
  },
28
28
  "dependencies": {
29
- "@types/estree": "1.0.6"
29
+ "@types/estree": "1.0.7"
30
30
  },
31
31
  "devDependenciesComments": {
32
32
  "core-js": "We only update manually as every update requires a snapshot update"
@@ -34,12 +34,12 @@
34
34
  "devDependencies": {
35
35
  "@codemirror/commands": "^6.8.0",
36
36
  "@codemirror/lang-javascript": "^6.2.3",
37
- "@codemirror/language": "^6.10.8",
37
+ "@codemirror/language": "^6.11.0",
38
38
  "@codemirror/search": "^6.5.10",
39
39
  "@codemirror/state": "^6.5.2",
40
40
  "@codemirror/view": "^6.36.4",
41
- "@eslint/js": "^9.22.0",
42
- "@inquirer/prompts": "^7.3.3",
41
+ "@eslint/js": "^9.23.0",
42
+ "@inquirer/prompts": "^7.4.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",
@@ -47,14 +47,15 @@
47
47
  "@rollup/plugin-buble": "^1.0.3",
48
48
  "@rollup/plugin-commonjs": "^28.0.3",
49
49
  "@rollup/plugin-json": "^6.1.0",
50
- "@rollup/plugin-node-resolve": "^16.0.0",
50
+ "@rollup/plugin-node-resolve": "^16.0.1",
51
51
  "@rollup/plugin-replace": "^6.0.2",
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": "^3.1.0",
55
+ "@shikijs/vitepress-twoslash": "^3.2.1",
56
56
  "@types/mocha": "^10.0.10",
57
- "@types/node": "^18.19.80",
57
+ "@types/node": "^18.19.83",
58
+ "@types/picomatch": "^3.0.2",
58
59
  "@types/semver": "^7.5.8",
59
60
  "@types/yargs-parser": "^21.0.3",
60
61
  "@vue/language-server": "^2.2.8",
@@ -70,10 +71,10 @@
70
71
  "date-time": "^4.0.0",
71
72
  "es5-shim": "^4.6.7",
72
73
  "es6-shim": "^0.35.8",
73
- "eslint": "^9.22.0",
74
+ "eslint": "^9.23.0",
74
75
  "eslint-config-prettier": "^10.1.1",
75
- "eslint-plugin-prettier": "^5.2.3",
76
- "eslint-plugin-unicorn": "^57.0.0",
76
+ "eslint-plugin-prettier": "^5.2.4",
77
+ "eslint-plugin-unicorn": "^58.0.0",
77
78
  "eslint-plugin-vue": "^10.0.0",
78
79
  "fixturify": "^3.0.0",
79
80
  "flru": "^1.0.2",
@@ -82,7 +83,7 @@
82
83
  "globals": "^16.0.0",
83
84
  "husky": "^9.1.7",
84
85
  "is-reference": "^3.0.3",
85
- "lint-staged": "^15.4.3",
86
+ "lint-staged": "^15.5.0",
86
87
  "locate-character": "^3.0.0",
87
88
  "magic-string": "^0.30.17",
88
89
  "mocha": "^11.1.0",
@@ -90,17 +91,18 @@
90
91
  "npm-audit-resolver": "^3.0.0-RC.0",
91
92
  "nyc": "^17.1.0",
92
93
  "picocolors": "^1.1.1",
94
+ "picomatch": "^4.0.2",
93
95
  "pinia": "^3.0.1",
94
96
  "prettier": "^3.5.3",
95
97
  "prettier-plugin-organize-imports": "^4.1.0",
96
98
  "pretty-bytes": "^6.1.1",
97
99
  "pretty-ms": "^9.2.0",
98
100
  "requirejs": "^2.3.7",
99
- "rollup": "^4.35.0",
101
+ "rollup": "^4.37.0",
100
102
  "rollup-plugin-license": "^3.6.0",
101
103
  "rollup-plugin-string": "^3.0.0",
102
104
  "semver": "^7.7.1",
103
- "shx": "^0.3.4",
105
+ "shx": "^0.4.0",
104
106
  "signal-exit": "^4.1.0",
105
107
  "source-map": "^0.7.4",
106
108
  "source-map-support": "^0.5.21",
@@ -108,8 +110,8 @@
108
110
  "terser": "^5.39.0",
109
111
  "tslib": "^2.8.1",
110
112
  "typescript": "^5.8.2",
111
- "typescript-eslint": "^8.26.1",
112
- "vite": "^6.2.1",
113
+ "typescript-eslint": "^8.28.0",
114
+ "vite": "^6.2.3",
113
115
  "vitepress": "^1.6.3",
114
116
  "vue": "^3.5.13",
115
117
  "vue-tsc": "^2.2.8",
@@ -117,7 +119,7 @@
117
119
  "yargs-parser": "^21.1.1"
118
120
  },
119
121
  "overrides": {
120
- "axios": "^1.8.3",
122
+ "axios": "^1.8.4",
121
123
  "semver": "^7.7.1",
122
124
  "readable-stream": "npm:@built-in/readable-stream@1",
123
125
  "esbuild": ">0.24.2"