rollup 2.52.3 → 2.52.4
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 +9 -0
- package/dist/bin/rollup +2 -2
- package/dist/es/rollup.browser.js +3 -3
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +19 -6
- package/dist/es/shared/watch.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.browser.js.map +1 -1
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +19 -6
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +1 -1
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.52.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.52.4
|
|
4
|
+
Wed, 30 Jun 2021 04:06:36 GMT - commit c3ad218caeeafa8a1b6ff8d4dde0db2556a3309a
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -32,7 +32,7 @@ function _interopNamespaceDefault(e) {
|
|
|
32
32
|
|
|
33
33
|
var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
|
|
34
34
|
|
|
35
|
-
var version$1 = "2.52.
|
|
35
|
+
var version$1 = "2.52.4";
|
|
36
36
|
|
|
37
37
|
function ensureArray(items) {
|
|
38
38
|
if (Array.isArray(items)) {
|
|
@@ -10071,7 +10071,10 @@ class Module {
|
|
|
10071
10071
|
if (name !== 'default') {
|
|
10072
10072
|
const foundNamespaceReexport = name in this.namespaceReexportsByName
|
|
10073
10073
|
? this.namespaceReexportsByName[name]
|
|
10074
|
-
:
|
|
10074
|
+
: this.getVariableFromNamespaceReexports(name, importerForSideEffects, searchedNamesAndModules, skipExternalNamespaceReexports);
|
|
10075
|
+
if (!skipExternalNamespaceReexports) {
|
|
10076
|
+
this.namespaceReexportsByName[name] = foundNamespaceReexport;
|
|
10077
|
+
}
|
|
10075
10078
|
if (foundNamespaceReexport) {
|
|
10076
10079
|
return foundNamespaceReexport;
|
|
10077
10080
|
}
|
|
@@ -10463,8 +10466,18 @@ class Module {
|
|
|
10463
10466
|
}
|
|
10464
10467
|
getVariableFromNamespaceReexports(name, importerForSideEffects, searchedNamesAndModules, skipExternalNamespaceReexports = false) {
|
|
10465
10468
|
let foundSyntheticDeclaration = null;
|
|
10466
|
-
const skipExternalNamespaceValues =
|
|
10467
|
-
|
|
10469
|
+
const skipExternalNamespaceValues = [{ searchedNamesAndModules, skipExternalNamespaces: true }];
|
|
10470
|
+
if (!skipExternalNamespaceReexports) {
|
|
10471
|
+
const clonedSearchedNamesAndModules = new Map();
|
|
10472
|
+
for (const [name, modules] of searchedNamesAndModules || []) {
|
|
10473
|
+
clonedSearchedNamesAndModules.set(name, new Set(modules));
|
|
10474
|
+
}
|
|
10475
|
+
skipExternalNamespaceValues.push({
|
|
10476
|
+
searchedNamesAndModules: clonedSearchedNamesAndModules,
|
|
10477
|
+
skipExternalNamespaces: false
|
|
10478
|
+
});
|
|
10479
|
+
}
|
|
10480
|
+
for (const { skipExternalNamespaces, searchedNamesAndModules } of skipExternalNamespaceValues) {
|
|
10468
10481
|
const foundDeclarations = new Set();
|
|
10469
10482
|
for (const module of this.exportAllModules) {
|
|
10470
10483
|
if (module instanceof Module || !skipExternalNamespaces) {
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED