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.4 to 0.8.5

2

lib/client.js

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

var US_STANDARD_BUCKET = /^[A-Za-z0-9\._-]*$/;
var BUCKET_LABEL = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
var BUCKET_LABEL = /^(?:[a-z0-9][a-z0-9-]*[a-z0-9]|[a-z0-9])$/;
var IPV4_ADDRESS = /^(\d{1,3}\.){3}(\d{1,3})$/;

@@ -38,0 +38,0 @@

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

],
"version": "0.8.4",
"version": "0.8.5",
"author": "TJ Holowaychuk <tj@learnboost.com>",

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

@@ -65,3 +65,3 @@ # knox

client.putFile('my.json', '/user.json', function(err, res){
// Logic
// Always either do something with `res` or at least call `res.resume()`.
});

@@ -79,3 +79,3 @@ ```

client.putStream(res, '/doodle.png', headers, function(err, res){
// Logic
// check `err`, then do `res.pipe(..)` or `res.resume()` or whatever.
});

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

req.on('response', function(res){
// Logic
// ...
});

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

client.putBuffer(buffer, '/string.txt', headers, function(err, res){
// Logic
// ...
});

@@ -146,3 +146,3 @@ ```

client.getFile('/test/Readme.md', function(err, res){
// Logic
// check `err`, then do `res.pipe(..)` or `res.resume()` or whatever.
});

@@ -167,3 +167,3 @@ ```

client.deleteFile('/test/Readme.md', function(err, res){
// Logic
// check `err`, then do `res.pipe(..)` or `res.resume()` or whatever.
});

@@ -170,0 +170,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