@rollup/wasm-node 4.9.3 → 4.9.5

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.9.3
5
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
4
+ Rollup.js v4.9.5
5
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
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.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
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.9.3";
19
+ var version = "4.9.5";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -2060,11 +2060,14 @@ function makeLegal(value) {
2060
2060
  return value || '_';
2061
2061
  }
2062
2062
  const VALID_IDENTIFIER_REGEXP = /^[$_\p{ID_Start}][$\u200C\u200D\p{ID_Continue}]*$/u;
2063
- const NUMBER_REGEXP = /^\d+$/;
2063
+ const NUMBER_REGEXP = /^(?:0|[1-9]\d*)$/;
2064
2064
  function stringifyObjectKeyIfNeeded(key) {
2065
- if (VALID_IDENTIFIER_REGEXP.test(key) || NUMBER_REGEXP.test(key)) {
2065
+ if (VALID_IDENTIFIER_REGEXP.test(key)) {
2066
2066
  return key === '__proto__' ? '["__proto__"]' : key;
2067
2067
  }
2068
+ if (NUMBER_REGEXP.test(key) && +key <= Number.MAX_SAFE_INTEGER) {
2069
+ return key;
2070
+ }
2068
2071
  return JSON.stringify(key);
2069
2072
  }
2070
2073
  function stringifyIdentifierIfNeeded(key) {
@@ -16473,10 +16476,10 @@ function commondir(files) {
16473
16476
  if (files.length === 1)
16474
16477
  return dirname(files[0]);
16475
16478
  const commonSegments = files.slice(1).reduce((commonSegments, file) => {
16476
- const pathSegements = file.split(/\/+|\\+/);
16479
+ const pathSegments = file.split(/\/+|\\+/);
16477
16480
  let index;
16478
- for (index = 0; commonSegments[index] === pathSegements[index] &&
16479
- index < Math.min(commonSegments.length, pathSegements.length); index++)
16481
+ for (index = 0; commonSegments[index] === pathSegments[index] &&
16482
+ index < Math.min(commonSegments.length, pathSegments.length); index++)
16480
16483
  ;
16481
16484
  return commonSegments.slice(0, index);
16482
16485
  }, files[0].split(/\/+|\\+/));
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
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.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
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.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
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.9.3";
34
+ var version = "4.9.5";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -3506,11 +3506,14 @@ function makeLegal(value) {
3506
3506
  return value || '_';
3507
3507
  }
3508
3508
  const VALID_IDENTIFIER_REGEXP = /^[$_\p{ID_Start}][$\u200C\u200D\p{ID_Continue}]*$/u;
3509
- const NUMBER_REGEXP = /^\d+$/;
3509
+ const NUMBER_REGEXP = /^(?:0|[1-9]\d*)$/;
3510
3510
  function stringifyObjectKeyIfNeeded(key) {
3511
- if (VALID_IDENTIFIER_REGEXP.test(key) || NUMBER_REGEXP.test(key)) {
3511
+ if (VALID_IDENTIFIER_REGEXP.test(key)) {
3512
3512
  return key === '__proto__' ? '["__proto__"]' : key;
3513
3513
  }
3514
+ if (NUMBER_REGEXP.test(key) && +key <= Number.MAX_SAFE_INTEGER) {
3515
+ return key;
3516
+ }
3514
3517
  return JSON.stringify(key);
3515
3518
  }
3516
3519
  function stringifyIdentifierIfNeeded(key) {
@@ -17793,10 +17796,10 @@ function commondir(files) {
17793
17796
  if (files.length === 1)
17794
17797
  return node_path.dirname(files[0]);
17795
17798
  const commonSegments = files.slice(1).reduce((commonSegments, file) => {
17796
- const pathSegements = file.split(/\/+|\\+/);
17799
+ const pathSegments = file.split(/\/+|\\+/);
17797
17800
  let index;
17798
- for (index = 0; commonSegments[index] === pathSegements[index] &&
17799
- index < Math.min(commonSegments.length, pathSegements.length); index++)
17801
+ for (index = 0; commonSegments[index] === pathSegments[index] &&
17802
+ index < Math.min(commonSegments.length, pathSegments.length); index++)
17800
17803
  ;
17801
17804
  return commonSegments.slice(0, index);
17802
17805
  }, files[0].split(/\/+|\\+/));
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.9.3
4
- Fri, 05 Jan 2024 06:20:18 GMT - commit 4ab3ad360457cd79f4ea852447d3ddca22da95d6
3
+ Rollup.js v4.9.5
4
+ Fri, 12 Jan 2024 06:15:44 GMT - commit 7fa474cc5ed91c96a4ff80e286aa8534bc15834f
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -172,7 +172,7 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
172
172
  takeObject(arg0);
173
173
  };
174
174
 
175
- module.exports.__wbg_crypto_58f13aa23ffcb166 = function(arg0) {
175
+ module.exports.__wbg_crypto_d05b68a3572bb8ca = function(arg0) {
176
176
  const ret = getObject(arg0).crypto;
177
177
  return addHeapObject(ret);
178
178
  };
@@ -183,17 +183,17 @@ module.exports.__wbindgen_is_object = function(arg0) {
183
183
  return ret;
184
184
  };
185
185
 
186
- module.exports.__wbg_process_5b786e71d465a513 = function(arg0) {
186
+ module.exports.__wbg_process_b02b3570280d0366 = function(arg0) {
187
187
  const ret = getObject(arg0).process;
188
188
  return addHeapObject(ret);
189
189
  };
190
190
 
191
- module.exports.__wbg_versions_c2ab80650590b6a2 = function(arg0) {
191
+ module.exports.__wbg_versions_c1cb42213cedf0f5 = function(arg0) {
192
192
  const ret = getObject(arg0).versions;
193
193
  return addHeapObject(ret);
194
194
  };
195
195
 
196
- module.exports.__wbg_node_523d7bd03ef69fba = function(arg0) {
196
+ module.exports.__wbg_node_43b1089f407e4ec2 = function(arg0) {
197
197
  const ret = getObject(arg0).node;
198
198
  return addHeapObject(ret);
199
199
  };
@@ -203,12 +203,12 @@ module.exports.__wbindgen_is_string = function(arg0) {
203
203
  return ret;
204
204
  };
205
205
 
206
- module.exports.__wbg_msCrypto_abcb1295e768d1f2 = function(arg0) {
206
+ module.exports.__wbg_msCrypto_10fc94afee92bd76 = function(arg0) {
207
207
  const ret = getObject(arg0).msCrypto;
208
208
  return addHeapObject(ret);
209
209
  };
210
210
 
211
- module.exports.__wbg_require_2784e593a4674877 = function() { return handleError(function () {
211
+ module.exports.__wbg_require_9a7e0f667ead4995 = function() { return handleError(function () {
212
212
  const ret = module.require;
213
213
  return addHeapObject(ret);
214
214
  }, arguments) };
@@ -223,11 +223,11 @@ module.exports.__wbindgen_string_new = function(arg0, arg1) {
223
223
  return addHeapObject(ret);
224
224
  };
225
225
 
226
- module.exports.__wbg_randomFillSync_a0d98aa11c81fe89 = function() { return handleError(function (arg0, arg1) {
226
+ module.exports.__wbg_randomFillSync_b70ccbdf4926a99d = function() { return handleError(function (arg0, arg1) {
227
227
  getObject(arg0).randomFillSync(takeObject(arg1));
228
228
  }, arguments) };
229
229
 
230
- module.exports.__wbg_getRandomValues_504510b5564925af = function() { return handleError(function (arg0, arg1) {
230
+ module.exports.__wbg_getRandomValues_7e42b4fb8779dc6d = function() { return handleError(function (arg0, arg1) {
231
231
  getObject(arg0).getRandomValues(getObject(arg1));
232
232
  }, arguments) };
233
233
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.9.3",
3
+ "version": "4.9.5",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -54,8 +54,8 @@
54
54
  "@types/mocha": "^10.0.6",
55
55
  "@types/node": "18.0.0",
56
56
  "@types/yargs-parser": "^21.0.3",
57
- "@typescript-eslint/eslint-plugin": "^6.17.0",
58
- "@typescript-eslint/parser": "^6.17.0",
57
+ "@typescript-eslint/eslint-plugin": "^6.18.1",
58
+ "@typescript-eslint/parser": "^6.18.1",
59
59
  "@vue/eslint-config-prettier": "^9.0.0",
60
60
  "@vue/eslint-config-typescript": "^12.0.0",
61
61
  "acorn": "^8.11.3",
@@ -92,7 +92,7 @@
92
92
  "pretty-bytes": "^6.1.1",
93
93
  "pretty-ms": "^8.0.0",
94
94
  "requirejs": "^2.3.6",
95
- "rollup": "^4.9.2",
95
+ "rollup": "^4.9.4",
96
96
  "rollup-plugin-license": "^3.2.0",
97
97
  "rollup-plugin-string": "^3.0.0",
98
98
  "semver": "^7.5.4",
@@ -104,15 +104,15 @@
104
104
  "terser": "^5.26.0",
105
105
  "tslib": "^2.6.2",
106
106
  "typescript": "^5.3.3",
107
- "vite": "^5.0.10",
108
- "vitepress": "^1.0.0-rc.34",
109
- "vue": "^3.4.3",
107
+ "vite": "^5.0.11",
108
+ "vitepress": "^1.0.0-rc.36",
109
+ "vue": "^3.4.6",
110
110
  "wasm-pack": "^0.12.1",
111
111
  "weak-napi": "^2.0.2",
112
112
  "yargs-parser": "^21.1.1"
113
113
  },
114
114
  "overrides": {
115
- "axios": "^1.6.3",
115
+ "axios": "^1.6.5",
116
116
  "semver": "^7.5.4"
117
117
  },
118
118
  "files": [