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

k8s

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

k8s - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

20

lib/request.js

@@ -21,2 +21,6 @@ var request = require('request')

{
var _timeout = setTimeout(function(){
exit()
}, timeout + 1000)
request.get(this.domain + url, {timeout: timeout},function(e){ if( e ) console.log('******************',e)}).on('data', function(data)

@@ -26,8 +30,20 @@ {

try{ json = JSON.parse(data.toString())}
catch(e){ }
clearTimeout(_timeout)
_timeout = setTimeout(function(){
exit()
}, timeout + 1000)
try{
json = JSON.parse(data.toString())
}
catch(e){
}
if( json )
message(json)
}).on('error', function(err){
clearTimeout(_timeout)
exit && exit(err)

@@ -34,0 +50,0 @@ }))

2

package.json
{
"name": "k8s",
"version": "0.1.7",
"version": "0.1.8",
"description": "",

@@ -5,0 +5,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