Socket
Socket
Sign inDemoInstall

gh-got

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-got - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

index.js
'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 @@

7

package.json
{
"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": {

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