rollup 1.24.0 → 1.26.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 +62 -0
- package/LICENSE.md +27 -0
- package/dist/bin/rollup +3 -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 +1829 -1767
- package/dist/rollup.js +1826 -1764
- package/dist/shared/index.js +3 -3
- package/package.json +13 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
# rollup changelog
|
|
2
2
|
|
|
3
|
+
## 1.26.0
|
|
4
|
+
*2019-10-27*
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
* Only warn when no output is provided for an IIFE bundle but still produce valid code (#3181)
|
|
8
|
+
* Support reexporting namespaces as a binding (#3193)
|
|
9
|
+
* Switch from hash.js to crypto for hashing in the Node build for better performance and support for very large assets (#3194)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
* Correctly handle chunks reexporting the same namespace as two different bindings (#3193)
|
|
13
|
+
|
|
14
|
+
### Pull Requests
|
|
15
|
+
* [#3181](https://github.com/rollup/rollup/pull/3181): Remove the need to provide an output name for IIFE bundles (@bterrier)
|
|
16
|
+
* [#3193](https://github.com/rollup/rollup/pull/3193): Add support for "export * as name from …" (@lukastaegert)
|
|
17
|
+
* [#3194](https://github.com/rollup/rollup/pull/3194): Add support for large assets (> 100 MB) (@SebastianNiemann)
|
|
18
|
+
|
|
19
|
+
## 1.25.2
|
|
20
|
+
*2019-10-23*
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
* Improve performance of bundled UMD code by adding additional parentheses to enforce eager parsing (#3183)
|
|
24
|
+
* Improve types to tolerate passing a Rollup config with multiple outputs to `rollup.rollup` (#3184)
|
|
25
|
+
|
|
26
|
+
### Pull Requests
|
|
27
|
+
* [#3183](https://github.com/rollup/rollup/pull/3183): Add parentheses to factory function of UMD bundles (@ajihyf)
|
|
28
|
+
* [#3184](https://github.com/rollup/rollup/pull/3184): RollupOptions accept output as array (@imcotton)
|
|
29
|
+
|
|
30
|
+
## 1.25.1
|
|
31
|
+
*2019-10-20*
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
* Handle a situation where code was not included after a switch statement (#3178)
|
|
35
|
+
* Handle a situation where code was not included after a do-while loop (#3180)
|
|
36
|
+
* Do not fail if different outputs emit the same file (#3175)
|
|
37
|
+
* Give access to the original acorn error for parse errors (#3176)
|
|
38
|
+
|
|
39
|
+
### Pull Requests
|
|
40
|
+
* [#3175](https://github.com/rollup/rollup/pull/3175): Disable errors for duplicate emitted file names (@marijnh)
|
|
41
|
+
* [#3176](https://github.com/rollup/rollup/pull/3176): Add original parser error to rollup error; Update tests (@gribnoysup)
|
|
42
|
+
* [#3178](https://github.com/rollup/rollup/pull/3178): Fix switch case not being included correctly (@lukastaegert)
|
|
43
|
+
* [#3179](https://github.com/rollup/rollup/pull/3179): Update dependencies (@lukastaegert)
|
|
44
|
+
* [#3180](https://github.com/rollup/rollup/pull/3180): Handle conditional breaks in do-while loops with unconditional return (@lukastaegert)
|
|
45
|
+
|
|
46
|
+
## 1.25.0
|
|
47
|
+
*2019-10-18*
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
* Remove try-catch if there is no side-effect in the try-block (#3166)
|
|
51
|
+
* Omit side-effect-free trailing cases in switch-statements (#3166)
|
|
52
|
+
* Remove unused labels (#3170)
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
* Do not remove code after labeled statements that contain a throw or return if the label is used (#3170)
|
|
56
|
+
* Prevent invalid code when expressions are simplified that do not follow a white-space character (#3173)
|
|
57
|
+
* Do not remove continue statements inside switch statements (#3166)
|
|
58
|
+
* Prevent trailing empty lines when tree-shaking inside switch statements (#3166)
|
|
59
|
+
|
|
60
|
+
### Pull Requests
|
|
61
|
+
* [#3166](https://github.com/rollup/rollup/pull/3166): Better try statement tree shaking (@lukastaegert)
|
|
62
|
+
* [#3170](https://github.com/rollup/rollup/pull/3170): Handle optional control flow in labeled statements, remove unused labels (@lukastaegert)
|
|
63
|
+
* [#3173](https://github.com/rollup/rollup/pull/3173): Add missing spaces in certain statements and expressions to avoid invalid code (@lukastaegert)
|
|
64
|
+
|
|
3
65
|
## 1.24.0
|
|
4
66
|
*2019-10-15*
|
|
5
67
|
|
package/LICENSE.md
CHANGED
|
@@ -28,6 +28,33 @@ The published Rollup artifact additionally contains code with the following lice
|
|
|
28
28
|
MIT, ISC, Apache-2.0
|
|
29
29
|
|
|
30
30
|
# Bundled dependencies:
|
|
31
|
+
## acorn-export-ns-from
|
|
32
|
+
License: MIT
|
|
33
|
+
By: Adrian Heine
|
|
34
|
+
Repository: https://github.com/acornjs/acorn-export-ns-from
|
|
35
|
+
|
|
36
|
+
> Copyright (C) 2017-2018 by Adrian Heine
|
|
37
|
+
>
|
|
38
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
39
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
40
|
+
> in the Software without restriction, including without limitation the rights
|
|
41
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
42
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
43
|
+
> furnished to do so, subject to the following conditions:
|
|
44
|
+
>
|
|
45
|
+
> The above copyright notice and this permission notice shall be included in
|
|
46
|
+
> all copies or substantial portions of the Software.
|
|
47
|
+
>
|
|
48
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
49
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
50
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
51
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
52
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
53
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
54
|
+
> THE SOFTWARE.
|
|
55
|
+
|
|
56
|
+
---------------------------------------
|
|
57
|
+
|
|
31
58
|
## acorn-import-meta
|
|
32
59
|
License: MIT
|
|
33
60
|
By: Adrian Heine
|
package/dist/bin/rollup
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
@license
|
|
5
|
-
Rollup.js v1.
|
|
6
|
-
|
|
5
|
+
Rollup.js v1.26.0
|
|
6
|
+
Sun, 27 Oct 2019 19:40:08 GMT - commit 53fb6fe344376cad0af73d43a6d9790cb7a1e2b9
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
https://github.com/rollup/rollup
|
|
@@ -18,6 +18,7 @@ require('util');
|
|
|
18
18
|
var path = require('path');
|
|
19
19
|
var fs = require('fs');
|
|
20
20
|
require('acorn');
|
|
21
|
+
require('crypto');
|
|
21
22
|
var events = require('events');
|
|
22
23
|
require('module');
|
|
23
24
|
var assert = require('assert');
|