rollup 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",
3
- "version": "4.6.1",
3
+ "version": "4.8.0",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -24,6 +24,7 @@
24
24
  "armv7-linux-androideabi",
25
25
  "armv7-unknown-linux-gnueabihf",
26
26
  "i686-pc-windows-msvc",
27
+ "riscv64gc-unknown-linux-gnu",
27
28
  "x86_64-apple-darwin",
28
29
  "x86_64-pc-windows-msvc",
29
30
  "x86_64-unknown-linux-gnu",
@@ -100,33 +101,34 @@
100
101
  "homepage": "https://rollupjs.org/",
101
102
  "optionalDependencies": {
102
103
  "fsevents": "~2.3.2",
103
- "@rollup/rollup-darwin-arm64": "4.6.1",
104
- "@rollup/rollup-android-arm64": "4.6.1",
105
- "@rollup/rollup-win32-arm64-msvc": "4.6.1",
106
- "@rollup/rollup-linux-arm64-gnu": "4.6.1",
107
- "@rollup/rollup-linux-arm64-musl": "4.6.1",
108
- "@rollup/rollup-android-arm-eabi": "4.6.1",
109
- "@rollup/rollup-linux-arm-gnueabihf": "4.6.1",
110
- "@rollup/rollup-win32-ia32-msvc": "4.6.1",
111
- "@rollup/rollup-darwin-x64": "4.6.1",
112
- "@rollup/rollup-win32-x64-msvc": "4.6.1",
113
- "@rollup/rollup-linux-x64-gnu": "4.6.1",
114
- "@rollup/rollup-linux-x64-musl": "4.6.1"
104
+ "@rollup/rollup-darwin-arm64": "4.8.0",
105
+ "@rollup/rollup-android-arm64": "4.8.0",
106
+ "@rollup/rollup-win32-arm64-msvc": "4.8.0",
107
+ "@rollup/rollup-linux-arm64-gnu": "4.8.0",
108
+ "@rollup/rollup-linux-arm64-musl": "4.8.0",
109
+ "@rollup/rollup-android-arm-eabi": "4.8.0",
110
+ "@rollup/rollup-linux-arm-gnueabihf": "4.8.0",
111
+ "@rollup/rollup-win32-ia32-msvc": "4.8.0",
112
+ "@rollup/rollup-linux-riscv64-gnu": "4.8.0",
113
+ "@rollup/rollup-darwin-x64": "4.8.0",
114
+ "@rollup/rollup-win32-x64-msvc": "4.8.0",
115
+ "@rollup/rollup-linux-x64-gnu": "4.8.0",
116
+ "@rollup/rollup-linux-x64-musl": "4.8.0"
115
117
  },
116
118
  "devDependenciesComments": {
117
119
  "@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
118
120
  },
