Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.3.0 to 6.4.0

2

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

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

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

swipeDirection?: "up" | "down" | "left" | "right";
scrollTo?: () => void;
scrollTo?: (e: any) => void;
scrollOffset?: number;
scrollOffsetMax?: number;
supportedOrientations?: "portrait" | "portrait-upside-down" | "landscape" | "landscape-left" | "landscape-right";
supportedOrientations?: string[];
}

@@ -35,0 +35,0 @@

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

scrollOffsetMax: PropTypes.number,
supportedOrientations: 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"])),
};

@@ -86,3 +86,3 @@

scrollOffsetMax: 0,
supportedOrientations: ['portrait', 'landscape']
supportedOrientations: ["portrait", "landscape"]
};

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