rollup 2.67.0 → 2.67.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/CHANGELOG.md +19 -0
- package/dist/bin/rollup +8 -8
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +37 -34
- package/dist/es/shared/watch.js +4 -4
- package/dist/loadConfigFile.js +3 -3
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +10 -10
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +36 -33
- package/dist/shared/watch-cli.js +6 -4
- package/dist/shared/watch.js +3 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 2.67.1
|
|
4
|
+
|
|
5
|
+
_2022-02-07_
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Make chunk file and variable names more deterministic when emitting chunks (#4386)
|
|
10
|
+
- Improve default module resolver performance by using non-blocking IO (#4386)
|
|
11
|
+
|
|
12
|
+
### Pull Requests
|
|
13
|
+
|
|
14
|
+
- [#4373](https://github.com/rollup/rollup/pull/4373): fix: even more types (@dnalborczyk)
|
|
15
|
+
- [#4382](https://github.com/rollup/rollup/pull/4382): Update contribution tut link desc (@lemredd)
|
|
16
|
+
- [#4383](https://github.com/rollup/rollup/pull/4383): chore: bump deps (@dnalborczyk)
|
|
17
|
+
- [#4384](https://github.com/rollup/rollup/pull/4384): chore: move "wait" to utils + re-use (@dnalborczyk)
|
|
18
|
+
- [#4385](https://github.com/rollup/rollup/pull/4385): refactor: convert watch tests to async functions (@dnalborczyk)
|
|
19
|
+
- [#4386](https://github.com/rollup/rollup/pull/4386): refactor: use fs.promises in resolve id, Part 4 (@dnalborczyk and @lukastaegert)
|
|
20
|
+
- [#4389](https://github.com/rollup/rollup/pull/4389): refactor: use fs.promises in generate license file, rollup config, Part 5 (@dnalborczyk)
|
|
21
|
+
|
|
3
22
|
## 2.67.0
|
|
4
23
|
|
|
5
24
|
_2022-02-02_
|
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v2.67.
|
|
6
|
-
|
|
5
|
+
Rollup.js v2.67.1
|
|
6
|
+
Mon, 07 Feb 2022 05:29:30 GMT - commit efd71e930e86ab30f4911ed8caa7f78aca005729
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
https://github.com/rollup/rollup
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
16
16
|
|
|
17
|
+
const process$1 = require('process');
|
|
17
18
|
const rollup = require('../shared/rollup.js');
|
|
18
19
|
const require$$2 = require('util');
|
|
19
20
|
const require$$0$1 = require('fs');
|
|
20
21
|
const require$$0 = require('path');
|
|
21
22
|
const mergeOptions = require('../shared/mergeOptions.js');
|
|
22
23
|
const loadConfigFile_js = require('../shared/loadConfigFile.js');
|
|
23
|
-
const process$1 = require('process');
|
|
24
24
|
require('perf_hooks');
|
|
25
25
|
require('crypto');
|
|
26
26
|
require('events');
|
|
@@ -1549,8 +1549,8 @@ async function build(inputOptions, warnings, silent = false) {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
}
|
|
1551
1551
|
if (outputs.length > 1)
|
|
1552
|
-
process.stdout.write(`\n${loadConfigFile_js.cyan(loadConfigFile_js.bold(`//→ ${file.fileName}:`))}\n`);
|
|
1553
|
-
process.stdout.write(source);
|
|
1552
|
+
process$1.stdout.write(`\n${loadConfigFile_js.cyan(loadConfigFile_js.bold(`//→ ${file.fileName}:`))}\n`);
|
|
1553
|
+
process$1.stdout.write(source);
|
|
1554
1554
|
}
|
|
1555
1555
|
if (!silent) {
|
|
1556
1556
|
warnings.flush();
|
|
@@ -1607,7 +1607,7 @@ async function findConfigFileNameInCwd() {
|
|
|
1607
1607
|
|
|
1608
1608
|
async function loadConfigFromCommand(command) {
|
|
1609
1609
|
const warnings = loadConfigFile_js.batchWarnings();
|
|
1610
|
-
if (!command.input && (command.stdin || !process.stdin.isTTY)) {
|
|
1610
|
+
if (!command.input && (command.stdin || !process$1.stdin.isTTY)) {
|
|
1611
1611
|
command.input = loadConfigFile_js.stdinName;
|
|
1612
1612
|
}
|
|
1613
1613
|
const options = mergeOptions.mergeOptions({ input: [] }, command, warnings.add);
|
|
@@ -1703,11 +1703,11 @@ async function getConfigs(command) {
|
|
|
1703
1703
|
return await loadConfigFromCommand(command);
|
|
1704
1704
|
}
|
|
1705
1705
|
|
|
1706
|
-
const command = argParser(process.argv.slice(2), {
|
|
1706
|
+
const command = argParser(process$1.argv.slice(2), {
|
|
1707
1707
|
alias: mergeOptions.commandAliases,
|
|
1708
1708
|
configuration: { 'camel-case-expansion': false }
|
|
1709
1709
|
});
|
|
1710
|
-
if (command.help || (process.argv.length <= 2 && process.stdin.isTTY)) {
|
|
1710
|
+
if (command.help || (process$1.argv.length <= 2 && process$1.stdin.isTTY)) {
|
|
1711
1711
|
console.log(`\n${help.replace('__VERSION__', rollup.version)}\n`);
|
|
1712
1712
|
}
|
|
1713
1713
|
else if (command.version) {
|