@rollup/wasm-node 4.52.5 → 4.53.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.
@@ -129,13 +129,13 @@ function takeObject(idx) {
129
129
  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_1, wasm.__wbindgen_export_2);
132
+ const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
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_0(r0, r1 * 1, 1);
138
+ wasm.__wbindgen_export(r0, r1 * 1, 1);
139
139
  return v2;
140
140
  } finally {
141
141
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -159,7 +159,7 @@ 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_0(deferred1_0, deferred1_1, 1);
162
+ wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
163
163
  }
164
164
  };
165
165
 
@@ -180,7 +180,7 @@ 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_0(deferred1_0, deferred1_1, 1);
183
+ wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
184
184
  }
185
185
  };
186
186
 
@@ -201,10 +201,14 @@ 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_0(deferred1_0, deferred1_1, 1);
204
+ wasm.__wbindgen_export(deferred1_0, deferred1_1, 1);
205
205
  }
206
206
  };
207
207
 
208
+ exports.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
209
+ throw new Error(getStringFromWasm0(arg0, arg1));
210
+ };
211
+
208
212
  exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
209
213
  let deferred0_0;
210
214
  let deferred0_1;
@@ -213,11 +217,11 @@ exports.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
213
217
  deferred0_1 = arg1;
214
218
  console.error(getStringFromWasm0(arg0, arg1));
215
219
  } finally {
216
- wasm.__wbindgen_export_0(deferred0_0, deferred0_1, 1);
220
+ wasm.__wbindgen_export(deferred0_0, deferred0_1, 1);
217
221
  }
218
222
  };
219
223
 
220
- exports.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
224
+ exports.__wbg_length_69bca3cb64fc8748 = function(arg0) {
221
225
  const ret = getObject(arg0).length;
222
226
  return ret;
223
227
  };
@@ -227,22 +231,18 @@ exports.__wbg_new_8a6f238a6ece86ea = function() {
227
231
  return addHeapObject(ret);
228
232
  };
229
233
 
230
- exports.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
234
+ exports.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
231
235
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
232
236
  };
233
237
 
234
238
  exports.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
235
239
  const ret = getObject(arg1).stack;
236
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
240
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export2, wasm.__wbindgen_export3);
237
241
  const len1 = WASM_VECTOR_LEN;
238
242
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
239
243
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
240
244
  };
241
245
 
242
- exports.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
243
- throw new Error(getStringFromWasm0(arg0, arg1));
244
- };
245
-
246
246
  exports.__wbindgen_object_drop_ref = function(arg0) {
247
247
  takeObject(arg0);
248
248
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.52.5",
3
+ "version": "4.53.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",
@@ -35,33 +35,33 @@
35
35
  "core-js": "We only update manually as every update requires a snapshot update"
36
36
  },
