Comparing version 2.0.0 to 2.0.1
'use strict'; | ||
var got = require('got'); | ||
var objectAssign = require('object-assign'); | ||
var Promise = require('pinkie-promise'); | ||
function ghGot(path, opts) { | ||
if (!path) { | ||
throw new Error('path required'); | ||
if (typeof path !== 'string') { | ||
return Promise.reject(new TypeError('Path should be a string')); | ||
} | ||
@@ -9,0 +10,0 @@ |
{ | ||
"name": "gh-got", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Convenience wrapper for `got` to interact with the GitHub API", | ||
@@ -36,4 +36,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"got": "^4.1.1", | ||
"object-assign": "^4.0.1" | ||
"got": "^4.2.0", | ||
"object-assign": "^4.0.1", | ||
"pinkie-promise": "^1.0.0" | ||
}, | ||
@@ -40,0 +41,0 @@ "devDependencies": { |
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
4392
39
3
+ Addedpinkie-promise@^1.0.0
Updatedgot@^4.2.0