Comparing version 5.2.1 to 5.2.2
# 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 @@ |
@@ -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
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
1424391
40668