@pygmalionjs/pygmalion 0.2.20 → 0.2.21
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-lib/{App-BncfvzKi.js → App-B_6qmxhS.js} +4 -3
- package/dist-lib/pygmalion.js +302 -288
- package/dist-lib/testing.js +1 -1
- package/node/preview-artifact-plugin.mjs +0 -0
- package/node/route-preview-artifact-v3.mjs +161 -0
- package/package.json +1 -1
- package/storyboard.d.ts +18 -0
- package/types.d.ts +11 -0
- package/vite.d.ts +3 -0
|
@@ -14379,20 +14379,21 @@ function Hy(t, e) {
|
|
|
14379
14379
|
if (t.version === 3) {
|
|
14380
14380
|
const y = t.frames[b];
|
|
14381
14381
|
if (!y) continue;
|
|
14382
|
+
const O = x.fingerprint != null && y.fingerprint != null ? y.fingerprint !== x.fingerprint : l;
|
|
14382
14383
|
if (Mn.set(w, {
|
|
14383
14384
|
status: y.status,
|
|
14384
14385
|
diagnostics: y.diagnostics,
|
|
14385
|
-
...
|
|
14386
|
+
...O ? { stale: !0 } : {},
|
|
14386
14387
|
screenshot: Zv(
|
|
14387
14388
|
t,
|
|
14388
14389
|
b
|
|
14389
14390
|
)
|
|
14390
14391
|
}), tt.add(w), y.snapshot && h) {
|
|
14391
|
-
const
|
|
14392
|
+
const E = Gs(e.appOrigin, x.route);
|
|
14392
14393
|
Vt.set(w, {
|
|
14393
14394
|
bundle: h,
|
|
14394
14395
|
frameId: b,
|
|
14395
|
-
previewBase:
|
|
14396
|
+
previewBase: E,
|
|
14396
14397
|
shadow: null
|
|
14397
14398
|
});
|
|
14398
14399
|
}
|