@rollup/wasm-node 4.1.3 → 4.1.4

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.1.3
5
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
4
+ Rollup.js v4.1.4
5
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
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.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { xxhashBase64Url } from '../../native.js';
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.1.3";
19
+ var version = "4.1.4";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
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.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
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.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
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.1.3";
34
+ var version = "4.1.4";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.4
4
+ Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -105,10 +105,6 @@ function passStringToWasm0(arg, malloc, realloc) {
105
105
  return ptr;
106
106
  }
107
107
 
108
- function isLikeNone(x) {
109
- return x === undefined || x === null;
110
- }
111
-
112
108
  let cachedInt32Memory0 = null;
113
109
 
114
110
  function getInt32Memory0() {
@@ -118,80 +114,6 @@ function getInt32Memory0() {
118
114
  return cachedInt32Memory0;
119
115
  }
120
116
 
121
- let cachedFloat64Memory0 = null;
122
-
123
- function getFloat64Memory0() {
124
- if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
125
- cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
126
- }
127
- return cachedFloat64Memory0;
128
- }
129
-
130
- function debugString(val) {
131
- // primitive types
132
- const type = typeof val;
133
- if (type == 'number' || type == 'boolean' || val == null) {
134
- return `${val}`;
135
- }
136
- if (type == 'string') {
137
- return `"${val}"`;
138
- }
139
- if (type == 'symbol') {
140
- const description = val.description;
141
- if (description == null) {
142
- return 'Symbol';
143
- } else {
144
- return `Symbol(${description})`;
145
- }
146
- }
147
- if (type == 'function') {
148
- const name = val.name;
149
- if (typeof name == 'string' && name.length > 0) {
150
- return `Function(${name})`;
151
- } else {
152
- return 'Function';
153
- }
154
- }
155
- // objects
156
- if (Array.isArray(val)) {
157
- const length = val.length;
158
- let debug = '[';
159
- if (length > 0) {
160
- debug += debugString(val[0]);
161
- }
162
- for(let i = 1; i < length; i++) {
163
- debug += ', ' + debugString(val[i]);
164
- }
165
- debug += ']';
166
- return debug;
167
- }
168
- // Test for built-in
169
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
170
- let className;
171
- if (builtInMatches.length > 1) {
172
- className = builtInMatches[1];
173
- } else {
174
- // Failed to match the standard '[object ClassName]'
175
- return toString.call(val);
176
- }
177
- if (className == 'Object') {
178
- // we're a user defined class or Object
179
- // JSON.stringify avoids problems with cycles, and is generally much
180
- // easier than looping through ownProperties of `val`.
181
- try {
182
- return 'Object(' + JSON.stringify(val) + ')';
183
- } catch (_) {
184
- return 'Object';
185
- }
186
- }
187
- // errors
188
- if (val instanceof Error) {
189
- return `${val.name}: ${val.message}\n${val.stack}`;
190
- }
191
- // TODO we could test for more things here, like `Set`s and `Map`s.
192
- return className;
193
- }
194
-
195
117
  function getArrayU8FromWasm0(ptr, len) {
196
118
  ptr = ptr >>> 0;
197
119
  return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
@@ -238,29 +160,6 @@ module.exports.xxhashBase64Url = function(input) {
238
160
  }
239
161
  };
240
162
 
