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

drive-in

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drive-in - npm Package Compare versions

Comparing version 1.3.4 to 1.4.0

2

package.json
{
"name": "drive-in",
"version": "1.3.4",
"version": "1.4.0",
"description": "Core library for React Drive-In",

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

@@ -14,2 +14,3 @@ import Jvent from 'jvent';

class DriveIn extends Jvent {
constructor() {

@@ -513,21 +514,2 @@ this._listeners = [];

_prepareContainer() {
var containerH = getHeight();
if (document.body.offsetHeight < containerH) {
setStyles(document.body, {
height: 'auto'
});
if (containerH > document.body.offsetHeight) {
setStyles(document.body, {
height: '100%'
});
setStyles(document.documentElement, {
height: '100%'
});
}
}
}
init(options) {

@@ -539,4 +521,2 @@ options = options || {};

this._prepareContainer();
this.parentEl = this._setParent(options.el);

@@ -543,0 +523,0 @@ var mediaEl = this._createMediaEl();

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