@rollup/wasm-node 4.0.0-12 → 4.0.0-14

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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.0.0-12
4
- Wed, 23 Aug 2023 14:39:48 GMT - commit b6eec18d711348e3b177ef58dc2836cdf75e0432
3
+ Rollup.js v4.0.0-14
4
+ Fri, 15 Sep 2023 12:33:30 GMT - commit ec2f8ec863d8d896aef0dd0097f2d73f59e8213a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.0.0-12
4
- Wed, 23 Aug 2023 14:39:48 GMT - commit b6eec18d711348e3b177ef58dc2836cdf75e0432
3
+ Rollup.js v4.0.0-14
4
+ Fri, 15 Sep 2023 12:33:30 GMT - commit ec2f8ec863d8d896aef0dd0097f2d73f59e8213a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.0.0-12
4
- Wed, 23 Aug 2023 14:39:48 GMT - commit b6eec18d711348e3b177ef58dc2836cdf75e0432
3
+ Rollup.js v4.0.0-14
4
+ Fri, 15 Sep 2023 12:33:30 GMT - commit ec2f8ec863d8d896aef0dd0097f2d73f59e8213a
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.0.0-12",
3
+ "version": "4.0.0-14",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -23,60 +23,50 @@
23
23
  },
24
24
  "homepage": "https://rollupjs.org/",
25
25
  "optionalDependencies": {
26
- "@rollup/rollup-darwin-arm64": "4.0.0-12",
27
- "@rollup/rollup-android-arm64": "4.0.0-12",
28
- "@rollup/rollup-win32-arm64-msvc": "4.0.0-12",
29
- "@rollup/rollup-linux-arm64-gnu": "4.0.0-12",
30
- "@rollup/rollup-android-arm-eabi": "4.0.0-12",
31
- "@rollup/rollup-linux-arm-gnueabihf": "4.0.0-12",
32
- "@rollup/rollup-win32-ia32-msvc": "4.0.0-12",
33
- "@rollup/rollup-darwin-x64": "4.0.0-12",
34
- "@rollup/rollup-win32-x64-msvc": "4.0.0-12",
35
- "@rollup/rollup-linux-x64-gnu": "4.0.0-12",
36
- "@rollup/rollup-linux-x64-musl": "4.0.0-12"
26
+ "fsevents": "~2.3.2"
27
+ },
28
+ "devDependenciesComments": {
29
+ "@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
37
30
  },
