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

github

Package Overview
Dependencies
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github - npm Package Compare versions

Comparing version 9.3.0 to 9.3.1

examples/instantiateMultipleInstances.js

13

CHANGELOG.md
# 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

2

lib/index.js

@@ -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 @@

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