New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

request-micro

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

request-micro - npm Package Compare versions

Comparing version 1.4.2 to 1.5.0

10

index.js
module.exports = request
module.exports.raw = rawRequest
module.exports.isSuccessStatus = isSuccessStatus
module.exports.isErrorStatus = isErrorStatus

@@ -142,1 +144,9 @@ var url = require('url')

}
function isSuccessStatus (response) {
return response.statusCode.toString()[0] === '2'
}
function isErrorStatus (response) {
return !isSuccessStatus(response)
}

2

package.json
{
"name": "request-micro",
"description": "A tiny request library with no dependencies. Supports Http(s) and follows redirects",
"version": "1.4.2",
"version": "1.5.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Timothy Kye",

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