marlin-conf
Advanced tools
Comparing version 2.5.3 to 2.5.5
@@ -39,3 +39,3 @@ var EventEmitter = require('events'); | ||
port.on('close', function(err){ | ||
console.log('[PORT] closes soccket') | ||
console.log('[PORT] closes socket') | ||
socket.disconnect(); | ||
@@ -42,0 +42,0 @@ }) |
@@ -22,10 +22,15 @@ var fs = require('fs'); | ||
}) | ||
var tty2html = require('tty2html'); | ||
var env = Object.create( process.env ); | ||
env.PLATFORMIO_FORCE_COLOR = true; | ||
var compile=(commands,res)=>{ | ||
var verbose=0; | ||
res.writeHead(200, { "Content-Type": "text/event-stream", "Cache-control": "no-cache" }); | ||
var cmd = spawn('platformio',commands);//{stdio: "inherit"}); | ||
// var cmd = spawn('ping', ['google.com','-c 10']); | ||
cmd.stdout.pipe(res); | ||
cmd.stderr.pipe(res); | ||
var cmd = spawn('platformio',commands, { env:env }); | ||
var mw=tty2html() | ||
mw.pipe(res); | ||
cmd.stdout.pipe(mw); | ||
cmd.stderr.pipe(mw); | ||
if(verbose){ | ||
@@ -32,0 +37,0 @@ cmd.stdout.on('data', (data) => { |
@@ -241,2 +241,3 @@ var express = require('express'); | ||
function main(){ | ||
serial_init(); | ||
hints.init(1); | ||
@@ -243,0 +244,0 @@ git.root() |
{ | ||
"name": "marlin-conf", | ||
"version": "2.5.3", | ||
"version": "2.5.5", | ||
"description": "configuration tool for Marlin project", | ||
@@ -30,2 +30,3 @@ "scripts": { | ||
"jquery": "^3.2.1", | ||
"jquery-ui-dist": "^1.12.1", | ||
"js-yaml": "^3.8.4", | ||
@@ -39,2 +40,3 @@ "marked": "^0.3.6", | ||
"tether": "^1.4.0", | ||
"tty2html": "^1.0.0", | ||
"which": "^1.2.14" | ||
@@ -41,0 +43,0 @@ }, |
@@ -37,4 +37,6 @@ # marlin-config | ||
then in browser you get interface for other features | ||
then in browser you get interface for other features: | ||
 | ||
In clean/unchanged configuration you can change current release version | ||
@@ -41,0 +43,0 @@ |
@@ -598,3 +598,3 @@ function _add(tmpl){ | ||
var r=$('#mct-pio-modal'); | ||
var p=r.find('textarea'); | ||
var p=r.find('.form-group pre'); | ||
var b=r.find('.modal-footer button'); | ||
@@ -601,0 +601,0 @@ var proc={} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
395509
185
2576
88
17
11
+ Addedjquery-ui-dist@^1.12.1
+ Addedtty2html@^1.0.0
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-style-parser@1.1.0(transitive)
+ Addedjquery-ui-dist@1.13.3(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtty2html@1.0.0(transitive)