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

ac-backblaze-uploader

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-backblaze-uploader - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

12

CHANGELOG.md

@@ -0,1 +1,13 @@

<a name="1.1.2"></a>
## [1.1.2](https://github.com/mmpro/ac-backblaze-uploader/compare/v1.1.1...v1.1.2) (2019-09-23 14:46)
### Bug Fixes
* **Uploader:** Allow optional (different) headUrl | MP ([6802f96](https://github.com/mmpro/ac-backblaze-uploader/commit/6802f96))
If you use signed urls (e.g. AWS S3) then the signed URL contains the HTTP verb, therefore you must
use different URLs for HEAD and GET
<a name="1.1.1"></a>

@@ -2,0 +14,0 @@ ## [1.1.1](https://github.com/mmpro/ac-backblaze-uploader/compare/v1.1.0...v1.1.1) (2019-09-21 16:27)

3

index.js

@@ -21,2 +21,3 @@ const _ = require('lodash')

const url = _.get(params, 'url')
const headUrl = _.get(params, 'headUrl', url)
const fileName = _.get(params, 'fileName')

@@ -43,3 +44,3 @@ const expectedFileSize = _.get(params, 'expectedFileSize')

headObject: (done) => {
axios.head(url)
axios.head(headUrl)
.then(response => {

@@ -46,0 +47,0 @@ contentLength = _.get(response, 'headers.content-length')

@@ -6,3 +6,3 @@ {

"repository": "mmpro/ac-backblaze-uploader",
"version": "1.1.1",
"version": "1.1.2",
"dependencies": {

@@ -9,0 +9,0 @@ "async": "^3.1.0",

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