@rollup/wasm-node 4.1.4 → 4.1.6

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.4
5
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
4
+ Rollup.js v4.1.6
5
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4";
19
+ var version = "4.1.6";
20
20
 
21
21
  const comma = ','.charCodeAt(0);
22
22
  const semicolon = ';'.charCodeAt(0);
@@ -7310,7 +7310,7 @@ function findFirstLineBreakOutsideComment(code) {
7310
7310
  charCodeAfterSlash = code.charCodeAt(start + 1);
7311
7311
  if (charCodeAfterSlash === 47 /*"/"*/)
7312
7312
  return [start, lineBreakPos + 1];
7313
- start = code.indexOf('*/', start + 3) + 2;
7313
+ start = code.indexOf('*/', start + 2) + 2;
7314
7314
  if (start > lineBreakPos) {
7315
7315
  lineBreakPos = code.indexOf('\n', start);
7316
7316
  }
@@ -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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4";
34
+ var version = "4.1.6";
35
35
 
36
36
  function ensureArray$1(items) {
37
37
  if (Array.isArray(items)) {
@@ -8744,7 +8744,7 @@ function findFirstLineBreakOutsideComment(code) {
8744
8744
  charCodeAfterSlash = code.charCodeAt(start + 1);
8745
8745
  if (charCodeAfterSlash === 47 /*"/"*/)
8746
8746
  return [start, lineBreakPos + 1];
8747
- start = code.indexOf('*/', start + 3) + 2;
8747
+ start = code.indexOf('*/', start + 2) + 2;
8748
8748
  if (start > lineBreakPos) {
8749
8749
  lineBreakPos = code.indexOf('\n', start);
8750
8750
  }
@@ -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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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.4
4
- Mon, 16 Oct 2023 04:33:30 GMT - commit 061a0387c8654222620f602471d66afd3c582048
3
+ Rollup.js v4.1.6
4
+ Tue, 31 Oct 2023 05:44:37 GMT - commit 5901e545697b36326110d89ed02964fdaffd9f6f
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/wasm-node",
3
- "version": "4.1.4",
3
+ "version": "4.1.6",
4
4
  "description": "Next-generation ES module bundler with Node wasm",
5
5
  "main": "dist/rollup.js",
6
6
  "module": "dist/es/rollup.js",
@@ -31,28 +31,28 @@
31
31
  "devDependencies": {
32
32
  "@codemirror/commands": "^6.3.0",
33
33
  "@codemirror/lang-javascript": "^6.2.1",
34
- "@codemirror/language": "^6.9.1",
34
+ "@codemirror/language": "^6.9.2",
35
35
  "@codemirror/search": "^6.5.4",
36
- "@codemirror/state": "^6.2.1",
37
- "@codemirror/view": "^6.21.3",
36
+ "@codemirror/state": "^6.3.1",
37
+ "@codemirror/view": "^6.21.4",
38
38
  "@jridgewell/sourcemap-codec": "^1.4.15",
39
- "@mermaid-js/mermaid-cli": "^10.4.0",
39
+ "@mermaid-js/mermaid-cli": "^10.5.1",
40
40
  "@napi-rs/cli": "^2.16.3",
41
41
  "@rollup/plugin-alias": "^5.0.1",
42
42
  "@rollup/plugin-buble": "^1.0.3",
43
- "@rollup/plugin-commonjs": "^25.0.5",
43
+ "@rollup/plugin-commonjs": "^25.0.7",
44
44
  "@rollup/plugin-json": "^6.0.1",
45
45
  "@rollup/plugin-node-resolve": "^15.2.3",
46
- "@rollup/plugin-replace": "^5.0.3",
46
+ "@rollup/plugin-replace": "^5.0.4",
47
47
  "@rollup/plugin-terser": "^0.4.4",
48
48
  "@rollup/plugin-typescript": "11.1.5",
49
49
  "@rollup/pluginutils": "^5.0.5",
50
- "@types/estree": "1.0.2",
51
- "@types/mocha": "^10.0.2",
50
+ "@types/estree": "1.0.3",
51
+ "@types/mocha": "^10.0.3",
52
52
  "@types/node": "18.0.0",
53
- "@types/yargs-parser": "^21.0.1",
54
- "@typescript-eslint/eslint-plugin": "^6.7.5",
55
- "@typescript-eslint/parser": "^6.7.5",
53
+ "@types/yargs-parser": "^21.0.2",
54
+ "@typescript-eslint/eslint-plugin": "^6.9.0",
55
+ "@typescript-eslint/parser": "^6.9.0",
56
56
  "@vue/eslint-config-prettier": "^8.0.0",
57
57
  "@vue/eslint-config-typescript": "^12.0.0",
58
58
  "acorn": "^8.10.0",
@@ -61,17 +61,17 @@
61
61
  "builtin-modules": "^3.3.0",
62
62
  "chokidar": "^3.5.3",
63
63
  "colorette": "^2.0.20",
64
- "concurrently": "^8.2.1",
65
- "core-js": "^3.33.0",
64
+ "concurrently": "^8.2.2",
65
+ "core-js": "^3.33.1",
66
66
  "date-time": "^4.0.0",
67
67
  "es5-shim": "^4.6.7",
68
68
  "es6-shim": "^0.35.8",
69
- "eslint": "^8.51.0",
69
+ "eslint": "^8.52.0",
70
70
  "eslint-config-prettier": "^9.0.0",
71
- "eslint-plugin-import": "^2.28.1",
72
- "eslint-plugin-prettier": "^5.0.0",
71
+ "eslint-plugin-import": "^2.29.0",
72
+ "eslint-plugin-prettier": "^5.0.1",
73
73
  "eslint-plugin-unicorn": "^48.0.1",
74
- "eslint-plugin-vue": "^9.17.0",
74
+ "eslint-plugin-vue": "^9.18.0",
75
75
  "fixturify": "^3.0.0",
76
76
  "flru": "^1.0.2",
77
77
  "fs-extra": "^11.1.1",
@@ -80,18 +80,18 @@
80
80
  "husky": "^8.0.3",
81
81
  "inquirer": "^9.2.11",
82
82
  "is-reference": "^3.0.2",
83
- "lint-staged": "^14.0.1",
83
+ "lint-staged": "^15.0.2",
84
84
  "locate-character": "^3.0.0",
85
85
  "magic-string": "^0.30.5",
86
86
  "mocha": "^10.2.0",
87
87
  "nyc": "^15.1.0",
88
- "pinia": "^2.1.6",
88
+ "pinia": "^2.1.7",
89
89
  "prettier": "^3.0.3",
90
90
  "pretty-bytes": "^6.1.1",
91
91
  "pretty-ms": "^8.0.0",
92
92
  "requirejs": "^2.3.6",
93
- "rollup": "^4.0.2",
94
- "rollup-plugin-license": "github:lukastaegert/rollup-plugin-license",
93
+ "rollup": "^4.1.4",
94
+ "rollup-plugin-license": "^3.2.0",
95
95
  "rollup-plugin-string": "^3.0.0",
96
96
  "rollup-plugin-thatworks": "^1.0.4",
97
97
  "semver": "^7.5.4",
@@ -100,12 +100,12 @@
100
100
  "source-map": "^0.7.4",
101
101
  "source-map-support": "^0.5.21",
102
102
  "systemjs": "^6.14.2",
103
- "terser": "^5.21.0",
103
+ "terser": "^5.22.0",
104
104
  "tslib": "^2.6.2",
105
105
  "typescript": "^5.2.2",
106
- "vite": "^4.4.11",
107
- "vitepress": "^1.0.0-rc.20",
108
- "vue": "^3.3.4",
106
+ "vite": "^4.5.0",
107
+ "vitepress": "^1.0.0-rc.24",
108
+ "vue": "^3.3.7",
109
109
  "wasm-pack": "^0.12.1",
110
110
  "weak-napi": "^2.0.2",
111
111
  "yargs-parser": "^21.1.1"