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

gardr-ext

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gardr-ext - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "gardr-ext",
"version": "0.0.3",
"version": "0.0.4",
"description": "The js part of Gardr which embeds external content inside the iframe",

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

@@ -27,4 +27,7 @@ /* jshint evil: true */

eventListener.add(global, 'load', function () {
var size = childrenSize(document.getElementById('gardr'));
com.rendered(size);
// phantomjs doesn't calculate sizes correctly unless we give it a break
setTimeout(function () {
var size = childrenSize(document.getElementById('gardr'));
com.rendered(size);
}, 0);
});

@@ -31,0 +34,0 @@ };

@@ -16,2 +16,3 @@ /* jshint evil: true, expr: true */

function triggerOnLoad () {
var clock = sinon.useFakeTimers();
var evt;

@@ -25,2 +26,4 @@ try {

window.dispatchEvent(evt);
clock.tick(10);
clock.restore();
}

@@ -27,0 +30,0 @@

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