rollup 3.25.0 → 3.25.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/dist/bin/rollup +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +11 -7
- package/dist/es/shared/watch.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/rollup.js +11 -7
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch-proxy.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +1 -1
package/dist/bin/rollup
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.25.
|
|
4
|
-
|
|
3
|
+
Rollup.js v3.25.1
|
|
4
|
+
Mon, 12 Jun 2023 04:38:12 GMT - commit b1341bf9cd719670a670905e0308418b37621d70
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -15,7 +15,7 @@ import { createHash as createHash$1 } from 'node:crypto';
|
|
|
15
15
|
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
|
16
16
|
import * as tty from 'tty';
|
|
17
17
|
|
|
18
|
-
var version$1 = "3.25.
|
|
18
|
+
var version$1 = "3.25.1";
|
|
19
19
|
|
|
20
20
|
const comma = ','.charCodeAt(0);
|
|
21
21
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -8731,6 +8731,9 @@ class FunctionBase extends NodeBase {
|
|
|
8731
8731
|
if (path.length > 0 || interaction.type !== INTERACTION_CALLED) {
|
|
8732
8732
|
return this.getObjectEntity().hasEffectsOnInteractionAtPath(path, interaction, context);
|
|
8733
8733
|
}
|
|
8734
|
+
if (this.annotationNoSideEffects) {
|
|
8735
|
+
return false;
|
|
8736
|
+
}
|
|
8734
8737
|
if (this.async) {
|
|
8735
8738
|
const { propertyReadSideEffects } = this.context.options
|
|
8736
8739
|
.treeshake;
|
|
@@ -8794,12 +8797,13 @@ class ArrowFunctionExpression extends FunctionBase {
|
|
|
8794
8797
|
return false;
|
|
8795
8798
|
}
|
|
8796
8799
|
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
|
8797
|
-
if (super.hasEffectsOnInteractionAtPath(path, interaction, context))
|
|
8800
|
+
if (super.hasEffectsOnInteractionAtPath(path, interaction, context)) {
|
|
8798
8801
|
return true;
|
|
8802
|
+
}
|
|
8803
|
+
if (this.annotationNoSideEffects) {
|
|
8804
|
+
return false;
|
|
8805
|
+
}
|
|
8799
8806
|
if (interaction.type === INTERACTION_CALLED) {
|
|
8800
|
-
if (this.annotationNoSideEffects) {
|
|
8801
|
-
return false;
|
|
8802
|
-
}
|
|
8803
8807
|
const { ignore, brokenFlow } = context;
|
|
8804
8808
|
context.ignore = {
|
|
8805
8809
|
breaks: false,
|
package/dist/es/shared/watch.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.25.
|
|
4
|
-
|
|
3
|
+
Rollup.js v3.25.1
|
|
4
|
+
Mon, 12 Jun 2023 04:38:12 GMT - commit b1341bf9cd719670a670905e0308418b37621d70
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -30,7 +30,7 @@ function _interopNamespaceDefault(e) {
|
|
|
30
30
|
|
|
31
31
|
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
|
32
32
|
|
|
33
|
-
var version$1 = "3.25.
|
|
33
|
+
var version$1 = "3.25.1";
|
|
34
34
|
|
|
35
35
|
function ensureArray$1(items) {
|
|
36
36
|
if (Array.isArray(items)) {
|
|
@@ -10226,6 +10226,9 @@ class FunctionBase extends NodeBase {
|
|
|
10226
10226
|
if (path.length > 0 || interaction.type !== INTERACTION_CALLED) {
|
|
10227
10227
|
return this.getObjectEntity().hasEffectsOnInteractionAtPath(path, interaction, context);
|
|
10228
10228
|
}
|
|
10229
|
+
if (this.annotationNoSideEffects) {
|
|
10230
|
+
return false;
|
|
10231
|
+
}
|
|
10229
10232
|
if (this.async) {
|
|
10230
10233
|
const { propertyReadSideEffects } = this.context.options
|
|
10231
10234
|
.treeshake;
|
|
@@ -10289,12 +10292,13 @@ class ArrowFunctionExpression extends FunctionBase {
|
|
|
10289
10292
|
return false;
|
|
10290
10293
|
}
|
|
10291
10294
|
hasEffectsOnInteractionAtPath(path, interaction, context) {
|
|
10292
|
-
if (super.hasEffectsOnInteractionAtPath(path, interaction, context))
|
|
10295
|
+
if (super.hasEffectsOnInteractionAtPath(path, interaction, context)) {
|
|
10293
10296
|
return true;
|
|
10297
|
+
}
|
|
10298
|
+
if (this.annotationNoSideEffects) {
|
|
10299
|
+
return false;
|
|
10300
|
+
}
|
|
10294
10301
|
if (interaction.type === INTERACTION_CALLED) {
|
|
10295
|
-
if (this.annotationNoSideEffects) {
|
|
10296
|
-
return false;
|
|
10297
|
-
}
|
|
10298
10302
|
const { ignore, brokenFlow } = context;
|
|
10299
10303
|
context.ignore = {
|
|
10300
10304
|
breaks: false,
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED