@rollup/wasm-node 4.27.4 → 4.28.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.
package/dist/bin/rollup CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.27.4
5
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
4
+ Rollup.js v4.28.1
5
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
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.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { performance } from 'node:perf_hooks';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version = "4.27.4";
19
+ var version = "4.28.1";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -22035,6 +22035,7 @@ async function mergeOptions(config, watchMode, rawCommandOptions = EMPTY_COMMAND
22035
22035
  ...Object.keys(commandAliases),
22036
22036
  'bundleConfigAsCjs',
22037
22037
  'config',
22038
+ 'configImportAttributesKey',
22038
22039
  'configPlugin',
22039
22040
  'environment',
22040
22041
  'failAfterWarnings',
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
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.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.d.ts CHANGED
@@ -102,6 +102,7 @@ export interface SourceMap {
102
102
  sources: string[];
103
103
  sourcesContent?: string[];
104
104
  version: number;
105
+ debugId?: string;
105
106
  toString(): string;
106
107
  toUrl(): string;
107
108
  }
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -486,8 +486,13 @@ async function getConfigFileExport(fileName, commandOptions, watchMode) {
486
486
  function getDefaultFromCjs(namespace) {
487
487
  return namespace.default || namespace;
488
488
  }
489
+ function getConfigImportAttributesKey(input) {
490
+ if (input === 'assert' || input === 'with')
491
+ return input;
492
+ return;
493
+ }
489
494
  async function loadTranspiledConfigFile(fileName, commandOptions) {
490
- const { bundleConfigAsCjs, configPlugin, silent } = commandOptions;
495
+ const { bundleConfigAsCjs, configPlugin, configImportAttributesKey, silent } = commandOptions;
491
496
  const warnings = batchWarnings(commandOptions);
492
497
  const inputOptions = {
493
498
  external: (id) => (id[0] !== '.' && !path.isAbsolute(id)) || id.slice(-5) === '.json',
@@ -501,6 +506,7 @@ async function loadTranspiledConfigFile(fileName, commandOptions) {
501
506
  const { output: [{ code }] } = await bundle.generate({
502
507
  exports: 'named',
503
508
  format: bundleConfigAsCjs ? 'cjs' : 'es',
509
+ importAttributesKey: getConfigImportAttributesKey(configImportAttributesKey),
504
510
  plugins: [
505
511
  {
506
512
  name: 'transpile-import-meta',
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
31
31
 
32
32
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
33
 
34
- var version = "4.27.4";
34
+ var version = "4.28.1";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -1245,6 +1245,7 @@ async function mergeOptions(config, watchMode, rawCommandOptions = EMPTY_COMMAND
1245
1245
  ...Object.keys(commandAliases),
1246
1246
  'bundleConfigAsCjs',
1247
1247
  'config',
1248
+ 'configImportAttributesKey',
1248
1249
  'configPlugin',
1249
1250
  'environment',
1250
1251
  'failAfterWarnings',
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.27.4
4
- Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
3
+ Rollup.js v4.28.1
4
+ Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -12,16 +12,21 @@ function getObject(idx) { return heap[idx]; }
12
12
 
13
13
  let heap_next = heap.length;
14
14
 
15
- function dropObject(idx) {
16
- if (idx < 132) return;
17
- heap[idx] = heap_next;
18
- heap_next = idx;
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;
19
22
  }
20
23
 
21
- function takeObject(idx) {
22
- const ret = getObject(idx);
23
- dropObject(idx);
24
- return ret;
24
+ function handleError(f, args) {
25
+ try {
26
+ return f.apply(this, args);
27
+ } catch (e) {
28
+ wasm.__wbindgen_export_0(addHeapObject(e));
29
+ }
25
30
  }
26
31
 
27
32
  let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
@@ -42,13 +47,16 @@ function getStringFromWasm0(ptr, len) {
42
47
  return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
43
48
  }
44
49
 
45
- function addHeapObject(obj) {
46
- if (heap_next === heap.length) heap.push(heap.length + 1);
47
- const idx = heap_next;
48
- heap_next = heap[idx];
50
+ function dropObject(idx) {
51
+ if (idx < 132) return;
52
+ heap[idx] = heap_next;
53
+ heap_next = idx;
54
+ }
49
55
 
50
- heap[idx] = obj;
51
- return idx;
56
+ function takeObject(idx) {
57
+ const ret = getObject(idx);
58
+ dropObject(idx);
59
+ return ret;
52
60
  }
53
61
 
54
62
  let WASM_VECTOR_LEN = 0;
@@ -129,13 +137,13 @@ function getArrayU8FromWasm0(ptr, len) {
129
137
  module.exports.parse = function(code, allow_return_outside_function, jsx) {
130
138
  try {
131
139
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
132
- const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
140
+ const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export_1, wasm.__wbindgen_export_2);
133
141
  const len0 = WASM_VECTOR_LEN;
134
142
  wasm.parse(retptr, ptr0, len0, allow_return_outside_function, jsx);
135
143
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
136
144
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
137
145
  var v2 = getArrayU8FromWasm0(r0, r1).slice();
138
- wasm.__wbindgen_export_2(r0, r1 * 1, 1);
146
+ wasm.__wbindgen_export_3(r0, r1 * 1, 1);
139
147
  return v2;
140
148
  } finally {
141
149
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -159,7 +167,7 @@ module.exports.xxhashBase64Url = function(input) {
159
167
  return getStringFromWasm0(r0, r1);
160
168
  } finally {
161
169
  wasm.__wbindgen_add_to_stack_pointer(16);
162
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
170
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
163
171
  }
164
172
  };
165
173
 
@@ -180,7 +188,7 @@ module.exports.xxhashBase36 = function(input) {
180
188
  return getStringFromWasm0(r0, r1);
181
189
  } finally {
182
190
  wasm.__wbindgen_add_to_stack_pointer(16);
183
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
191
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
184
192
  }
185
193
  };
186
194
 
@@ -201,169 +209,161 @@ module.exports.xxhashBase16 = function(input) {
201
209
  return getStringFromWasm0(r0, r1);
202
210
  } finally {
203
211
  wasm.__wbindgen_add_to_stack_pointer(16);
204
- wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
205
- }
206
- };
207
-
208
- function handleError(f, args) {
209
- try {
210
- return f.apply(this, args);
211
- } catch (e) {
212
- wasm.__wbindgen_export_3(addHeapObject(e));
212
+ wasm.__wbindgen_export_3(deferred1_0, deferred1_1, 1);
213
213
  }
214
- }
215
-
216
- module.exports.__wbindgen_object_drop_ref = function(arg0) {
217
- takeObject(arg0);
218
214
  };
219
215
 
220
- module.exports.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
221
- const ret = getObject(arg0).crypto;
216
+ module.exports.__wbg_buffer_6e1d53ff183194fc = function(arg0) {
217
+ const ret = getObject(arg0).buffer;
222
218
  return addHeapObject(ret);
223
219
  };
224
220
 
225
- module.exports.__wbindgen_is_object = function(arg0) {
226
- const val = getObject(arg0);
227
- const ret = typeof(val) === 'object' && val !== null;
228
- return ret;
229
- };
230
-
231
- module.exports.__wbg_process_4a72847cc503995b = function(arg0) {
232
- const ret = getObject(arg0).process;
221
+ module.exports.__wbg_call_0411c0c3c424db9a = function() { return handleError(function (arg0, arg1, arg2) {
222
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
233
223
  return addHeapObject(ret);
234
- };
224
+ }, arguments) };
235
225
 
236
- module.exports.__wbg_versions_f686565e586dd935 = function(arg0) {
237
- const ret = getObject(arg0).versions;
226
+ module.exports.__wbg_call_3114932863209ca6 = function() { return handleError(function (arg0, arg1) {
227
+ const ret = getObject(arg0).call(getObject(arg1));
238
228
  return addHeapObject(ret);
239
- };
229
+ }, arguments) };
240
230
 
241
- module.exports.__wbg_node_104a2ff8d6ea03a2 = function(arg0) {
242
- const ret = getObject(arg0).node;
231
+ module.exports.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
232
+ const ret = getObject(arg0).crypto;
243
233
  return addHeapObject(ret);
244
234
  };
245
235
 
246
- module.exports.__wbindgen_is_string = function(arg0) {
247
- const ret = typeof(getObject(arg0)) === 'string';
248
- return ret;
249
- };
236
+ module.exports.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
237
+ getObject(arg0).getRandomValues(getObject(arg1));
238
+ }, arguments) };
250
239
 
251
- module.exports.__wbg_require_cca90b1a94a0255b = function() { return handleError(function () {
252
- const ret = module.require;
240
+ module.exports.__wbg_globalThis_1e2ac1d6eee845b3 = function() { return handleError(function () {
241
+ const ret = globalThis.globalThis;
253
242
  return addHeapObject(ret);
254
243
  }, arguments) };
255
244
 
256
- module.exports.__wbindgen_is_function = function(arg0) {
257
- const ret = typeof(getObject(arg0)) === 'function';
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) {
251
+ const ret = getObject(arg0).length;
258
252
  return ret;
259
253
  };
260
254
 
261
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
262
- const ret = getStringFromWasm0(arg0, arg1);
255
+ module.exports.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
256
+ const ret = getObject(arg0).msCrypto;
263
257
  return addHeapObject(ret);
264
258
  };
265
259
 
266
- module.exports.__wbg_msCrypto_eb05e62b530a1508 = function(arg0) {
267
- const ret = getObject(arg0).msCrypto;
260
+ module.exports.__wbg_new_23362fa370a0a372 = function(arg0) {
261
+ const ret = new Uint8Array(getObject(arg0));
268
262
  return addHeapObject(ret);
269
263
  };
270
264
 
271
- module.exports.__wbg_randomFillSync_5c9c955aa56b6049 = function() { return handleError(function (arg0, arg1) {
272
- getObject(arg0).randomFillSync(takeObject(arg1));
273
- }, arguments) };
274
-
275
- module.exports.__wbg_getRandomValues_3aa56aa6edec874c = function() { return handleError(function (arg0, arg1) {
276
- getObject(arg0).getRandomValues(getObject(arg1));
277
- }, arguments) };
278
-
279
- module.exports.__wbindgen_object_clone_ref = function(arg0) {
280
- const ret = getObject(arg0);
265
+ module.exports.__wbg_newnoargs_19a249f4eceaaac3 = function(arg0, arg1) {
266
+ const ret = new Function(getStringFromWasm0(arg0, arg1));
281
267
  return addHeapObject(ret);
282
268
  };
283
269
 
284
- module.exports.__wbg_newnoargs_1ede4bf2ebbaaf43 = function(arg0, arg1) {
285
- const ret = new Function(getStringFromWasm0(arg0, arg1));
270
+ module.exports.__wbg_newwithbyteoffsetandlength_ee8def7000b7b2be = function(arg0, arg1, arg2) {
271
+ const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
286
272
  return addHeapObject(ret);
287
273
  };
288
274
 
289
- module.exports.__wbg_call_a9ef466721e824f2 = function() { return handleError(function (arg0, arg1) {
290
- const ret = getObject(arg0).call(getObject(arg1));
275
+ module.exports.__wbg_newwithlength_91de49dea5643c87 = function(arg0) {
276
+ const ret = new Uint8Array(arg0 >>> 0);
291
277
  return addHeapObject(ret);
292
- }, arguments) };
278
+ };
293
279
 
294
- module.exports.__wbg_self_bf91bf94d9e04084 = function() { return handleError(function () {
295
- const ret = self.self;
280
+ module.exports.__wbg_node_02999533c4ea02e3 = function(arg0) {
281
+ const ret = getObject(arg0).node;
296
282
  return addHeapObject(ret);
297
- }, arguments) };
283
+ };
298
284
 
299
- module.exports.__wbg_window_52dd9f07d03fd5f8 = function() { return handleError(function () {
300
- const ret = window.window;
285
+ module.exports.__wbg_process_5c1d670bc53614b8 = function(arg0) {
286
+ const ret = getObject(arg0).process;
301
287
  return addHeapObject(ret);
288
+ };
289
+
290
+ module.exports.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() { return handleError(function (arg0, arg1) {
291
+ getObject(arg0).randomFillSync(takeObject(arg1));
302
292
  }, arguments) };
303
293
 
304
- module.exports.__wbg_globalThis_05c129bf37fcf1be = function() { return handleError(function () {
305
- const ret = globalThis.globalThis;
294
+ module.exports.__wbg_require_79b1e9274cde3c87 = function() { return handleError(function () {
295
+ const ret = module.require;
306
296
  return addHeapObject(ret);
307
297
  }, arguments) };
308
298
 
309
- module.exports.__wbg_global_3eca19bb09e9c484 = function() { return handleError(function () {
310
- const ret = global.global;
299
+ module.exports.__wbg_self_ac4343e4047b83cc = function() { return handleError(function () {
300
+ const ret = self.self;
311
301
  return addHeapObject(ret);
312
302
  }, arguments) };
313
303
 
314
- module.exports.__wbindgen_is_undefined = function(arg0) {
315
- const ret = getObject(arg0) === undefined;
316
- return ret;
304
+ module.exports.__wbg_set_7b70226104a82921 = function(arg0, arg1, arg2) {
305
+ getObject(arg0).set(getObject(arg1), arg2 >>> 0);
317
306
  };
318
307
 
319
- module.exports.__wbg_call_3bfa248576352471 = function() { return handleError(function (arg0, arg1, arg2) {
320
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
308
+ module.exports.__wbg_subarray_b4e9772c34a7f5ba = function(arg0, arg1, arg2) {
309
+ const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
321
310
  return addHeapObject(ret);
322
- }, arguments) };
311
+ };
323
312
 
324
- module.exports.__wbg_buffer_ccaed51a635d8a2d = function(arg0) {
325
- const ret = getObject(arg0).buffer;
313
+ module.exports.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
314
+ const ret = getObject(arg0).versions;
326
315
  return addHeapObject(ret);
327
316
  };
328
317
 
329
- module.exports.__wbg_newwithbyteoffsetandlength_7e3eb787208af730 = function(arg0, arg1, arg2) {
330
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
318
+ module.exports.__wbg_window_1a23defd102c72f4 = function() { return handleError(function () {
319
+ const ret = window.window;
331
320
  return addHeapObject(ret);
321
+ }, arguments) };
322
+
323
+ module.exports.__wbindgen_is_function = function(arg0) {
324
+ const ret = typeof(getObject(arg0)) === 'function';
325
+ return ret;
332
326
  };
333
327
 
334
- module.exports.__wbg_new_fec2611eb9180f95 = function(arg0) {
335
- const ret = new Uint8Array(getObject(arg0));
336
- return addHeapObject(ret);
328
+ module.exports.__wbindgen_is_object = function(arg0) {
329
+ const val = getObject(arg0);
330
+ const ret = typeof(val) === 'object' && val !== null;
331
+ return ret;
337
332
  };
338
333
 
339
- module.exports.__wbg_set_ec2fcf81bc573fd9 = function(arg0, arg1, arg2) {
340
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
334
+ module.exports.__wbindgen_is_string = function(arg0) {
335
+ const ret = typeof(getObject(arg0)) === 'string';
336
+ return ret;
341
337
  };
342
338
 
343
- module.exports.__wbg_length_9254c4bd3b9f23c4 = function(arg0) {
344
- const ret = getObject(arg0).length;
339
+ module.exports.__wbindgen_is_undefined = function(arg0) {
340
+ const ret = getObject(arg0) === undefined;
345
341
  return ret;
346
342
  };
347
343
 
348
- module.exports.__wbg_newwithlength_76462a666eca145f = function(arg0) {
349
- const ret = new Uint8Array(arg0 >>> 0);
344
+ module.exports.__wbindgen_memory = function() {
345
+ const ret = wasm.memory;
350
346
  return addHeapObject(ret);
351
347
  };
352
348
 
353
- module.exports.__wbg_subarray_975a06f9dbd16995 = function(arg0, arg1, arg2) {
354
- const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
349
+ module.exports.__wbindgen_object_clone_ref = function(arg0) {
350
+ const ret = getObject(arg0);
355
351
  return addHeapObject(ret);
356
352
  };
357
353
 
358
- module.exports.__wbindgen_throw = function(arg0, arg1) {
359
- throw new Error(getStringFromWasm0(arg0, arg1));
354
+ module.exports.__wbindgen_object_drop_ref = function(arg0) {
355
+ takeObject(arg0);
360
356
  };
361
357
 
362
- module.exports.__wbindgen_memory = function() {
363
- const ret = wasm.memory;
358
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
359
+ const ret = getStringFromWasm0(arg0, arg1);
364
360
  return addHeapObject(ret);
365
361
  };
366
362
 
363
+ module.exports.__wbindgen_throw = function(arg0, arg1) {
364
+ throw new Error(getStringFromWasm0(arg0, arg1));
365
+ };
366
+
367
367
  const path = require('path').join(__dirname, 'bindings_wasm_bg.wasm');
368
368
  const bytes = require('fs').readFileSync(path);
369
369
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.27.4",
3
+ "version": "4.28.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",
@@ -34,14 +34,14 @@
34
34
  "devDependencies": {
35
35
  "@codemirror/commands": "^6.7.1",
36
36
  "@codemirror/lang-javascript": "^6.2.2",
37
- "@codemirror/language": "^6.10.3",
38
- "@codemirror/search": "^6.5.7",
37
+ "@codemirror/language": "^6.10.6",
38
+ "@codemirror/search": "^6.5.8",
39
39
  "@codemirror/state": "^6.4.1",
40
- "@codemirror/view": "^6.34.3",
41
- "@eslint/js": "^9.15.0",
40
+ "@codemirror/view": "^6.35.0",
41
+ "@eslint/js": "^9.16.0",
42
42
  "@inquirer/prompts": "^7.1.0",
43
43
  "@jridgewell/sourcemap-codec": "^1.5.0",
44
- "@mermaid-js/mermaid-cli": "^11.4.0",
44
+ "@mermaid-js/mermaid-cli": "^11.4.2",
45
45
  "@napi-rs/cli": "^2.18.4",
46
46
  "@rollup/plugin-alias": "^5.1.1",
47
47
  "@rollup/plugin-buble": "^1.0.3",
@@ -52,9 +52,9 @@
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.23.1",
56
- "@types/mocha": "^10.0.9",
57
- "@types/node": "^18.19.64",
55
+ "@shikijs/vitepress-twoslash": "^1.24.0",
56
+ "@types/mocha": "^10.0.10",
57
+ "@types/node": "^18.19.67",
58
58
  "@types/semver": "^7.5.8",
59
59
  "@types/yargs-parser": "^21.0.3",
60
60
  "@vue/language-server": "^2.1.10",
@@ -71,32 +71,32 @@
71
71
  "date-time": "^4.0.0",
72
72
  "es5-shim": "^4.6.7",
73
73
  "es6-shim": "^0.35.8",
74
- "eslint": "^9.15.0",
74
+ "eslint": "^9.16.0",
75
75
  "eslint-config-prettier": "^9.1.0",
76
76
  "eslint-plugin-prettier": "^5.2.1",
77
- "eslint-plugin-unicorn": "^56.0.0",
78
- "eslint-plugin-vue": "^9.31.0",
77
+ "eslint-plugin-unicorn": "^56.0.1",
78
+ "eslint-plugin-vue": "^9.32.0",
79
79
  "fixturify": "^3.0.0",
80
80
  "flru": "^1.0.2",
81
81
  "fs-extra": "^11.2.0",
82
82
  "github-api": "^3.4.0",
83
- "globals": "^15.12.0",
83
+ "globals": "^15.13.0",
84
84
  "husky": "^9.1.7",
85
85
  "is-reference": "^3.0.3",
86
86
  "lint-staged": "^15.2.10",
87
87
  "locate-character": "^3.0.0",
88
- "magic-string": "^0.30.13",
89
- "mocha": "^10.8.2",
88
+ "magic-string": "^0.30.14",
89
+ "mocha": "^11.0.1",
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.6",
94
- "prettier": "^3.3.3",
93
+ "pinia": "^2.2.8",
94
+ "prettier": "^3.4.1",
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.27.3",
99
+ "rollup": "^4.28.0",
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.36.0",
109
109
  "tslib": "^2.8.1",
110
- "typescript": "^5.6.3",
111
- "typescript-eslint": "^8.15.0",
112
- "vite": "^5.4.11",
110
+ "typescript": "^5.7.2",
111
+ "typescript-eslint": "^8.17.0",
112
+ "vite": "^6.0.2",
113
113
  "vitepress": "^1.5.0",
114
114
  "vue": "^3.5.13",
115
115
  "vue-tsc": "^2.1.10",
@@ -117,13 +117,12 @@
117
117
  "yargs-parser": "^21.1.1"
118
118
  },
119
119
  "overrides": {
120
- "axios": "^1.7.7",
120
+ "axios": "^1.7.8",
121
121
  "semver": "^7.6.3",
122
- "ws": "^8.18.0"
122
+ "readable-stream": "npm:@built-in/readable-stream@1"
123
123
  },
124
124
  "comments": {
125
- "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges",
126
- "ws": "mermaid requires an older 8.13.0 version via puppeteer with vulnerabilities"
125
+ "vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"
127
126
  },
128
127
  "files": [
129
128
  "dist/wasm-node/*.wasm",