rollup 2.62.0 → 2.63.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/CHANGELOG.md +25 -1
- package/dist/bin/rollup +3 -3
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +161 -95
- package/dist/es/shared/watch.js +6 -6
- package/dist/loadConfigFile.js +2 -2
- 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 +2 -2
- package/dist/shared/mergeOptions.js +12 -5
- package/dist/shared/rollup.js +161 -94
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,36 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 2.63.0
|
|
4
|
+
|
|
5
|
+
_2022-01-04_
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- Report a helpful error if rollup exits due to an empty event loop when using `this.load` (#4320)
|
|
10
|
+
- Allow directly mutating ModuleInfo.meta for modules and never replace this object (#4328)
|
|
11
|
+
- Detect additional side effect free array prototype methods (#4332)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- Do not watch if CLI watch options are specified but `--watch` is missing (#4335)
|
|
16
|
+
|
|
17
|
+
### Pull Requests
|
|
18
|
+
|
|
19
|
+
- [#4320](https://github.com/rollup/rollup/pull/4320): Detect unfulfilled async hook actions and report error on exit (@kzc)
|
|
20
|
+
- [#4328](https://github.com/rollup/rollup/pull/4328): Make initial ModuleInfo.meta mutable and maintain object identity (@lukastaegert)
|
|
21
|
+
- [#4318](https://github.com/rollup/rollup/pull/4318): Stabilize watch tests (@lukastaegert)
|
|
22
|
+
- [#4331](https://github.com/rollup/rollup/pull/4331): Improve JS docs example (@lukastaegert)
|
|
23
|
+
- [#4332](https://github.com/rollup/rollup/pull/4332): add support for Array.prototype.findLast,findLastIndex (@dnalborczyk)
|
|
24
|
+
- [#4333](https://github.com/rollup/rollup/pull/4333): convert utils.transform to async function (@dnalborczyk)
|
|
25
|
+
- [#4335](https://github.com/rollup/rollup/pull/4335): Do not watch unless --watch is specified explicitly (@lukastaegert)
|
|
26
|
+
- [#4338](https://github.com/rollup/rollup/pull/4338): Add build delay for plugin event test (@lukastaegert)
|
|
27
|
+
|
|
3
28
|
## 2.62.0
|
|
4
29
|
|
|
5
30
|
_2021-12-24_
|
|
6
31
|
|
|
7
32
|
### Features
|
|
8
33
|
|
|
9
|
-
- Only resolve this.load once the code of the module is available (#4296)
|
|
10
34
|
- Mark additional string prototype methods as side-effect-free and correct typings of existing ones (#4299)
|
|
11
35
|
- Mark additional array prototype methods as side-effect-free and correct typings of existing ones (#4309)
|
|
12
36
|
- Expose if a module is included after tree-shaking in its ModuleInfo (#4305)
|
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v2.
|
|
6
|
-
|
|
5
|
+
Rollup.js v2.63.0
|
|
6
|
+
Tue, 04 Jan 2022 07:30:25 GMT - commit ae674c9edde5efb8ce6d8ef845598a805938178c
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
https://github.com/rollup/rollup
|
|
@@ -1718,7 +1718,7 @@ async function runRollup(command) {
|
|
|
1718
1718
|
});
|
|
1719
1719
|
});
|
|
1720
1720
|
}
|
|
1721
|
-
if (command.watch) {
|
|
1721
|
+
if (mergeOptions.isWatchEnabled(command.watch)) {
|
|
1722
1722
|
await rollup.loadFsEvents();
|
|
1723
1723
|
const { watch } = await Promise.resolve().then(() => require('../shared/watch-cli.js'));
|
|
1724
1724
|
watch(command);
|