Comparing version 1.5.0 to 2.0.0-next.1575880653.77e0856f597cb84461c39d82750cfba7e1f01ff2
# History | ||
## v2.0.0 2019 December 9 | ||
- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) | ||
- Minimum required node version changed from `node: >=0.8` to `node: >=8` to keep up with mandatory ecosystem changes | ||
## v1.5.0 2019 November 13 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "getrepos", | ||
"version": "1.5.0", | ||
"version": "2.0.0-next.1575880653.77e0856f597cb84461c39d82750cfba7e1f01ff2", | ||
"description": "Fetch the specified repositories, or those that match a particular github user or search query", | ||
@@ -26,2 +26,3 @@ "homepage": "https://github.com/bevry/getrepos", | ||
"---", | ||
"githubsponsors", | ||
"patreon", | ||
@@ -37,2 +38,3 @@ "flattr", | ||
"config": { | ||
"githubSponsorsUsername": "balupton", | ||
"buymeacoffeeUsername": "balupton", | ||
@@ -66,3 +68,3 @@ "cryptoURL": "https://bevry.me/crypto", | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=8" | ||
}, | ||
@@ -80,27 +82,27 @@ "editions": [ | ||
"engines": { | ||
"node": "6 || 8 || 10 || 12 || 13", | ||
"browsers": false | ||
"node": "8 || 10 || 12" | ||
} | ||
} | ||
], | ||
"type": "commonjs", | ||
"main": "source/index.js", | ||
"dependencies": { | ||
"feedr": "^4.3.0", | ||
"githubauthquerystring": "^1.1.0", | ||
"taskgroup": "5.5.0", | ||
"typechecker": "^4.9.0" | ||
"feedr": "^4.7.0", | ||
"githubauthquerystring": "^2.2.0", | ||
"taskgroup": "^6.4.0", | ||
"typechecker": "^6.2.0" | ||
}, | ||
"devDependencies": { | ||
"assert-helpers": "4.10.0", | ||
"eslint": "^6.6.0", | ||
"eslint-config-bevry": "^1.2.1", | ||
"eslint-config-prettier": "^6.5.0", | ||
"assert-helpers": "^5.8.0", | ||
"eslint": "^6.7.2", | ||
"eslint-config-bevry": "^2.2.0", | ||
"eslint-config-prettier": "^6.7.0", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"jsdoc": "^3.6.3", | ||
"kava": "^3.2.0", | ||
"kava": "^4.3.0", | ||
"minami": "^1.2.3", | ||
"prettier": "^1.19.1", | ||
"projectz": "^1.9.0", | ||
"projectz": "^1.15.0", | ||
"surge": "^0.21.3", | ||
"valid-directory": "^1.0.0" | ||
"valid-directory": "^1.5.0" | ||
}, | ||
@@ -107,0 +109,0 @@ "scripts": { |
@@ -16,2 +16,3 @@ <!-- TITLE/ --> | ||
<br class="badge-separator" /> | ||
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span> | ||
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> | ||
@@ -53,3 +54,3 @@ <span class="badge-flattr"><a href="https://flattr.com/profile/balupton" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span> | ||
<p>Environments older than Node.js v6 may need <a href="https://babeljs.io/docs/usage/polyfill/" title="A polyfill that emulates missing ECMAScript environment features">Babel's Polyfill</a> or something similar.</p> | ||
<p>Environments older than Node.js v8 may need <a href="https://babeljs.io/docs/usage/polyfill/" title="A polyfill that emulates missing ECMAScript environment features">Babel's Polyfill</a> or something similar.</p> | ||
@@ -127,2 +128,3 @@ <h3><a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a></h3> | ||
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span> | ||
<span class="badge-patreon"><a href="https://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> | ||
@@ -129,0 +131,0 @@ <span class="badge-flattr"><a href="https://flattr.com/profile/balupton" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span> |
@@ -8,2 +8,4 @@ 'use strict' | ||
const githubAuthQueryString = require('githubauthquerystring').fetch() | ||
const ghapi = process.env.GITHUB_API || '${ghapi}' | ||
/** | ||
@@ -219,3 +221,3 @@ * The repository object returned by github. | ||
const feedOptions = { | ||
url: `https://api.github.com/repos/${repoFullName}?${githubAuthQueryString}`, | ||
url: `${ghapi}/repos/${repoFullName}?${githubAuthQueryString}`, | ||
parse: 'json', | ||
@@ -323,3 +325,3 @@ requestOptions: { | ||
const feedOptions = { | ||
url: `https://api.github.com/search/repositories?page=${opts.page}&per_page=100&q=${query}&${githubAuthQueryString}`, | ||
url: `${ghapi}/search/repositories?page=${opts.page}&per_page=100&q=${query}&${githubAuthQueryString}`, | ||
parse: 'json', | ||
@@ -326,0 +328,0 @@ requestOptions: { |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
27605
338
161
1
1
+ Addedgithubauthquerystring@2.3.0(transitive)
- Removedeachr@3.3.0(transitive)
- Removededitions@1.3.4(transitive)
- Removedextendr@3.5.0(transitive)
- Removedextract-opts@3.4.0(transitive)
- Removedgithubauthquerystring@1.2.0(transitive)
- Removedsafefs@4.2.0(transitive)
- Removedsafeps@7.0.1(transitive)
- Removedtaskgroup@5.5.0(transitive)
- Removedunbounded@1.3.0(transitive)
Updatedfeedr@^4.7.0
Updatedgithubauthquerystring@^2.2.0
Updatedtaskgroup@^6.4.0
Updatedtypechecker@^6.2.0