react-native-pdf
Advanced tools
Comparing version 6.7.1 to 6.7.2
@@ -30,3 +30,3 @@ /** | ||
interface Props { | ||
interface PdfProps { | ||
style?: ReactNative.StyleProp<ReactNative.ViewStyle>, | ||
@@ -60,3 +60,3 @@ source: Source | number, | ||
declare class Pdf extends React.Component<Props, any> { | ||
declare class Pdf extends React.Component<PdfProps, any> { | ||
setPage: (pageNumber: number) => void; | ||
@@ -63,0 +63,0 @@ } |
@@ -17,3 +17,4 @@ /** | ||
Image, | ||
Text | ||
Text, | ||
requireNativeComponent | ||
} from 'react-native'; | ||
@@ -20,0 +21,0 @@ import PdfViewNativeComponent, { |
{ | ||
"name": "react-native-pdf", | ||
"version": "6.7.1", | ||
"version": "6.7.2", | ||
"summary": "A react native PDF view component", | ||
@@ -31,3 +31,3 @@ "description": "A react native PDF view component, support ios and android platform", | ||
"dependencies": { | ||
"crypto-js": "^3.2.0", | ||
"crypto-js": "4.2.0", | ||
"deprecated-react-native-prop-types": "^2.3.0" | ||
@@ -34,0 +34,0 @@ }, |
@@ -11,3 +11,3 @@ /** | ||
import React, {Component} from 'react'; | ||
import {ScrollView, FlatList, View, StyleSheet} from 'react-native'; | ||
import {ScrollView, View, StyleSheet} from 'react-native'; | ||
import {ViewPropTypes} from 'deprecated-react-native-prop-types'; | ||
@@ -417,2 +417,2 @@ import PropTypes from 'prop-types'; | ||
} | ||
}); | ||
}); |
@@ -10,3 +10,2 @@ /** | ||
'use strict'; | ||
import React, {Component} from 'react'; | ||
import { | ||
@@ -32,2 +31,2 @@ FlatList, | ||
} | ||
} |
@@ -172,2 +172,7 @@ # react-native-pdf | ||
v6.7.2 | ||
1. Fixed: fix iOS double tap zoom scrolling | ||
2. Fixed: fix RN 73 compatibility | ||
3. Fixed: bump crypto-js to avoid critical vulnerability | ||
v6.7.1 | ||
@@ -174,0 +179,0 @@ 1. Fixed: fix ios project setting |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
215312
1794
367
+ Addedcrypto-js@4.2.0(transitive)
- Removedcrypto-js@3.3.0(transitive)
Updatedcrypto-js@4.2.0