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/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.75.6
4
- Tue, 07 Jun 2022 14:42:22 GMT - commit 0ab16cc04b7d6dfe5bd14340ba7448085a379e25
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
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.75.6
4
- Tue, 07 Jun 2022 14:42:22 GMT - commit 0ab16cc04b7d6dfe5bd14340ba7448085a379e25
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.6";
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
- groupBy: METHOD_CALLS_ARG_DEOPTS_SELF_RETURNS_UNKNOWN,
5971
- groupByToMap: METHOD_CALLS_ARG_DEOPTS_SELF_RETURNS_UNKNOWN,
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
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.75.6
4
- Tue, 07 Jun 2022 14:42:22 GMT - commit 0ab16cc04b7d6dfe5bd14340ba7448085a379e25
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
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.75.6
4
- Tue, 07 Jun 2022 14:42:22 GMT - commit 0ab16cc04b7d6dfe5bd14340ba7448085a379e25
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