Socket
Socket
Sign inDemoInstall

react-native-image-picker

Package Overview
Dependencies
514
Maintainers
7
Versions
212
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.3.1 to 5.4.0

1

lib/typescript/types.d.ts

@@ -12,2 +12,3 @@ export declare type Callback = (response: ImagePickerResponse) => any;

presentationStyle?: 'currentContext' | 'fullScreen' | 'pageSheet' | 'formSheet' | 'popover' | 'overFullScreen' | 'overCurrentContext';
assetRepresentationMode?: 'auto' | 'current' | 'compatible';
}

@@ -14,0 +15,0 @@ export interface ImageLibraryOptions extends OptionsCommon {

2

package.json
{
"name": "react-native-image-picker",
"version": "5.3.1",
"version": "5.4.0",
"description": "A React Native module that allows you to use native UI to select media from the device library or directly from the camera",

@@ -5,0 +5,0 @@ "react-native": "src/index.ts",

@@ -108,2 +108,4 @@ # react-native-image-picker 🎆

| formatAsMp4 | OK | NO | NO | Converts the selected video to MP4. iOS Only. |
| assetRepresentationMode | OK | NO | NO | A mode that determines which representation to use if an asset contains more than one. Possible values: 'auto', 'current', 'compatible'. Default is 'auto' |
|

@@ -110,0 +112,0 @@ ## The Response Object

@@ -23,2 +23,3 @@ import {NativeModules} from 'react-native';

presentationStyle: 'pageSheet',
assetRepresentationMode: 'auto',
};

@@ -25,0 +26,0 @@

@@ -19,3 +19,7 @@ export type Callback = (response: ImagePickerResponse) => any;

| 'overFullScreen'
| 'overCurrentContext';
| 'overCurrentContext'
assetRepresentationMode?:
| 'auto'
| 'current'
| 'compatible';
}

@@ -22,0 +26,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc