rollup 4.1.3 → 4.1.5

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
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  /*
3
3
  @license
4
- Rollup.js v4.1.3
5
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
4
+ Rollup.js v4.1.5
5
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
6
6
 
7
7
  https://github.com/rollup/rollup
8
8
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/es/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -16,7 +16,7 @@ import { xxhashBase64Url } from '../../native.js';
16
16
  import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
17
17
  import * as tty from 'tty';
18
18
 
19
- var version = "4.1.3";
19
+ var version = "4.1.5";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -17504,13 +17504,19 @@ class ModuleLoader {
17504
17504
  return this.extendLoadModulesPromise(this.loadEntryModule(unresolvedModule.id, false, unresolvedModule.importer, null).then(async (entryModule) => {
17505
17505
  addChunkNamesToModule(entryModule, unresolvedModule, false, chunkNamePriority);
17506
17506
  if (!entryModule.info.isEntry) {
17507
- this.implicitEntryModules.add(entryModule);
17508
17507
  const implicitlyLoadedAfterModules = await Promise.all(implicitlyLoadedAfter.map(id => this.loadEntryModule(id, false, unresolvedModule.importer, entryModule.id)));
17509
- for (const module of implicitlyLoadedAfterModules) {
17510
- entryModule.implicitlyLoadedAfter.add(module);
17511
- }
17512
- for (const dependant of entryModule.implicitlyLoadedAfter) {
17513
- dependant.implicitlyLoadedBefore.add(entryModule);
17508
+ // We need to check again if this is still an entry module as these
17509
+ // changes need to be performed atomically to avoid race conditions
17510
+ // if the same module is re-emitted as an entry module.
17511
+ // The inverse changes happen in "handleExistingModule"
17512
+ if (!entryModule.info.isEntry) {
17513
+ this.implicitEntryModules.add(entryModule);
17514
+ for (const module of implicitlyLoadedAfterModules) {
17515
+ entryModule.implicitlyLoadedAfter.add(module);
17516
+ }
17517
+ for (const dependant of entryModule.implicitlyLoadedAfter) {
17518
+ dependant.implicitlyLoadedBefore.add(entryModule);
17519
+ }
17514
17520
  }
17515
17521
  }
17516
17522
  return entryModule;
@@ -17761,6 +17767,8 @@ class ModuleLoader {
17761
17767
  : loadPromise;
17762
17768
  }
17763
17769
  if (isEntry) {
17770
+ // This reverts the changes in addEntryWithImplicitDependants and needs to
17771
+ // be performed atomically
17764
17772
  module.info.isEntry = true;
17765
17773
  this.implicitEntryModules.delete(module);
17766
17774
  for (const dependant of module.implicitlyLoadedAfter) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
package/dist/parseAst.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
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 v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
31
31
 
32
32
  const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
33
33
 
34
- var version = "4.1.3";
34
+ var version = "4.1.5";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -18578,13 +18578,19 @@ class ModuleLoader {
18578
18578
  return this.extendLoadModulesPromise(this.loadEntryModule(unresolvedModule.id, false, unresolvedModule.importer, null).then(async (entryModule) => {
18579
18579
  addChunkNamesToModule(entryModule, unresolvedModule, false, chunkNamePriority);
18580
18580
  if (!entryModule.info.isEntry) {
18581
- this.implicitEntryModules.add(entryModule);
18582
18581
  const implicitlyLoadedAfterModules = await Promise.all(implicitlyLoadedAfter.map(id => this.loadEntryModule(id, false, unresolvedModule.importer, entryModule.id)));
18583
- for (const module of implicitlyLoadedAfterModules) {
18584
- entryModule.implicitlyLoadedAfter.add(module);
18585
- }
18586
- for (const dependant of entryModule.implicitlyLoadedAfter) {
18587
- dependant.implicitlyLoadedBefore.add(entryModule);
18582
+ // We need to check again if this is still an entry module as these
18583
+ // changes need to be performed atomically to avoid race conditions
18584
+ // if the same module is re-emitted as an entry module.
18585
+ // The inverse changes happen in "handleExistingModule"
18586
+ if (!entryModule.info.isEntry) {
18587
+ this.implicitEntryModules.add(entryModule);
18588
+ for (const module of implicitlyLoadedAfterModules) {
18589
+ entryModule.implicitlyLoadedAfter.add(module);
18590
+ }
18591
+ for (const dependant of entryModule.implicitlyLoadedAfter) {
18592
+ dependant.implicitlyLoadedBefore.add(entryModule);
18593
+ }
18588
18594
  }
18589
18595
  }
18590
18596
  return entryModule;
@@ -18835,6 +18841,8 @@ class ModuleLoader {
18835
18841
  : loadPromise;
18836
18842
  }
18837
18843
  if (isEntry) {
18844
+ // This reverts the changes in addEntryWithImplicitDependants and needs to
18845
+ // be performed atomically
18838
18846
  module.info.isEntry = true;
18839
18847
  this.implicitEntryModules.delete(module);
18840
18848
  for (const dependant of module.implicitlyLoadedAfter) {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
5
5
 
6
6
  https://github.com/rollup/rollup
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  @license
3
- Rollup.js v4.1.3
4
- Sun, 15 Oct 2023 17:47:37 GMT - commit c61a1507a88fc71be431550642b040da4b9422b0
3
+ Rollup.js v4.1.5
4
+ Sat, 28 Oct 2023 09:22:49 GMT - commit 1cbb382b0dd3ab70541671c105f96eff283904ec
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": "4.1.3",
3
+ "version": "4.1.5",
4
4
  "description": "Next-generation ES module bundler",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -100,18 +100,18 @@
100
100
  "homepage": "https://rollupjs.org/",
101
101
  "optionalDependencies": {
102
102
  "fsevents": "~2.3.2",
103
- "@rollup/rollup-darwin-arm64": "4.1.3",
104
- "@rollup/rollup-android-arm64": "4.1.3",
105
- "@rollup/rollup-win32-arm64-msvc": "4.1.3",
106
- "@rollup/rollup-linux-arm64-gnu": "4.1.3",
107
- "@rollup/rollup-linux-arm64-musl": "4.1.3",
108
- "@rollup/rollup-android-arm-eabi": "4.1.3",
109
- "@rollup/rollup-linux-arm-gnueabihf": "4.1.3",
110
- "@rollup/rollup-win32-ia32-msvc": "4.1.3",
111
- "@rollup/rollup-darwin-x64": "4.1.3",
112
- "@rollup/rollup-win32-x64-msvc": "4.1.3",
113
- "@rollup/rollup-linux-x64-gnu": "4.1.3",
114
- "@rollup/rollup-linux-x64-musl": "4.1.3"
103
+ "@rollup/rollup-darwin-arm64": "4.1.5",
104
+ "@rollup/rollup-android-arm64": "4.1.5",
105
+ "@rollup/rollup-win32-arm64-msvc": "4.1.5",
106
+ "@rollup/rollup-linux-arm64-gnu": "4.1.5",
107
+ "@rollup/rollup-linux-arm64-musl": "4.1.5",
108
+ "@rollup/rollup-android-arm-eabi": "4.1.5",
109
+ "@rollup/rollup-linux-arm-gnueabihf": "4.1.5",
110
+ "@rollup/rollup-win32-ia32-msvc": "4.1.5",
111
+ "@rollup/rollup-darwin-x64": "4.1.5",
112
+ "@rollup/rollup-win32-x64-msvc": "4.1.5",
113
+ "@rollup/rollup-linux-x64-gnu": "4.1.5",
114
+ "@rollup/rollup-linux-x64-musl": "4.1.5"
115
115
  },
116
116
  "devDependenciesComments": {
117
117
  "@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
@@ -119,28 +119,28 @@
119
119
  "devDependencies": {
120
120
  "@codemirror/commands": "^6.3.0",
121
121
  "@codemirror/lang-javascript": "^6.2.1",
122
- "@codemirror/language": "^6.9.1",
122
+ "@codemirror/language": "^6.9.2",
123
123
  "@codemirror/search": "^6.5.4",
124
- "@codemirror/state": "^6.2.1",
125
- "@codemirror/view": "^6.21.3",
124
+ "@codemirror/state": "^6.3.1",
125
+ "@codemirror/view": "^6.21.4",
126
126
  "@jridgewell/sourcemap-codec": "^1.4.15",
127
- "@mermaid-js/mermaid-cli": "^10.4.0",
127
+ "@mermaid-js/mermaid-cli": "^10.5.1",
128
128
  "@napi-rs/cli": "^2.16.3",
129
129
  "@rollup/plugin-alias": "^5.0.1",
130
130
  "@rollup/plugin-buble": "^1.0.3",
131
- "@rollup/plugin-commonjs": "^25.0.5",
131
+ "@rollup/plugin-commonjs": "^25.0.7",
132
132
  "@rollup/plugin-json": "^6.0.1",
133
133
  "@rollup/plugin-node-resolve": "^15.2.3",
134
- "@rollup/plugin-replace": "^5.0.3",
134
+ "@rollup/plugin-replace": "^5.0.4",
135
135
  "@rollup/plugin-terser": "^0.4.4",
136
136
  "@rollup/plugin-typescript": "11.1.5",
137
137
  "@rollup/pluginutils": "^5.0.5",
138
- "@types/estree": "1.0.2",
139
- "@types/mocha": "^10.0.2",
138
+ "@types/estree": "1.0.3",
139
+ "@types/mocha": "^10.0.3",
140
140
  "@types/node": "18.0.0",
141
- "@types/yargs-parser": "^21.0.1",
142
- "@typescript-eslint/eslint-plugin": "^6.7.5",
143
- "@typescript-eslint/parser": "^6.7.5",
141
+ "@types/yargs-parser": "^21.0.2",
142
+ "@typescript-eslint/eslint-plugin": "^6.9.0",
143
+ "@typescript-eslint/parser": "^6.9.0",
144
144
  "@vue/eslint-config-prettier": "^8.0.0",
145
145
  "@vue/eslint-config-typescript": "^12.0.0",
146
146
  "acorn": "^8.10.0",
@@ -149,17 +149,17 @@
149
149
  "builtin-modules": "^3.3.0",
150
150
  "chokidar": "^3.5.3",
151
151
  "colorette": "^2.0.20",
152
- "concurrently": "^8.2.1",
153
- "core-js": "^3.33.0",
152
+ "concurrently": "^8.2.2",
153
+ "core-js": "^3.33.1",
154
154
  "date-time": "^4.0.0",
155
155
  "es5-shim": "^4.6.7",
156
156
  "es6-shim": "^0.35.8",
157
- "eslint": "^8.51.0",
157
+ "eslint": "^8.52.0",
158
158
  "eslint-config-prettier": "^9.0.0",
159
- "eslint-plugin-import": "^2.28.1",
160
- "eslint-plugin-prettier": "^5.0.0",
159
+ "eslint-plugin-import": "^2.29.0",
160
+ "eslint-plugin-prettier": "^5.0.1",
161
161
  "eslint-plugin-unicorn": "^48.0.1",
162
- "eslint-plugin-vue": "^9.17.0",
162
+ "eslint-plugin-vue": "^9.18.0",
163
163
  "fixturify": "^3.0.0",
164
164
  "flru": "^1.0.2",
165
165
  "fs-extra": "^11.1.1",
@@ -168,18 +168,18 @@
168
168
  "husky": "^8.0.3",
169
169
  "inquirer": "^9.2.11",
170
170
  "is-reference": "^3.0.2",
171
- "lint-staged": "^14.0.1",
171
+ "lint-staged": "^15.0.2",
172
172
  "locate-character": "^3.0.0",
173
173
  "magic-string": "^0.30.5",
174
174
  "mocha": "^10.2.0",
175
175
  "nyc": "^15.1.0",
176
- "pinia": "^2.1.6",
176
+ "pinia": "^2.1.7",
177
177
  "prettier": "^3.0.3",
178
178
  "pretty-bytes": "^6.1.1",
179
179
  "pretty-ms": "^8.0.0",
180
180
  "requirejs": "^2.3.6",
181
- "rollup": "^4.0.2",
182
- "rollup-plugin-license": "github:lukastaegert/rollup-plugin-license",
181
+ "rollup": "^4.1.4",
182
+ "rollup-plugin-license": "^3.2.0",
183
183
  "rollup-plugin-string": "^3.0.0",
184
184
  "rollup-plugin-thatworks": "^1.0.4",
185
185
  "semver": "^7.5.4",
@@ -188,12 +188,12 @@
188
188
  "source-map": "^0.7.4",
189
189
  "source-map-support": "^0.5.21",
190
190
  "systemjs": "^6.14.2",
191
- "terser": "^5.21.0",
191
+ "terser": "^5.22.0",
192
192
  "tslib": "^2.6.2",
193
193
  "typescript": "^5.2.2",
194
- "vite": "^4.4.11",
195
- "vitepress": "^1.0.0-rc.20",
196
- "vue": "^3.3.4",
194
+ "vite": "^4.5.0",
195
+ "vitepress": "^1.0.0-rc.24",
196
+ "vue": "^3.3.7",
197
197
  "wasm-pack": "^0.12.1",
198
198
  "weak-napi": "^2.0.2",
199
199
  "yargs-parser": "^21.1.1"