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

react-awesome-modal

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-awesome-modal - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

lib/index.js

@@ -60,7 +60,7 @@ 'use strict';

value: function setSize(effect) {
if (this.props.width) {
if (this.props && this.props.width) {
_style2.default[effect].panel.width = this.props.width + 'px';
_style2.default[effect].panel.marginLeft = '-' + this.props.width / 2 + 'px';
}
if (this.props.height) {
if (this.props && this.props.height) {
_style2.default[effect].panel.height = this.props.height + 'px';

@@ -67,0 +67,0 @@ _style2.default[effect].panel.marginTop = '-' + this.props.height / 2 + 'px';

{
"name": "react-awesome-modal",
"version": "0.3.2",
"version": "0.3.3",
"description": "This is a React Modal Component.",

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

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