Comparing version 5.0.0 to 5.0.1-next.1587958844.b6b0b2efae2ffe291500d30e70c7cb48cd4348ba
/* eslint camelcase:0 */ | ||
import fetch from 'cross-fetch' | ||
import { githubAuthorizationHeader } from 'githubauthreq' | ||
import { getHeaders } from 'githubauthreq' | ||
const ghapi = process.env.GITHUB_API || 'https://api.github.com' | ||
@@ -14,6 +14,3 @@ // ================================= | ||
const resp = await fetch(url, { | ||
headers: { | ||
Authorization: githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: getHeaders(), | ||
}) | ||
@@ -50,6 +47,3 @@ const data = await resp.json() | ||
const resp = await fetch(url, { | ||
headers: { | ||
Authorization: githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: getHeaders(), | ||
}) | ||
@@ -56,0 +50,0 @@ const data = await resp.json() |
@@ -21,6 +21,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(), | ||
}) | ||
@@ -59,6 +56,3 @@ const data = 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(), | ||
}) | ||
@@ -65,0 +59,0 @@ const data = await resp.json() |
# History | ||
## v5.0.1 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) | ||
## v5.0.0 2020 March 27 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"title": "Get Repositories", | ||
"name": "getrepos", | ||
"version": "5.0.0", | ||
"version": "5.0.1-next.1587958844.b6b0b2efae2ffe291500d30e70c7cb48cd4348ba", | ||
"description": "Fetch the specified repositories, or those that match a particular github user or search query", | ||
@@ -142,26 +142,26 @@ "homepage": "https://github.com/bevry/getrepos", | ||
{ | ||
"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" | ||
} | ||
@@ -177,18 +177,19 @@ } | ||
"cross-fetch": "^3.0.4", | ||
"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", | ||
@@ -201,6 +202,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", | ||
@@ -207,0 +209,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", |
@@ -76,3 +76,3 @@ <!-- TITLE/ --> | ||
<script type="module"> | ||
import * as pkg from '//cdn.pika.dev/getrepos/^5.0.0' | ||
import * as pkg from '//cdn.pika.dev/getrepos/^5.0.1' | ||
</script> | ||
@@ -85,3 +85,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//unpkg.com/getrepos@^5.0.0' | ||
import * as pkg from '//unpkg.com/getrepos@^5.0.1' | ||
</script> | ||
@@ -94,3 +94,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/getrepos@5.0.0' | ||
import * as pkg from '//dev.jspm.io/getrepos@5.0.1' | ||
</script> | ||
@@ -104,5 +104,5 @@ ``` | ||
<ul><li><code>getrepos/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>getrepos/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>getrepos</code> aliases <code>getrepos/edition-esnext/index.js</code></li> | ||
<li><code>getrepos/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>getrepos/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>getrepos/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> | ||
@@ -109,0 +109,0 @@ <!-- /INSTALL --> |
@@ -6,3 +6,3 @@ /* eslint camelcase:0 */ | ||
import fetch from 'cross-fetch' | ||
import { githubAuthorizationHeader } from 'githubauthreq' | ||
import { getHeaders } from 'githubauthreq' | ||
const ghapi = process.env.GITHUB_API || 'https://api.github.com' | ||
@@ -225,6 +225,3 @@ | ||
const resp = await fetch(url, { | ||
headers: { | ||
Authorization: githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: getHeaders(), | ||
}) | ||
@@ -268,6 +265,3 @@ const data = (await resp.json()) as RepositoryResponse | ||
const resp = await fetch(url, { | ||
headers: { | ||
Authorization: githubAuthorizationHeader(), | ||
Accept: 'application/vnd.github.v3+json', | ||
}, | ||
headers: getHeaders(), | ||
}) | ||
@@ -274,0 +268,0 @@ const data = (await resp.json()) as SearchResponse |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
35995
16
434
1
Updatedgithubauthreq@^5.1.1