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

client-request

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

client-request - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"name": "client-request",
"version": "1.2.1",
"version": "1.2.2",
"description": "A zero-dependency stripped-down http client request module based on the http://npm.im/request API",

@@ -5,0 +5,0 @@ "main": "request.js",

@@ -10,3 +10,3 @@ const request = require('./request')

reject(err)
} else if (response.statusCode !== 200) {
} else if (response.statusCode >= 400) {
err = new Error('Status code ' + response.statusCode)

@@ -13,0 +13,0 @@ err.response = response

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