Socket
Socket
Sign inDemoInstall

testarmada-magellan

Package Overview
Dependencies
Maintainers
13
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testarmada-magellan - npm Package Compare versions

Comparing version 11.0.13 to 11.0.14

2

package.json
{
"name": "testarmada-magellan",
"version": "11.0.13",
"version": "11.0.14",
"description": "Massively parallel automated testing",

@@ -5,0 +5,0 @@ "main": "src/main",

@@ -36,3 +36,4 @@ "use strict";

"Test Suite",
"✖"
"✖",
"✔"
];

@@ -62,2 +63,20 @@

if (text.length > 0 && self.isTextWhiteListed(text)) {
if (!process.env.DEBUG && text.includes("✔")) {
// for successful chunks we really only want to keep specific lines
const lines = text.split("\n");
const buff = [];
const startsWithTerms = ["Running:", " ✔", "OK."];
const maxLineLength = 512;
const processLine = (line) => {
for (const term of startsWithTerms) {
// line could have an ERROR or WARN tag that is whitelisted we want to keep
if (self.isTextWhiteListed(line) || line.startsWith(term)) {
// limit the length of each line, goal here is to "limit" verbosity
buff.push(line.substring(0, maxLineLength));
}
}
};
lines.forEach(line => processLine(line));
text = buff.join("\n");
}
text = text

@@ -79,2 +98,3 @@ .split("\n")

this.emitter.stderr = handler.stderr;
this.emitter.infoSlicer = infoSlicer;

@@ -81,0 +101,0 @@ // pipe the stdout stream into the slicer and then into the filter

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