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

bent

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bent - npm Package Compare versions

Comparing version 7.0.4 to 7.0.5

test/test-basics.js

6

package.json
{
"name": "bent",
"version": "7.0.4",
"version": "7.0.5",
"description": "Functional HTTP client for Node.js w/ async/await.",

@@ -9,4 +9,4 @@ "main": "src/nodejs.js",

"lint": "standard",
"test:node": "mocha tests/test-*.js",
"test:browser": "polendina --cleanup --service-worker --worker tests/test-*.js",
"test:node": "hundreds mocha test/test-*.js",
"test:browser": "polendina --cleanup --service-worker --worker test/test-*.js",
"test": "npm run lint && npm run test:node && npm run test:browser"

@@ -13,0 +13,0 @@ },

@@ -9,3 +9,6 @@ 'use strict'

Error.captureStackTrace(this, StatusError)
if (Error.captureStackTrace) {
Error.captureStackTrace(this, StatusError)
}
this.message = `Incorrect statusCode: ${res.status}`

@@ -12,0 +15,0 @@ this.statusCode = res.status

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