Skip to content

Commit

Permalink
chore(deps): update devdependencies (non-major) (#4065)
Browse files Browse the repository at this point in the history
* chore(deps): update devdependencies (non-major)

* fix(fetch-engine): proxy agent types

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: William Luke <william@ordino.ai>
  • Loading branch information
3 people committed Oct 28, 2020
1 parent 0c8f46e commit fc46016
Show file tree
Hide file tree
Showing 13 changed files with 214 additions and 173 deletions.
4 changes: 2 additions & 2 deletions src/package.json
Expand Up @@ -8,13 +8,13 @@
"@sindresorhus/slugify": "1.1.0",
"@types/debug": "4.1.5",
"@types/graphviz": "0.0.32",
"@types/node": "13.13.21",
"@types/node": "13.13.29",
"@types/redis": "2.8.28",
"arg": "4.1.3",
"batching-toposort": "1.2.0",
"chalk": "4.1.0",
"debug": "4.2.0",
"execa": "4.0.3",
"execa": "4.1.0",
"globby": "11.0.1",
"graphviz": "0.0.9",
"node-fetch": "2.6.1",
Expand Down
6 changes: 3 additions & 3 deletions src/packages/cli/package.json
Expand Up @@ -88,13 +88,13 @@
"esbuild": "0.7.21",
"escape-string-regexp": "4.0.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
"execa": "4.0.3",
"execa": "4.1.0",
"fast-deep-equal": "3.1.3",
"fs-jetpack": "4.0.0",
"fs-jetpack": "4.0.1",
"get-port": "5.1.1",
"global-dirs": "2.0.1",
"husky": "4.3.0",
Expand Down
4 changes: 2 additions & 2 deletions src/packages/client/package.json
Expand Up @@ -80,11 +80,11 @@
"esbuild": "0.7.21",
"escape-string-regexp": "4.0.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
"execa": "4.0.3",
"execa": "4.1.0",
"flat-map-polyfill": "0.3.8",
"fs-monkey": "1.0.1",
"get-own-enumerable-property-symbols": "3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/packages/debug/package.json
Expand Up @@ -11,7 +11,7 @@
"@typescript-eslint/eslint-plugin": "4.6.0",
"@typescript-eslint/parser": "4.6.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
Expand Down
2 changes: 1 addition & 1 deletion src/packages/engine-core/package.json
Expand Up @@ -12,7 +12,7 @@
"@typescript-eslint/parser": "4.6.0",
"del-cli": "3.0.1",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
Expand Down
8 changes: 4 additions & 4 deletions src/packages/fetch-engine/package.json
Expand Up @@ -7,16 +7,16 @@
"author": "Tim Suchanek <suchanek@prisma.io>",
"devDependencies": {
"@prisma/engines-version": "2.11.0-1-3b16ecefde5daffea2eaa621c11eee2d9a422e6b",
"@types/fs-extra": "9.0.1",
"@types/jest": "26.0.14",
"@types/node": "12.12.62",
"@types/fs-extra": "9.0.2",
"@types/jest": "26.0.15",
"@types/node": "12.19.2",
"@types/node-fetch": "2.5.7",
"@types/progress": "2.0.3",
"@typescript-eslint/eslint-plugin": "4.6.0",
"@typescript-eslint/parser": "4.6.0",
"del": "6.0.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
Expand Down
6 changes: 3 additions & 3 deletions src/packages/fetch-engine/src/downloadZip.ts
Expand Up @@ -27,12 +27,12 @@ async function fetchSha256(
const [zippedSha256, sha256] = [
(
await fetch(`${url}.sha256`, {
agent: getProxyAgent(url),
agent: getProxyAgent(url) as any,
}).then((res) => res.text())
).split(/\s+/)[0],
(
await fetch(`${url.slice(0, url.length - 3)}.sha256`, {
agent: getProxyAgent(url.slice(0, url.length - 3)),
agent: getProxyAgent(url.slice(0, url.length - 3)) as any,
}).then((res) => res.text())
).split(/\s+/)[0],
]
Expand All @@ -53,7 +53,7 @@ export async function downloadZip(
try {
const resp = await fetch(url, {
compress: false,
agent: getProxyAgent(url),
agent: getProxyAgent(url) as any,
})

if (resp.status !== 200) {
Expand Down
4 changes: 2 additions & 2 deletions src/packages/fetch-engine/src/getLatestTag.ts
Expand Up @@ -148,7 +148,7 @@ export async function urlExists(url) {
try {
const res = await fetch(url, {
method: 'HEAD',
agent: getProxyAgent(url),
agent: getProxyAgent(url) as any,
})

const headers = fromEntries(res.headers.entries())
Expand Down Expand Up @@ -226,7 +226,7 @@ async function getVersionHashes(
async function getCommits(branch: string): Promise<string[] | object> {
const url = `https://github-cache.prisma.workers.dev/repos/prisma/prisma-engines/commits?sha=${branch}`
const result = await fetch(url, {
agent: getProxyAgent(url),
agent: getProxyAgent(url) as any,
headers: {
Authorization: process.env.GITHUB_TOKEN ? `token ${process.env.GITHUB_TOKEN}` : undefined,
}
Expand Down
2 changes: 1 addition & 1 deletion src/packages/generator-helper/package.json
Expand Up @@ -40,7 +40,7 @@
"@typescript-eslint/eslint-plugin": "4.6.0",
"@typescript-eslint/parser": "4.6.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
Expand Down
2 changes: 1 addition & 1 deletion src/packages/get-platform/package.json
Expand Up @@ -11,7 +11,7 @@
"@typescript-eslint/eslint-plugin": "4.6.0",
"@typescript-eslint/parser": "4.6.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
Expand Down
4 changes: 2 additions & 2 deletions src/packages/migrate/package.json
Expand Up @@ -25,11 +25,11 @@
"chalk": "4.1.0",
"del": "6.0.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
"fs-jetpack": "4.0.0",
"fs-jetpack": "4.0.1",
"husky": "4.3.0",
"jest": "26.6.1",
"lint-staged": "10.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/packages/sdk/package.json
Expand Up @@ -25,7 +25,7 @@
"@typescript-eslint/eslint-plugin": "4.6.0",
"@typescript-eslint/parser": "4.6.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.1.0",
"eslint-plugin-prettier": "3.1.4",
Expand Down

0 comments on commit fc46016

Please sign in to comment.