New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.5.3 to 0.5.4

2

lib/auth.js

@@ -136,3 +136,3 @@

exports.queryStringToSign = function(options){
return 'GET\n\n\n' +
return (options.verb || 'GET') + '\n\n\n' +
options.date + '\n' +

@@ -139,0 +139,0 @@ options.resource;

@@ -725,3 +725,3 @@ /*!

Client.prototype.signedUrl = function(filename, expiration, otherParams){
Client.prototype.signedUrl = function(filename, expiration, otherParams, verb){
var epoch = Math.floor(expiration.getTime()/1000)

@@ -732,3 +732,3 @@ , pathname = url.parse(filename).pathname

if (otherParams) {
resource += '?' + qs.stringify(otherParams);
resource += '?' + decodeURIComponent(qs.stringify(otherParams));
}

@@ -740,2 +740,3 @@

, resource: resource
, verb: verb || 'GET'
});

@@ -742,0 +743,0 @@

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

],
"version": "0.5.3",
"version": "0.5.4",
"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