rollup 2.75.6 → 2.75.7
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 +16 -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 -7
- 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 +6 -7
- package/dist/shared/mergeOptions.js +2 -2
- package/dist/shared/rollup.js +9 -7
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +14 -14
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.75.
|
|
4
|
-
|
|
3
|
+
Rollup.js v2.75.7
|
|
4
|
+
Mon, 20 Jun 2022 07:24:02 GMT - commit 057171c2d3bc2092b7f543fc05ead01f12595f12
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ import { createHash as createHash$1 } from 'crypto';
|
|
|
14
14
|
import { promises } from 'fs';
|
|
15
15
|
import { EventEmitter } from 'events';
|
|
16
16
|
|
|
17
|
-
var version$1 = "2.75.
|
|
17
|
+
var version$1 = "2.75.7";
|
|
18
18
|
|
|
19
19
|
var charToInteger = {};
|
|
20
20
|
var chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
|
@@ -5967,8 +5967,8 @@ const ARRAY_PROTOTYPE = new ObjectEntity({
|
|
|
5967
5967
|
flat: METHOD_DEOPTS_SELF_RETURNS_NEW_ARRAY,
|
|
5968
5968
|
flatMap: METHOD_CALLS_ARG_DEOPTS_SELF_RETURNS_NEW_ARRAY,
|
|
5969
5969
|
forEach: METHOD_CALLS_ARG_DEOPTS_SELF_RETURNS_UNKNOWN,
|
|
5970
|
-
|
|
5971
|
-
|
|
5970
|
+
group: METHOD_CALLS_ARG_DEOPTS_SELF_RETURNS_UNKNOWN,
|
|
5971
|
+
groupToMap: METHOD_CALLS_ARG_DEOPTS_SELF_RETURNS_UNKNOWN,
|
|
5972
5972
|
includes: METHOD_RETURNS_BOOLEAN,
|
|
5973
5973
|
indexOf: METHOD_RETURNS_NUMBER,
|
|
5974
5974
|
join: METHOD_RETURNS_STRING,
|
|
@@ -8424,8 +8424,9 @@ class BinaryExpression extends NodeBase {
|
|
|
8424
8424
|
// support some implicit type coercion runtime errors
|
|
8425
8425
|
if (this.operator === '+' &&
|
|
8426
8426
|
this.parent instanceof ExpressionStatement &&
|
|
8427
|
-
this.left.getLiteralValueAtPath(EMPTY_PATH, SHARED_RECURSION_TRACKER, this) === '')
|
|
8427
|
+
this.left.getLiteralValueAtPath(EMPTY_PATH, SHARED_RECURSION_TRACKER, this) === '') {
|
|
8428
8428
|
return true;
|
|
8429
|
+
}
|
|
8429
8430
|
return super.hasEffects(context);
|
|
8430
8431
|
}
|
|
8431
8432
|
hasEffectsOnInteractionAtPath(path, { type }) {
|
|
@@ -10738,8 +10739,9 @@ class NewExpression extends NodeBase {
|
|
|
10738
10739
|
return true;
|
|
10739
10740
|
}
|
|
10740
10741
|
if (this.context.options.treeshake.annotations &&
|
|
10741
|
-
this.annotations)
|
|
10742
|
+
this.annotations) {
|
|
10742
10743
|
return false;
|
|
10744
|
+
}
|
|
10743
10745
|
return (this.callee.hasEffects(context) ||
|
|
10744
10746
|
this.callee.hasEffectsOnInteractionAtPath(EMPTY_PATH, this.interaction, context));
|
|
10745
10747
|
}
|
package/dist/es/shared/watch.js
CHANGED
package/dist/loadConfigFile.js
CHANGED