New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

commit-status

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commit-status - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

4

commit-status.js
#!/usr/bin/env node
var token = process.env.GH_TOKEN;
var token = process.env.GH_STATUS_TOKEN || process.env.GH_TOKEN;
var sha = process.env.CIRCLE_SHA1 || process.env.TRAVIS_COMMIT;

@@ -12,3 +12,3 @@ var owner = process.env.CIRCLE_PROJECT_USERNAME || extractSlug(process.env.TRAVIS_REPO_SLUG, 0);

validate(
[token, 'GitHub token not configured (use GH_TOKEN env var)'],
[token, 'GitHub token not configured (use GH_STATUS_TOKEN env var)'],
[sha, 'Unable to detect current build’s SHA'],

@@ -15,0 +15,0 @@ [owner, 'Unable to detect repository owner'],

{
"name": "commit-status",
"version": "1.0.0",
"version": "2.0.0",
"description": "Simple command-line application to post commit status to GitHub (for use in CI)",

@@ -5,0 +5,0 @@ "main": "index.js",

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