New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4.2 to 0.4.3

3

lib/request.ts

@@ -175,4 +175,3 @@ const request = require('request')

var jsonStr = ''
res = request.get(this.getRequestOptions(url), { timeout: timeout },function(e){ }).on('data', function(data)
res = request.get(this.getRequestOptions(url, { timeout: timeout }),function(e){ }).on('data', function(data)
{

@@ -179,0 +178,0 @@ jsonStr += data.toString()

{
"name": "k8s",
"version": "0.4.2",
"version": "0.4.3",
"author": "junjun16818",

@@ -5,0 +5,0 @@ "description": "Node.js client library for Google's Kubernetes Kubectl And API",

@@ -170,3 +170,3 @@ # Nodejs Kubernetes client

```js
kubeapi.watch('watch/namespaces/default/pods', function(data){
var res = kubeapi.watch('watch/namespaces/default/pods', function(data){
// message

@@ -173,0 +173,0 @@ }, function(err){

@@ -34,15 +34,14 @@ const expect = require('chai').expect

// {
// var res = kubeapi.watch('watch/namespaces/default/pods', function(data){
// // console.log(111,data, res)
// // done(err)
// }, function(err){
// console.log(err)
// })
// setTimeout(function() {
// res.emit('close')
// }, 2000)
// var res = kubeapi.watch('watch/namespaces/default/pods', function(data){
// }, function(err){
// console.log(err)
// })
// setTimeout(function() {
// res.emit('close')
// }, 2000)
// // done()
// })
it('test api POST -> create rc', function(done){

@@ -49,0 +48,0 @@ var rc = require('./rc/nginx-rc.json')

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