Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@garfish/browser-vm

Package Overview
Dependencies
Maintainers
8
Versions
369
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@garfish/browser-vm - npm Package Compare versions

Comparing version 1.16.3-beta-20230705043447.0 to 1.16.3-beta-20230705075815.0

15

dist/esm/index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc