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.8.6 to 0.8.7

0

lib/auth.js

@@ -0,0 +0,0 @@ "use strict";

11

lib/client.js

@@ -86,3 +86,3 @@ "use strict";

// some reason.
return filename.replace(/[!'()* ]/g, function (char) {
return encodeURI(filename).replace(/[!'()* ]/g, function (char) {
return '%' + char.charCodeAt(0).toString(16);

@@ -174,3 +174,3 @@ });

function getCopyHeaders(sourceBucket, sourceFilename, headers) {
sourceFilename = ensureLeadingSlash(sourceFilename);
sourceFilename = encodeSpecialCharacters(ensureLeadingSlash(sourceFilename));
headers = utils.merge({

@@ -687,3 +687,3 @@ Expect: '100-continue'

function makeDeleteXmlString(keys) {
function makeDeleteXmlBuffer(keys) {
var tags = keys.map(function(key){

@@ -694,3 +694,4 @@ return '<Object><Key>' +

});
return '<Delete>' + tags.join('') + '</Delete>';
return new Buffer('<?xml version="1.0" encoding="UTF-8"?>' +
'<Delete>' + tags.join('') + '</Delete>', 'utf8');
}

@@ -719,3 +720,3 @@

var xml = makeDeleteXmlString(filenames);
var xml = makeDeleteXmlBuffer(filenames);

@@ -722,0 +723,0 @@ headers['Content-Length'] = xml.length;

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

],
"version": "0.8.6",
"version": "0.8.7",
"author": "TJ Holowaychuk <tj@learnboost.com>",

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

@@ -0,0 +0,0 @@ # knox

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