241
- /**
242
- * @param {string} query
243
- * @param {any} opts
244
- * @returns {any}
245
- */
246
- module.exports.browserslist = function(query, opts) {
247
- try {
248
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
249
- const ptr0 = passStringToWasm0(query, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
250
- const len0 = WASM_VECTOR_LEN;
251
- wasm.browserslist(retptr, ptr0, len0, addHeapObject(opts));
252
- var r0 = getInt32Memory0()[retptr / 4 + 0];
253
- var r1 = getInt32Memory0()[retptr / 4 + 1];
254
- var r2 = getInt32Memory0()[retptr / 4 + 2];
255
- if (r2) {
256
- throw takeObject(r1);
257
- }
258
- return takeObject(r0);
259
- } finally {
260
- wasm.__wbindgen_add_to_stack_pointer(16);
261
- }
262
- };
263
-
264
163
  function handleError(f, args) {
265
164
  try {
266
165
  return f.apply(this, args);
@@ -273,79 +172,17 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
273
172
  takeObject(arg0);
274
173
  };
275
174
 
276
- module.exports.__wbindgen_error_new = function(arg0, arg1) {
277
- const ret = new Error(getStringFromWasm0(arg0, arg1));
175
+ module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
176
+ const ret = getObject(arg0).crypto;
278
177
  return addHeapObject(ret);
279
178
  };
280
179
 
281
- module.exports.__wbindgen_boolean_get = function(arg0) {
282
- const v = getObject(arg0);
283
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
284
- return ret;
285
- };
286
-
287
- module.exports.__wbindgen_string_get = function(arg0, arg1) {
288
- const obj = getObject(arg1);
289
- const ret = typeof(obj) === 'string' ? obj : undefined;
290
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
291
- var len1 = WASM_VECTOR_LEN;
292
- getInt32Memory0()[arg0 / 4 + 1] = len1;
293
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
294
- };
295
-
296
180
  module.exports.__wbindgen_is_object = function(arg0) {
297
181
  const val = getObject(arg0);
298
182
  const ret = typeof(val) === 'object' && val !== null;
299
183
  return ret;
300
184
  };
301
185
 
302
- module.exports.__wbindgen_is_undefined = function(arg0) {
303
- const ret = getObject(arg0) === undefined;
304
- return ret;
305
- };
306
-
307
- module.exports.__wbindgen_in = function(arg0, arg1) {
308
- const ret = getObject(arg0) in getObject(arg1);
309
- return ret;
310
- };
311
-
312
- module.exports.__wbindgen_string_new = function(arg0, arg1) {
313
- const ret = getStringFromWasm0(arg0, arg1);
314
- return addHeapObject(ret);
315
- };
316
-
317
- module.exports.__wbindgen_object_clone_ref = function(arg0) {
318
- const ret = getObject(arg0);
319
- return addHeapObject(ret);
320
- };
321
-
322
- module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
323
- const ret = getObject(arg0) == getObject(arg1);
324
- return ret;
325
- };
326
-
327
- module.exports.__wbindgen_number_get = function(arg0, arg1) {
328
- const obj = getObject(arg1);
329
- const ret = typeof(obj) === 'number' ? obj : undefined;
330
- getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
331
- getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
332
- };
333
-
334
- module.exports.__wbindgen_number_new = function(arg0) {
335
- const ret = arg0;
336
- return addHeapObject(ret);
337
- };
338
-
339
- module.exports.__wbg_getwithrefkey_15c62c2b8546208d = function(arg0, arg1) {
340
- const ret = getObject(arg0)[getObject(arg1)];
341
- return addHeapObject(ret);
342
- };
343
-
344
- module.exports.__wbg_crypto_c48a774b022d20ac = function(arg0) {
345
- const ret = getObject(arg0).crypto;
346
- return addHeapObject(ret);
347
- };
348
-
349
186
  module.exports.__wbg_process_298734cf255a885d = function(arg0) {
350
187
  const ret = getObject(arg0).process;
351
188
  return addHeapObject(ret);
@@ -381,6 +218,11 @@ module.exports.__wbindgen_is_function = function(arg0) {
381
218
  return ret;
382
219
  };
383
220
 
221
+ module.exports.__wbindgen_string_new = function(arg0, arg1) {
222
+ const ret = getStringFromWasm0(arg0, arg1);
223
+ return addHeapObject(ret);
224
+ };
225
+
384
226
  module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
385
227
  getObject(arg0).randomFillSync(takeObject(arg1));
386
228
  }, arguments) };
@@ -389,26 +231,21 @@ module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return hand
389
231
  getObject(arg0).getRandomValues(getObject(arg1));
390
232
  }, arguments) };
391
233
 
392
- module.exports.__wbg_new_898a68150f225f2e = function() {
393
- const ret = new Array();
394
- return addHeapObject(ret);
395
- };
396
-
397
234
  module.exports.__wbg_newnoargs_581967eacc0e2604 = function(arg0, arg1) {
398
235
  const ret = new Function(getStringFromWasm0(arg0, arg1));
399
236
  return addHeapObject(ret);
400
237
  };
401
238
 
