rollup 2.48.0 → 2.50.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,34 @@
1
1
  # rollup changelog
2
2
 
3
+ ## 2.50.0
4
+ *2021-05-25*
5
+
6
+ ### Features
7
+ * Only include last elements of comma expressions if they are used or have side effects (#4087)
8
+
9
+ ### Bug Fixes
10
+ * Prevent a crash that could occur when calling object methods (#4091)
11
+
12
+ ### Pull Requests
13
+ * [#4085](https://github.com/rollup/rollup/pull/4085): Switch to ESLint (@lukastaegert)
14
+ * [#4087](https://github.com/rollup/rollup/pull/4087): Drop unused last sequence element (@lukastaegert)
15
+ * [#4091](https://github.com/rollup/rollup/pull/4091): Prevent crash for recursive "this" deoptimization (@lukastaegert)
16
+
17
+ ## 2.49.0
18
+ *2021-05-23*
19
+
20
+ ### Features
21
+ * Detect side-effect-free static class methods and properties (#4018)
22
+ * Detect side-effect-free array elements (#4018)
23
+ * Do not apply deoptimizations from dead code (#4018)
24
+
25
+ ### Bug Fixes
26
+ * Handle side effect detection for getters and setters added in untracked code (#4018)
27
+ * Track "this" mutations for methods, getters and setters (#4018)
28
+
29
+ ### Pull Requests
30
+ * [#4018](https://github.com/rollup/rollup/pull/4018): Class method effects (@marijnh and @lukastaegert)
31
+
3
32
  ## 2.48.0
4
33
  *2021-05-15*
5
34
 
package/dist/bin/rollup CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v2.48.0
6
- Sat, 15 May 2021 04:50:11 GMT - commit 07b3a02069594147665daa95d3fa3e041a82b2d0
5
+ Rollup.js v2.50.0
6
+ Tue, 25 May 2021 10:57:41 GMT - commit 2febefa277d1c2c149df1df5ccc43796059a624b
7
7
 
8
8
 
9
9
  https://github.com/rollup/rollup
@@ -1496,9 +1496,7 @@ async function build(inputOptions, warnings, silent = false) {
1496
1496
  inputFiles = inputOptions.input.join(', ');
1497
1497
  }
1498
1498
  else if (typeof inputOptions.input === 'object' && inputOptions.input !== null) {
1499
- inputFiles = Object.keys(inputOptions.input)
1500
- .map(name => inputOptions.input[name])
1501
- .join(', ');
1499
+ inputFiles = Object.values(inputOptions.input).join(', ');
1502
1500
  }
1503
1501
  loadConfigFile_js.stderr(loadConfigFile_js.cyan(`\n${loadConfigFile_js.bold(inputFiles)} → ${loadConfigFile_js.bold(files.join(', '))}...`));
1504
1502
  }