esm-sync 3.5.0-beta.1 → 3.5.0

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/README.md CHANGED
@@ -76,22 +76,22 @@ and bootstrap caches. This does not re-evaluate modules already in memory.
76
76
 
77
77
  ## Development
78
78
 
79
- With Node 24.14+ and Docker Engine/Desktop on macOS or Linux, run the complete
80
- self-contained verification from the checkout:
79
+ On macOS or Linux with Node.js 22.18+ (using your current Node version), pnpm,
80
+ and development dependencies installed, run
81
+ full local release verification:
81
82
 
82
83
  ```sh
83
- node script/src/esm/verify-all.ts
84
+ pnpm verify:all
84
85
  ```
85
86
 
86
- `pnpm verify:all` is the equivalent package script. Dependencies and native
87
- builds run in disposable Linux/amd64 containers. The command runs all Vitest
88
- projects and full Test262 selection in development and production on Node
89
- 22/24/26, installed CJS/ESM packages, release benchmarks, formatting, types,
90
- unused-code checks, dependency audits, a disposable registry, and automated
91
- Electron/VS Code/USB/WebContainer checks. It requires network access for image,
92
- package, fixture, and real WebContainer downloads. A failed or blocked stage
93
- makes the command fail; logs and summaries are saved under `.cache/verification/`.
94
- This complements the operating-system CI matrix.
87
+ This orchestrates the existing `package.json` scripts **natively** for the
88
+ fixture setup, the production test build and complete Vitest suite (`verify:prod`), one production
89
+ Test262 run, the publishable build and installed-package tests, benchmarks,
90
+ lint, typechecking, Knip, a dependency audit, and a disposable Verdaccio registry.
91
+ Only the Electron/VS Code/USB/WebContainer host checks use Docker. The command
92
+ requires network access for fixture and host dependencies. CI tests other Node
93
+ versions and operating systems. A failed or blocked stage fails verification;
94
+ logs and summaries are saved under `dist/verification/`. Nothing publishes to npm.
95
95
 
96
96
  - [Maintainer guide and focused commands](docs/MAINTAINER_GUIDE.md)
97
97
  - [CI selection and caches](docs/ci.md)
@@ -66,7 +66,7 @@ var T = [
66
66
  "native/*.node",
67
67
  "script/build-sync-await.js",
68
68
  "../native/sync-await.cc"
69
- ], E = "3.5.0-beta.1", D = {
69
+ ], E = "3.5.0", D = {
70
70
  PACKAGE_PARENT_NAME: "",
71
71
  PACKAGE_DIRNAME: null,
72
72
  PACKAGE_FILENAMES: null,
@@ -11317,6 +11317,7 @@ function Ig(e) {
11317
11317
  }
11318
11318
  }
11319
11319
  function Lg(e, t, n) {
11320
+ if (e === void 0 || !e.deferred) return !1;
11320
11321
  for (var r = /* @__PURE__ */ new Set(); e !== void 0 && e.deferred && !r.has(e);) {
11321
11322
  if (r.add(e), e.owner === t && e.id === n) return !0;
11322
11323
  e = e.owner.getters[e.id];
@@ -11370,7 +11371,7 @@ var zg = {
11370
11371
  var a = n.getters, o = r.getters, s = i ? n.getExportByName("*", r) : n.getters;
11371
11372
  for (var c in Object(s)) if (c !== "default") {
11372
11373
  var l = o[c], u = a[c];
11373
- Lg(u, r, c) || (l === void 0 || l.owner !== r) && (l === void 0 || l.owner === u.owner && l.id === u.id ? r.addGetterFrom(n, c) : r.addGetter(c, Bg(hg, function() {
11374
+ Lg(u, r, c) || (l === void 0 || l.owner !== r) && (l === void 0 || l !== u || n.type !== wg && r.extname === ".mjs") && (l === void 0 || l.owner === u.owner && l.id === u.id ? r.addGetterFrom(n, c) : r.addGetter(c, Bg(hg, function() {
11374
11375
  return mg;
11375
11376
  })));
11376
11377
  }
@@ -13109,7 +13110,7 @@ var tb = P.inited ? P.module.shimPuppeteerExecutionContextPrototypeEvaluateHandl
13109
13110
  if (r && n !== void 0 && n.has(this)) return this;
13110
13111
  typeof e == "string" && (e = [e]);
13111
13112
  var i;
13112
- if (this._changed = !1, Xb(this, e), Qb(this, e, function(e) {
13113
+ if (this._changed = !1, this.type === xb && !this.circular && this._loaded === lb && t === Db && (this.state < yb || n !== void 0 && this.running && this.state < vb && this.asyncEvaluation === null) || Xb(this, e), Qb(this, e, function(e) {
13113
13114
  var t = e.owner, n = t.importedBindings;
13114
13115
  if (e.last !== rb) for (var a = 0, o = e.localNames, s = o == null ? 0 : o.length; a < s; a++) {
13115
13116
  var c = o[a];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esm-sync",
3
- "version": "3.5.0-beta.1",
3
+ "version": "3.5.0",
4
4
  "description": "Tomorrow's ECMAScript modules today!",
5
5
  "license": "MIT",
6
6
  "author": "Khiet Tam Nguyen",