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.
package/LICENSE.md CHANGED
@@ -190,21 +190,6 @@ Repository: git+https://github.com/paulmillr/chokidar.git
190
190
 
191
191
  ---------------------------------------
192
192
 
193
- ## colorette
194
- License: MIT
195
- By: Jorge Bucaran
196
- Repository: jorgebucaran/colorette
197
-
198
- > Copyright © Jorge Bucaran <<https://jorgebucaran.com>>
199
- >
200
- > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
201
- >
202
- > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
203
- >
204
- > THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
205
-
206
- ---------------------------------------
207
-
208
193
  ## date-time
209
194
  License: MIT
210
195
  By: Sindre Sorhus
@@ -470,6 +455,29 @@ Repository: sindresorhus/parse-ms
470
455
 
471
456
  ---------------------------------------
472
457
 
458
+ ## picocolors
459
+ License: ISC
460
+ By: Alexey Raspopov
461
+ Repository: alexeyraspopov/picocolors
462
+
463
+ > ISC License
464
+ >
465
+ > Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
466
+ >
467
+ > Permission to use, copy, modify, and/or distribute this software for any
468
+ > purpose with or without fee is hereby granted, provided that the above
469
+ > copyright notice and this permission notice appear in all copies.
470
+ >
471
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
472
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
473
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
474
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
475
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
476
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
477
+ > OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
478
+
479
+ ---------------------------------------
480
+
473
481
  ## picomatch
474
482
  License: MIT
475
483
  By: Jon Schlinkert
package/dist/bin/rollup CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.30.0-0
5
- Sat, 21 Dec 2024 07:16:43 GMT - commit 2339f1d8384a8999645823f83f9042a9fc7b3bf7
4
+ Rollup.js v4.30.0
5
+ Mon, 06 Jan 2025 06:36:11 GMT - commit 958d5ebabd49297e9a4b78ad34ac0a0132305dea
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -22,7 +22,6 @@ const fseventsImporter = require('../shared/fsevents-importer.js');
22
22
  const promises = require('node:fs/promises');
23
23
  const path = require('node:path');
24
24
  const loadConfigFile_js = require('../shared/loadConfigFile.js');
25
- require('tty');
26
25
  require('../native.js');
27
26
  require('node:perf_hooks');
28
27
  require('node:url');
@@ -1204,7 +1203,7 @@ var _a, _b, _c;
1204
1203
  const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION)
1205
1204
  ? Number(process.env.YARGS_MIN_NODE_VERSION)
1206
1205
  : 12;
1207
- const nodeVersion = (_b = (_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) !== null && _b !== void 0 ? _b : (_c = process === null || process === void 0 ? void 0 : process.version) === null || _c === void 0 ? void 0 : _c.slice(1);
1206
+ const nodeVersion = (_b = (_a = process === null || process === undefined ? undefined : process.versions) === null || _a === undefined ? undefined : _a.node) !== null && _b !== undefined ? _b : (_c = process === null || process === undefined ? undefined : process.version) === null || _c === undefined ? undefined : _c.slice(1);
1208
1207
  if (nodeVersion) {
1209
1208
  const major = Number(nodeVersion.match(/^([^.]+)/)[1]);
1210
1209
  if (major < minNodeVersion) {
@@ -1265,14 +1264,14 @@ PERFORMANCE OF THIS SOFTWARE.
1265
1264
 
1266
1265
 
1267
1266
  function __addDisposableResource(env, value, async) {
1268
- if (value !== null && value !== void 0) {
1267
+ if (value !== null && value !== undefined) {
1269
1268
  if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
1270
1269
  var dispose, inner;
1271
1270
  if (async) {
1272
1271
  if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
1273
1272
  dispose = value[Symbol.asyncDispose];
1274
1273
  }
1275
- if (dispose === void 0) {
1274
+ if (dispose === undefined) {
1276
1275
  if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
1277
1276
  dispose = value[Symbol.dispose];
1278
1277
  if (async) inner = dispose;
@@ -1645,7 +1644,7 @@ function printTimings(timings) {
1645
1644
  }
1646
1645
 
1647
1646
  async function build(inputOptions, warnings, silent = false) {
1648
- const env_1 = { stack: [], error: void 0, hasError: false };
1647
+ const env_1 = { stack: [], error: undefined, hasError: false };
1649
1648
  try {
1650
1649
  const outputOptions = inputOptions.output;
1651
1650
  const useStdout = !outputOptions[0].file && !outputOptions[0].dir;
@@ -1662,7 +1661,7 @@ async function build(inputOptions, warnings, silent = false) {
1662
1661
  else if (typeof inputOptions.input === 'object' && inputOptions.input !== null) {
1663
1662
  inputFiles = Object.values(inputOptions.input).join(', ');
1664
1663
  }
1665
- rollup.stderr(rollup.cyan$1(`\n${rollup.bold(inputFiles)} → ${rollup.bold(files.join(', '))}...`));
1664
+ rollup.stderr(rollup.cyan(`\n${rollup.bold(inputFiles)} → ${rollup.bold(files.join(', '))}...`));
1666
1665
  }
1667
1666
  const bundle = __addDisposableResource(env_1, await rollup.rollup(inputOptions), true);
1668
1667
  if (useStdout) {
@@ -1673,7 +1672,7 @@ async function build(inputOptions, warnings, silent = false) {
1673
1672
  const { output: outputs } = await bundle.generate(output);
1674
1673
  for (const file of outputs) {
1675
1674
  if (outputs.length > 1)
1676
- process$1.stdout.write(`\n${rollup.cyan$1(rollup.bold(`//→ ${file.fileName}:`))}\n`);
1675
+ process$1.stdout.write(`\n${rollup.cyan(rollup.bold(`//→ ${file.fileName}:`))}\n`);
1677
1676
  process$1.stdout.write(file.type === 'asset' ? file.source : file.code);
1678
1677
  }
1679
1678
  if (!silent) {
@@ -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
 
@@ -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
 
package/dist/es/rollup.js CHANGED
@@ -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
 
@@ -15,4 +15,3 @@ import 'path';
15
15
  import 'node:process';
16
16
  import 'node:perf_hooks';
17
17
  import 'node:fs/promises';
18
- import 'tty';