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.17.6 to 1.17.7-beta-20240506085815.0

12

dist/esm/index.js

@@ -1148,3 +1148,3 @@ var __defProp = Object.defineProperty;

parentNode = this.findParentNodeInApp(context, "head");
if (this.el.rel === "stylesheet" && this.el.href) {
if (this.el.getAttribute("rel") === "stylesheet" && this.el.href) {
convertedNode = this.addDynamicLinkNode((styleNode) => {

@@ -1509,3 +1509,3 @@ this.nativeAppend.call(parentNode, styleNode);

this.initComplete = false;
this.version = "1.17.6";
this.version = "1.17.7-beta-20240506085815.0";
this.hooks = sandboxLifecycle();

@@ -1526,2 +1526,3 @@ this.deferClearEffects = /* @__PURE__ */ new Set();

strictIsolation: false,
disableLinkTransformToStyle: false,
disableCollect: false,

@@ -1799,5 +1800,5 @@ el: () => null,

name: "browser-vm",
version: "1.17.6",
version: "1.17.7-beta-20240506085815.0",
afterLoad(appInfo, appInstance) {
var _a, _b, _c, _d, _e, _f, _g;
var _a, _b, _c, _d, _e, _f, _g, _h;
if (!canSupport || !appInstance || (appInstance == null ? void 0 : appInstance.vmSandbox) || appInfo.sandbox === false || appInfo.sandbox && appInfo.sandbox.open === false || appInfo.sandbox && appInfo.sandbox.snapshot) {

@@ -1819,3 +1820,4 @@ if (appInstance == null ? void 0 : appInstance.vmSandbox) {

disableElementtiming: Boolean((_f = appInfo.sandbox) == null ? void 0 : _f.disableElementtiming),
strictIsolation: Boolean((_g = appInfo.sandbox) == null ? void 0 : _g.strictIsolation),
disableLinkTransformToStyle: Boolean((_g = appInfo.sandbox) == null ? void 0 : _g.disableLinkTransformToStyle),
strictIsolation: Boolean((_h = appInfo.sandbox) == null ? void 0 : _h.strictIsolation),
disableCollect: appInfo.cache === void 0 ? true : Boolean(appInfo.cache),

@@ -1822,0 +1824,0 @@ el: () => appInstance.htmlNode,

@@ -93,2 +93,3 @@ import { interfaces } from '@garfish/core';

disableElementtiming?: boolean;
disableLinkTransformToStyle?: boolean;
disableCollect?: boolean;

@@ -95,0 +96,0 @@ modules?: Array<Module>;

@@ -1137,3 +1137,3 @@ var __defProp = Object.defineProperty;

parentNode = this.findParentNodeInApp(context, "head");
if (this.el.rel === "stylesheet" && this.el.href) {
if (this.el.getAttribute("rel") === "stylesheet" && this.el.href) {
convertedNode = this.addDynamicLinkNode((styleNode) => {

@@ -1498,3 +1498,3 @@ this.nativeAppend.call(parentNode, styleNode);

this.initComplete = false;
this.version = "1.17.6";
this.version = "1.17.7-beta-20240506085815.0";
this.hooks = sandboxLifecycle();

@@ -1515,2 +1515,3 @@ this.deferClearEffects = /* @__PURE__ */ new Set();

strictIsolation: false,
disableLinkTransformToStyle: false,
disableCollect: false,

@@ -1788,5 +1789,5 @@ el: () => null,

name: "browser-vm",
version: "1.17.6",
version: "1.17.7-beta-20240506085815.0",
afterLoad(appInfo, appInstance) {
var _a, _b, _c, _d, _e, _f, _g;
var _a, _b, _c, _d, _e, _f, _g, _h;
if (!canSupport || !appInstance || (appInstance == null ? void 0 : appInstance.vmSandbox) || appInfo.sandbox === false || appInfo.sandbox && appInfo.sandbox.open === false || appInfo.sandbox && appInfo.sandbox.snapshot) {

@@ -1808,3 +1809,4 @@ if (appInstance == null ? void 0 : appInstance.vmSandbox) {

disableElementtiming: Boolean((_f = appInfo.sandbox) == null ? void 0 : _f.disableElementtiming),
strictIsolation: Boolean((_g = appInfo.sandbox) == null ? void 0 : _g.strictIsolation),
disableLinkTransformToStyle: Boolean((_g = appInfo.sandbox) == null ? void 0 : _g.disableLinkTransformToStyle),
strictIsolation: Boolean((_h = appInfo.sandbox) == null ? void 0 : _h.strictIsolation),
disableCollect: appInfo.cache === void 0 ? true : Boolean(appInfo.cache),

@@ -1811,0 +1813,0 @@ el: () => appInstance.htmlNode,

{
"name": "@garfish/browser-vm",
"version": "1.17.6",
"version": "1.17.7-beta-20240506085815.0",
"description": "vm-sandbox module.",

@@ -31,9 +31,9 @@ "keywords": [

"dependencies": {
"@garfish/loader": "1.17.6",
"@garfish/core": "1.17.6",
"@garfish/hooks": "1.17.6",
"@garfish/utils": "1.17.6"
"@garfish/loader": "1.17.7-beta-20240506085815.0",
"@garfish/core": "1.17.7-beta-20240506085815.0",
"@garfish/hooks": "1.17.7-beta-20240506085815.0",
"@garfish/utils": "1.17.7-beta-20240506085815.0"
},
"devDependencies": {
"@garfish/test-suite": "1.17.6"
"@garfish/test-suite": "1.17.7-beta-20240506085815.0"
},

@@ -40,0 +40,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