@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 +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +11 -8
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +11 -8
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm.js +8 -8
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +8 -8
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.
|
|
5
|
-
Fri,
|
|
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
|
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.9.
|
|
4
|
-
Fri,
|
|
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.
|
|
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 =
|
|
2063
|
+
const NUMBER_REGEXP = /^(?:0|[1-9]\d*)$/;
|
|
2064
2064
|
function stringifyObjectKeyIfNeeded(key) {
|
|
2065
|
-
if (VALID_IDENTIFIER_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
|
|
16479
|
+
const pathSegments = file.split(/\/+|\\+/);
|
|
16477
16480
|
let index;
|
|
16478
|
-
for (index = 0; commonSegments[index] ===
|
|
16479
|
-
index < Math.min(commonSegments.length,
|
|
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(/\/+|\\+/));
|
package/dist/es/shared/watch.js
CHANGED
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/parseAst.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.9.
|
|
4
|
-
Fri,
|
|
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.
|
|
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 =
|
|
3509
|
+
const NUMBER_REGEXP = /^(?:0|[1-9]\d*)$/;
|
|
3510
3510
|
function stringifyObjectKeyIfNeeded(key) {
|
|
3511
|
-
if (VALID_IDENTIFIER_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
|
|
17799
|
+
const pathSegments = file.split(/\/+|\\+/);
|
|
17797
17800
|
let index;
|
|
17798
|
-
for (index = 0; commonSegments[index] ===
|
|
17799
|
-
index < Math.min(commonSegments.length,
|
|
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(/\/+|\\+/));
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
@@ -172,7 +172,7 @@ module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
|
172
172
|
takeObject(arg0);
|
|
173
173
|
};
|
|
174
174
|
|
|
175
|
-
module.exports.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
230
|
+
module.exports.__wbg_getRandomValues_7e42b4fb8779dc6d = function() { return handleError(function (arg0, arg1) {
|
|
231
231
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
232
232
|
}, arguments) };
|
|
233
233
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.9.
|
|
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.
|
|
58
|
-
"@typescript-eslint/parser": "^6.
|
|
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.
|
|
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.
|
|
108
|
-
"vitepress": "^1.0.0-rc.
|
|
109
|
-
"vue": "^3.4.
|
|
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.
|
|
115
|
+
"axios": "^1.6.5",
|
|
116
116
|
"semver": "^7.5.4"
|
|
117
117
|
},
|
|
118
118
|
"files": [
|