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

kubebox

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kubebox - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

lib/ui/contrib/canvas.js

5

lib/kubebox.js

@@ -111,5 +111,4 @@ 'use strict';

return until(promise
// update the master URL based on federation information
// TODO: select the server whose client CIDR matches the client IP
.then(response => client.url = `${client.master_api.protocol}//${JSON.parse(response.body.toString('utf8')).serverAddressByClientCIDRs[0].serverAddress}`)
// We may want to update the master URL based on federation information
// by selecting the server whose client CIDR matches the client IP (serverAddressByClientCIDRs)
.then(() => login ? log(`{green-fg}Connected to {bold}${client.url}{/bold}{/green-fg}`) : '')

@@ -116,0 +115,0 @@ .then(() => get(client.get_apis()))

3

lib/ui/contrib/line.js
var blessed = require('blessed')
, contrib = require('blessed-contrib')
, Node = blessed.Node
, Canvas = contrib.canvas
, Canvas = require('./canvas')
, { arrayMax, getColorCode } = require('./utils')

@@ -6,0 +5,0 @@ , InnerCanvas = require('drawille-canvas-blessed-contrib').Canvas

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

"author": "Antonin Stefanutti",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",

@@ -15,5 +15,5 @@ "homepage": "https://github.com/astefanutti/kubebox",

"start": "node index.js",
"browserify": "browserify -r ./lib/kubebox.js:kubebox -r ./lib/http-then.js:http-then -r blessed -i pty.js -i map-canvas -i marked-terminal -i picture-tube -o docs/kubebox.js",
"browserify-debug": "browserify --debug -r ./lib/kubebox.js:kubebox -r ./lib/http-then.js:http-then -r blessed -i pty.js -i map-canvas -i marked-terminal -i picture-tube | exorcist docs/kubebox.js.map > docs/kubebox.js",
"bundle": "browserify index.js -o bundle.js -i pty.js -i map-canvas -i marked-terminal -i picture-tube --bare",
"browserify": "browserify -r ./lib/kubebox.js:kubebox -r ./lib/http-then.js:http-then -r blessed -i pty.js -o docs/kubebox.js",
"browserify-debug": "browserify --debug -r ./lib/kubebox.js:kubebox -r ./lib/http-then.js:http-then -r blessed -i pty.js | exorcist docs/kubebox.js.map > docs/kubebox.js",
"bundle": "browserify index.js -o bundle.js -i pty.js --bare",
"executable": "nexe package.json",

@@ -37,3 +37,2 @@ "server": "node ./docs/server.js"

"blessed": "~0.1.81",
"blessed-contrib": "~4.8.5",
"drawille-canvas-blessed-contrib": "^0.1.3",

@@ -58,6 +57,3 @@ "js-yaml": "~3.7.0",

"excludes": [
"pty.js",
"map-canvas",
"marked-terminal",
"picture-tube"
"pty.js"
],

@@ -64,0 +60,0 @@ "paths": []

Sorry, the diff of this file is not supported yet

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