Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

skipper

Package Overview
Dependencies
Maintainers
5
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skipper - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

3

lib/private/Upstream/build-renamer-stream.js

@@ -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

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