402
- module.exports.__wbg_get_97b561fb56f034b5 = function() { return handleError(function (arg0, arg1) {
403
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
404
- return addHeapObject(ret);
405
- }, arguments) };
406
-
407
239
  module.exports.__wbg_call_cb65541d95d71282 = function() { return handleError(function (arg0, arg1) {
408
240
  const ret = getObject(arg0).call(getObject(arg1));
409
241
  return addHeapObject(ret);
410
242
  }, arguments) };
411
243
 
244
+ module.exports.__wbindgen_object_clone_ref = function(arg0) {
245
+ const ret = getObject(arg0);
246
+ return addHeapObject(ret);
247
+ };
248
+
412
249
  module.exports.__wbg_self_1ff1d729e9aae938 = function() { return handleError(function () {
413
250
  const ret = self.self;
414
251
  return addHeapObject(ret);
@@ -429,18 +266,8 @@ module.exports.__wbg_global_651f05c6a0944d1c = function() { return handleError(f
429
266
  return addHeapObject(ret);
430
267
  }, arguments) };
431
268
 
432
- module.exports.__wbg_set_502d29070ea18557 = function(arg0, arg1, arg2) {
433
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
434
- };
435
-
436
- module.exports.__wbg_instanceof_ArrayBuffer_39ac22089b74fddb = function(arg0) {
437
- let result;
438
- try {
439
- result = getObject(arg0) instanceof ArrayBuffer;
440
- } catch {
441
- result = false;
442
- }
443
- const ret = result;
269
+ module.exports.__wbindgen_is_undefined = function(arg0) {
270
+ const ret = getObject(arg0) === undefined;
444
271
  return ret;
445
272
  };
446
273
 
@@ -449,26 +276,6 @@ module.exports.__wbg_call_01734de55d61e11d = function() { return handleError(fun
449
276
  return addHeapObject(ret);
450
277
  }, arguments) };
451
278
 
452
- module.exports.__wbg_getTime_5e2054f832d82ec9 = function(arg0) {
453
- const ret = getObject(arg0).getTime();
454
- return ret;
455
- };
456
-
457
- module.exports.__wbg_getTimezoneOffset_8aee3445f323973e = function(arg0) {
458
- const ret = getObject(arg0).getTimezoneOffset();
459
- return ret;
460
- };
461
-
462
- module.exports.__wbg_new_cd59bfc8881f487b = function(arg0) {
463
- const ret = new Date(getObject(arg0));
464
- return addHeapObject(ret);
465
- };
466
-
467
- module.exports.__wbg_new0_c0be7df4b6bd481f = function() {
468
- const ret = new Date();
469
- return addHeapObject(ret);
470
- };
471
-
472
279
  module.exports.__wbg_buffer_085ec1f694018c4f = function(arg0) {
473
280
  const ret = getObject(arg0).buffer;
474
281
  return addHeapObject(ret);
@@ -493,17 +300,6 @@ module.exports.__wbg_length_72e2208bbc0efc61 = function(arg0) {
493
300
  return ret;
494
301
  };
495
302
 
496
- module.exports.__wbg_instanceof_Uint8Array_d8d9cb2b8e8ac1d4 = function(arg0) {
497
- let result;
498
- try {
499
- result = getObject(arg0) instanceof Uint8Array;
500
- } catch {
501
- result = false;
502
- }
503
- const ret = result;
504
- return ret;
505
- };
506
-
507
303
  module.exports.__wbg_newwithlength_e5d69174d6984cd7 = function(arg0) {
508
304
  const ret = new Uint8Array(arg0 >>> 0);
509
305
  return addHeapObject(ret);
@@ -514,14 +310,6 @@ module.exports.__wbg_subarray_13db269f57aa838d = function(arg0, arg1, arg2) {
514
310
  return addHeapObject(ret);
515
311
  };
516
312
 
517
- module.exports.__wbindgen_debug_string = function(arg0, arg1) {
518
- const ret = debugString(getObject(arg1));
519
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
520
- const len1 = WASM_VECTOR_LEN;
521
- getInt32Memory0()[arg0 / 4 + 1] = len1;
522
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
523
- };
524
-
525
313
  module.exports.__wbindgen_throw = function(arg0, arg1) {
526
314
  throw new Error(getStringFromWasm0(arg0, arg1));
527
315
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",