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.6 to 0.4.7

2

lib/kubectl.ts

@@ -246,3 +246,3 @@ const spawn = require('child_process').spawn

{
if( this.type !== 'replicationcontrollers' )
if( this.type !== 'replicationcontrollers' && this.type !== 'deployments' )
throw new Error('not a function')

@@ -249,0 +249,0 @@

{
"name": "k8s",
"version": "0.4.6",
"version": "0.4.7",
"author": "junjun16818",

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

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

# build
```
```
git clone https://github.com/Goyoo/node-k8s-client.git

@@ -11,0 +11,0 @@ npm install

@@ -22,2 +22,3 @@ const expect = require('chai').expect

})

@@ -34,16 +35,15 @@ describe('kubeapi ',function()

})
})
})
// it('test api GET by watch -> get rc list', function(done)
// {
// var res = kubeapi.watch('watch/namespaces/default/pods', function(data){
// console.log(data)
// var res = kubeapi.watch('watch/namespaces/default/pods', function(data)
// {
// console.log('watch pod log: ' + data.type)
// res.emit('close')
// }, function(err){
// console.log(err)
// })
// console.log('exit',err)
// }, 20000)
// setTimeout(function() {
// // res.emit('close')
// }, 2000)
// // done()
// })

@@ -94,3 +94,2 @@

})
})
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