From 9f9a1a4dd50bfe960476db13e42eb9bc91457fbe Mon Sep 17 00:00:00 2001 From: jrandolf <101637635+jrandolf@users.noreply.github.com> Date: Tue, 31 May 2022 19:04:30 +0200 Subject: [PATCH] chore: update deps (#8446) --- package.json | 28 ++++++++++++++-------------- src/common/JSHandle.ts | 4 ++-- src/common/PDFOptions.ts | 3 +++ 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index a89f8357..99fffcda 100644 --- a/package.json +++ b/package.json @@ -92,17 +92,17 @@ "rimraf": "3.0.2", "tar-fs": "2.1.1", "unbzip2-stream": "1.4.3", - "ws": "8.6.0" + "ws": "8.7.0" }, "devDependencies": { - "@commitlint/cli": "17.0.0", - "@commitlint/config-conventional": "16.2.4", - "@microsoft/api-documenter": "7.17.12", - "@microsoft/api-extractor": "7.23.2", + "@commitlint/cli": "17.0.1", + "@commitlint/config-conventional": "17.0.0", + "@microsoft/api-documenter": "7.17.16", + "@microsoft/api-extractor": "7.24.2", "@types/debug": "4.1.7", "@types/mime": "2.0.3", "@types/mocha": "9.1.1", - "@types/node": "17.0.31", + "@types/node": "17.0.36", "@types/progress": "2.0.5", "@types/proxy-from-env": "1.0.1", "@types/rimraf": "3.0.2", @@ -110,20 +110,20 @@ "@types/tar-fs": "2.0.1", "@types/unbzip2-stream": "1.4.0", "@types/ws": "8.5.3", - "@typescript-eslint/eslint-plugin": "5.23.0", - "@typescript-eslint/parser": "5.22.0", - "@web/test-runner": "0.13.27", + "@typescript-eslint/eslint-plugin": "5.27.0", + "@typescript-eslint/parser": "5.27.0", + "@web/test-runner": "0.13.28", "commonmark": "0.30.0", "cross-env": "7.0.3", - "eslint": "8.15.0", + "eslint": "8.16.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.26.0", - "eslint-plugin-mocha": "10.0.4", + "eslint-plugin-mocha": "10.0.5", "eslint-plugin-prettier": "4.0.0", "eslint-plugin-unicorn": "42.0.0", "esprima": "4.0.1", "expect": "25.2.7", - "husky": "7.0.4", + "husky": "8.0.1", "jpeg-js": "0.4.3", "mime": "3.0.0", "minimist": "1.2.6", @@ -135,7 +135,7 @@ "sinon": "14.0.0", "source-map-support": "0.5.21", "text-diff": "1.0.1", - "ts-node": "10.7.0", - "typescript": "4.6.4" + "ts-node": "10.8.0", + "typescript": "4.7.2" } } diff --git a/src/common/JSHandle.ts b/src/common/JSHandle.ts index 96954f71..19dbf7b7 100644 --- a/src/common/JSHandle.ts +++ b/src/common/JSHandle.ts @@ -1057,7 +1057,7 @@ export class ElementHandle< /** * Runs `element.querySelector` within the page. * - * @param selector The selector to query with. + * @param selector - The selector to query with. * @returns `null` if no element matches the selector. * @throws `Error` if the selector has no associated query handler. */ @@ -1080,7 +1080,7 @@ export class ElementHandle< /** * Runs `element.querySelectorAll` within the page. * - * @param selector The selector to query with. + * @param selector - The selector to query with. * @returns `[]` if no element matches the selector. * @throws `Error` if the selector has no associated query handler. */ diff --git a/src/common/PDFOptions.ts b/src/common/PDFOptions.ts index 3fcc9bba..378d5c53 100644 --- a/src/common/PDFOptions.ts +++ b/src/common/PDFOptions.ts @@ -24,6 +24,9 @@ export interface PDFMargin { right?: string | number; } +/** + * @public + */ export type LowerCasePaperFormat = | 'letter' | 'legal'