github
github copied to clipboard
A higher-level wrapper around the Github API. Intended for the browser.
npm audit gives ``` found 46 vulnerabilities (21 low, 19 moderate, 5 high, 1 critical) in 6373 scanned packages 39 vulnerabilities require semver-major dependency updates. 7 vulnerabilities require manual review....
The commit message for file deletion is hardcoded, we would like to allow the same api as `writeFile` The new signature should be: `function deleteFile(branch, path, message, options, cb)` instead...
Uncaught (in promise) TypeError: Cannot read property 'data' of undefined Requestable.js:238
``` (node:1653) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined at MY_PROJECT/node_modules/github-api/dist/components/Requestable.js:238:29 at at process._tickCallback (internal/process/next_tick.js:182:7) (node:1653) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an...
The documentation is a bit confusing, how do I list the branches of my repository? I tried the way below and could not:  **ps:**...
The file changes are overwritten when repository.writeFile is called to save the file which has been updated by the others.
I shall be carried out in accordance with the steps to create the warehouse, but there were 404, here is my code ```javascript var g = new GitHub({ username:'****@163.com', password:...
http://github-tools.github.io/github/docs/3.1.0/Organization.js.html#line67 expected behavior is requestAllPages
Steps to reproduce: 1. Find a commit with more than 30 statuses 2. Write a script which instantiates a repo object and calls `repo.listStatuses(sha)`, where `sha` is the commit from...
Hi, I'm trying to access the label description using the v3 API. I am able to get all labels but I don't see the description property in the response data...