rollup 2.9.0 → 2.9.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 +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 -9
- 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 +9 -9
- 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.9.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.9.1
|
|
4
|
+
Mon, 11 May 2020 05:23:48 GMT - commit 1436473192ef975ee515ede6ab90dbf832cdfab1
|
|
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.9.
|
|
16
|
+
var version = "2.9.1";
|
|
17
17
|
|
|
18
18
|
// Reserved word lists for various dialects of the language
|
|
19
19
|
|
|
@@ -6830,6 +6830,10 @@ class Variable {
|
|
|
6830
6830
|
}
|
|
6831
6831
|
|
|
6832
6832
|
class GlobalVariable extends Variable {
|
|
6833
|
+
constructor() {
|
|
6834
|
+
super(...arguments);
|
|
6835
|
+
this.isReassigned = true;
|
|
6836
|
+
}
|
|
6833
6837
|
hasEffectsWhenAccessedAtPath(path) {
|
|
6834
6838
|
return !isGlobalMember([this.name, ...path]);
|
|
6835
6839
|
}
|
|
@@ -14918,9 +14922,7 @@ class Module {
|
|
|
14918
14922
|
else if (variable instanceof ExportDefaultVariable) {
|
|
14919
14923
|
variable = variable.getOriginalVariable();
|
|
14920
14924
|
}
|
|
14921
|
-
|
|
14922
|
-
relevantDependencies.add(variable.module);
|
|
14923
|
-
}
|
|
14925
|
+
relevantDependencies.add(variable.module);
|
|
14924
14926
|
}
|
|
14925
14927
|
if (this.isEntryPoint ||
|
|
14926
14928
|
this.includedDynamicImporters.length > 0 ||
|
|
@@ -14933,9 +14935,7 @@ class Module {
|
|
|
14933
14935
|
else if (variable instanceof ExportDefaultVariable) {
|
|
14934
14936
|
variable = variable.getOriginalVariable();
|
|
14935
14937
|
}
|
|
14936
|
-
|
|
14937
|
-
relevantDependencies.add(variable.module);
|
|
14938
|
-
}
|
|
14938
|
+
relevantDependencies.add(variable.module);
|
|
14939
14939
|
}
|
|
14940
14940
|
}
|
|
14941
14941
|
if (this.graph.treeshakingOptions) {
|
package/dist/es/shared/watch.js
CHANGED
package/dist/loadConfigFile.js
CHANGED