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

probe

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

probe - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

test/unit/http/fail.js

13

lib/request.js

@@ -52,2 +52,3 @@ 'use strict'

this.hasReturned = true
return cb(err)

@@ -63,2 +64,3 @@ })

if (opts.followRedirects === 0) {
this.hasReturned = true
return cb(null)

@@ -75,2 +77,3 @@ }

// Hostname not included; get host from requested URL (url.parse()) and prepend to location.
this.hasReturned = true
return cb(err)

@@ -80,2 +83,3 @@ }

} else {
this.hasReturned = true
return cb(null)

@@ -86,2 +90,11 @@ }

this._req.on('error', (err) => {
if (this.hasReturned) {
return
}
this.hasReturned = true
return cb(err)
})
this.startTime = Date.now()

@@ -88,0 +101,0 @@ this._req.end()

2

package.json
{
"name": "probe",
"version": "2.0.0",
"version": "2.1.0",
"description": "Ping and probe stuff.",

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

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