rollup 2.7.2 → 2.7.6
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 +36 -0
- package/dist/bin/rollup +26 -45
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +155 -130
- package/dist/es/shared/watch.js +88 -52
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +246 -210
- package/dist/shared/loadConfigFile.js +3 -3
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +155 -130
- package/dist/shared/watch-cli.js +7 -8
- package/dist/shared/watch.js +7 -8
- package/package.json +12 -12
- package/dist/shared/_util_commonjs-external.js +0 -20
package/dist/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.7.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.7.6
|
|
4
|
+
Thu, 30 Apr 2020 18:55:10 GMT - commit 468010ba801b1e59573b6aa7319461a449aa43df
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
var rollup_js = require('./rollup.js');
|
|
14
14
|
var path = require('path');
|
|
15
|
-
require('util');
|
|
16
|
-
var _util_commonjsExternal = require('./_util_commonjs-external.js');
|
|
15
|
+
var util = require('util');
|
|
17
16
|
var mergeOptions = require('./mergeOptions.js');
|
|
18
17
|
require('crypto');
|
|
19
18
|
require('fs');
|
|
@@ -205,7 +204,7 @@ micromatch.not = (list, patterns, options = {}) => {
|
|
|
205
204
|
|
|
206
205
|
micromatch.contains = (str, pattern, options) => {
|
|
207
206
|
if (typeof str !== 'string') {
|
|
208
|
-
throw new TypeError(`Expected a string: "${
|
|
207
|
+
throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
|
|
209
208
|
}
|
|
210
209
|
|
|
211
210
|
if (Array.isArray(pattern)) {
|
|
@@ -351,7 +350,7 @@ micromatch.every = (list, patterns, options) => {
|
|
|
351
350
|
|
|
352
351
|
micromatch.all = (str, patterns, options) => {
|
|
353
352
|
if (typeof str !== 'string') {
|
|
354
|
-
throw new TypeError(`Expected a string: "${
|
|
353
|
+
throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
|
|
355
354
|
}
|
|
356
355
|
|
|
357
356
|
return [].concat(patterns).every(p => index.picomatch(p, options)(str));
|
|
@@ -437,7 +436,7 @@ micromatch.scan = (...args) => index.picomatch.scan(...args);
|
|
|
437
436
|
micromatch.parse = (patterns, options) => {
|
|
438
437
|
let res = [];
|
|
439
438
|
for (let pattern of [].concat(patterns || [])) {
|
|
440
|
-
for (let str of index.
|
|
439
|
+
for (let str of index.braces_1(String(pattern), options)) {
|
|
441
440
|
res.push(index.picomatch.parse(str, options));
|
|
442
441
|
}
|
|
443
442
|
}
|
|
@@ -466,7 +465,7 @@ micromatch.braces = (pattern, options) => {
|
|
|
466
465
|
if ((options && options.nobrace === true) || !/\{.*\}/.test(pattern)) {
|
|
467
466
|
return [pattern];
|
|
468
467
|
}
|
|
469
|
-
return index.
|
|
468
|
+
return index.braces_1(pattern, options);
|
|
470
469
|
};
|
|
471
470
|
|
|
472
471
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.6",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -71,19 +71,19 @@
|
|
|
71
71
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
72
72
|
"@rollup/plugin-replace": "^2.3.2",
|
|
73
73
|
"@types/micromatch": "^4.0.1",
|
|
74
|
-
"@types/node": "^13.13.
|
|
74
|
+
"@types/node": "^13.13.4",
|
|
75
75
|
"@types/require-relative": "^0.8.0",
|
|
76
76
|
"@types/signal-exit": "^3.0.0",
|
|
77
77
|
"@types/yargs-parser": "^15.0.0",
|
|
78
78
|
"acorn": "^7.1.1",
|
|
79
|
-
"acorn-class-fields": "
|
|
79
|
+
"acorn-class-fields": "^0.3.2",
|
|
80
80
|
"acorn-export-ns-from": "^0.1.0",
|
|
81
81
|
"acorn-import-meta": "^1.1.0",
|
|
82
82
|
"acorn-jsx": "^5.2.0",
|
|
83
|
-
"acorn-static-class-features": "
|
|
83
|
+
"acorn-static-class-features": "^0.2.1",
|
|
84
84
|
"acorn-walk": "^7.1.1",
|
|
85
85
|
"buble": "^0.20.0",
|
|
86
|
-
"chokidar": "^3.
|
|
86
|
+
"chokidar": "^3.4.0",
|
|
87
87
|
"codecov": "^3.6.5",
|
|
88
88
|
"colorette": "^1.1.0",
|
|
89
89
|
"core-js": "^3.6.5",
|
|
@@ -98,20 +98,20 @@
|
|
|
98
98
|
"hash.js": "^1.1.7",
|
|
99
99
|
"husky": "^4.2.5",
|
|
100
100
|
"is-reference": "^1.1.4",
|
|
101
|
-
"lint-staged": "^10.1
|
|
101
|
+
"lint-staged": "^10.2.1",
|
|
102
102
|
"locate-character": "^2.0.5",
|
|
103
103
|
"magic-string": "^0.25.7",
|
|
104
104
|
"markdownlint-cli": "^0.22.0",
|
|
105
105
|
"micromatch": "^4.0.2",
|
|
106
|
-
"mocha": "^7.1.
|
|
106
|
+
"mocha": "^7.1.2",
|
|
107
107
|
"node-fetch": "^2.6.0",
|
|
108
108
|
"nyc": "^15.0.1",
|
|
109
109
|
"prettier": "^2.0.5",
|
|
110
110
|
"pretty-bytes": "^5.3.0",
|
|
111
|
-
"pretty-ms": "^
|
|
111
|
+
"pretty-ms": "^7.0.0",
|
|
112
112
|
"require-relative": "^0.8.7",
|
|
113
113
|
"requirejs": "^2.3.6",
|
|
114
|
-
"rollup": "^2.7.
|
|
114
|
+
"rollup": "^2.7.5",
|
|
115
115
|
"rollup-plugin-license": "^2.0.0",
|
|
116
116
|
"rollup-plugin-string": "^3.0.0",
|
|
117
117
|
"rollup-plugin-terser": "^5.3.0",
|
|
@@ -122,12 +122,12 @@
|
|
|
122
122
|
"shx": "^0.3.2",
|
|
123
123
|
"signal-exit": "^3.0.3",
|
|
124
124
|
"source-map": "^0.7.3",
|
|
125
|
-
"source-map-support": "^0.5.
|
|
125
|
+
"source-map-support": "^0.5.19",
|
|
126
126
|
"sourcemap-codec": "^1.4.8",
|
|
127
127
|
"systemjs": "^6.3.1",
|
|
128
|
-
"terser": "^4.6.
|
|
128
|
+
"terser": "^4.6.13",
|
|
129
129
|
"tslib": "^1.11.1",
|
|
130
|
-
"tslint": "^6.1.
|
|
130
|
+
"tslint": "^6.1.2",
|
|
131
131
|
"typescript": "^3.8.3",
|
|
132
132
|
"url-parse": "^1.4.7",
|
|
133
133
|
"yargs-parser": "^18.1.3"
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
@license
|
|
3
|
-
Rollup.js v2.7.2
|
|
4
|
-
Wed, 22 Apr 2020 19:00:15 GMT - commit 97e6fa89d2ad14603094af77bad461a1aa81df3b
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
https://github.com/rollup/rollup
|
|
8
|
-
|
|
9
|
-
Released under the MIT License.
|
|
10
|
-
*/
|
|
11
|
-
'use strict';
|
|
12
|
-
|
|
13
|
-
var path = require('path');
|
|
14
|
-
var util = require('util');
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.require$$1 = util;
|
|
19
|
-
exports.sysPath = path;
|
|
20
|
-
//# sourceMappingURL=_util_commonjs-external.js.map
|