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

bithound

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bithound - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

6

commands/check.js

@@ -39,5 +39,11 @@ var async = require('async');

sha = process.env.WERCKER_GIT_COMMIT;
} else if (process.env.APPVEYOR) {
branch = process.env.APPVEYOR_REPO_BRANCH;
sha = process.env.APPVEYOR_REPO_COMMIT;
} else if (process.env.bamboo_repository_git_branch) {
branch = process.env.bamboo_repository_git_branch;
sha = process.env.bamboo_repository_revision_number;
} else if (process.env.BITBUCKET_BRANCH) {
branch = process.env.BITBUCKET_BRANCH;
sha = process.env.BITBUCKET_COMMIT;
}

@@ -44,0 +50,0 @@

2

package.json
{
"name": "bithound",
"version": "1.2.0",
"version": "1.3.0",
"description": "Commands for interacting with bitHound: https://bithound.io",

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

@@ -30,3 +30,3 @@ var tap = require('tap');

exec('node bithound check git@github.com/provider/owner/repo.git --sha sha --branch branch', { env: env }, function (err, stdout, stderr) {
tap.equal(stderr, 'Repo not found.');
tap.equal(stderr, 'Repo or commit not found.');
tap.equal(err.code, 1);

@@ -114,3 +114,3 @@ server.close();

tap.ok(err);
tap.equal(stderr, 'Repo not found.');
tap.equal(stderr, 'Repo or commit not found.');
tap.equal(err.code, 1);

@@ -181,2 +181,13 @@ done();

},
appveyor: function (done) {
env.APPVEYOR = true;
env.APPVEYOR_REPO_COMMIT = 'thisisasha';
env.APPVEYOR_REPO_BRANCH = 'thisisabranch';
exec('node bithound check git@github.com/success/200.git', { env: env }, async.apply(noError, done));
},
bitbucket: function (done) {
env.BITBUCKET_COMMIT = 'thisisasha';
env.BITBUCKET_BRANCH = 'thisisabranch';
exec('node bithound check git@github.com/success/200.git', { env: env }, async.apply(noError, done));
},
wercker: function (done) {

@@ -188,4 +199,4 @@ env.WERCKER = true;

}
}, function () { server.close(); t.end(); });
}, function () { t.end(); server.close(); });
});
});
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