rollup 1.21.3 → 1.23.1
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 +52 -1
- package/dist/bin/rollup +2 -2
- package/dist/rollup.browser.es.js +17 -3
- package/dist/rollup.browser.js +17 -3
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.es.js +808 -197
- package/dist/rollup.js +806 -195
- package/dist/shared/index.js +4 -4
- package/package.json +19 -18
package/dist/shared/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v1.
|
|
4
|
-
Sat,
|
|
3
|
+
Rollup.js v1.23.1
|
|
4
|
+
Sat, 05 Oct 2019 06:08:56 GMT - commit 53266e6b971fff985b273800d808b17084d5c41b
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
var path = require('path');
|
|
14
14
|
var module$1 = require('module');
|
|
15
15
|
|
|
16
|
-
var version = "1.
|
|
16
|
+
var version = "1.23.1";
|
|
17
17
|
|
|
18
18
|
function createCommonjsModule(fn, module) {
|
|
19
19
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
@@ -161,7 +161,7 @@ function getInputOptions(config, command = { external: [], globals: undefined },
|
|
|
161
161
|
acornInjectPlugins: config.acornInjectPlugins,
|
|
162
162
|
cache: getOption('cache'),
|
|
163
163
|
chunkGroupingSize: getOption('chunkGroupingSize', 5000),
|
|
164
|
-
context:
|
|
164
|
+
context: getOption('context'),
|
|
165
165
|
experimentalCacheExpiry: getOption('experimentalCacheExpiry', 10),
|
|
166
166
|
experimentalOptimizeChunks: getOption('experimentalOptimizeChunks'),
|
|
167
167
|
experimentalTopLevelAwait: getOption('experimentalTopLevelAwait'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.1",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/rollup.es.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build": "shx rm -rf dist && git rev-parse HEAD > .commithash && rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|
13
13
|
"build:test": "shx rm -rf dist && rollup -c --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|
14
14
|
"build:bootstrap": "dist/bin/rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
|
15
|
-
"ci:lint": "npm run lint:nofix
|
|
15
|
+
"ci:lint": "npm run lint:nofix",
|
|
16
16
|
"ci:test": "npm run build:test && npm run build:bootstrap && npm run test:all",
|
|
17
17
|
"ci:coverage": "npm run build:test && nyc --reporter lcovonly mocha && codecov",
|
|
18
18
|
"lint": "npm run lint:ts -- --fix && npm run lint:js -- --fix && npm run lint:markdown",
|
|
@@ -30,9 +30,10 @@
|
|
|
30
30
|
"pretest:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/",
|
|
31
31
|
"security": "npm audit",
|
|
32
32
|
"test": "npm run test:all",
|
|
33
|
-
"test:all": "npm run test:only && npm run test:typescript && npm run test:leak",
|
|
33
|
+
"test:all": "npm run test:only && npm run test:typescript && npm run test:leak && npm run test:package",
|
|
34
34
|
"test:coverage": "nyc --reporter html mocha",
|
|
35
35
|
"test:leak": "cross-os test:leak:os",
|
|
36
|
+
"test:package": "node scripts/test-package.js",
|
|
36
37
|
"test:leak:os": {
|
|
37
38
|
"darwin": "npm run test:leak:nix",
|
|
38
39
|
"linux": "npm run test:leak:nix",
|
|
@@ -63,9 +64,9 @@
|
|
|
63
64
|
},
|
|
64
65
|
"homepage": "https://github.com/rollup/rollup",
|
|
65
66
|
"dependencies": {
|
|
66
|
-
"@types/estree": "
|
|
67
|
-
"@types/node": "
|
|
68
|
-
"acorn": "^7.
|
|
67
|
+
"@types/estree": "*",
|
|
68
|
+
"@types/node": "*",
|
|
69
|
+
"acorn": "^7.1.0"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
72
|
"@types/chokidar": "^2.1.3",
|
|
@@ -76,36 +77,36 @@
|
|
|
76
77
|
"acorn-walk": "^7.0.0",
|
|
77
78
|
"buble": "^0.19.8",
|
|
78
79
|
"chokidar": "^2.1.8",
|
|
79
|
-
"codecov": "^3.
|
|
80
|
+
"codecov": "^3.6.1",
|
|
80
81
|
"console-group": "^0.3.3",
|
|
81
82
|
"core-js": "^3.2.1",
|
|
82
83
|
"cross-os": "^1.3.0",
|
|
83
84
|
"date-time": "^3.1.0",
|
|
84
85
|
"es5-shim": "^4.5.13",
|
|
85
86
|
"es6-shim": "^0.35.5",
|
|
86
|
-
"eslint": "^6.
|
|
87
|
+
"eslint": "^6.5.1",
|
|
87
88
|
"eslint-plugin-import": "^2.18.2",
|
|
88
|
-
"execa": "^2.0.
|
|
89
|
+
"execa": "^2.0.5",
|
|
89
90
|
"fixturify": "^1.2.0",
|
|
90
91
|
"hash.js": "^1.1.7",
|
|
91
|
-
"husky": "^3.0.
|
|
92
|
+
"husky": "^3.0.8",
|
|
92
93
|
"immutable": "^4.0.0-rc.12",
|
|
93
|
-
"is-reference": "^1.1.
|
|
94
|
-
"lint-staged": "^9.
|
|
94
|
+
"is-reference": "^1.1.4",
|
|
95
|
+
"lint-staged": "^9.4.1",
|
|
95
96
|
"locate-character": "^2.0.5",
|
|
96
|
-
"magic-string": "^0.25.
|
|
97
|
+
"magic-string": "^0.25.4",
|
|
97
98
|
"markdownlint-cli": "^0.18.0",
|
|
98
99
|
"micromatch": "^4.0.2",
|
|
99
100
|
"minimist": "^1.2.0",
|
|
100
|
-
"mocha": "^6.2.
|
|
101
|
+
"mocha": "^6.2.1",
|
|
101
102
|
"nyc": "^14.1.1",
|
|
102
103
|
"prettier": "^1.18.2",
|
|
103
104
|
"pretty-bytes": "^5.3.0",
|
|
104
105
|
"pretty-ms": "^5.0.0",
|
|
105
106
|
"require-relative": "^0.8.7",
|
|
106
107
|
"requirejs": "^2.3.6",
|
|
107
|
-
"rollup": "^1.
|
|
108
|
-
"rollup-plugin-alias": "^2.0.
|
|
108
|
+
"rollup": "^1.23.0",
|
|
109
|
+
"rollup-plugin-alias": "^2.0.1",
|
|
109
110
|
"rollup-plugin-buble": "^0.19.8",
|
|
110
111
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
111
112
|
"rollup-plugin-json": "^4.0.0",
|
|
@@ -122,8 +123,8 @@
|
|
|
122
123
|
"source-map": "^0.6.1",
|
|
123
124
|
"source-map-support": "^0.5.13",
|
|
124
125
|
"sourcemap-codec": "^1.4.6",
|
|
125
|
-
"systemjs": "^6.1.
|
|
126
|
-
"terser": "^4.3.
|
|
126
|
+
"systemjs": "^6.1.2",
|
|
127
|
+
"terser": "^4.3.6",
|
|
127
128
|
"tslib": "^1.10.0",
|
|
128
129
|
"tslint": "^5.20.0",
|
|
129
130
|
"turbocolor": "^2.6.1",
|