Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@intuit/judo

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intuit/judo - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# v0.2.0 (Wed Oct 02 2019)
#### 🚀 Enhancement
- 5 - Adding error handler for invalid YAML [#32](https://github.com/intuit/judo/pull/32) (evanjfrancis@gmail.com)
#### 🐛 Bug Fix
- Bump mixin-deep from 1.3.1 to 1.3.2 [#24](https://github.com/intuit/judo/pull/24) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@ejfrancis](https://github.com/ejfrancis))
---
# v0.1.1 (Tue Oct 01 2019)

@@ -2,0 +14,0 @@

17

dist/judo.js

@@ -109,6 +109,15 @@ #!/usr/bin/env node

const fileContents = _fs.default.readFileSync(yamlFilePath);
const yamlFile = _jsYaml.default.safeLoad(fileContents, 'utf8');
// logger.info('Running step file: ' + yamlFilePath);
const runSteps = yamlFile.run;
const runStepNames = Object.keys(runSteps);
let runSteps = {};
// first step for every file is gonna be parse itself
let runStepNames = [];
try {
const yamlFile = _jsYaml.default.safeLoad(fileContents, 'utf8');
// logger.info('Running step file: ' + yamlFilePath);
runSteps = yamlFile.run;
runStepNames = Object.keys(runSteps);
} catch (e) {
_logger.logger.error(`YAML PARSER FAILED on file ${yamlFilePath}: ${e.message}`);
process.exit(1);
}
const numTotal = runStepNames.length;

@@ -115,0 +124,0 @@ const thisStepFileResults = [];

{
"name": "@intuit/judo",
"version": "0.1.1",
"version": "0.2.0",
"description": "Test command line interfaces.",

@@ -5,0 +5,0 @@ "author": {

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