rollup 2.42.2 → 2.42.3

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.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -14,7 +14,7 @@ import * as fs from 'fs';
14
14
  import { lstatSync, realpathSync, readdirSync } from 'fs';
15
15
  import { EventEmitter } from 'events';
16
16
 
17
- var version$1 = "2.42.2";
17
+ var version$1 = "2.42.3";
18
18
 
19
19
  var charToInteger = {};
20
20
  var chars$1 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
@@ -1465,6 +1465,7 @@ function relative(from, to) {
1465
1465
  const ArrowFunctionExpression$1 = 'ArrowFunctionExpression';
1466
1466
  const BlockStatement$1 = 'BlockStatement';
1467
1467
  const CallExpression$1 = 'CallExpression';
1468
+ const ChainExpression$1 = 'ChainExpression';
1468
1469
  const ExpressionStatement$1 = 'ExpressionStatement';
1469
1470
  const Identifier$1 = 'Identifier';
1470
1471
  const ImportDefaultSpecifier$1 = 'ImportDefaultSpecifier';
@@ -19040,7 +19041,7 @@ function markPureNode(node, comment) {
19040
19041
  else {
19041
19042
  node._rollupAnnotations = [{ comment }];
19042
19043
  }
19043
- if (node.type === ExpressionStatement$1) {
19044
+ while (node.type === ExpressionStatement$1 || node.type === ChainExpression$1) {
19044
19045
  node = node.expression;
19045
19046
  }
19046
19047
  if (node.type === CallExpression$1 || node.type === NewExpression$1) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v2.42.2
4
- Mon, 22 Mar 2021 05:02:18 GMT - commit b8db675678ead355b432d258df33cc9df190a3be
3
+ Rollup.js v2.42.3
4
+ Mon, 22 Mar 2021 14:48:44 GMT - commit f67e6c9b2cb4066f2ddcdb6d45308f840b2ac62f
5
5
 
6
6
 
7
7
  https://github.com/rollup/rollup