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

ping

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

ping - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

.npmignore

12

lib/ping-sys.js

@@ -37,4 +37,12 @@ /**

/*ls.stdout.on('data', function (data) {
//sys.print('stdout: ' + data);
ls.stdout.on('data', function (data) {
// workaround for windows machines
// if host is unreachable ping will return
// a successfull error code
// so we ned to handle this ourself
var s = String(data);
if (s.indexOf("unreachable") != -1) {
cb && cb(false);
cb = undefined;
}
});

@@ -41,0 +49,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"description": "a simple wrapper for ping",
"version": "0.1.4",
"version": "0.1.5",
"homepage": "http://github.com/danielzzz/node-ping",

@@ -8,0 +8,0 @@ "repository": {

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