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 +12 -12
- package/dist/esm/loader.js +4 -3
- package/package.json +1 -1
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
|
-
|
|
80
|
-
|
|
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
|
-
|
|
84
|
+
pnpm verify:all
|
|
84
85
|
```
|
|
85
86
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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)
|
package/dist/esm/loader.js
CHANGED
|
@@ -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
|
|
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];
|