From 64cd62c43b31dc768b19cfae30648ed2fe1c81ff Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 10 Dec 2021 01:41:17 +0100 Subject: [PATCH] Upgrade dependencies --- package.json | 17 +++++++++-------- test/error.ts | 2 +- test/pagination.ts | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index b361e922c..5cc28ee3e 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "cacheable-lookup": "^6.0.4", "cacheable-request": "^7.0.2", "decompress-response": "^6.0.0", - "form-data-encoder": "1.6.0", + "form-data-encoder": "1.7.1", "get-stream": "^6.0.1", "http2-wrapper": "^2.1.9", "lowercase-keys": "^3.0.0", @@ -64,13 +64,13 @@ "@sinonjs/fake-timers": "^8.1.0", "@types/benchmark": "^2.1.1", "@types/express": "^4.17.13", - "@types/node": "^16.11.7", + "@types/node": "^16.11.12", "@types/pem": "^1.9.6", "@types/pify": "^5.0.1", - "@types/readable-stream": "^2.3.11", + "@types/readable-stream": "^2.3.12", "@types/request": "^2.48.7", "@types/sinon": "^10.0.6", - "@types/sinonjs__fake-timers": "^8.1.0", + "@types/sinonjs__fake-timers": "^8.1.1", "@types/tough-cookie": "^4.0.1", "ava": "^3.15.0", "axios": "^0.24.0", @@ -86,7 +86,7 @@ "formdata-node": "^4.3.1", "nock": "^13.2.1", "node-fetch": "^3.1.0", - "np": "^7.5.0", + "np": "^7.6.0", "nyc": "^15.1.0", "p-event": "^5.0.1", "pem": "^1.14.4", @@ -100,8 +100,8 @@ "to-readable-stream": "^3.0.0", "tough-cookie": "^4.0.0", "ts-node": "^10.4.0", - "typescript": "4.5.2", - "xo": "^0.46.4" + "typescript": "4.5.3", + "xo": "^0.47.0" }, "types": "dist/source", "sideEffects": false, @@ -151,7 +151,8 @@ "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-call": "off", "@typescript-eslint/await-thenable": "off", - "no-lone-blocks": "off" + "no-lone-blocks": "off", + "unicorn/no-await-expression-member": "off" } }, "runkitExampleFilename": "./documentation/examples/runkit-example.js" diff --git a/test/error.ts b/test/error.ts index cd76968e9..9395aacd7 100644 --- a/test/error.ts +++ b/test/error.ts @@ -8,7 +8,7 @@ import test from 'ava'; import getStream from 'get-stream'; import is from '@sindresorhus/is'; import got, {RequestError, HTTPError, TimeoutError} from '../source/index.js'; -import Request from '../source/core'; +import Request from '../source/core/index.js'; import withServer from './helpers/with-server.js'; import invalidUrl from './helpers/invalid-url.js'; diff --git a/test/pagination.ts b/test/pagination.ts index ccceb9bc8..af3b6da03 100644 --- a/test/pagination.ts +++ b/test/pagination.ts @@ -5,7 +5,7 @@ import delay from 'delay'; import getStream from 'get-stream'; import got, {Response} from '../source/index.js'; import withServer, {withBodyParsingServer} from './helpers/with-server.js'; -import {ExtendedHttpTestServer} from './helpers/create-http-test-server'; +import {ExtendedHttpTestServer} from './helpers/create-http-test-server.js'; const thrower = (): any => { throw new Error('This should not be called');