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

github-build

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-build - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

10

index.js

@@ -10,8 +10,8 @@ const axios = require('axios')

start () {return update(this.meta, 'pending')}
pass () {return update(this.meta, 'success')}
fail () {return update(this.meta, 'failure')}
error () {return update(this.meta, 'error')}
pass (message) {return update(this.meta, message, 'success')}
fail (message) {return update(this.meta, message, 'failure')}
error (message) {return update(this.meta, message, 'error')}
}
const update = (build, status) => new Promise((resolve, reject) => {
const update = (build, message, status) => new Promise((resolve, reject) => {
axios({

@@ -24,3 +24,3 @@ method: 'POST',

target_url: build.url,
description: build.description,
description: message || build.description,
context: build.context

@@ -27,0 +27,0 @@ },

{
"name": "github-build",
"version": "1.0.2",
"version": "1.1.0",
"description": "Github builds/checks for CI",
"main": "index.js",
"keywords": ["github", "build", "checks", "ci"],
"keywords": [
"github",
"build",
"checks",
"ci"
],
"homepage": "https://github.com/siddharthkp/github-build",

@@ -17,3 +22,5 @@ "repository": {

},
"files": ["index.js"]
"files": [
"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