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 5.10.0 to 5.11.0-next.1593055010.84a80351677a8d66a2cb4b722d21062207367af1

7

edition-browsers/index.js

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

import Pool from 'native-promise-pool'
const ghapi = process.env.GITHUB_API || 'https://api.github.com'
import { env } from 'process'
const { GITHUB_API = 'https://api.github.com' } = env
export function halt(milliseconds) {

@@ -24,3 +25,3 @@ if (milliseconds < 1000) {

export async function getRepo(repoFullName) {
const url = `${ghapi}/repos/${repoFullName}`
const url = `${GITHUB_API}/repos/${repoFullName}`
const resp = await fetch(url, {

@@ -64,3 +65,3 @@ headers: getHeaders(),

// fetch
const url = `${ghapi}/search/repositories?page=${opts.page}&per_page=${
const url = `${GITHUB_API}/search/repositories?page=${opts.page}&per_page=${
opts.size

@@ -67,0 +68,0 @@ }&q=${encodeURIComponent(query)}`

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

const native_promise_pool_1 = __importDefault(require('native-promise-pool'))
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
function halt(milliseconds) {

@@ -33,3 +34,3 @@ if (milliseconds < 1000) {

async function getRepo(repoFullName) {
const url = `${ghapi}/repos/${repoFullName}`
const url = `${GITHUB_API}/repos/${repoFullName}`
const resp = await cross_fetch_1.default(url, {

@@ -75,3 +76,3 @@ headers: githubauthreq_1.getHeaders(),

// fetch
const url = `${ghapi}/search/repositories?page=${opts.page}&per_page=${
const url = `${GITHUB_API}/search/repositories?page=${opts.page}&per_page=${
opts.size

@@ -78,0 +79,0 @@ }&q=${encodeURIComponent(query)}`

# History
## v5.11.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)
## v5.10.0 2020 June 21

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

{
"title": "Get Repositories",
"name": "getrepos",
"version": "5.10.0",
"version": "5.11.0-next.1593055010.84a80351677a8d66a2cb4b722d21062207367af1",
"description": "Fetch the specified repositories, or those that match a particular github user or search query",

@@ -179,20 +179,20 @@ "homepage": "https://github.com/bevry/getrepos",

"dependencies": {
"cross-fetch": "^3.0.4",
"githubauthreq": "5.7.0",
"native-promise-pool": "3.6.0",
"cross-fetch": "^3.0.5",
"githubauthreq": "5.11.0",
"native-promise-pool": "3.10.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",

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

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

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

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

<script type="module">
import * as pkg from '//cdn.pika.dev/getrepos/^5.10.0'
import * as pkg from '//cdn.pika.dev/getrepos/^5.11.0'
</script>

@@ -85,3 +85,3 @@ ```

<script type="module">
import * as pkg from '//unpkg.com/getrepos@^5.10.0'
import * as pkg from '//unpkg.com/getrepos@^5.11.0'
</script>

@@ -94,3 +94,3 @@ ```

<script type="module">
import * as pkg from '//dev.jspm.io/getrepos@5.10.0'
import * as pkg from '//dev.jspm.io/getrepos@5.11.0'
</script>

@@ -97,0 +97,0 @@ ```

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

import Pool from 'native-promise-pool'
const ghapi = process.env.GITHUB_API || 'https://api.github.com'
import { env } from 'process'
const { GITHUB_API = 'https://api.github.com' } = env

@@ -235,3 +236,3 @@ export function halt(milliseconds: number) {

export async function getRepo(repoFullName: string): Promise<Repository> {
const url = `${ghapi}/repos/${repoFullName}`
const url = `${GITHUB_API}/repos/${repoFullName}`
const resp = await fetch(url, {

@@ -285,3 +286,3 @@ headers: getHeaders(),

// fetch
const url = `${ghapi}/search/repositories?page=${opts.page}&per_page=${
const url = `${GITHUB_API}/search/repositories?page=${opts.page}&per_page=${
opts.size

@@ -288,0 +289,0 @@ }&q=${encodeURIComponent(query)}`

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