New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@builder.io/sdk

Package Overview
Dependencies
Maintainers
1
Versions
699
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.94 to 0.0.95

.rpt2_cache/eaa34fbf38c3ae06d85cea86f9ec35bdd59cf756/code/cache/abcbf844f40b6080ded9ce9d3dab37a2e8781244

2

dist/clients/js/src/classes/event-capturer.class.d.ts

@@ -19,3 +19,3 @@ export declare class EventCapturer {

private formatMessage(event);
private findParent(target, callback);
private findParent(target, callback, checkElement?);
private findPageBlockParent(target);

@@ -22,0 +22,0 @@ private findBuilderParent(target);

@@ -441,7 +441,8 @@ 'use strict';

};
EventCapturer.prototype.findParent = function (target, callback) {
EventCapturer.prototype.findParent = function (target, callback, checkElement) {
if (checkElement === void 0) { checkElement = true; }
if (!(target instanceof HTMLElement)) {
return null;
}
var parent = target;
var parent = checkElement ? target : target.parentElement;
do {

@@ -465,7 +466,7 @@ if (!parent) {

var currentDisplay = parent.style.display;
parent.style.display = 'none';
parent.style.display = 'inline';
var parentHeight = getComputedStyle(parent).height || '';
parent.style.display = currentDisplay;
return parentHeight.includes('px');
}));
}, false));
});

@@ -472,0 +473,0 @@ };

@@ -435,7 +435,8 @@ import uniqueSelector from 'unique-selector';

};
EventCapturer.prototype.findParent = function (target, callback) {
EventCapturer.prototype.findParent = function (target, callback, checkElement) {
if (checkElement === void 0) { checkElement = true; }
if (!(target instanceof HTMLElement)) {
return null;
}
var parent = target;
var parent = checkElement ? target : target.parentElement;
do {

@@ -459,7 +460,7 @@ if (!parent) {

var currentDisplay = parent.style.display;
parent.style.display = 'none';
parent.style.display = 'inline';
var parentHeight = getComputedStyle(parent).height || '';
parent.style.display = currentDisplay;
return parentHeight.includes('px');
}));
}, false));
});

@@ -466,0 +467,0 @@ };

{
"name": "@builder.io/sdk",
"version": "0.0.94",
"version": "0.0.95",
"browser": "./dist/index.umd.min.js",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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