react-native-img-cache
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -13,3 +13,6 @@ import React, { Component } from "react"; | ||
getPath(uri, immutable) { | ||
const ext = uri.substring(uri.lastIndexOf(".")); | ||
const ext = uri.indexOf("?") === -1 ? | ||
uri.substring(uri.lastIndexOf(".")) | ||
: | ||
uri.substring(uri.lastIndexOf("."), uri.indexOf("?")); | ||
if (immutable === true) { | ||
@@ -16,0 +19,0 @@ return dirs.CacheDir + "/" + SHA1(uri) + ext; |
{ | ||
"name": "react-native-img-cache", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "CachedImage component for React native", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
26558
176