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

comforter-cli

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

comforter-cli - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

13

lib/index.js

@@ -47,2 +47,10 @@ #! /usr/bin/env node

if (argv['merge-base']) {
data.mergeBase = argv['merge-base'];
}
if (argv['target-branch']) {
data.targetBranch = argv['target-branch'];
}
var deferred = q.defer();

@@ -114,3 +122,4 @@

.on('fail', fail.bind(null, errors.badRequest));
});
})
.catch(fail.bind(null, errors.badRequest));

@@ -133,3 +142,3 @@ }

}
if (!params.project || !params.branch || !params.commit || !params.host || !params.apiKey) {
if (!params.project || !params.branch || !params.commit || !params.host || !params.apiKey || !params.name) {
fail(errors.missingRequiredParams);

@@ -136,0 +145,0 @@ }

4

package.json
{
"name": "comforter-cli",
"version": "0.4.3",
"version": "0.4.4",
"description": "cli tool for communicating with comforter instance",
"scripts": {
"test": "jshint --reporter=node_modules/jshint-stylish lib/*.js test/ && jscs lib/ test/ && lab -v"
"test": "jshint --reporter=node_modules/jshint-stylish lib/*.js test/ && jscs lib/ test/ && lab -v --leaks"
},

@@ -8,0 +8,0 @@ "bin": {

@@ -7,5 +7,5 @@ ## Comforter CLI tool

`npm install -g comforter-cli`
`comforter-cli (--path <path-to-lcov-info-file> OR --totalLines <lines> --totalCovered <lines>) --name <project-name> --branch <branch-name> --project <project-id> --commit <sha> --apiKey <key> [--zip <path-to-html-coverage>]`
`comforter-cli (--path <path-to-lcov-info-file> OR --totalLines <lines> --totalCovered <lines>) --name <project-name> --branch <branch-name> --project <project-id> --commit <sha> [--merge-base <sha>] [--target-branch <branch name>] --apiKey <key> [--zip <path-to-html-coverage>]`
* [x] Accept path to generated coverage html and zip and send to Comforter
* [ ] Use `npm cli` to avoid running tests in exec, allowing coverage and better testing (see [jshint](https://github.com/jshint/jshint) repo for examples)

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