37
37
  "devDependencies": {
38
- "@codemirror/commands": "^6.9.0",
38
+ "@codemirror/commands": "^6.10.0",
39
39
  "@codemirror/lang-javascript": "^6.2.4",
40
40
  "@codemirror/language": "^6.11.3",
41
41
  "@codemirror/search": "^6.5.11",
42
42
  "@codemirror/state": "^6.5.2",
43
43
  "@codemirror/view": "^6.38.6",
44
- "@eslint/js": "^9.37.0",
44
+ "@eslint/js": "^9.39.1",
45
45
  "@inquirer/prompts": "^7.9.0",
46
46
  "@jridgewell/sourcemap-codec": "^1.5.5",
47
47
  "@mermaid-js/mermaid-cli": "^11.4.0",
48
- "@napi-rs/cli": "^3.3.1",
49
- "@rollup/plugin-alias": "^5.1.1",
48
+ "@napi-rs/cli": "^3.4.1",
49
+ "@rollup/plugin-alias": "^6.0.0",
50
50
  "@rollup/plugin-buble": "^1.0.3",
51
- "@rollup/plugin-commonjs": "^28.0.7",
51
+ "@rollup/plugin-commonjs": "^29.0.0",
52
52
  "@rollup/plugin-json": "^6.1.0",
53
53
  "@rollup/plugin-node-resolve": "^16.0.3",
54
- "@rollup/plugin-replace": "^6.0.2",
54
+ "@rollup/plugin-replace": "^6.0.3",
55
55
  "@rollup/plugin-terser": "^0.4.4",
56
- "@rollup/plugin-typescript": "^12.1.4",
56
+ "@rollup/plugin-typescript": "^12.3.0",
57
57
  "@rollup/pluginutils": "^5.3.0",
58
- "@shikijs/vitepress-twoslash": "^3.13.0",
58
+ "@shikijs/vitepress-twoslash": "^3.14.0",
59
59
  "@types/mocha": "^10.0.10",
60
- "@types/node": "^20.19.21",
60
+ "@types/node": "^20.19.24",
61
61
  "@types/picomatch": "^4.0.2",
62
62
  "@types/semver": "^7.7.1",
63
63
  "@types/yargs-parser": "^21.0.3",
64
- "@vue/language-server": "^3.1.1",
64
+ "@vue/language-server": "^3.1.3",
65
65
  "acorn": "^8.15.0",
66
66
  "acorn-import-assertions": "^1.9.0",
67
67
  "acorn-jsx": "^5.3.2",
@@ -74,25 +74,26 @@
74
74
  "date-time": "^4.0.0",
75
75
  "es5-shim": "^4.6.7",
76
76
  "es6-shim": "^0.35.8",
77
- "eslint": "^9.37.0",
77
+ "eslint": "^9.39.1",
78
78
  "eslint-config-prettier": "^10.1.8",
79
79
  "eslint-plugin-prettier": "^5.5.4",
80
- "eslint-plugin-unicorn": "^61.0.2",
81
- "eslint-plugin-vue": "^10.5.0",
80
+ "eslint-plugin-unicorn": "^62.0.0",
81
+ "eslint-plugin-vue": "^10.5.1",
82
82
  "fixturify": "^3.0.0",
83
83
  "flru": "^1.0.2",
84
84
  "fs-extra": "^11.3.2",
85
85
  "github-api": "^3.4.0",
86
- "globals": "^16.4.0",
86
+ "globals": "^16.5.0",
87
87
  "husky": "^9.1.7",
88
88
  "is-reference": "^3.0.3",
89
- "lint-staged": "^16.2.4",
89
+ "lint-staged": "^16.2.6",
90
90
  "locate-character": "^3.0.0",
91
- "magic-string": "^0.30.19",
92
- "memfs": "^4.49.0",
91
+ "magic-string": "^0.30.21",
92
+ "memfs": "^4.50.0",
93
93
  "mocha": "^11.7.4",
94
94
  "nodemon": "^3.1.10",
95
95
  "nyc": "^17.1.0",
96
+ "patch-package": "^8.0.1",
96
97
  "picocolors": "^1.1.1",
97
98
  "picomatch": "^4.0.3",
98
99
  "pinia": "^3.0.3",
@@ -101,7 +102,7 @@
101
102
  "pretty-bytes": "^7.1.0",
102
103
  "pretty-ms": "^9.3.0",
103
104
  "requirejs": "^2.3.7",
104
- "rollup": "^4.52.4",
105
+ "rollup": "^4.52.5",
105
106
  "rollup-plugin-license": "^3.6.0",
106
107
  "rollup-plugin-string": "^3.0.0",
107
108
  "semver": "^7.7.3",
@@ -113,20 +114,24 @@
113
114
  "terser": "^5.44.0",
114
115
  "tslib": "^2.8.1",
115
116
  "typescript": "^5.9.3",
116
- "typescript-eslint": "^8.46.1",
117
- "vite": "^7.1.10",
117
+ "typescript-eslint": "^8.46.3",
118
+ "vite": "^7.1.12",
118
119
  "vitepress": "^1.6.4",
119
120
  "vue": "^3.5.22",
120
121
  "vue-eslint-parser": "^10.2.0",
121
- "vue-tsc": "^2.2.12",
122
+ "vue-tsc": "^3.1.3",
122
123
  "wasm-pack": "^0.13.1",
123
124
  "yargs-parser": "^21.1.1"
124
125
  },
125
126
  "overrides": {
126
- "axios": "^1.12.2",
127
- "semver": "^7.7.3",
127
+ "axios": "^1.13.1",
128
+ "esbuild": ">0.24.2",
128
129
  "readable-stream": "npm:@built-in/readable-stream@1",
129
- "esbuild": ">0.24.2"
130
+ "semver": "^7.7.3",
131
+ "vite": "$vite",
132
+ "path-scurry": {
133
+ "lru-cache": "^11.2.2"
134
+ }
130
135
  },
131
136
  "comments": {
132
137
  "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"