rollup 3.24.0 → 3.24.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 CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  /*
4
4
  @license
5
- Rollup.js v3.24.0
6
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
5
+ Rollup.js v3.24.1
6
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
7
7
 
8
8
  https://github.com/rollup/rollup
9
9
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
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.24.0";
18
+ var version$1 = "3.24.1";
19
19
 
20
20
  const comma = ','.charCodeAt(0);
21
21
  const semicolon = ';'.charCodeAt(0);
@@ -14197,10 +14197,15 @@ class Module {
14197
14197
  }
14198
14198
  }
14199
14199
  includeVariable(variable) {
14200
- if (!variable.included) {
14200
+ const variableModule = variable.module;
14201
+ if (variable.included) {
14202
+ if (variableModule instanceof Module && variableModule !== this) {
14203
+ getAndExtendSideEffectModules(variable, this);
14204
+ }
14205
+ }
14206
+ else {
14201
14207
  variable.include();
14202
14208
  this.graph.needsTreeshakingPass = true;
14203
- const variableModule = variable.module;
14204
14209
  if (variableModule instanceof Module) {
14205
14210
  if (!variableModule.isExecuted) {
14206
14211
  markModuleAndImpureDependenciesAsExecuted(variableModule);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
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.24.0";
33
+ var version$1 = "3.24.1";
34
34
 
35
35
  function ensureArray$1(items) {
36
36
  if (Array.isArray(items)) {
@@ -14692,10 +14692,15 @@ class Module {
14692
14692
  }
14693
14693
  }
14694
14694
  includeVariable(variable) {
14695
- if (!variable.included) {
14695
+ const variableModule = variable.module;
14696
+ if (variable.included) {
14697
+ if (variableModule instanceof Module && variableModule !== this) {
14698
+ getAndExtendSideEffectModules(variable, this);
14699
+ }
14700
+ }
14701
+ else {
14696
14702
  variable.include();
14697
14703
  this.graph.needsTreeshakingPass = true;
14698
- const variableModule = variable.module;
14699
14704
  if (variableModule instanceof Module) {
14700
14705
  if (!variableModule.isExecuted) {
14701
14706
  markModuleAndImpureDependenciesAsExecuted(variableModule);
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -538,7 +538,8 @@ async function watch(command) {
538
538
  await watcher.close();
539
539
  if (configWatcher)
540
540
  configWatcher.close();
541
- process$2.exit(code || 0);
541
+ if (code)
542
+ process$2.exit(code);
542
543
  }
543
544
  // return a promise that never resolves to keep the process running
544
545
  return new Promise(() => { });
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v3.24.0
4
- Wed, 07 Jun 2023 04:46:58 GMT - commit bcd64961f92535d2d6d0b663d1e17a500374358b
3
+ Rollup.js v3.24.1
4
+ Sat, 10 Jun 2023 04:40:07 GMT - commit be39a579ac40a1f97d1b8e491aade0cd8717d22b
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rollup",
3
- "version": "3.24.0",
3
+ "version": "3.24.1",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -64,11 +64,11 @@
64
64
  },
65
65
  "devDependencies": {
66
66
  "@codemirror/commands": "^6.2.4",
67
- "@codemirror/lang-javascript": "^6.1.8",
67
+ "@codemirror/lang-javascript": "^6.1.9",
68
68
  "@codemirror/language": "^6.7.0",
69
- "@codemirror/search": "^6.4.0",
69
+ "@codemirror/search": "^6.5.0",
70
70
  "@codemirror/state": "^6.2.1",
71
- "@codemirror/view": "^6.12.0",
71
+ "@codemirror/view": "^6.13.0",
72
72
  "@jridgewell/sourcemap-codec": "^1.4.15",
73
73
  "@mermaid-js/mermaid-cli": "^10.1.0",
74
74
  "@rollup/plugin-alias": "^5.0.0",
@@ -84,8 +84,8 @@
84
84
  "@types/mocha": "^10.0.1",
85
85
  "@types/node": "~14.18.48",
86
86
  "@types/yargs-parser": "^21.0.0",
87
- "@typescript-eslint/eslint-plugin": "^5.59.8",
88
- "@typescript-eslint/parser": "^5.59.8",
87
+ "@typescript-eslint/eslint-plugin": "^5.59.9",
88
+ "@typescript-eslint/parser": "^5.59.9",
89
89
  "@vue/eslint-config-prettier": "^7.1.0",
90
90
  "@vue/eslint-config-typescript": "^11.0.3",
91
91
  "acorn": "^8.8.2",
@@ -96,12 +96,12 @@
96
96
  "builtin-modules": "^3.3.0",
97
97
  "chokidar": "^3.5.3",
98
98
  "colorette": "^2.0.20",
99
- "concurrently": "^8.0.1",
99
+ "concurrently": "^8.1.0",
100
100
  "core-js": "^3.30.2",
101
101
  "date-time": "^4.0.0",
102
102
  "es5-shim": "^4.6.7",
103
103
  "es6-shim": "^0.35.8",
104
- "eslint": "^8.41.0",
104
+ "eslint": "^8.42.0",
105
105
  "eslint-config-prettier": "^8.8.0",
106
106
  "eslint-plugin-import": "^2.27.5",
107
107
  "eslint-plugin-prettier": "^4.2.1",
@@ -113,7 +113,7 @@
113
113
  "github-api": "^3.4.0",
114
114
  "hash.js": "^1.1.7",
115
115
  "husky": "^8.0.3",
116
- "inquirer": "^9.2.6",
116
+ "inquirer": "^9.2.7",
117
117
  "is-reference": "^3.0.1",
118
118
  "lint-staged": "^13.2.2",
119
119
  "locate-character": "^2.0.5",
@@ -125,7 +125,7 @@
125
125
  "pretty-bytes": "^6.1.0",
126
126
  "pretty-ms": "^8.0.0",
127
127
  "requirejs": "^2.3.6",
128
- "rollup": "^3.23.0",
128
+ "rollup": "^3.23.1",
129
129
  "rollup-plugin-license": "^3.0.1",
130
130
  "rollup-plugin-string": "^3.0.0",
131
131
  "rollup-plugin-thatworks": "^1.0.4",
@@ -135,9 +135,9 @@
135
135
  "source-map": "^0.7.4",
136
136
  "source-map-support": "^0.5.21",
137
137
  "systemjs": "^6.14.1",
138
- "terser": "^5.17.6",
139
- "tslib": "^2.5.2",
140
- "typescript": "^5.0.4",
138
+ "terser": "^5.17.7",
139
+ "tslib": "^2.5.3",
140
+ "typescript": "^5.1.3",
141
141
  "vitepress": "^1.0.0-beta.1",
142
142
  "vue": "^3.3.4",
143
143
  "weak-napi": "^2.0.2",