119
121
  "devDependencies": {
120
- "@codemirror/commands": "^6.3.0",
122
+ "@codemirror/commands": "^6.3.2",
121
123
  "@codemirror/lang-javascript": "^6.2.1",
122
- "@codemirror/language": "^6.9.2",
123
- "@codemirror/search": "^6.5.4",
124
- "@codemirror/state": "^6.3.1",
125
- "@codemirror/view": "^6.22.0",
124
+ "@codemirror/language": "^6.9.3",
125
+ "@codemirror/search": "^6.5.5",
126
+ "@codemirror/state": "^6.3.2",
127
+ "@codemirror/view": "^6.22.1",
126
128
  "@jridgewell/sourcemap-codec": "^1.4.15",
127
129
  "@mermaid-js/mermaid-cli": "^10.6.1",
128
- "@napi-rs/cli": "^2.16.5",
129
- "@rollup/plugin-alias": "^5.0.1",
130
+ "@napi-rs/cli": "^2.17.0",
131
+ "@rollup/plugin-alias": "^5.1.0",
130
132
  "@rollup/plugin-buble": "^1.0.3",
131
133
  "@rollup/plugin-commonjs": "^25.0.7",
132
134
  "@rollup/plugin-json": "^6.0.1",
@@ -134,13 +136,13 @@
134
136
  "@rollup/plugin-replace": "^5.0.5",
135
137
  "@rollup/plugin-terser": "^0.4.4",
136
138
  "@rollup/plugin-typescript": "11.1.5",
137
- "@rollup/pluginutils": "^5.0.5",
139
+ "@rollup/pluginutils": "^5.1.0",
138
140
  "@types/estree": "1.0.5",
139
- "@types/mocha": "^10.0.5",
141
+ "@types/mocha": "^10.0.6",
140
142
  "@types/node": "18.0.0",
141
143
  "@types/yargs-parser": "^21.0.3",
142
- "@typescript-eslint/eslint-plugin": "^6.12.0",
143
- "@typescript-eslint/parser": "^6.12.0",
144
+ "@typescript-eslint/eslint-plugin": "^6.13.2",
145
+ "@typescript-eslint/parser": "^6.13.2",
144
146
  "@vue/eslint-config-prettier": "^8.0.0",
145
147
  "@vue/eslint-config-typescript": "^12.0.0",
146
148
  "acorn": "^8.11.2",
@@ -154,20 +156,20 @@
154
156
  "date-time": "^4.0.0",
155
157
  "es5-shim": "^4.6.7",
156
158
  "es6-shim": "^0.35.8",
157
- "eslint": "^8.54.0",
158
- "eslint-config-prettier": "^9.0.0",
159
+ "eslint": "^8.55.0",
160
+ "eslint-config-prettier": "^9.1.0",
159
161
  "eslint-plugin-import": "^2.29.0",
160
162
  "eslint-plugin-prettier": "^5.0.1",
161
163
  "eslint-plugin-unicorn": "^49.0.0",
162
- "eslint-plugin-vue": "^9.18.1",
164
+ "eslint-plugin-vue": "^9.19.2",
163
165
  "fixturify": "^3.0.0",
164
166
  "flru": "^1.0.2",
165
- "fs-extra": "^11.1.1",
167
+ "fs-extra": "^11.2.0",
166
168
  "github-api": "^3.4.0",
167
169
  "husky": "^8.0.3",
168
170
  "inquirer": "^9.2.12",
169
171
  "is-reference": "^3.0.2",
170
- "lint-staged": "^15.1.0",
172
+ "lint-staged": "^15.2.0",
171
173
  "locate-character": "^3.0.0",
172
174
  "magic-string": "^0.30.5",
173
175
  "mocha": "^10.2.0",
@@ -177,7 +179,7 @@
177
179
  "pretty-bytes": "^6.1.1",
178
180
  "pretty-ms": "^8.0.0",
179
181
  "requirejs": "^2.3.6",
180
- "rollup": "^4.5.0",
182
+ "rollup": "^4.6.1",
181
183
  "rollup-plugin-license": "^3.2.0",
182
184
  "rollup-plugin-string": "^3.0.0",
183
185
  "rollup-plugin-thatworks": "^1.0.4",
@@ -187,12 +189,12 @@
187
189
  "source-map": "^0.7.4",
188
190
  "source-map-support": "^0.5.21",
189
191
  "systemjs": "^6.14.2",
190
- "terser": "^5.24.0",
192
+ "terser": "^5.25.0",
191
193
  "tslib": "^2.6.2",
192
194
  "typescript": "^5.3.2",
193
- "vite": "^5.0.0",
194
- "vitepress": "^1.0.0-rc.29",
195
- "vue": "^3.3.8",
195
+ "vite": "^5.0.5",
196
+ "vitepress": "^1.0.0-rc.31",
197
+ "vue": "^3.3.10",
196
198
  "wasm-pack": "^0.12.1",
197
199
  "weak-napi": "^2.0.2",
198
200
  "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