rollup 1.23.1 → 1.25.2
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 +63 -0
- package/LICENSE.md +0 -29
- package/dist/bin/rollup +2 -2
- package/dist/rollup.browser.es.js +3 -3
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.d.ts +2 -1
- package/dist/rollup.es.js +986 -5569
- package/dist/rollup.js +985 -5568
- package/dist/shared/index.js +3 -3
- package/package.json +12 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 1.25.2
|
|
4
|
+
*2019-10-23*
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
* Improve performance of bundled UMD code by adding additional parentheses to enforce eager parsing (#3183)
|
|
8
|
+
* Improve types to tolerate passing a Rollup config with multiple outputs to `rollup.rollup` (#3184)
|
|
9
|
+
|
|
10
|
+
### Pull Requests
|
|
11
|
+
* [#3183](https://github.com/rollup/rollup/pull/3183): Add parentheses to factory function of UMD bundles (@ajihyf)
|
|
12
|
+
* [#3184](https://github.com/rollup/rollup/pull/3184): RollupOptions accept output as array (@imcotton)
|
|
13
|
+
|
|
14
|
+
## 1.25.1
|
|
15
|
+
*2019-10-20*
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
* Handle a situation where code was not included after a switch statement (#3178)
|
|
19
|
+
* Handle a situation where code was not included after a do-while loop (#3180)
|
|
20
|
+
* Do not fail if different outputs emit the same file (#3175)
|
|
21
|
+
* Give access to the original acorn error for parse errors (#3176)
|
|
22
|
+
|
|
23
|
+
### Pull Requests
|
|
24
|
+
* [#3175](https://github.com/rollup/rollup/pull/3175): Disable errors for duplicate emitted file names (@marijnh)
|
|
25
|
+
* [#3176](https://github.com/rollup/rollup/pull/3176): Add original parser error to rollup error; Update tests (@gribnoysup)
|
|
26
|
+
* [#3178](https://github.com/rollup/rollup/pull/3178): Fix switch case not being included correctly (@lukastaegert)
|
|
27
|
+
* [#3179](https://github.com/rollup/rollup/pull/3179): Update dependencies (@lukastaegert)
|
|
28
|
+
* [#3180](https://github.com/rollup/rollup/pull/3180): Handle conditional breaks in do-while loops with unconditional return (@lukastaegert)
|
|
29
|
+
|
|
30
|
+
## 1.25.0
|
|
31
|
+
*2019-10-18*
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
* Remove try-catch if there is no side-effect in the try-block (#3166)
|
|
35
|
+
* Omit side-effect-free trailing cases in switch-statements (#3166)
|
|
36
|
+
* Remove unused labels (#3170)
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
* Do not remove code after labeled statements that contain a throw or return if the label is used (#3170)
|
|
40
|
+
* Prevent invalid code when expressions are simplified that do not follow a white-space character (#3173)
|
|
41
|
+
* Do not remove continue statements inside switch statements (#3166)
|
|
42
|
+
* Prevent trailing empty lines when tree-shaking inside switch statements (#3166)
|
|
43
|
+
|
|
44
|
+
### Pull Requests
|
|
45
|
+
* [#3166](https://github.com/rollup/rollup/pull/3166): Better try statement tree shaking (@lukastaegert)
|
|
46
|
+
* [#3170](https://github.com/rollup/rollup/pull/3170): Handle optional control flow in labeled statements, remove unused labels (@lukastaegert)
|
|
47
|
+
* [#3173](https://github.com/rollup/rollup/pull/3173): Add missing spaces in certain statements and expressions to avoid invalid code (@lukastaegert)
|
|
48
|
+
|
|
49
|
+
## 1.24.0
|
|
50
|
+
*2019-10-15*
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
* Respect `break`, `continue`, `return` and `throw` when tree-shaking to detect dead code (#3153)
|
|
54
|
+
* Do treat treat hoisted function declarations as "unknown" when checking for call side-effects (#3153)
|
|
55
|
+
|
|
56
|
+
### Bug Fixes
|
|
57
|
+
* Make sure that unknown `import.meta` properties produce valid code in SystemJS (#3152)
|
|
58
|
+
* Make sure `treeshake.annotations: false` is respected for class instantiation (#3153)
|
|
59
|
+
* Check property access side-effects for class instantiation (#3153)
|
|
60
|
+
* Do not suppress break statements inside labeled statements (#3153)
|
|
61
|
+
|
|
62
|
+
### Pull Requests
|
|
63
|
+
* [#3152](https://github.com/rollup/rollup/pull/3152): Allow import.meta.* for systemjs format (@dmail)
|
|
64
|
+
* [#3153](https://github.com/rollup/rollup/pull/3153): Get rid of immutable.js and implement tree-shaking for broken control flow (@lukastaegert)
|
|
65
|
+
|
|
3
66
|
## 1.23.1
|
|
4
67
|
*2019-10-05*
|
|
5
68
|
|
package/LICENSE.md
CHANGED
|
@@ -154,35 +154,6 @@ Repository: git@github.com:indutny/hash.js
|
|
|
154
154
|
|
|
155
155
|
---------------------------------------
|
|
156
156
|
|
|
157
|
-
## immutable
|
|
158
|
-
License: MIT
|
|
159
|
-
By: Lee Byron
|
|
160
|
-
Repository: git://github.com/facebook/immutable-js.git
|
|
161
|
-
|
|
162
|
-
> MIT License
|
|
163
|
-
>
|
|
164
|
-
> Copyright (c) 2014-present, Facebook, Inc.
|
|
165
|
-
>
|
|
166
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
167
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
168
|
-
> in the Software without restriction, including without limitation the rights
|
|
169
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
170
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
171
|
-
> furnished to do so, subject to the following conditions:
|
|
172
|
-
>
|
|
173
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
174
|
-
> copies or substantial portions of the Software.
|
|
175
|
-
>
|
|
176
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
177
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
178
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
179
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
180
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
181
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
182
|
-
> SOFTWARE.
|
|
183
|
-
|
|
184
|
-
---------------------------------------
|
|
185
|
-
|
|
186
157
|
## inherits
|
|
187
158
|
License: ISC
|
|
188
159
|
Repository: git://github.com/isaacs/inherits
|
package/dist/bin/rollup
CHANGED