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

getrepos

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getrepos - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

14

es2015/index.js

@@ -9,2 +9,3 @@ 'use strict';

var Feedr = require('feedr');
var typeChecker = require('typechecker');

@@ -71,3 +72,3 @@ var extendr = require('extendr');

/**
Forward the arguments onto the configured logger if it exists.
Construct our Getter Class
@param {Object} [opts]

@@ -98,3 +99,3 @@ @param {Function} [opts.log] - defaults to `null`, can be a function that receives the arguments: `logLevel`, `...args`

// Feedr
this.feedr = require('feedr').create(this.config);
this.feedr = Feedr.create(this.config);

@@ -271,3 +272,8 @@ // Chain

url: 'https://api.github.com/repos/' + repoFullName + '?client_id=' + this.config.githubClientId + '&client_secret=' + this.config.githubClientSecret,
parse: 'json'
parse: 'json',
requestOptions: {
headers: {
Accept: 'application/vnd.github.v3+json'
}
}
};

@@ -395,3 +401,3 @@

headers: {
Accept: 'application/vnd.github.beta+json'
Accept: 'application/vnd.github.v3+json'
}

@@ -398,0 +404,0 @@ }

# History
## v1.1.1 2017 February 28
- Internal: explicit use of GitHub API version
## v1.1.0 2017 February 27

@@ -4,0 +7,0 @@ - Converted from CoffeeScript to JavaScript

{
"name": "getrepos",
"version": "1.1.0",
"version": "1.1.1",
"description": "Fetch the specified repositories, or those that match a particular github user or search query",

@@ -125,3 +125,3 @@ "homepage": "https://github.com/bevry/getrepos",

"devDependencies": {
"assert-helpers": "^4.4.0",
"assert-helpers": "^4.5.0",
"babel-cli": "^6.23.0",

@@ -128,0 +128,0 @@ "babel-preset-es2015": "^6.22.0",

@@ -59,2 +59,4 @@ <!-- TITLE/ -->

[API Documentation.](http://master.getrepos.bevry.surge.sh/docs/)
``` javascript

@@ -65,3 +67,3 @@ // Create our getrepos instance

githubClientSecret: null, // optional, will try process.env.GITHUB_CLIENT_SECRET
log: console.log // optional, arguments: level, message...
log: console.log // optional, arguments: level, message...
});

@@ -83,5 +85,3 @@

Repos are returned as an array of [repository objects](https://api.github.com/repos/bevry/getrepos).
<!-- HISTORY/ -->

@@ -88,0 +88,0 @@

'use strict'
// Import
const Feedr = require('feedr')
const typeChecker = require('typechecker')

@@ -55,3 +56,3 @@ const extendr = require('extendr')

/**
Forward the arguments onto the configured logger if it exists.
Construct our Getter Class
@param {Object} [opts]

@@ -75,3 +76,3 @@ @param {Function} [opts.log] - defaults to `null`, can be a function that receives the arguments: `logLevel`, `...args`

// Feedr
this.feedr = require('feedr').create(this.config)
this.feedr = Feedr.create(this.config)

@@ -231,3 +232,8 @@ // Chain

url: `https://api.github.com/repos/${repoFullName}?client_id=${this.config.githubClientId}&client_secret=${this.config.githubClientSecret}`,
parse: 'json'
parse: 'json',
requestOptions: {
headers: {
Accept: 'application/vnd.github.v3+json'
}
}
}

@@ -343,3 +349,3 @@

headers: {
Accept: 'application/vnd.github.beta+json'
Accept: 'application/vnd.github.v3+json'
}

@@ -346,0 +352,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