@garfish/browser-vm
Advanced tools
Comparing version 1.16.3-beta-20230705043447.0 to 1.16.3-beta-20230705075815.0
@@ -1299,3 +1299,3 @@ var __defProp = Object.defineProperty; | ||
if (typeof window.Element === "function") { | ||
if (sandboxConfig.fixBaseUrl) | ||
if (sandboxConfig.fixOwnerDocument) | ||
safeWrapper2(() => handleOwnerDocument()); | ||
@@ -1484,3 +1484,3 @@ const rewrite = (methods, builder) => { | ||
this.initComplete = false; | ||
this.version = "1.16.3-beta-20230705043447.0"; | ||
this.version = "1.16.3-beta-20230705075815.0"; | ||
this.hooks = sandboxLifecycle(); | ||
@@ -1772,5 +1772,5 @@ this.deferClearEffects = /* @__PURE__ */ new Set(); | ||
name: "browser-vm", | ||
version: "1.16.3-beta-20230705043447.0", | ||
version: "1.16.3-beta-20230705075815.0", | ||
afterLoad(appInfo, appInstance) { | ||
var _a, _b, _c, _d, _e, _f; | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
if (!canSupport || !appInstance || (appInstance == null ? void 0 : appInstance.vmSandbox) || appInfo.sandbox === false || appInfo.sandbox && appInfo.sandbox.open === false || appInfo.sandbox && appInfo.sandbox.snapshot) { | ||
@@ -1789,5 +1789,6 @@ if (appInstance == null ? void 0 : appInstance.vmSandbox) { | ||
fixStaticResourceBaseUrl: Boolean((_c = appInfo.sandbox) == null ? void 0 : _c.fixStaticResourceBaseUrl), | ||
disableWith: Boolean((_d = appInfo.sandbox) == null ? void 0 : _d.disableWith), | ||
disableElementtiming: Boolean((_e = appInfo.sandbox) == null ? void 0 : _e.disableElementtiming), | ||
strictIsolation: Boolean((_f = appInfo.sandbox) == null ? void 0 : _f.strictIsolation), | ||
fixOwnerDocument: Boolean((_d = appInfo.sandbox) == null ? void 0 : _d.fixOwnerDocument), | ||
disableWith: Boolean((_e = appInfo.sandbox) == null ? void 0 : _e.disableWith), | ||
disableElementtiming: Boolean((_f = appInfo.sandbox) == null ? void 0 : _f.disableElementtiming), | ||
strictIsolation: Boolean((_g = appInfo.sandbox) == null ? void 0 : _g.strictIsolation), | ||
el: () => appInstance.htmlNode, | ||
@@ -1794,0 +1795,0 @@ styleScopeId: () => appInstance.appContainer.id, |
@@ -89,2 +89,3 @@ import { interfaces } from '@garfish/core'; | ||
fixStaticResourceBaseUrl?: boolean; | ||
fixOwnerDocument?: boolean; | ||
disableWith?: boolean; | ||
@@ -91,0 +92,0 @@ strictIsolation?: boolean; |
@@ -1288,3 +1288,3 @@ var __defProp = Object.defineProperty; | ||
if (typeof window.Element === "function") { | ||
if (sandboxConfig.fixBaseUrl) | ||
if (sandboxConfig.fixOwnerDocument) | ||
(0, import_utils13.safeWrapper)(() => handleOwnerDocument()); | ||
@@ -1473,3 +1473,3 @@ const rewrite = (methods, builder) => { | ||
this.initComplete = false; | ||
this.version = "1.16.3-beta-20230705043447.0"; | ||
this.version = "1.16.3-beta-20230705075815.0"; | ||
this.hooks = sandboxLifecycle(); | ||
@@ -1761,5 +1761,5 @@ this.deferClearEffects = /* @__PURE__ */ new Set(); | ||
name: "browser-vm", | ||
version: "1.16.3-beta-20230705043447.0", | ||
version: "1.16.3-beta-20230705075815.0", | ||
afterLoad(appInfo, appInstance) { | ||
var _a, _b, _c, _d, _e, _f; | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
if (!canSupport || !appInstance || (appInstance == null ? void 0 : appInstance.vmSandbox) || appInfo.sandbox === false || appInfo.sandbox && appInfo.sandbox.open === false || appInfo.sandbox && appInfo.sandbox.snapshot) { | ||
@@ -1778,5 +1778,6 @@ if (appInstance == null ? void 0 : appInstance.vmSandbox) { | ||
fixStaticResourceBaseUrl: Boolean((_c = appInfo.sandbox) == null ? void 0 : _c.fixStaticResourceBaseUrl), | ||
disableWith: Boolean((_d = appInfo.sandbox) == null ? void 0 : _d.disableWith), | ||
disableElementtiming: Boolean((_e = appInfo.sandbox) == null ? void 0 : _e.disableElementtiming), | ||
strictIsolation: Boolean((_f = appInfo.sandbox) == null ? void 0 : _f.strictIsolation), | ||
fixOwnerDocument: Boolean((_d = appInfo.sandbox) == null ? void 0 : _d.fixOwnerDocument), | ||
disableWith: Boolean((_e = appInfo.sandbox) == null ? void 0 : _e.disableWith), | ||
disableElementtiming: Boolean((_f = appInfo.sandbox) == null ? void 0 : _f.disableElementtiming), | ||
strictIsolation: Boolean((_g = appInfo.sandbox) == null ? void 0 : _g.strictIsolation), | ||
el: () => appInstance.htmlNode, | ||
@@ -1783,0 +1784,0 @@ styleScopeId: () => appInstance.appContainer.id, |
{ | ||
"name": "@garfish/browser-vm", | ||
"version": "1.16.3-beta-20230705043447.0", | ||
"version": "1.16.3-beta-20230705075815.0", | ||
"description": "vm-sandbox module.", | ||
@@ -30,9 +30,9 @@ "keywords": [ | ||
"dependencies": { | ||
"@garfish/loader": "1.16.3-beta-20230705043447.0", | ||
"@garfish/core": "1.16.3-beta-20230705043447.0", | ||
"@garfish/hooks": "1.16.3-beta-20230705043447.0", | ||
"@garfish/utils": "1.16.3-beta-20230705043447.0" | ||
"@garfish/loader": "1.16.3-beta-20230705075815.0", | ||
"@garfish/core": "1.16.3-beta-20230705075815.0", | ||
"@garfish/hooks": "1.16.3-beta-20230705075815.0", | ||
"@garfish/utils": "1.16.3-beta-20230705075815.0" | ||
}, | ||
"devDependencies": { | ||
"@garfish/test-suite": "1.16.3-beta-20230705043447.0" | ||
"@garfish/test-suite": "1.16.3-beta-20230705075815.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132699
3750
+ Added@garfish/core@1.16.3-beta-20230705075815.0(transitive)
+ Added@garfish/hooks@1.16.3-beta-20230705075815.0(transitive)
+ Added@garfish/loader@1.16.3-beta-20230705075815.0(transitive)
+ Added@garfish/utils@1.16.3-beta-20230705075815.0(transitive)
- Removed@garfish/core@1.16.3-beta-20230705043447.0(transitive)
- Removed@garfish/hooks@1.16.3-beta-20230705043447.0(transitive)
- Removed@garfish/loader@1.16.3-beta-20230705043447.0(transitive)
- Removed@garfish/utils@1.16.3-beta-20230705043447.0(transitive)