Comparing version 0.8.4 to 0.8.5
@@ -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 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44039