rollup 4.30.0-0 → 4.30.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.
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.30.0-0
4
- Sat, 21 Dec 2024 07:16:43 GMT - commit 2339f1d8384a8999645823f83f9042a9fc7b3bf7
3
+ Rollup.js v4.30.0
4
+ Mon, 06 Jan 2025 06:36:11 GMT - commit 958d5ebabd49297e9a4b78ad34ac0a0132305dea
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -21,14 +21,13 @@ const loadConfigFile_js = require('./loadConfigFile.js');
21
21
  const node_child_process = require('node:child_process');
22
22
  const rollup_js = require('../rollup.js');
23
23
  require('path');
24
- require('util');
25
24
  require('fs');
25
+ require('util');
26
26
  require('stream');
27
27
  require('os');
28
28
  require('./fsevents-importer.js');
29
29
  require('events');
30
30
  require('node:path');
31
- require('tty');
32
31
  require('../native.js');
33
32
  require('node:perf_hooks');
34
33
  require('node:url');
@@ -366,7 +365,23 @@ const {
366
365
  *
367
366
  * Returns a function that may be used to unload signal-exit.
368
367
  */
369
- onExit} = signalExitWrap(processOk(process$1) ? new SignalExit(process$1) : new SignalExitFallback());
368
+ onExit,
369
+ /**
370
+ * Load the listeners. Likely you never need to call this, unless
371
+ * doing a rather deep integration with signal-exit functionality.
372
+ * Mostly exposed for the benefit of testing.
373
+ *
374
+ * @internal
375
+ */
376
+ load,
377
+ /**
378
+ * Unload the listeners. Likely you never need to call this, unless
379
+ * doing a rather deep integration with signal-exit functionality.
380
+ * Mostly exposed for the benefit of testing.
381
+ *
382
+ * @internal
383
+ */
384
+ unload, } = signalExitWrap(processOk(process$1) ? new SignalExit(process$1) : new SignalExitFallback());
370
385
 
371
386
  const CLEAR_SCREEN = '\u001Bc';
