Comparing version 9.3.0 to 9.3.1
# CHANGELOG | ||
## 9.3.1 | ||
Bug fixes: | ||
* Fix instantiating multiple instances throwing an error. | ||
* Add missing config options to README. | ||
## 9.3.0 | ||
@@ -22,2 +28,6 @@ | ||
* Add revoke grant endpoint. | ||
* Require routes.json. | ||
* Add family option. | ||
* Add proxy param in options interface. | ||
* Add the required field "enforce_admins". | ||
* Pull Request Reviews API now official. | ||
@@ -32,2 +42,5 @@ * Repository invitation api now official. | ||
* Updated api urls for convert/remove collaborator. | ||
* Change content_id type to Number on createProjectCard. | ||
* Remove node-github deprecation warning. | ||
* Update api urls for convert/remove collaborator. | ||
@@ -34,0 +47,0 @@ ## 9.2.0 |
@@ -85,3 +85,3 @@ "use strict"; | ||
this.routes = require("./routes.json"); | ||
this.routes = JSON.parse(fs.readFileSync(__dirname + "/routes.json", "utf8")); | ||
@@ -88,0 +88,0 @@ var pathPrefix = ""; |
{ | ||
"name": "github", | ||
"version": "9.3.0", | ||
"version": "9.3.1", | ||
"description": "NodeJS wrapper for the GitHub API", | ||
@@ -53,3 +53,3 @@ "author": "Mike de Boer <info@mikedeboer.nl>", | ||
"name": "node-github", | ||
"version": "9.3.0", | ||
"version": "9.3.1", | ||
"template": { | ||
@@ -56,0 +56,0 @@ "withCompare": true |
@@ -40,12 +40,19 @@ # Node-github | ||
debug: true, | ||
protocol: "https", | ||
Promise: require('bluebird'), | ||
timeout: 5000, | ||
host: "github.my-GHE-enabled-company.com", // should be api.github.com for GitHub | ||
pathPrefix: "/api/v3", // for some GHEs; none for GitHub | ||
protocol: "https", | ||
port: 9898, | ||
proxy: "<proxyUrl>", | ||
ca: "whatever", | ||
headers: { | ||
"user-agent": "My-Cool-GitHub-App" // GitHub is happy with a unique user agent | ||
"accept": "application/vnd.github.something-custom", | ||
"cookie": "something custom", | ||
"user-agent": "something custom" | ||
}, | ||
Promise: require('bluebird'), | ||
family: 6, | ||
followRedirects: false, // default: true; there's currently an issue with non-get redirects, so allow ability to disable follow-redirects | ||
timeout: 5000 | ||
requestMedia: "application/vnd.github.something-custom", | ||
followRedirects: false, // default: true; there's currently an issue with non-get redirects, so allow disabling follow-redirects | ||
rejectUnauthorized: false, // default: true | ||
family: 6 | ||
}); | ||
@@ -52,0 +59,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1920887
80
51903
239