Socket
Socket
Sign inDemoInstall

react-native-modal

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-modal - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

10

package.json
{
"name": "react-native-modal",
"version": "3.0.2",
"version": "3.1.0",
"description": "An enhanced React-Native modal",

@@ -38,7 +38,7 @@ "main": "src/index.js",

"babel-eslint": "^7.2.3",
"eslint": "^3.5.0",
"eslint": "4.5.0",
"eslint-plugin-react-app": "^1.0.2",
"husky": "0.13.3",
"lint-staged": "3.4.1",
"prettier": "^1.3.1",
"husky": "0.14.3",
"lint-staged": "4.0.4",
"prettier": "1.6.1",
"react": ">=15.0.0",

@@ -45,0 +45,0 @@ "react-native": ">=0.24.0"

@@ -18,4 +18,2 @@ declare module 'react-native-modal' {

onModalHide?: () => void
hideOnBack?: boolean
hideOnBackdropPress?: boolean
onBackButtonPress?: () => void

@@ -26,5 +24,5 @@ onBackdropPress?: () => void

declare class Modal extends Component<ModalProps> {}
class Modal extends Component<ModalProps> {}
export default Modal
}

@@ -77,2 +77,6 @@ import React, { Component } from 'react';

componentWillUnmount() {
DeviceEventEmitter.removeListener('didUpdateDimensions', this._handleDimensionsUpdate);
}
componentDidUpdate(prevProps, prevState) {

@@ -79,0 +83,0 @@ // On modal open request, we slide the view up and fade in the backdrop

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