rollup 2.60.2 → 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 CHANGED
@@ -1,5 +1,88 @@
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
+
28
+ ## 2.62.0
29
+
30
+ _2021-12-24_
31
+
32
+ ### Features
33
+
34
+ - Mark additional string prototype methods as side-effect-free and correct typings of existing ones (#4299)
35
+ - Mark additional array prototype methods as side-effect-free and correct typings of existing ones (#4309)
36
+ - Expose if a module is included after tree-shaking in its ModuleInfo (#4305)
37
+
38
+ ### Bug Fixes
39
+
40
+ - Fix how fsevents is included to improve watch mode on MacOS (#4312)
41
+
42
+ ### Pull Requests
43
+
44
+ - [#4299](https://github.com/rollup/rollup/pull/4299): Add additional string prototype methods (@dnalborczyk)
45
+ - [#4300](https://github.com/rollup/rollup/pull/4300): Bump deps, fix expected test result for core-js (@dnalborczyk)
46
+ - [#4302](https://github.com/rollup/rollup/pull/4302): Replace type assertion with type guard (@dnalborczyk)
47
+ - [#4304](https://github.com/rollup/rollup/pull/4304): Re-use reserved names set (@dnalborczyk)
48
+ - [#4305](https://github.com/rollup/rollup/pull/4305): Expose isIncluded in module info (@william57m)
49
+ - [#4306](https://github.com/rollup/rollup/pull/4306): Fix git line breaks on windows (@dnalborczyk)
50
+ - [#4307](https://github.com/rollup/rollup/pull/4307): Add macos to pipeline (@dnalborczyk)
51
+ - [#4309](https://github.com/rollup/rollup/pull/4309): Add additional array prototype methods (@dnalborczyk)
52
+ - [#4311](https://github.com/rollup/rollup/pull/4311): Add Deno instructions to docs (@jespertheend)
53
+ - [#4312](https://github.com/rollup/rollup/pull/4312): fsevents integration (@dnalborczyk)
54
+ - [#4313](https://github.com/rollup/rollup/pull/4313): Remove non-existing static functions from known globals (@dnalborczyk)
55
+
56
+ ## 2.61.1
57
+
58
+ _2021-12-11_
59
+
60
+ ### Bug Fixes
61
+
62
+ - Only resolve this.load once the code of the module is available (#4296)
63
+
64
+ ### Pull Requests
65
+
66
+ - [#4296](https://github.com/rollup/rollup/pull/4296): Make sure this.load waits for modules that are already loading (@lukastaegert)
67
+ - [#4298](https://github.com/rollup/rollup/pull/4298): use set for reserved words (@dnalborczyk)
68
+
69
+ ## 2.61.0
70
+
71
+ _2021-12-09_
72
+
73
+ ### Features
74
+
75
+ - Support ergonomic brand checks for private fields (#4293)
76
+
77
+ ### Bug Fixes
78
+
79
+ - Improve handling of directory creation on systems with restrictive open files limit (#4288)
80
+
81
+ ### Pull Requests
82
+
83
+ - [#4288](https://github.com/rollup/rollup/pull/4288): modifymkdirpath (@mgrabowski84)
84
+ - [#4293](https://github.com/rollup/rollup/pull/4293): bump deps (@dnalborczyk)
85
+
3
86
  ## 2.60.2
4
87
 
5
88
  _2021-11-30_
package/dist/bin/rollup CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v2.60.2
6
- Tue, 30 Nov 2021 05:36:58 GMT - commit 7c9b89fade00a4eb8ea39c6b15ef7d0e6e5739be
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
@@ -24,6 +24,7 @@ const require$$1 = require('module');
24
24
  require('crypto');
25
25
  require('events');
26
26
  require('url');
27
+ require('process');
27
28
  require('tty');
28
29
 
29
30
  function _interopNamespaceDefault(e) {
@@ -1717,7 +1718,7 @@ async function runRollup(command) {
1717
1718
  });
1718
1719
  });
1719
1720
  }
1720
- if (command.watch) {
1721
+ if (mergeOptions.isWatchEnabled(command.watch)) {
1721
1722
  await rollup.loadFsEvents();
1722
1723
  const { watch } = await Promise.resolve().then(() => require('../shared/watch-cli.js'));
1723
1724
  watch(command);