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

commit-status

Package Overview
Dependencies
Maintainers
2
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 4.0.0 to 4.1.0

5

index.js

@@ -13,3 +13,4 @@ 'use strict'

description,
url
url,
rootURL = process.env.GITHUB_API || undefined
}) {

@@ -32,3 +33,3 @@ var validStates = ['pending', 'success', 'error', 'failure']

var Octokat = require('octokat')
var octo = new Octokat({ token: token })
var octo = new Octokat({ token: token, rootURL: rootURL })

@@ -35,0 +36,0 @@ return octo.repos(owner, repo).statuses(sha).create({

2

package.json
{
"name": "commit-status",
"version": "4.0.0",
"version": "4.1.0",
"description": "Simple command-line application to post commit status to GitHub (for use in CI)",

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

@@ -25,3 +25,10 @@ # commit-status

### Use with GitHub Enterprise
If you use GitHub Enterprise, then you can override the API endpoint by `GITHUB_API` environment variable.
```sh
env GITHUB_API=https://[hostname]/api/v3 commit-message ...
```
## CLI

@@ -28,0 +35,0 @@

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