rollup 2.39.0 → 2.39.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 +10 -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 +8 -5
- package/dist/es/shared/watch.js +2 -2
- 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 +8 -5
- 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.39.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.39.1
|
|
4
|
+
Tue, 23 Feb 2021 05:45:51 GMT - commit a8a56fc29978cef41dde28f8f14e3b29119768d5
|
|
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.39.
|
|
16
|
+
var version = "2.39.1";
|
|
17
17
|
|
|
18
18
|
var charToInteger = {};
|
|
19
19
|
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
|
@@ -11975,7 +11975,7 @@ class Chunk$1 {
|
|
|
11975
11975
|
}
|
|
11976
11976
|
}
|
|
11977
11977
|
}
|
|
11978
|
-
setIdentifierRenderResolutions({ format, interop }) {
|
|
11978
|
+
setIdentifierRenderResolutions({ format, interop, namespaceToStringTag }) {
|
|
11979
11979
|
const syntheticExports = new Set();
|
|
11980
11980
|
for (const exportName of this.getExportNames()) {
|
|
11981
11981
|
const exportVariable = this.exportsByName[exportName];
|
|
@@ -11995,10 +11995,13 @@ class Chunk$1 {
|
|
|
11995
11995
|
exportVariable.setRenderNames(null, null);
|
|
11996
11996
|
}
|
|
11997
11997
|
}
|
|
11998
|
-
const usedNames = new Set();
|
|
11998
|
+
const usedNames = new Set(['Object', 'Promise']);
|
|
11999
11999
|
if (this.needsExportsShim) {
|
|
12000
12000
|
usedNames.add(MISSING_EXPORT_SHIM_VARIABLE);
|
|
12001
12001
|
}
|
|
12002
|
+
if (namespaceToStringTag) {
|
|
12003
|
+
usedNames.add('Symbol');
|
|
12004
|
+
}
|
|
12002
12005
|
switch (format) {
|
|
12003
12006
|
case 'system':
|
|
12004
12007
|
usedNames.add('module').add('exports');
|
package/dist/es/shared/watch.js
CHANGED
package/dist/loadConfigFile.js
CHANGED