rollup 3.8.1 → 3.9.1

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
@@ -16,6 +16,35 @@ The published Rollup artifact additionally contains code with the following lice
16
16
  MIT, ISC
17
17
 
18
18
  # Bundled dependencies:
19
+ ## @jridgewell/sourcemap-codec
20
+ License: MIT
21
+ By: Rich Harris
22
+ Repository: git+https://github.com/jridgewell/sourcemap-codec.git
23
+
24
+ > The MIT License
25
+ >
26
+ > Copyright (c) 2015 Rich Harris
27
+ >
28
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
29
+ > of this software and associated documentation files (the "Software"), to deal
30
+ > in the Software without restriction, including without limitation the rights
31
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
32
+ > copies of the Software, and to permit persons to whom the Software is
33
+ > furnished to do so, subject to the following conditions:
34
+ >
35
+ > The above copyright notice and this permission notice shall be included in
36
+ > all copies or substantial portions of the Software.
37
+ >
38
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
42
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
44
+ > THE SOFTWARE.
45
+
46
+ ---------------------------------------
47
+
19
48
  ## @rollup/pluginutils
20
49
  License: MIT
21
50
  By: Rich Harris
@@ -157,6 +186,23 @@ Repository: micromatch/braces
157
186
 
158
187
  ---------------------------------------
159
188
 
189
+ ## builtin-modules
190
+ License: MIT
191
+ By: Sindre Sorhus
192
+ Repository: sindresorhus/builtin-modules
193
+
194
+ > MIT License
195
+ >
196
+ > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
197
+ >
198
+ > 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:
199
+ >
200
+ > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
201
+ >
202
+ > 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.
203
+
204
+ ---------------------------------------
205
+
160
206
  ## chokidar
161
207
  License: MIT
162
208
  By: Paul Miller, Elan Shanker
package/dist/bin/rollup CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v3.8.1
6
- Fri, 23 Dec 2022 05:34:14 GMT - commit 571f3a83d4e24f7bfa9b085cf9736ccdf89e8251
5
+ Rollup.js v3.9.1
6
+ Mon, 02 Jan 2023 13:46:34 GMT - commit c6c884433e748cde70f3f4299dd48b81af97ec14
7
7
 
8
8
  https://github.com/rollup/rollup
9
9
 
@@ -18,7 +18,7 @@ const rollup = require('../shared/rollup.js');
18
18
  const require$$2 = require('util');
19
19
  const require$$0 = require('path');
20
20
  const require$$0$1 = require('fs');
21
- const node_fs = require('node:fs');
21
+ const promises = require('node:fs/promises');
22
22
  const node_path = require('node:path');
23
23
  const loadConfigFile_js = require('../shared/loadConfigFile.js');
24
24
  require('node:perf_hooks');
@@ -1510,7 +1510,7 @@ function prettyBytes(number, options) {
1510
1510
 
1511
1511
  function printTimings(timings) {
1512
1512
  for (const [label, [time, memory, total]] of Object.entries(timings)) {
1513
- const appliedColor = label[0] === '#' ? (label[1] !== '#' ? rollup.underline : rollup.bold) : (text) => text;
1513
+ const appliedColor = label[0] === '#' ? (label[1] === '#' ? rollup.bold : rollup.underline) : (text) => text;
1514
1514
  const row = `${label}: ${time.toFixed(0)}ms, ${prettyBytes(memory)} / ${prettyBytes(total)}`;
1515
1515
  console.info(appliedColor(row));
1516
1516
  }
@@ -1589,7 +1589,7 @@ async function getConfigPath(commandConfig) {
1589
1589
  return node_path.resolve(commandConfig);
1590
1590
  }
1591
1591
  async function findConfigFileNameInCwd() {
1592
- const filesInWorkingDirectory = new Set(await node_fs.promises.readdir(process$1.cwd()));
1592
+ const filesInWorkingDirectory = new Set(await promises.readdir(process$1.cwd()));
1593
1593
  for (const extension of ['mjs', 'cjs', 'ts']) {
1594
1594
  const fileName = `${DEFAULT_CONFIG_BASE}.${extension}`;
1595
1595
  if (filesInWorkingDirectory.has(fileName))
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.8.1
4
- Fri, 23 Dec 2022 05:34:14 GMT - commit 571f3a83d4e24f7bfa9b085cf9736ccdf89e8251
3
+ Rollup.js v3.9.1
4
+ Mon, 02 Jan 2023 13:46:34 GMT - commit c6c884433e748cde70f3f4299dd48b81af97ec14
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -13,6 +13,6 @@ import 'path';
13
13
  import 'node:process';
14
14
  import 'node:perf_hooks';
15
15
  import 'node:crypto';
16
- import 'node:fs';
16
+ import 'node:fs/promises';
17
17
  import 'node:events';
18
18
  import 'tty';