@satori-sh/cli 0.0.30 → 0.0.31
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/index.js +13 -11
- package/dist/ui-4LVANHF6.js +2678 -0
- package/package.json +1 -1
- package/dist/ui-OEY6KRG2.js +0 -264
package/dist/index.js
CHANGED
|
@@ -372,16 +372,18 @@ ${instruction}`);
|
|
|
372
372
|
const globalScope = globalThis;
|
|
373
373
|
globalScope.window = window;
|
|
374
374
|
globalScope.document = document;
|
|
375
|
-
globalScope.Element = domWindow.Element
|
|
376
|
-
|
|
377
|
-
globalScope.
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}
|
|
375
|
+
globalScope.Element = domWindow.Element ?? class Element {
|
|
376
|
+
};
|
|
377
|
+
globalScope.Node = domWindow.Node ?? class Node {
|
|
378
|
+
};
|
|
379
|
+
globalScope.Text = domWindow.Text ?? class Text {
|
|
380
|
+
};
|
|
381
|
+
globalScope.HTMLElement = domWindow.HTMLElement ?? class HTMLElement {
|
|
382
|
+
};
|
|
383
|
+
globalScope.SVGElement = domWindow.SVGElement ?? class SVGElement {
|
|
384
|
+
};
|
|
385
|
+
globalScope.SVGSVGElement = domWindow.SVGSVGElement ?? class SVGSVGElement {
|
|
386
|
+
};
|
|
385
387
|
if (domWindow.navigator) {
|
|
386
388
|
globalScope.navigator = domWindow.navigator;
|
|
387
389
|
}
|
|
@@ -389,7 +391,7 @@ ${instruction}`);
|
|
|
389
391
|
globalScope.getComputedStyle = domWindow.getComputedStyle;
|
|
390
392
|
}
|
|
391
393
|
}
|
|
392
|
-
const { runInteractiveApp } = await import("./ui-
|
|
394
|
+
const { runInteractiveApp } = await import("./ui-4LVANHF6.js");
|
|
393
395
|
await runInteractiveApp({
|
|
394
396
|
initialPrompt,
|
|
395
397
|
options,
|