@rollup/wasm-node 4.6.1 → 4.8.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/wasm-node",
3
- "version": "4.6.1",
3
+ "version": "4.8.0",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -29,16 +29,16 @@
29
29
  "@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
30
30
  },
31
31
  "devDependencies": {
32
- "@codemirror/commands": "^6.3.0",
32
+ "@codemirror/commands": "^6.3.2",
33
33
  "@codemirror/lang-javascript": "^6.2.1",
34
- "@codemirror/language": "^6.9.2",
35
- "@codemirror/search": "^6.5.4",
36
- "@codemirror/state": "^6.3.1",
37
- "@codemirror/view": "^6.22.0",
34
+ "@codemirror/language": "^6.9.3",
35
+ "@codemirror/search": "^6.5.5",
36
+ "@codemirror/state": "^6.3.2",
37
+ "@codemirror/view": "^6.22.1",
38
38
  "@jridgewell/sourcemap-codec": "^1.4.15",
39
39
  "@mermaid-js/mermaid-cli": "^10.6.1",
40
- "@napi-rs/cli": "^2.16.5",
41
- "@rollup/plugin-alias": "^5.0.1",
40
+ "@napi-rs/cli": "^2.17.0",
41
+ "@rollup/plugin-alias": "^5.1.0",
42
42
  "@rollup/plugin-buble": "^1.0.3",
43
43
  "@rollup/plugin-commonjs": "^25.0.7",
44
44
  "@rollup/plugin-json": "^6.0.1",
@@ -46,13 +46,13 @@
46
46
  "@rollup/plugin-replace": "^5.0.5",
47
47
  "@rollup/plugin-terser": "^0.4.4",
48
48
  "@rollup/plugin-typescript": "11.1.5",
49
- "@rollup/pluginutils": "^5.0.5",
49
+ "@rollup/pluginutils": "^5.1.0",
50
50
  "@types/estree": "1.0.5",
51
- "@types/mocha": "^10.0.5",
51
+ "@types/mocha": "^10.0.6",
52
52
  "@types/node": "18.0.0",
53
53
  "@types/yargs-parser": "^21.0.3",
54
- "@typescript-eslint/eslint-plugin": "^6.12.0",
55
- "@typescript-eslint/parser": "^6.12.0",
54
+ "@typescript-eslint/eslint-plugin": "^6.13.2",
55
+ "@typescript-eslint/parser": "^6.13.2",
56
56
  "@vue/eslint-config-prettier": "^8.0.0",
57
57
  "@vue/eslint-config-typescript": "^12.0.0",
58
58
  "acorn": "^8.11.2",
@@ -66,20 +66,20 @@
66
66
  "date-time": "^4.0.0",
67
67
  "es5-shim": "^4.6.7",
68
68
  "es6-shim": "^0.35.8",
69
- "eslint": "^8.54.0",
70
- "eslint-config-prettier": "^9.0.0",
69
+ "eslint": "^8.55.0",
70
+ "eslint-config-prettier": "^9.1.0",
71
71
  "eslint-plugin-import": "^2.29.0",
72
72
  "eslint-plugin-prettier": "^5.0.1",
73
73
  "eslint-plugin-unicorn": "^49.0.0",
74
- "eslint-plugin-vue": "^9.18.1",
74
+ "eslint-plugin-vue": "^9.19.2",
75
75
  "fixturify": "^3.0.0",
76
76
  "flru": "^1.0.2",
77
- "fs-extra": "^11.1.1",
77
+ "fs-extra": "^11.2.0",
78
78
  "github-api": "^3.4.0",
79
79
  "husky": "^8.0.3",
80
80
  "inquirer": "^9.2.12",
81
81
  "is-reference": "^3.0.2",
82
- "lint-staged": "^15.1.0",
82
+ "lint-staged": "^15.2.0",
83
83
  "locate-character": "^3.0.0",
84
84
  "magic-string": "^0.30.5",
85
85
  "mocha": "^10.2.0",
@@ -89,7 +89,7 @@
89
89
  "pretty-bytes": "^6.1.1",
90
90
  "pretty-ms": "^8.0.0",
91
91
  "requirejs": "^2.3.6",
92
- "rollup": "^4.5.0",
92
+ "rollup": "^4.6.1",
93
93
  "rollup-plugin-license": "^3.2.0",
94
94
  "rollup-plugin-string": "^3.0.0",
95
95
  "rollup-plugin-thatworks": "^1.0.4",
@@ -99,12 +99,12 @@
99
99
  "source-map": "^0.7.4",
100
100
  "source-map-support": "^0.5.21",
101
101
  "systemjs": "^6.14.2",
102
- "terser": "^5.24.0",
102
+ "terser": "^5.25.0",
103
103
  "tslib": "^2.6.2",
104
104
  "typescript": "^5.3.2",
105
- "vite": "^5.0.0",
106
- "vitepress": "^1.0.0-rc.29",
107
- "vue": "^3.3.8",
105
+ "vite": "^5.0.5",
106
+ "vitepress": "^1.0.0-rc.31",
107
+ "vue": "^3.3.10",
108
108
  "wasm-pack": "^0.12.1",
109
109
  "weak-napi": "^2.0.2",
110
110
  "yargs-parser": "^21.1.1"
@@ -1,88 +0,0 @@
1
- /*
2
- @license
3
- Rollup.js v4.6.1
4
- Thu, 30 Nov 2023 05:22:35 GMT - commit ded37aa8f95d5ba9786fa8903ef3424fd0549c73
5
-
6
- https://github.com/rollup/rollup
7
-
8
- Released under the MIT License.
9
- */
10
- 'use strict';
11
-
12
- const rollup = require('./rollup.js');
13
- const parseAst_js = require('./parseAst.js');
14
- const fseventsImporter = require('./fsevents-importer.js');
15
-
16
- class WatchEmitter {
17
- constructor() {
18
- this.currentHandlers = Object.create(null);
19
- this.persistentHandlers = Object.create(null);
20
- }
21
- // Will be overwritten by Rollup
22
- async close() { }
23
- emit(event, ...parameters) {
24
- return Promise.all([...this.getCurrentHandlers(event), ...this.getPersistentHandlers(event)].map(handler => handler(...parameters)));
25
- }
26
- off(event, listener) {
27
- const listeners = this.persistentHandlers[event];
28
- if (listeners) {
29
- // A hack stolen from "mitt": ">>> 0" does not change numbers >= 0, but -1
30
- // (which would remove the last array element if used unchanged) is turned
31
- // into max_int, which is outside the array and does not change anything.
32
- listeners.splice(listeners.indexOf(listener) >>> 0, 1);
33
- }
34
- return this;
35
- }
36
- on(event, listener) {
37
- this.getPersistentHandlers(event).push(listener);
38
- return this;
39
- }
40
- onCurrentRun(event, listener) {
41
- this.getCurrentHandlers(event).push(listener);
42
- return this;
43
- }
44
- once(event, listener) {
45
- const selfRemovingListener = (...parameters) => {
46
- this.off(event, selfRemovingListener);
47
- return listener(...parameters);
48
- };
49
- this.on(event, selfRemovingListener);
50
- return this;
51
- }
52
- removeAllListeners() {
53
- this.removeListenersForCurrentRun();
54
- this.persistentHandlers = Object.create(null);
55
- return this;
56
- }
57
- removeListenersForCurrentRun() {
58
- this.currentHandlers = Object.create(null);
59
- return this;
60
- }
61
- getCurrentHandlers(event) {
62
- return this.currentHandlers[event] || (this.currentHandlers[event] = []);
63
- }
64
- getPersistentHandlers(event) {
65
- return this.persistentHandlers[event] || (this.persistentHandlers[event] = []);
66
- }
67
- }
68
-
69
- function watch(configs) {
70
- const emitter = new WatchEmitter();
71
- watchInternal(configs, emitter).catch(error => {
72
- rollup.handleError(error);
73
- });
74
- return emitter;
75
- }
76
- async function watchInternal(configs, emitter) {
77
- const optionsList = await Promise.all(rollup.ensureArray(configs).map(config => rollup.mergeOptions(config, true)));
78
- const watchOptionsList = optionsList.filter(config => config.watch !== false);
79
- if (watchOptionsList.length === 0) {
80
- return parseAst_js.error(parseAst_js.logInvalidOption('watch', parseAst_js.URL_WATCH, 'there must be at least one config where "watch" is not set to "false"'));
81
- }
82
- await fseventsImporter.loadFsEvents();
83
- const { Watcher } = await Promise.resolve().then(() => require('./watch.js'));
84
- new Watcher(watchOptionsList, emitter);
85
- }
86
-
87
- exports.watch = watch;
88
- //# sourceMappingURL=watch-proxy.js.map