react-native-image-zoom-viewer
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -89,2 +89,5 @@ "use strict"; | ||
let imageLoaded = false; | ||
if (image.url.startsWith(`file:`)) { | ||
imageLoaded = true; | ||
} | ||
if (react_native_1.Platform.OS !== 'web') { | ||
@@ -91,0 +94,0 @@ const prefetchImagePromise = react_native_1.Image.prefetch(image.url); |
{ | ||
"name": "react-native-image-zoom-viewer", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "大图浏览", | ||
"main": "built/index.js", | ||
"typings": "index.ts", | ||
"scripts": { | ||
"tsc": "tsc", | ||
"prepublish": "rm -rf built && tsc" | ||
}, | ||
"repository": { | ||
@@ -18,3 +22,3 @@ "type": "git", | ||
"nt-transmit-transparently": "^1.0.7", | ||
"react-native-image-pan-zoom": "^1.1.12" | ||
"react-native-image-pan-zoom": "^2.0.0" | ||
}, | ||
@@ -24,3 +28,8 @@ "peerDependencies": { | ||
"react-native": "*" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^15.0.23", | ||
"@types/react-native": "^0.43.9", | ||
"typescript": "^2.3.2" | ||
} | ||
} |
@@ -72,4 +72,11 @@ ## Show Cases | ||
### How to build | ||
```bash | ||
yarn | ||
npm run tsc | ||
``` | ||
### Dependence | ||
Depend on `react-native-image-pan-zoom`: https://github.com/ascoders/react-native-image-zoom |
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
22
1455
82
75653
3
1
+ Addedelectron-to-chromium@1.5.102(transitive)
+ Addedfast-xml-parser@4.5.2(transitive)
+ Addedreact-native-image-pan-zoom@2.1.12(transitive)
+ Addedstacktrace-parser@0.1.11(transitive)
- Removedelectron-to-chromium@1.5.101(transitive)
- Removedfast-xml-parser@4.5.1(transitive)
- Removedreact-native-image-pan-zoom@1.1.12(transitive)
- Removedstacktrace-parser@0.1.10(transitive)