rollup 2.26.4 → 2.26.5
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 +9 -8
- package/dist/es/shared/watch.js +4 -4
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.browser.js +3 -3
- 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 +9 -8
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +1 -1
package/dist/es/rollup.js
CHANGED
package/dist/es/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.26.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.26.5
|
|
4
|
+
Sat, 22 Aug 2020 04:50:56 GMT - commit b2bb960aa5969914e82fd4bcf289bd16eab4a381
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
@@ -13,7 +13,7 @@ import { createHash as createHash$1 } from 'crypto';
|
|
|
13
13
|
import { writeFile as writeFile$1, readdirSync, mkdirSync, readFile as readFile$1, lstatSync, realpathSync } from 'fs';
|
|
14
14
|
import { EventEmitter } from 'events';
|
|
15
15
|
|
|
16
|
-
var version = "2.26.
|
|
16
|
+
var version = "2.26.5";
|
|
17
17
|
|
|
18
18
|
var charToInteger = {};
|
|
19
19
|
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
|
@@ -10388,16 +10388,17 @@ function deconflictChunk(modules, dependenciesToBeDeconflicted, imports, usedNam
|
|
|
10388
10388
|
module.scope.deconflict(format, exportNamesByVariable, accessedGlobalsByScope);
|
|
10389
10389
|
}
|
|
10390
10390
|
}
|
|
10391
|
-
function deconflictImportsEsmOrSystem(usedNames, imports, dependenciesToBeDeconflicted, _interop,
|
|
10392
|
-
//
|
|
10393
|
-
// this is needed for synthetic exports and namespace reexports
|
|
10391
|
+
function deconflictImportsEsmOrSystem(usedNames, imports, dependenciesToBeDeconflicted, _interop, preserveModules, _externalLiveBindings, chunkByModule, syntheticExports) {
|
|
10392
|
+
// This is needed for namespace reexports
|
|
10394
10393
|
for (const dependency of dependenciesToBeDeconflicted.dependencies) {
|
|
10395
|
-
|
|
10394
|
+
if (preserveModules || dependency instanceof ExternalModule) {
|
|
10395
|
+
dependency.variableName = getSafeName(dependency.suggestedVariableName, usedNames);
|
|
10396
|
+
}
|
|
10396
10397
|
}
|
|
10397
10398
|
for (const variable of imports) {
|
|
10398
10399
|
const module = variable.module;
|
|
10399
10400
|
const name = variable.name;
|
|
10400
|
-
if (variable.isNamespace) {
|
|
10401
|
+
if (variable.isNamespace && (preserveModules || module instanceof ExternalModule)) {
|
|
10401
10402
|
variable.setRenderNames(null, (module instanceof ExternalModule ? module : chunkByModule.get(module)).variableName);
|
|
10402
10403
|
}
|
|
10403
10404
|
else if (module instanceof ExternalModule && name === 'default') {
|
package/dist/es/shared/watch.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v2.26.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.26.5
|
|
4
|
+
Sat, 22 Aug 2020 04:50:56 GMT - commit b2bb960aa5969914e82fd4bcf289bd16eab4a381
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
|
9
9
|
Released under the MIT License.
|
|
10
10
|
*/
|
|
11
|
-
import { defaultOnWarn, ensureArray as ensureArray$1, warnUnknownOptions, fseventsImporter
|
|
11
|
+
import { defaultOnWarn, ensureArray as ensureArray$1, warnUnknownOptions, fseventsImporter, rollupInternal } from './rollup.js';
|
|
12
12
|
import sysPath, { sep, resolve } from 'path';
|
|
13
13
|
import 'crypto';
|
|
14
14
|
import fs from 'fs';
|
|
@@ -5587,7 +5587,7 @@ const { promisify: promisify$2 } = util;
|
|
|
5587
5587
|
|
|
5588
5588
|
let fsevents;
|
|
5589
5589
|
try {
|
|
5590
|
-
fsevents =
|
|
5590
|
+
fsevents = fseventsImporter.getFsEvents();
|
|
5591
5591
|
} catch (error) {
|
|
5592
5592
|
if (process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR) console.error(error);
|
|
5593
5593
|
}
|
package/dist/loadConfigFile.js
CHANGED