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

wreck

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wreck - npm Package Compare versions

Comparing version 5.6.1 to 6.0.0

4

lib/index.js

@@ -450,6 +450,2 @@

if (payload instanceof Buffer) {
payload = payload.toString();
}
return callback(err, res, payload);

@@ -456,0 +452,0 @@ });

2

package.json
{
"name": "wreck",
"description": "HTTP Client Utilities",
"version": "5.6.1",
"version": "6.0.0",
"repository": "git://github.com/hapijs/wreck",

@@ -6,0 +6,0 @@ "main": "lib/index",

@@ -48,2 +48,3 @@ // Load modules

expect(err).to.not.exist();
expect(Buffer.isBuffer(body)).to.equal(true);
expect(body.toString()).to.equal(internals.payload);

@@ -1385,3 +1386,3 @@ server.close();

expect(res.statusCode).to.equal(200);
expect(payload).to.equal('ok');
expect(payload.toString()).to.equal('ok');
server.close();

@@ -1407,3 +1408,3 @@ done();

expect(res.statusCode).to.equal(200);
expect(payload).to.equal('ok');
expect(payload.toString()).to.equal('ok');
server.close();

@@ -1429,3 +1430,3 @@ done();

expect(res.statusCode).to.equal(200);
expect(payload).to.equal('ok');
expect(payload.toString()).to.equal('ok');
server.close();

@@ -1451,3 +1452,3 @@ done();

expect(res.statusCode).to.equal(200);
expect(payload).to.equal('ok');
expect(payload.toString()).to.equal('ok');
server.close();

@@ -1764,3 +1765,3 @@ done();

expect(res.statusCode).to.equal(200);
expect(payload).to.equal('ok');
expect(payload.toString()).to.equal('ok');
server.close();

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