38
31
  "devDependencies": {
39
- "@codemirror/commands": "^6.2.4",
40
- "@codemirror/lang-javascript": "^6.1.9",
32
+ "@codemirror/commands": "^6.2.5",
33
+ "@codemirror/lang-javascript": "^6.2.1",
41
34
  "@codemirror/language": "^6.9.0",
42
- "@codemirror/search": "^6.5.1",
35
+ "@codemirror/search": "^6.5.2",
43
36
  "@codemirror/state": "^6.2.1",
44
- "@codemirror/view": "^6.16.0",
37
+ "@codemirror/view": "^6.17.1",
45
38
  "@jridgewell/sourcemap-codec": "^1.4.15",
46
- "@mermaid-js/mermaid-cli": "^10.3.1",
39
+ "@mermaid-js/mermaid-cli": "^10.4.0",
47
40
  "@napi-rs/cli": "^2.16.2",
48
41
  "@rollup/plugin-alias": "^5.0.0",
49
42
  "@rollup/plugin-buble": "^1.0.2",
50
43
  "@rollup/plugin-commonjs": "^25.0.4",
51
44
  "@rollup/plugin-json": "^6.0.0",
52
- "@rollup/plugin-node-resolve": "^15.2.0",
45
+ "@rollup/plugin-node-resolve": "^15.2.1",
53
46
  "@rollup/plugin-replace": "^5.0.2",
54
47
  "@rollup/plugin-terser": "^0.4.3",
55
- "@rollup/plugin-typescript": "^11.1.2",
56
- "@rollup/plugin-wasm": "^6.1.3",
57
- "@rollup/pluginutils": "^5.0.3",
48
+ "@rollup/plugin-typescript": "11.1.2",
49
+ "@rollup/pluginutils": "^5.0.4",
58
50
  "@types/estree": "1.0.1",
59
51
  "@types/mocha": "^10.0.1",
60
52
  "@types/node": "~18.17.5",
61
53
  "@types/yargs-parser": "^21.0.0",
62
- "@typescript-eslint/eslint-plugin": "^6.4.0",
63
- "@typescript-eslint/parser": "^6.4.0",
54
+ "@typescript-eslint/eslint-plugin": "^6.6.0",
55
+ "@typescript-eslint/parser": "^6.6.0",
64
56
  "@vue/eslint-config-prettier": "^8.0.0",
65
57
  "@vue/eslint-config-typescript": "^11.0.3",
66
58
  "acorn": "^8.10.0",
67
59
  "acorn-import-assertions": "^1.9.0",
68
- "acorn-jsx": "^5.3.2",
69
- "acorn-walk": "^8.2.0",
70
60
  "buble": "^0.20.0",
71
61
  "builtin-modules": "^3.3.0",
72
62
  "chokidar": "^3.5.3",
73
63
  "colorette": "^2.0.20",
74
- "concurrently": "^8.2.0",
64
+ "concurrently": "^8.2.1",
75
65
  "core-js": "^3.32.1",
76
66
  "date-time": "^4.0.0",
77
67
  "es5-shim": "^4.6.7",
78
68
  "es6-shim": "^0.35.8",
79
- "eslint": "^8.47.0",
69
+ "eslint": "^8.48.0",
80
70
  "eslint-config-prettier": "^9.0.0",
81
71
  "eslint-plugin-import": "^2.28.1",
82
72
  "eslint-plugin-prettier": "^5.0.0",
@@ -90,18 +80,18 @@
90
80
  "husky": "^8.0.3",
91
81
  "inquirer": "^9.2.10",
92
82
  "is-reference": "^3.0.1",
93
- "lint-staged": "^14.0.0",
83
+ "lint-staged": "^14.0.1",
94
84
  "locate-character": "^3.0.0",
95
- "magic-string": "^0.30.2",
85
+ "magic-string": "^0.30.3",
96
86
  "mocha": "^10.2.0",
97
87
  "nyc": "^15.1.0",
98
88
  "pinia": "^2.1.6",
99
- "prettier": "^3.0.2",
89
+ "prettier": "^3.0.3",
100
90
  "pretty-bytes": "^6.1.1",
101
91
  "pretty-ms": "^8.0.0",
102
92
  "requirejs": "^2.3.6",
103
93
  "rollup": "^3.28.1",
104
- "rollup-plugin-license": "^3.0.1",
94
+ "rollup-plugin-license": "^3.1.0",
105
95
  "rollup-plugin-string": "^3.0.0",
106
96
  "rollup-plugin-thatworks": "^1.0.4",
107
97
  "semver": "^7.5.4",
@@ -110,11 +100,11 @@
110
100
  "source-map": "^0.7.4",
111
101
  "source-map-support": "^0.5.21",
112
102
  "systemjs": "^6.14.2",
113
- "terser": "^5.19.2",
103
+ "terser": "^5.19.4",
114
104
  "tslib": "^2.6.2",
115
- "typescript": "^5.1.6",
105
+ "typescript": "^5.2.2",
116
106
  "vite": "^4.4.9",
117
- "vitepress": "^1.0.0-rc.4",
107
+ "vitepress": "^1.0.0-rc.10",
118
108
  "vue": "^3.3.4",
119
109
  "wasm-pack": "^0.12.1",
120
110
  "weak-napi": "^2.0.2",
@@ -125,6 +115,7 @@
125
115
  },
126
116
  "files": [
127
117
  "dist/wasm-node/*.wasm",
118
+ "dist/*.node",
128
119
  "dist/**/*.js",
129
120
  "dist/*.d.ts",
130
121
  "dist/bin/rollup",