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

github

Package Overview
Dependencies
Maintainers
2
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 5.2.1 to 5.2.2

6

CHANGELOG.md
# CHANGELOG
## 5.2.2
Bug fixes:
* Replace ES6 code so the library runs for versions of node < v4.
* Make `team_id` required for update ldap endpoints.
## 5.2.1

@@ -4,0 +10,0 @@

17

lib/index.js

@@ -92,13 +92,12 @@ "use strict";

(() => {
let mediaHash = this.routes.defines.acceptTree;
let mediaTypes = {};
// store mapping of accept header to preview api endpoints
var mediaHash = this.routes.defines.acceptTree;
var mediaTypes = {};
for(let accept in mediaHash) {
for(let route in mediaHash[accept])
mediaTypes[mediaHash[accept][route]] = accept;
}
for (var accept in mediaHash) {
for (var route in mediaHash[accept])
mediaTypes[mediaHash[accept][route]] = accept;
}
this.acceptUrls = mediaTypes;
})();
this.acceptUrls = mediaTypes;

@@ -105,0 +104,0 @@ this.setupRoutes();

{
"name": "github",
"version": "5.2.1",
"version": "5.2.2",
"description": "NodeJS wrapper for the GitHub API",

@@ -50,3 +50,3 @@ "author": "Mike de Boer <info@mikedeboer.nl>",

"name": "node-github",
"version": "5.2.1",
"version": "5.2.2",
"template": {

@@ -53,0 +53,0 @@ "withCompare": true

@@ -5,3 +5,3 @@ **NOTE: The `node-github` npm package is deprecated. You want the `github` npm package (see Installation).**

[![npm](https://img.shields.io/npm/v/github.svg?maxAge=2592000)](https://www.npmjs.com/package/github)
[![npm](https://img.shields.io/npm/v/github.svg)](https://www.npmjs.com/package/github)
<span class="badge-gratipay"><a href="https://gratipay.com/node-github/"><img src="https://img.shields.io/badge/gratipay-donate-yellow.svg" alt="Gratipay donate button" /></a></span>

@@ -8,0 +8,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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