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

@hixme/modal

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hixme/modal - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

16

lib/modules/index.js

@@ -46,9 +46,3 @@ 'use strict';

return function (dispatch) {
var setStyle = {
position: 'fixed',
minWidth: '100%',
minHeight: '100%',
overflow: 'hidden'
};
document.body.style = setStyle;
document.body.style.overflow = 'hidden';
return dispatch({

@@ -63,9 +57,3 @@ type: SET_VIEW,

return function (dispatch) {
var clearStyle = {
position: 'unset',
minWidth: 'unset',
minHeight: 'unset',
overflow: 'unset'
};
document.body.style = clearStyle;
document.body.style.overflow = 'unset';
return dispatch({

@@ -72,0 +60,0 @@ type: CLEAR_MODAL

2

package.json
{
"name": "@hixme/modal",
"version": "2.1.1",
"version": "2.1.2",
"description": "Hixme Modal",

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

@@ -23,9 +23,3 @@ import { createReducer, namespaceActions } from '@hixme/redux-utils'

export const setView = view => (dispatch) => {
const setStyle = {
position: 'fixed',
minWidth: '100%',
minHeight: '100%',
overflow: 'hidden',
}
document.body.style = setStyle
document.body.style.overflow = 'hidden'
return dispatch({

@@ -38,9 +32,3 @@ type: SET_VIEW,

export const clearModal = () => (dispatch) => {
const clearStyle = {
position: 'unset',
minWidth: 'unset',
minHeight: 'unset',
overflow: 'unset',
}
document.body.style = clearStyle
document.body.style.overflow = 'unset'
return dispatch({

@@ -47,0 +35,0 @@ type: CLEAR_MODAL,

Sorry, the diff of this file is not supported yet

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