New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-fetch-blob

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-fetch-blob - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

2

package.json
{
"name": "react-native-fetch-blob",
"version": "0.7.3",
"version": "0.7.4",
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",

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

@@ -621,2 +621,3 @@ # react-native-fetch-blob [![release](https://img.shields.io/github/release/wkh237/react-native-fetch-blob.svg?maxAge=86400&style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) [![npm](https://img.shields.io/npm/v/react-native-fetch-blob.svg?style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) ![](https://img.shields.io/badge/PR-Welcome-brightgreen.svg?style=flat-square) [![npm](https://img.shields.io/npm/l/express.svg?maxAge=2592000&style=flat-square)]()

|---|---|
| 0.7.4 | Fix app crash problem in version > 0.27 |
| 0.7.3 | Fix OkHttp dependency issue in version < 0.29 |

@@ -623,0 +624,0 @@ | 0.7.2 | Fix cancel request bug |

@@ -15,2 +15,3 @@ var fs = require('fs');

var APPLICATION_MAIN = process.cwd() + '/android/app/src/main/java/com/' + APP_NAME.toLocaleLowerCase() + '/MainApplication.java';
var PACKAGE_GRADLE = process.cwd() + '/node_modules/react-native-fetch-blob/android/build.gradle'

@@ -32,2 +33,3 @@ var VERSION = checkVersion();

main = String(main).replace('import com.facebook.react.ReactApplication;', 'import com.facebook.react.ReactApplication;\nimport com.RNFetchBlob.RNFetchBlobPackage;')
fs.writeFileSync(APPLICATION_MAIN, main);

@@ -38,2 +40,6 @@ console.log('RNFetchBlob patching MainApplication.java .. ok')

if(VERSION < 0.27) {
console.log('You project version is '+ VERSION + 'which does not meet requirement of react-native-fetch-blob 7.0+, please upgrade your application template to react-native 0.27+, otherwise Android application will not working.')
}
// set file access permission for Android < 6.0

@@ -40,0 +46,0 @@ fs.readFile(MANIFEST_PATH, function(err, data) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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