Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
build(deps-dev): bump got from 10.7.0 to 11.0.1 (#1255)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump got from 10.7.0 to 11.0.1

Bumps [got](https://github.com/sindresorhus/got) from 10.7.0 to 11.0.1.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](sindresorhus/got@v10.7.0...v11.0.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* chore: fix types

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: HashimotoYT <[email protected]>
  • Loading branch information
dependabot-preview[bot] and vhashimotoo authored Apr 21, 2020
1 parent b6e4b99 commit c7993d0
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 48 deletions.
177 changes: 132 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"get-crowdin-file-ids": "^1.1.1",
"github-slugger": "^1.2.0",
"globals": "^13.0.0",
"got": "^10.2.1",
"got": "^11.0.1",
"handlebars": "^4.7.4",
"href-type": "^1.0.1",
"hubdown": "^2.3.2",
Expand Down
3 changes: 1 addition & 2 deletions script/get-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import got from 'got'
import { Octokit } from '@octokit/rest'
import * as path from 'path'
import { promisify } from 'util'
import { ProxyStream } from 'got/dist/source/as-stream'
import * as stream from 'stream'
import { tmpdir } from 'os'

Expand All @@ -18,7 +17,7 @@ const github = new Octokit({
})

const downloadArchive = async (url: string, writeStream: fs.WriteStream) => {
const downloadStream: ProxyStream<any> = got.stream(url, {
const downloadStream = got.stream(url, {
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${token}`,
Expand Down

0 comments on commit c7993d0

Please sign in to comment.