rollup 2.67.0 → 2.68.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 +70 -0
- package/dist/bin/rollup +11 -13
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +3925 -3923
- package/dist/es/shared/watch.js +7 -7
- package/dist/loadConfigFile.js +3 -3
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.d.ts +2 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +10 -10
- package/dist/shared/mergeOptions.js +4 -4
- package/dist/shared/rollup.js +3924 -3922
- package/dist/shared/watch-cli.js +6 -4
- package/dist/shared/watch.js +4 -4
- package/package.json +10 -8
package/dist/shared/watch-cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.68.0
|
|
4
|
+
Tue, 22 Feb 2022 06:24:42 GMT - commit 51cab92373bcf8c844a8de2a6765869f7eb05a5d
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -147,7 +147,9 @@ const processOk = function (process) {
|
|
|
147
147
|
// some kind of non-node environment, just no-op
|
|
148
148
|
/* istanbul ignore if */
|
|
149
149
|
if (!processOk(process$1)) {
|
|
150
|
-
signalExit.exports = function () {
|
|
150
|
+
signalExit.exports = function () {
|
|
151
|
+
return function () {}
|
|
152
|
+
};
|
|
151
153
|
} else {
|
|
152
154
|
var assert = require$$0;
|
|
153
155
|
var signals = signals$1.exports;
|
|
@@ -180,7 +182,7 @@ if (!processOk(process$1)) {
|
|
|
180
182
|
signalExit.exports = function (cb, opts) {
|
|
181
183
|
/* istanbul ignore if */
|
|
182
184
|
if (!processOk(rollup.commonjsGlobal.process)) {
|
|
183
|
-
return
|
|
185
|
+
return function () {}
|
|
184
186
|
}
|
|
185
187
|
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
|
|
186
188
|
|
package/dist/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.68.0
|
|
4
|
+
Tue, 22 Feb 2022 06:24:42 GMT - commit 51cab92373bcf8c844a8de2a6765869f7eb05a5d
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
13
|
const require$$0 = require('path');
|
|
14
|
+
const process = require('process');
|
|
14
15
|
const rollup = require('./rollup.js');
|
|
15
16
|
const mergeOptions = require('./mergeOptions.js');
|
|
16
17
|
const require$$2 = require('os');
|
|
17
18
|
const index = require('./index.js');
|
|
18
|
-
require('process');
|
|
19
19
|
require('perf_hooks');
|
|
20
20
|
require('crypto');
|
|
21
21
|
require('fs');
|
|
@@ -201,7 +201,7 @@ class Task {
|
|
|
201
201
|
this.invalidated = true;
|
|
202
202
|
if (details.isTransformDependency) {
|
|
203
203
|
for (const module of this.cache.modules) {
|
|
204
|
-
if (module.transformDependencies.
|
|
204
|
+
if (!module.transformDependencies.includes(id))
|
|
205
205
|
continue;
|
|
206
206
|
// effective invalidation
|
|
207
207
|
module.originalCode = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rollup",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.68.0",
|
|
4
4
|
"description": "Next-generation ES module bundler",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -66,22 +66,23 @@
|
|
|
66
66
|
"@rollup/plugin-replace": "^3.0.1",
|
|
67
67
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
68
68
|
"@rollup/pluginutils": "^4.1.2",
|
|
69
|
+
"@types/estree": "0.0.51",
|
|
69
70
|
"@types/node": "^10.17.60",
|
|
70
71
|
"@types/signal-exit": "^3.0.1",
|
|
71
72
|
"@types/yargs-parser": "^20.2.1",
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
73
|
-
"@typescript-eslint/parser": "^5.
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
74
|
+
"@typescript-eslint/parser": "^5.11.0",
|
|
74
75
|
"acorn": "^8.7.0",
|
|
75
76
|
"acorn-jsx": "^5.3.2",
|
|
76
77
|
"acorn-walk": "^8.2.0",
|
|
77
78
|
"buble": "^0.20.0",
|
|
78
79
|
"chokidar": "^3.5.3",
|
|
79
80
|
"colorette": "^2.0.16",
|
|
80
|
-
"core-js": "^3.
|
|
81
|
+
"core-js": "^3.21.0",
|
|
81
82
|
"date-time": "^4.0.0",
|
|
82
83
|
"es5-shim": "^4.6.4",
|
|
83
84
|
"es6-shim": "^0.35.6",
|
|
84
|
-
"eslint": "^8.
|
|
85
|
+
"eslint": "^8.8.0",
|
|
85
86
|
"eslint-config-prettier": "^8.3.0",
|
|
86
87
|
"eslint-plugin-import": "^2.25.4",
|
|
87
88
|
"eslint-plugin-prettier": "^4.0.0",
|
|
@@ -94,20 +95,20 @@
|
|
|
94
95
|
"lint-staged": "^10.5.4",
|
|
95
96
|
"locate-character": "^2.0.5",
|
|
96
97
|
"magic-string": "^0.25.7",
|
|
97
|
-
"mocha": "^9.
|
|
98
|
+
"mocha": "^9.2.0",
|
|
98
99
|
"nyc": "^15.1.0",
|
|
99
100
|
"pinst": "^2.1.6",
|
|
100
101
|
"prettier": "^2.5.1",
|
|
101
102
|
"pretty-bytes": "^5.6.0",
|
|
102
103
|
"pretty-ms": "^7.0.1",
|
|
103
104
|
"requirejs": "^2.3.6",
|
|
104
|
-
"rollup": "^2.
|
|
105
|
+
"rollup": "^2.67.1",
|
|
105
106
|
"rollup-plugin-license": "^2.6.1",
|
|
106
107
|
"rollup-plugin-string": "^3.0.0",
|
|
107
108
|
"rollup-plugin-terser": "^7.0.2",
|
|
108
109
|
"rollup-plugin-thatworks": "^1.0.4",
|
|
109
110
|
"shx": "^0.3.4",
|
|
110
|
-
"signal-exit": "^3.0.
|
|
111
|
+
"signal-exit": "^3.0.7",
|
|
111
112
|
"source-map": "^0.7.3",
|
|
112
113
|
"source-map-support": "^0.5.21",
|
|
113
114
|
"sourcemap-codec": "^1.4.8",
|
|
@@ -130,6 +131,7 @@
|
|
|
130
131
|
},
|
|
131
132
|
"exports": {
|
|
132
133
|
".": {
|
|
134
|
+
"types": "./dist/rollup.d.ts",
|
|
133
135
|
"node": {
|
|
134
136
|
"require": "./dist/rollup.js",
|
|
135
137
|
"import": "./dist/es/rollup.js"
|