Socket
Socket
Sign inDemoInstall

rn-fetch-blob

Package Overview
Dependencies
13
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.0 to 0.13.0-beta-1

android/.project

4

index.js

@@ -24,3 +24,3 @@ // Copyright 2016 wkh237@github. All rights reserved.

import polyfill from './polyfill'
import _ from 'lodash'
import reduce from 'lodash/reduce'
import android from './android'

@@ -228,3 +228,3 @@ import ios from './ios'

// pass to native context
headers = _.reduce(headers, (result, value, key) => {
headers = reduce(headers, (result, value, key) => {
result[key] = value || ''

@@ -231,0 +231,0 @@ return result

{
"name": "rn-fetch-blob",
"version": "0.12.0",
"version": "0.13.0-beta-1",
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",

@@ -11,3 +11,4 @@ "main": "index.js",

"base-64": "0.1.0",
"glob": "7.0.6"
"glob": "7.0.6",
"lodash": "4.17.15"
},

@@ -14,0 +15,0 @@ "keywords": [

@@ -5,3 +5,3 @@ // Copyright 2016 wkh237@github. All rights reserved.

import RNFetchBlob from '../index.js'
import {NativeModules} from 'react-native';
import fs from '../fs.js'

@@ -12,2 +12,3 @@ import getUUID from '../utils/uuid'

const RNFetchBlob = NativeModules.RNFetchBlob
const log = new Log('Blob')

@@ -14,0 +15,0 @@ const blobCacheDir = fs.dirs.DocumentDir + '/RNFetchBlob-blobs/'

@@ -1,2 +0,2 @@

import RNFetchBlob from '../index.js'
import {NativeModules} from 'react-native';
import Log from '../utils/log.js'

@@ -7,2 +7,3 @@ import fs from '../fs'

const RNFetchBlob = NativeModules.RNFetchBlob
const log = new Log('FetchPolyfill')

@@ -44,2 +45,3 @@

options.headers['Content-Type'] = 'multipart/form-data;boundary=' + b.multipartBoundary
options.headers['content-type'] = 'multipart/form-data;boundary=' + b.multipartBoundary
return Promise.resolve(RNFetchBlob.wrap(b._ref))

@@ -46,0 +48,0 @@ })

@@ -5,3 +5,3 @@ // Copyright 2016 wkh237@github. All rights reserved.

import RNFetchBlob from '../index.js'
import {NativeModules} from 'react-native';
import XMLHttpRequestEventTarget from './XMLHttpRequestEventTarget.js'

@@ -13,2 +13,3 @@ import Log from '../utils/log.js'

const RNFetchBlob = NativeModules.RNFetchBlob
const log = new Log('XMLHttpRequest')

@@ -15,0 +16,0 @@

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

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

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc