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

react-native-cached-image

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-cached-image - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

CachedImage.js

@@ -107,3 +107,3 @@ 'use strict';

if (ImageCacheProvider.isCacheable(url)) {
const options = _.pick(this.props, ['useQueryParamsInCacheKey']);
const options = _.pick(this.props, ['useQueryParamsInCacheKey', 'cacheGroup']);
// try to get the image path from cache

@@ -110,0 +110,0 @@ ImageCacheProvider.getCachedImagePath(url, options)

@@ -97,3 +97,7 @@ 'use strict';

.then(res => {
resolve(toFile);
if (Math.floor(res.statusCode / 100) == 2) {
resolve(toFile);
} else {
return Promise.reject('Failed to successfully download image')
}
})

@@ -100,0 +104,0 @@ .catch(err => {

{
"name": "react-native-cached-image",
"version": "1.2.1",
"version": "1.2.2",
"description": "CachedImage component for react-native",

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

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