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

knox

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knox - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

lib/auth.js

@@ -144,2 +144,4 @@ "use strict";

options.date + '\n' +
(typeof options.extraHeaders !== 'undefined' ?
exports.canonicalizeHeaders(options.extraHeaders) + '\n' : '') +
(typeof options.token !== 'undefined' ?

@@ -146,0 +148,0 @@ 'x-amz-security-token:' + options.token + '\n' : '') +

9

lib/client.js

@@ -155,5 +155,3 @@ "use strict";

sourceFilename = encodeSpecialCharacters(ensureLeadingSlash(sourceFilename));
headers = utils.merge({
Expect: '100-continue'
}, headers || {});
headers = utils.merge({}, headers || {});
headers['x-amz-copy-source'] = '/' + sourceBucket + sourceFilename;

@@ -328,5 +326,3 @@ headers['Content-Length'] = 0; // to avoid Node's automatic chunking if omitted

Client.prototype.put = function(filename, headers){
headers = utils.merge({
Expect: '100-continue'
}, headers || {});
headers = utils.merge({}, headers || {});
return this.request('PUT', filename, headers);

@@ -875,2 +871,3 @@ };

, contentType: options && options.contentType
, extraHeaders : options && options.extraHeaders
, token: this.token

@@ -877,0 +874,0 @@ });

@@ -9,3 +9,3 @@ {

],
"version": "0.9.0",
"version": "0.9.1",
"author": "TJ Holowaychuk <tj@learnboost.com>",

@@ -12,0 +12,0 @@ "contributors": [

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