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

@builder.io/sdk

Package Overview
Dependencies
Maintainers
1
Versions
695
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builder.io/sdk - npm Package Compare versions

Comparing version 0.0.56 to 0.0.57

8

dist/clients/js/src/builder.class.js

@@ -76,6 +76,8 @@ "use strict";

// FIXME: why are there attempts to load this twice?
if (exports.isBrowser && window.builder) {
return window.builder;
if (exports.isBrowser) {
if (window.builder) {
return window.builder;
}
window.builder = this;
}
window.builder = this;
if (exports.isBrowser) {

@@ -82,0 +84,0 @@ this.bindMessageListeners();

{
"name": "@builder.io/sdk",
"version": "0.0.56",
"version": "0.0.57",
"main": "dist/clients/js/index.js",

@@ -5,0 +5,0 @@ "types": "dist/clients/js/index.d.ts",

@@ -294,8 +294,9 @@ import sortBy from 'lodash-es/sortBy';

// FIXME: why are there attempts to load this twice?
if (isBrowser && (window as any).builder) {
return (window as any).builder as Builder;
if (isBrowser) {
if ((window as any).builder) {
return (window as any).builder as Builder;
}
(window as any).builder = this;
}
(window as any).builder = this;
if (isBrowser) {

@@ -302,0 +303,0 @@ this.bindMessageListeners();

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