372
387
  function getResetScreen(configs, allowClearScreen) {
@@ -401,7 +416,7 @@ function createWatchHooks(command) {
401
416
  if (watchHooks[hook]) {
402
417
  const cmd = watchHooks[hook];
403
418
  if (!command.silent) {
404
- rollup.stderr(rollup.cyan$1(`watch.${hook} ${rollup.bold(`$ ${cmd}`)}`));
419
+ rollup.stderr(rollup.cyan(`watch.${hook} ${rollup.bold(`$ ${cmd}`)}`));
405
420
  }
406
421
  try {
407
422
  // !! important - use stderr for all writes from execSync
@@ -496,7 +511,7 @@ async function watch(command) {
496
511
  ? input.join(', ')
497
512
  : Object.values(input).join(', ');
498
513
  }
499
- rollup.stderr(rollup.cyan$1(`bundles ${rollup.bold(input)} → ${rollup.bold(event.output.map(parseAst_js.relativeId).join(', '))}...`));
514
+ rollup.stderr(rollup.cyan(`bundles ${rollup.bold(input)} → ${rollup.bold(event.output.map(parseAst_js.relativeId).join(', '))}...`));
500
515
  }
501
516
  runWatchHook('onBundleStart');
502
517
  break;
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.30.0-0
4
- Sat, 21 Dec 2024 07:16:43 GMT - commit 2339f1d8384a8999645823f83f9042a9fc7b3bf7
3
+ Rollup.js v4.30.0
4
+ Mon, 06 Jan 2025 06:36:11 GMT - commit 958d5ebabd49297e9a4b78ad34ac0a0132305dea
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -18,12 +18,11 @@ const index = require('./index.js');
18
18
  const node_os = require('node:os');
19
19
  require('./parseAst.js');
20
20
  require('../native.js');
21
- require('tty');
22
21
  require('path');
23
22
  require('node:perf_hooks');
24
23
  require('node:fs/promises');
25
- require('util');
26
24
  require('fs');
25
+ require('util');
27
26
  require('stream');
28
27
  require('os');
29
28
  require('./fsevents-importer.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "4.30.0-0",
3
+ "version": "4.30.0",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -110,25 +110,25 @@
110
110
  "homepage": "https://rollupjs.org/",
111
111
  "optionalDependencies": {
112
112
  "fsevents": "~2.3.2",
113
- "@rollup/rollup-darwin-arm64": "4.30.0-0",
114
- "@rollup/rollup-android-arm64": "4.30.0-0",
115
- "@rollup/rollup-win32-arm64-msvc": "4.30.0-0",
116
- "@rollup/rollup-freebsd-arm64": "4.30.0-0",
117
- "@rollup/rollup-linux-arm64-gnu": "4.30.0-0",
118
- "@rollup/rollup-linux-arm64-musl": "4.30.0-0",
119
- "@rollup/rollup-android-arm-eabi": "4.30.0-0",
120
- "@rollup/rollup-linux-arm-gnueabihf": "4.30.0-0",
121
- "@rollup/rollup-linux-arm-musleabihf": "4.30.0-0",
122
- "@rollup/rollup-win32-ia32-msvc": "4.30.0-0",
123
- "@rollup/rollup-linux-loongarch64-gnu": "4.30.0-0",
124
- "@rollup/rollup-linux-riscv64-gnu": "4.30.0-0",
125
- "@rollup/rollup-linux-powerpc64le-gnu": "4.30.0-0",
126
- "@rollup/rollup-linux-s390x-gnu": "4.30.0-0",
127
- "@rollup/rollup-darwin-x64": "4.30.0-0",
128
- "@rollup/rollup-win32-x64-msvc": "4.30.0-0",
129
- "@rollup/rollup-freebsd-x64": "4.30.0-0",
130
- "@rollup/rollup-linux-x64-gnu": "4.30.0-0",
131
- "@rollup/rollup-linux-x64-musl": "4.30.0-0"
113
+ "@rollup/rollup-darwin-arm64": "4.30.0",
114
+ "@rollup/rollup-android-arm64": "4.30.0",
115
+ "@rollup/rollup-win32-arm64-msvc": "4.30.0",
116
+ "@rollup/rollup-freebsd-arm64": "4.30.0",
117
+ "@rollup/rollup-linux-arm64-gnu": "4.30.0",
118
+ "@rollup/rollup-linux-arm64-musl": "4.30.0",
119
+ "@rollup/rollup-android-arm-eabi": "4.30.0",
120
+ "@rollup/rollup-linux-arm-gnueabihf": "4.30.0",
121
+ "@rollup/rollup-linux-arm-musleabihf": "4.30.0",
122
+ "@rollup/rollup-win32-ia32-msvc": "4.30.0",
123
+ "@rollup/rollup-linux-loongarch64-gnu": "4.30.0",
124
+ "@rollup/rollup-linux-riscv64-gnu": "4.30.0",
125
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.30.0",
126
+ "@rollup/rollup-linux-s390x-gnu": "4.30.0",
127
+ "@rollup/rollup-darwin-x64": "4.30.0",
128
+ "@rollup/rollup-win32-x64-msvc": "4.30.0",
129
+ "@rollup/rollup-freebsd-x64": "4.30.0",
130
+ "@rollup/rollup-linux-x64-gnu": "4.30.0",
131
+ "@rollup/rollup-linux-x64-musl": "4.30.0"
132
132
  },
133
133
  "dependencies": {
134
134
  "@types/estree": "1.0.6"
@@ -139,12 +139,12 @@
139
139
  "devDependencies": {
140
140
  "@codemirror/commands": "^6.7.1",
141
141
  "@codemirror/lang-javascript": "^6.2.2",
142
- "@codemirror/language": "^6.10.7",
142
+ "@codemirror/language": "^6.10.8",
143
143
  "@codemirror/search": "^6.5.8",
144
144
  "@codemirror/state": "^6.5.0",
145
- "@codemirror/view": "^6.36.0",
145
+ "@codemirror/view": "^6.36.1",
146
146
  "@eslint/js": "^9.17.0",
147
- "@inquirer/prompts": "^7.2.0",
147
+ "@inquirer/prompts": "^7.2.1",
148
148
  "@jridgewell/sourcemap-codec": "^1.5.0",
149
149
  "@mermaid-js/mermaid-cli": "^11.4.2",
150
150
  "@napi-rs/cli": "^2.18.4",
@@ -157,19 +157,18 @@
157
157
  "@rollup/plugin-terser": "^0.4.4",
158
158
  "@rollup/plugin-typescript": "^12.1.2",
159
159
  "@rollup/pluginutils": "^5.1.4",
160
- "@shikijs/vitepress-twoslash": "^1.24.2",
160
+ "@shikijs/vitepress-twoslash": "^1.24.4",
161
161
  "@types/mocha": "^10.0.10",
162
162
  "@types/node": "^18.19.68",
163
163
  "@types/semver": "^7.5.8",
164
164
  "@types/yargs-parser": "^21.0.3",
165
- "@vue/language-server": "^2.1.10",
165
+ "@vue/language-server": "^2.2.0",
166
166
  "acorn": "^8.14.0",
167
167
  "acorn-import-assertions": "^1.9.0",
168
168
  "acorn-jsx": "^5.3.2",
169
169
  "buble": "^0.20.0",
170
170
  "builtin-modules": "^4.0.0",
171
171
  "chokidar": "^3.6.0",
172
- "colorette": "^2.0.20",
173
172
  "concurrently": "^9.1.0",
174
173
  "core-js": "3.38.1",
175
174
  "cross-env": "^7.0.3",
@@ -185,7 +184,7 @@
185
184
  "flru": "^1.0.2",
186
185
  "fs-extra": "^11.2.0",
187
186
  "github-api": "^3.4.0",
188
- "globals": "^15.13.0",
187
+ "globals": "^15.14.0",
189
188
  "husky": "^9.1.7",
190
189
  "is-reference": "^3.0.3",
191
190
  "lint-staged": "^15.2.11",
@@ -195,13 +194,14 @@
195
194
  "nodemon": "^3.1.9",
196
195
  "npm-audit-resolver": "^3.0.0-RC.0",
197
196
  "nyc": "^17.1.0",
197
+ "picocolors": "^1.1.1",
198
198
  "pinia": "^2.3.0",
199
199
  "prettier": "^3.4.2",
200
200
  "prettier-plugin-organize-imports": "^4.1.0",
201
201
  "pretty-bytes": "^6.1.1",
202
202
  "pretty-ms": "^9.2.0",
203
203
  "requirejs": "^2.3.7",
204
- "rollup": "^4.28.1",
204
+ "rollup": "^4.29.1",
205
205
  "rollup-plugin-license": "^3.5.3",
206
206
  "rollup-plugin-string": "^3.0.0",
207
207
  "semver": "^7.6.3",
@@ -213,11 +213,11 @@
213
213
  "terser": "^5.37.0",
214
214
  "tslib": "^2.8.1",
215
215
  "typescript": "^5.7.2",
216
- "typescript-eslint": "^8.18.1",
217
- "vite": "^6.0.3",
216
+ "typescript-eslint": "^8.18.2",
217
+ "vite": "^6.0.5",
218
218
  "vitepress": "^1.5.0",
219
219
  "vue": "^3.5.13",
220
- "vue-tsc": "^2.1.10",
220
+ "vue-tsc": "^2.2.0",
221
221
  "wasm-pack": "^0.13.1",
222
222
  "yargs-parser": "^21.1.1"
223
223
  },