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

getcontributors

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getcontributors - npm Package Compare versions

Comparing version 2.16.0 to 2.17.0-next.1593054349.bb0f0306c445543bba7e1a64f7a4595f2bc4e5c5

5

edition-browsers/index.js

@@ -6,3 +6,4 @@ /* eslint camelcase:0 */

import { getHeaders } from 'githubauthreq'
const ghapi = process.env.GITHUB_API || 'https://api.github.com'
import { env } from 'process'
const { GITHUB_API = 'https://api.github.com' } = env
/** Export the Fellow class we have imported and are using, such that consumers of this package and ensure they are interacting with the same singletons */

@@ -26,3 +27,3 @@ export { Fellow }

// Fetch
const url = `${ghapi}/repos/${slug}/contributors?per_page=100`
const url = `${GITHUB_API}/repos/${slug}/contributors?per_page=100`
const resp = await fetch(url, {

@@ -29,0 +30,0 @@ headers: getHeaders(),

@@ -15,3 +15,4 @@ 'use strict'

const githubauthreq_1 = require('githubauthreq')
const ghapi = process.env.GITHUB_API || 'https://api.github.com'
const process_1 = require('process')
const { GITHUB_API = 'https://api.github.com' } = process_1.env
/** Fetch the full profile information for a contributor */

@@ -34,3 +35,3 @@ async function getContributorProfile(url) {

// Fetch
const url = `${ghapi}/repos/${slug}/contributors?per_page=100`
const url = `${GITHUB_API}/repos/${slug}/contributors?per_page=100`
const resp = await cross_fetch_1.default(url, {

@@ -37,0 +38,0 @@ headers: githubauthreq_1.getHeaders(),

4

HISTORY.md
# History
## v2.17.0 2020 June 25
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
## v2.16.0 2020 June 21

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

{
"title": "Get Contributors",
"name": "getcontributors",
"version": "2.16.0",
"version": "2.17.0-next.1593054349.bb0f0306c445543bba7e1a64f7a4595f2bc4e5c5",
"description": "Fetch all the contributors from a github repository, github organisation, or github search",

@@ -122,21 +122,21 @@ "homepage": "https://github.com/bevry/getcontributors",

"dependencies": {
"cross-fetch": "^3.0.4",
"fellow": "6.10.0",
"getrepos": "5.6.0",
"githubauthreq": "5.7.0",
"cross-fetch": "^3.0.5",
"fellow": "6.15.0",
"getrepos": "5.10.0",
"githubauthreq": "5.11.0",
"simplytyped": "^3.3.0"
},
"devDependencies": {
"@bevry/update-contributors": "^1.9.0",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"assert-helpers": "^6.8.0",
"eslint": "^7.3.0",
"eslint-config-bevry": "^3.8.0",
"eslint-config-prettier": "^6.7.0",
"@bevry/update-contributors": "^1.12.0",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"assert-helpers": "^6.13.0",
"eslint": "^7.3.1",
"eslint-config-bevry": "^3.13.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"kava": "^5.7.0",
"make-deno-edition": "^0.9.1",
"make-deno-edition": "^0.13.0",
"prettier": "^2.0.5",
"projectz": "^2.9.0",
"projectz": "^2.10.1",
"surge": "^0.21.3",

@@ -146,3 +146,3 @@ "typedoc": "^0.17.7",

"valid-directory": "^2.5.0",
"valid-module": "^1.6.0"
"valid-module": "^1.7.0"
},

@@ -149,0 +149,0 @@ "scripts": {

@@ -55,3 +55,3 @@ <!-- TITLE/ -->

<script type="module">
import * as pkg from '//cdn.pika.dev/getcontributors/^2.16.0'
import * as pkg from '//cdn.pika.dev/getcontributors/^2.17.0'
</script>

@@ -64,3 +64,3 @@ ```

<script type="module">
import * as pkg from '//unpkg.com/getcontributors@^2.16.0'
import * as pkg from '//unpkg.com/getcontributors@^2.17.0'
</script>

@@ -73,3 +73,3 @@ ```

<script type="module">
import * as pkg from '//dev.jspm.io/getcontributors@2.16.0'
import * as pkg from '//dev.jspm.io/getcontributors@2.17.0'
</script>

@@ -76,0 +76,0 @@ ```

@@ -9,3 +9,4 @@ /* eslint camelcase:0 */

import { getHeaders } from 'githubauthreq'
const ghapi = process.env.GITHUB_API || 'https://api.github.com'
import { env } from 'process'
const { GITHUB_API = 'https://api.github.com' } = env

@@ -114,3 +115,3 @@ /** Collection of fellows */

// Fetch
const url = `${ghapi}/repos/${slug}/contributors?per_page=100`
const url = `${GITHUB_API}/repos/${slug}/contributors?per_page=100`
const resp = await fetch(url, {

@@ -117,0 +118,0 @@ headers: getHeaders(),

Sorry, the diff of this file is not supported yet

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