@rollup/wasm-node 4.0.0-13 → 4.0.0-15
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 +3 -3
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +247 -133
- package/dist/es/shared/watch.js +2 -2
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.d.ts +15 -7
- 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/rollup.js +247 -133
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch-proxy.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm.js +28 -28
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +24 -20
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
@@ -9,20 +9,6 @@ heap.push(undefined, null, true, false);
|
|
|
9
9
|
|
|
10
10
|
function getObject(idx) { return heap[idx]; }
|
|
11
11
|
|
|
12
|
-
let heap_next = heap.length;
|
|
13
|
-
|
|
14
|
-
function dropObject(idx) {
|
|
15
|
-
if (idx < 132) return;
|
|
16
|
-
heap[idx] = heap_next;
|
|
17
|
-
heap_next = idx;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function takeObject(idx) {
|
|
21
|
-
const ret = getObject(idx);
|
|
22
|
-
dropObject(idx);
|
|
23
|
-
return ret;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
12
|
let WASM_VECTOR_LEN = 0;
|
|
27
13
|
|
|
28
14
|
let cachedUint8Memory0 = null;
|
|
@@ -100,6 +86,20 @@ function getInt32Memory0() {
|
|
|
100
86
|
return cachedInt32Memory0;
|
|
101
87
|
}
|
|
102
88
|
|
|
89
|
+
let heap_next = heap.length;
|
|
90
|
+
|
|
91
|
+
function dropObject(idx) {
|
|
92
|
+
if (idx < 132) return;
|
|
93
|
+
heap[idx] = heap_next;
|
|
94
|
+
heap_next = idx;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function takeObject(idx) {
|
|
98
|
+
const ret = getObject(idx);
|
|
99
|
+
dropObject(idx);
|
|
100
|
+
return ret;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
103
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
104
104
|
|
|
105
105
|
cachedTextDecoder.decode();
|
|
@@ -247,16 +247,6 @@ function handleError(f, args) {
|
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
251
|
-
const v = getObject(arg0);
|
|
252
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
253
|
-
return ret;
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
257
|
-
takeObject(arg0);
|
|
258
|
-
};
|
|
259
|
-
|
|
260
250
|
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
261
251
|
const obj = getObject(arg1);
|
|
262
252
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
@@ -266,6 +256,10 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
|
266
256
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
267
257
|
};
|
|
268
258
|
|
|
259
|
+
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
260
|
+
takeObject(arg0);
|
|
261
|
+
};
|
|
262
|
+
|
|
269
263
|
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
270
264
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
271
265
|
return addHeapObject(ret);
|
|
@@ -276,6 +270,12 @@ module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
|
276
270
|
return addHeapObject(ret);
|
|
277
271
|
};
|
|
278
272
|
|
|
273
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
274
|
+
const v = getObject(arg0);
|
|
275
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
276
|
+
return ret;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
279
|
module.exports.__wbindgen_is_object = function(arg0) {
|
|
280
280
|
const val = getObject(arg0);
|
|
281
281
|
const ret = typeof(val) === 'object' && val !== null;
|
|
@@ -354,14 +354,14 @@ module.exports.__wbindgen_is_function = function(arg0) {
|
|
|
354
354
|
return ret;
|
|
355
355
|
};
|
|
356
356
|
|
|
357
|
-
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
358
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
359
|
-
}, arguments) };
|
|
360
|
-
|
|
361
357
|
module.exports.__wbg_randomFillSync_dc1e9a60c158336d = function() { return handleError(function (arg0, arg1) {
|
|
362
358
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
363
359
|
}, arguments) };
|
|
364
360
|
|
|
361
|
+
module.exports.__wbg_getRandomValues_37fa2ca9e4e07fab = function() { return handleError(function (arg0, arg1) {
|
|
362
|
+
getObject(arg0).getRandomValues(getObject(arg1));
|
|
363
|
+
}, arguments) };
|
|
364
|
+
|
|
365
365
|
module.exports.__wbg_new_898a68150f225f2e = function() {
|
|
366
366
|
const ret = new Array();
|
|
367
367
|
return addHeapObject(ret);
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-15",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -25,31 +25,34 @@
|
|
|
25
25
|
"optionalDependencies": {
|
|
26
26
|
"fsevents": "~2.3.2"
|
|
27
27
|
},
|
|
28
|
+
"devDependenciesComments": {
|
|
29
|
+
"@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
|
|
30
|
+
},
|
|
28
31
|
"devDependencies": {
|
|
29
|
-
"@codemirror/commands": "^6.2.
|
|
30
|
-
"@codemirror/lang-javascript": "^6.1
|
|
32
|
+
"@codemirror/commands": "^6.2.5",
|
|
33
|
+
"@codemirror/lang-javascript": "^6.2.1",
|
|
31
34
|
"@codemirror/language": "^6.9.0",
|
|
32
|
-
"@codemirror/search": "^6.5.
|
|
35
|
+
"@codemirror/search": "^6.5.2",
|
|
33
36
|
"@codemirror/state": "^6.2.1",
|
|
34
|
-
"@codemirror/view": "^6.
|
|
37
|
+
"@codemirror/view": "^6.17.1",
|
|
35
38
|
"@jridgewell/sourcemap-codec": "^1.4.15",
|
|
36
|
-
"@mermaid-js/mermaid-cli": "^10.
|
|
39
|
+
"@mermaid-js/mermaid-cli": "^10.4.0",
|
|
37
40
|
"@napi-rs/cli": "^2.16.2",
|
|
38
41
|
"@rollup/plugin-alias": "^5.0.0",
|
|
39
42
|
"@rollup/plugin-buble": "^1.0.2",
|
|
40
43
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
41
44
|
"@rollup/plugin-json": "^6.0.0",
|
|
42
|
-
"@rollup/plugin-node-resolve": "^15.2.
|
|
45
|
+
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
43
46
|
"@rollup/plugin-replace": "^5.0.2",
|
|
44
47
|
"@rollup/plugin-terser": "^0.4.3",
|
|
45
|
-
"@rollup/plugin-typescript": "
|
|
46
|
-
"@rollup/pluginutils": "^5.0.
|
|
48
|
+
"@rollup/plugin-typescript": "11.1.2",
|
|
49
|
+
"@rollup/pluginutils": "^5.0.4",
|
|
47
50
|
"@types/estree": "1.0.1",
|
|
48
51
|
"@types/mocha": "^10.0.1",
|
|
49
52
|
"@types/node": "~18.17.5",
|
|
50
53
|
"@types/yargs-parser": "^21.0.0",
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
52
|
-
"@typescript-eslint/parser": "^6.
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
55
|
+
"@typescript-eslint/parser": "^6.6.0",
|
|
53
56
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
54
57
|
"@vue/eslint-config-typescript": "^11.0.3",
|
|
55
58
|
"acorn": "^8.10.0",
|
|
@@ -58,12 +61,12 @@
|
|
|
58
61
|
"builtin-modules": "^3.3.0",
|
|
59
62
|
"chokidar": "^3.5.3",
|
|
60
63
|
"colorette": "^2.0.20",
|
|
61
|
-
"concurrently": "^8.2.
|
|
64
|
+
"concurrently": "^8.2.1",
|
|
62
65
|
"core-js": "^3.32.1",
|
|
63
66
|
"date-time": "^4.0.0",
|
|
64
67
|
"es5-shim": "^4.6.7",
|
|
65
68
|
"es6-shim": "^0.35.8",
|
|
66
|
-
"eslint": "^8.
|
|
69
|
+
"eslint": "^8.48.0",
|
|
67
70
|
"eslint-config-prettier": "^9.0.0",
|
|
68
71
|
"eslint-plugin-import": "^2.28.1",
|
|
69
72
|
"eslint-plugin-prettier": "^5.0.0",
|
|
@@ -77,18 +80,18 @@
|
|
|
77
80
|
"husky": "^8.0.3",
|
|
78
81
|
"inquirer": "^9.2.10",
|
|
79
82
|
"is-reference": "^3.0.1",
|
|
80
|
-
"lint-staged": "^14.0.
|
|
83
|
+
"lint-staged": "^14.0.1",
|
|
81
84
|
"locate-character": "^3.0.0",
|
|
82
|
-
"magic-string": "^0.30.
|
|
85
|
+
"magic-string": "^0.30.3",
|
|
83
86
|
"mocha": "^10.2.0",
|
|
84
87
|
"nyc": "^15.1.0",
|
|
85
88
|
"pinia": "^2.1.6",
|
|
86
|
-
"prettier": "^3.0.
|
|
89
|
+
"prettier": "^3.0.3",
|
|
87
90
|
"pretty-bytes": "^6.1.1",
|
|
88
91
|
"pretty-ms": "^8.0.0",
|
|
89
92
|
"requirejs": "^2.3.6",
|
|
90
93
|
"rollup": "^3.28.1",
|
|
91
|
-
"rollup-plugin-license": "^3.0
|
|
94
|
+
"rollup-plugin-license": "^3.1.0",
|
|
92
95
|
"rollup-plugin-string": "^3.0.0",
|
|
93
96
|
"rollup-plugin-thatworks": "^1.0.4",
|
|
94
97
|
"semver": "^7.5.4",
|
|
@@ -97,11 +100,11 @@
|
|
|
97
100
|
"source-map": "^0.7.4",
|
|
98
101
|
"source-map-support": "^0.5.21",
|
|
99
102
|
"systemjs": "^6.14.2",
|
|
100
|
-
"terser": "^5.19.
|
|
103
|
+
"terser": "^5.19.4",
|
|
101
104
|
"tslib": "^2.6.2",
|
|
102
|
-
"typescript": "^5.
|
|
105
|
+
"typescript": "^5.2.2",
|
|
103
106
|
"vite": "^4.4.9",
|
|
104
|
-
"vitepress": "^1.0.0-rc.
|
|
107
|
+
"vitepress": "^1.0.0-rc.10",
|
|
105
108
|
"vue": "^3.3.4",
|
|
106
109
|
"wasm-pack": "^0.12.1",
|
|
107
110
|
"weak-napi": "^2.0.2",
|
|
@@ -112,6 +115,7 @@
|
|
|
112
115
|
},
|
|
113
116
|
"files": [
|
|
114
117
|
"dist/wasm-node/*.wasm",
|
|
118
|
+
"dist/*.node",
|
|
115
119
|
"dist/**/*.js",
|
|
116
120
|
"dist/*.d.ts",
|
|
117
121
|
"dist/bin/rollup",
|