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 6.4.0 to 6.5.0

2

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

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

@@ -25,3 +25,3 @@ # react-native-modal

<img src="https://raw.githubusercontent.com/mmazzarolo/react-native-modal-datetime-picker/master/extras/datetimepicker-ios.gif" height="300" />
<img src="https://raw.githubusercontent.com/pistonsky/react-native-modal/master/extras/example-modal.gif" height="300" />
<img src="https://raw.githubusercontent.com/pistonsky/react-native-modal/master/.github/example-modal.gif" height="300" />
</p>

@@ -28,0 +28,0 @@

@@ -6,2 +6,3 @@ declare module "react-native-modal" {

type AnimationConfig = string | { from: Object; to: Object };
type Orientation = "portrait" | "portrait-upside-down" | "landscape" | "landscape-left" | "landscape-right";

@@ -33,3 +34,3 @@ export interface ModalProps {

scrollOffsetMax?: number;
supportedOrientations?: string[];
supportedOrientations?: Orientation[];
}

@@ -36,0 +37,0 @@

@@ -61,3 +61,11 @@ import React, { Component } from "react";

scrollOffsetMax: PropTypes.number,
supportedOrientations: PropTypes.arrayOf(PropTypes.oneOf(["portrait", "portrait-upside-down", "landscape", "landscape-left", "landscape-right"])),
supportedOrientations: PropTypes.arrayOf(
PropTypes.oneOf([
"portrait",
"portrait-upside-down",
"landscape",
"landscape-left",
"landscape-right"
])
)
};

@@ -64,0 +72,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