getcontributors
Advanced tools
Comparing version 2.5.1 to 2.5.2-next.1587958543.751d1f9cbc896d72f1b0127072d6e25093a28ffd
@@ -5,3 +5,3 @@ /* eslint camelcase:0 */ | ||
import { getReposFromUsers, getReposFromSearch } from 'getrepos' | ||
import { githubAuthorizationHeader } from 'githubauthreq' | ||
import { getHeaders } from 'githubauthreq' | ||
const ghapi = process.env.GITHUB_API || 'https://api.github.com' | ||
@@ -13,6 +13,3 @@ /** 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 */ | ||
const resp = await fetch(url, { | ||
headers: { | ||
Authorization: githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: getHeaders(), | ||
}) | ||
@@ -32,6 +29,3 @@ const responseData = await resp.json() | ||
const resp = await fetch(url, { | ||
headers: { | ||
Authorization: githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: getHeaders(), | ||
}) | ||
@@ -38,0 +32,0 @@ const responseData = await resp.json() |
@@ -18,6 +18,3 @@ 'use strict' | ||
const resp = await cross_fetch_1.default(url, { | ||
headers: { | ||
Authorization: githubauthreq_1.githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: githubauthreq_1.getHeaders(), | ||
}) | ||
@@ -38,6 +35,3 @@ const responseData = await resp.json() | ||
const resp = await cross_fetch_1.default(url, { | ||
headers: { | ||
Authorization: githubauthreq_1.githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: githubauthreq_1.getHeaders(), | ||
}) | ||
@@ -44,0 +38,0 @@ const responseData = await resp.json() |
# History | ||
## v2.5.2 2020 April 27 | ||
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) | ||
## v2.5.1 2020 March 30 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"title": "Get Contributors", | ||
"name": "getcontributors", | ||
"version": "2.5.1", | ||
"version": "2.5.2-next.1587958543.751d1f9cbc896d72f1b0127072d6e25093a28ffd", | ||
"description": "Fetch all the contributors from a github repository, github organisation, or github search", | ||
@@ -84,26 +84,26 @@ "homepage": "https://github.com/bevry/getcontributors", | ||
{ | ||
"description": "TypeScript compiled against ESNext for web browsers with Import for modules", | ||
"directory": "edition-browsers", | ||
"description": "TypeScript compiled against ESNext for Node.js with Require for modules", | ||
"directory": "edition-esnext", | ||
"entry": "index.js", | ||
"tags": [ | ||
"javascript", | ||
"import" | ||
"esnext", | ||
"require" | ||
], | ||
"engines": { | ||
"node": false, | ||
"browsers": "defaults" | ||
"node": "10 || 12 || 13", | ||
"browsers": false | ||
} | ||
}, | ||
{ | ||
"description": "TypeScript compiled against ESNext for Node.js with Require for modules", | ||
"directory": "edition-esnext", | ||
"description": "TypeScript compiled against ES2019 for web browsers with Import for modules", | ||
"directory": "edition-browsers", | ||
"entry": "index.js", | ||
"tags": [ | ||
"javascript", | ||
"esnext", | ||
"require" | ||
"import" | ||
], | ||
"engines": { | ||
"node": "10 || 12", | ||
"browsers": false | ||
"node": false, | ||
"browsers": "defaults" | ||
} | ||
@@ -121,18 +121,19 @@ } | ||
"getrepos": "^5.0.0", | ||
"githubauthreq": "^5.0.0", | ||
"githubauthreq": "^5.1.1", | ||
"simplytyped": "^3.2.3" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^2.25.0", | ||
"@typescript-eslint/parser": "^2.25.0", | ||
"@bevry/update-contributors": "^1.0.1", | ||
"@typescript-eslint/eslint-plugin": "^2.29.0", | ||
"@typescript-eslint/parser": "^2.29.0", | ||
"assert-helpers": "^6.0.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-bevry": "^3.0.0", | ||
"eslint-config-prettier": "^6.10.1", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-config-bevry": "^3.1.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"kava": "^4.4.0", | ||
"prettier": "^2.0.2", | ||
"projectz": "^1.19.0", | ||
"prettier": "^2.0.5", | ||
"projectz": "^1.19.1", | ||
"surge": "^0.21.3", | ||
"typedoc": "^0.17.3", | ||
"typedoc": "^0.17.6", | ||
"typescript": "^3.8.3", | ||
@@ -145,6 +146,7 @@ "valid-directory": "^1.6.0", | ||
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-esnext", | ||
"our:compile:edition-browsers": "tsc --module ESNext --target ESNext --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true", | ||
"our:compile:edition-browsers": "tsc --module ESNext --target ES2019 --outDir ./edition-browsers --project tsconfig.json && test -d edition-browsers/source && ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) || true", | ||
"our:compile:edition-esnext": "tsc --module commonjs --target ESNext --outDir ./edition-esnext --project tsconfig.json && test -d edition-esnext/source && ( mv edition-esnext/source edition-temp && rm -Rf edition-esnext && mv edition-temp edition-esnext ) || true", | ||
"our:deploy": "echo no need for this project", | ||
"our:meta": "npm run our:meta:docs && npm run our:meta:projectz", | ||
"our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", | ||
"our:meta:contributors": "update-contributors", | ||
"our:meta:docs": "npm run our:meta:docs:typedoc", | ||
@@ -151,0 +153,0 @@ "our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --mode file --exclude '**/+(*test*|node_modules)' --excludeExternals --name \"$npm_package_name\" --readme ./README.md --out ./docs ./source", |
@@ -55,3 +55,3 @@ <!-- TITLE/ --> | ||
<script type="module"> | ||
import * as pkg from '//cdn.pika.dev/getcontributors/^2.5.1' | ||
import * as pkg from '//cdn.pika.dev/getcontributors/^2.5.2' | ||
</script> | ||
@@ -64,3 +64,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//unpkg.com/getcontributors@^2.5.1' | ||
import * as pkg from '//unpkg.com/getcontributors@^2.5.2' | ||
</script> | ||
@@ -73,3 +73,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/getcontributors@2.5.1' | ||
import * as pkg from '//dev.jspm.io/getcontributors@2.5.2' | ||
</script> | ||
@@ -83,5 +83,5 @@ ``` | ||
<ul><li><code>getcontributors/source/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>getcontributors/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>getcontributors</code> aliases <code>getcontributors/edition-esnext/index.js</code></li> | ||
<li><code>getcontributors/edition-esnext/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li></ul> | ||
<li><code>getcontributors/edition-esnext/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>getcontributors/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul> | ||
@@ -88,0 +88,0 @@ <!-- /INSTALL --> |
@@ -8,3 +8,3 @@ /* eslint camelcase:0 */ | ||
import { getReposFromUsers, getReposFromSearch, SearchOptions } from 'getrepos' | ||
import { githubAuthorizationHeader } from 'githubauthreq' | ||
import { getHeaders } from 'githubauthreq' | ||
const ghapi = process.env.GITHUB_API || 'https://api.github.com' | ||
@@ -96,6 +96,3 @@ | ||
const resp = await fetch(url, { | ||
headers: { | ||
Authorization: githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: getHeaders(), | ||
}) | ||
@@ -120,6 +117,3 @@ const responseData = (await resp.json()) as GitHubProfileResponse | ||
const resp = await fetch(url, { | ||
headers: { | ||
Authorization: githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: getHeaders(), | ||
}) | ||
@@ -126,0 +120,0 @@ const responseData = (await resp.json()) as GitHubContributorsResponse |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
40407
16
539
1
Updatedgithubauthreq@^5.1.1