Comparing version 0.9.0 to 0.9.1
@@ -10,5 +10,4 @@ /** | ||
var debug = require('debug')('skipper'); | ||
var UUIDGenerator = require('uuid/v4'); | ||
let UUIDGenerator = require('uuid').v4; | ||
/** | ||
@@ -15,0 +14,0 @@ * [exports description] |
{ | ||
"name": "skipper", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Bodyparser for Express/Sails. Exposes simple API for streaming multiple files to disk, S3, etc. without buffering to a .tmp directory.", | ||
@@ -45,3 +45,3 @@ "main": "lib/skipper.js", | ||
"string_decoder": "0.10.31", | ||
"uuid": "3.0.1" | ||
"uuid": "7.0.0" | ||
}, | ||
@@ -48,0 +48,0 @@ "devDependencies": { |
@@ -14,3 +14,3 @@ /** | ||
, async = require('async') | ||
, uuid = require('uuid/v4'); | ||
, uuid = require('uuid').v4; | ||
@@ -17,0 +17,0 @@ |
@@ -62,3 +62,3 @@ var Lifecycle = require('./helpers/lifecycle') | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -68,3 +68,3 @@ 'Content-Disposition: form-data; name="textfield";"\r\n', | ||
'\r\n', | ||
new Buffer([65,65,65,65,65]), | ||
Buffer.from([65,65,65,65,65]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -75,3 +75,3 @@ 'Content-Disposition: form-data; name="avatar"; filename="somefiletokeep.txt"\r\n', | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary--\r\n', | ||
@@ -186,3 +186,3 @@ // Note that we don't need to finish the body with the closing boundary because | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -192,3 +192,3 @@ 'Content-Disposition: form-data; name="textfield";"\r\n', | ||
'\r\n', | ||
new Buffer([65,65,65,65,65]), | ||
Buffer.from([65,65,65,65,65]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -199,3 +199,3 @@ 'Content-Disposition: form-data; name="avatar"; filename="somefiletokeep.txt"\r\n', | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary--\r\n', | ||
@@ -202,0 +202,0 @@ // Note that we don't need to finish the body with the closing boundary because |
@@ -59,3 +59,3 @@ var Lifecycle = require('./helpers/lifecycle') | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -65,3 +65,3 @@ 'Content-Disposition: form-data; name="textfield";"\r\n', | ||
'\r\n', | ||
new Buffer([65,65,65,65,65]), | ||
Buffer.from([65,65,65,65,65]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -72,3 +72,3 @@ 'Content-Disposition: form-data; name="avatar"; filename="somefiletokeep.txt"\r\n', | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary--\r\n', | ||
@@ -75,0 +75,0 @@ // Note that we don't need to finish the body with the closing boundary because |
@@ -63,3 +63,3 @@ var Lifecycle = require('./helpers/lifecycle') | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -69,3 +69,3 @@ 'Content-Disposition: form-data; name="textfield";"\r\n', | ||
'\r\n', | ||
new Buffer([65,65,65,65,65]), | ||
Buffer.from([65,65,65,65,65]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -76,4 +76,4 @@ 'Content-Disposition: form-data; name="foo"; filename="foo.txt"\r\n', | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary\r\n', | ||
@@ -84,4 +84,4 @@ 'Content-Disposition: form-data; name="avatar"; filename="avatar.txt"\r\n', | ||
'\r\n', | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
new Buffer([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
Buffer.from([ 115, 97, 105, 108, 115, 98, 111, 116, 52, 101, 118, 97 ]), | ||
'\r\n--myawesomemultipartboundary--\r\n' | ||
@@ -88,0 +88,0 @@ ]; |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
158714
7
+ Addeduuid@7.0.0(transitive)
- Removeduuid@3.0.1(transitive)
Updateduuid@7.0.0