chore: update dependencies (#8771)

* chore: update dependencies
This commit is contained in:
jrandolf 2022-08-11 07:55:02 +02:00 committed by GitHub
parent d6a88a9768
commit b4176029d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 505 additions and 2689 deletions

View File

@ -7,5 +7,6 @@ sidebar_label: connect
**Signature:**
```typescript
connect: (options: import("./types.js").ConnectOptions) => Promise<import("./types.js").Browser>
connect: (options: import('./types.js').ConnectOptions) =>
Promise<import('./types.js').Browser>;
```

View File

@ -12,7 +12,7 @@ ElementHandle represents an in-page DOM element.
export declare class ElementHandle<ElementType extends Node = Element> extends JSHandle<ElementType>
```
**Extends:** [JSHandle](./puppeteer.jshandle.md)
**Extends:** [JSHandle](./puppeteer.jshandle.md)&lt;ElementType&gt;
## Remarks

View File

@ -16,4 +16,4 @@ class Frame {
[Frame](./puppeteer.frame.md)\[\]
an array of child frames.
An array of child frames.

View File

@ -16,4 +16,4 @@ class Frame {
boolean
`true` if the frame has been detached, or `false` otherwise.
`true` if the frame has been detached. Otherwise, `false`.

View File

@ -16,4 +16,4 @@ class Frame {
[Frame](./puppeteer.frame.md) \| null
the parent `Frame`, if any. Detached and main frames return `null`.
The parent frame, if any. Detached and main frames return `null`.

View File

@ -16,4 +16,4 @@ class Frame {
string
the frame's URL.
The frame's URL.

View File

@ -34,9 +34,9 @@ The constructor for this class is marked as internal. Third-party code should no
## Properties
| Property | Modifiers | Type | Description |
| ------------------------------------------- | --------- | ---------- | ----------------------------------------------------------------- |
| [client](./puppeteer.httprequest.client.md) | | CDPSession | Warning! Using this client can break Puppeteer. Use with caution. |
| Property | Modifiers | Type | Description |
| ------------------------------------------- | --------------------- | ---------- | ----------------------------------------------------------------- |
| [client](./puppeteer.httprequest.client.md) | <code>readonly</code> | CDPSession | Warning! Using this client can break Puppeteer. Use with caution. |
## Methods

View File

@ -7,5 +7,6 @@ sidebar_label: launch
**Signature:**
```typescript
launch: (options?: import("./types.js").PuppeteerLaunchOptions) => Promise<import("./types.js").Browser>
launch: (options?: import('./types.js').PuppeteerLaunchOptions) =>
Promise<import('./types.js').Browser>;
```

View File

@ -10,9 +10,9 @@ A list of network conditions to be used with `page.emulateNetworkConditions(netw
```typescript
networkConditions: Readonly<{
'Slow 3G': NetworkConditions;
'Fast 3G': NetworkConditions;
}>
'Slow 3G': NetworkConditions;
'Fast 3G': NetworkConditions;
}>;
```
## Example

View File

@ -63,14 +63,14 @@ page.off('request', logRequest);
## Properties
| Property | Modifiers | Type | Description |
| -------------------------------------------------- | --------- | --------------------------------------------- | ----------- |
| [accessibility](./puppeteer.page.accessibility.md) | | [Accessibility](./puppeteer.accessibility.md) | |
| [coverage](./puppeteer.page.coverage.md) | | [Coverage](./puppeteer.coverage.md) | |
| [keyboard](./puppeteer.page.keyboard.md) | | [Keyboard](./puppeteer.keyboard.md) | |
| [mouse](./puppeteer.page.mouse.md) | | [Mouse](./puppeteer.mouse.md) | |
| [touchscreen](./puppeteer.page.touchscreen.md) | | [Touchscreen](./puppeteer.touchscreen.md) | |
| [tracing](./puppeteer.page.tracing.md) | | [Tracing](./puppeteer.tracing.md) | |
| Property | Modifiers | Type | Description |
| -------------------------------------------------- | --------------------- | --------------------------------------------- | ----------- |
| [accessibility](./puppeteer.page.accessibility.md) | <code>readonly</code> | [Accessibility](./puppeteer.accessibility.md) | |
| [coverage](./puppeteer.page.coverage.md) | <code>readonly</code> | [Coverage](./puppeteer.coverage.md) | |
| [keyboard](./puppeteer.page.keyboard.md) | <code>readonly</code> | [Keyboard](./puppeteer.keyboard.md) | |
| [mouse](./puppeteer.page.mouse.md) | <code>readonly</code> | [Mouse](./puppeteer.mouse.md) | |
| [touchscreen](./puppeteer.page.touchscreen.md) | <code>readonly</code> | [Touchscreen](./puppeteer.touchscreen.md) | |
| [tracing](./puppeteer.page.tracing.md) | <code>readonly</code> | [Tracing](./puppeteer.tracing.md) | |
## Methods

View File

@ -20,13 +20,13 @@ The constructor for this class is marked as internal. Third-party code should no
## Properties
| Property | Modifiers | Type | Description |
| --------------------------------------------------------------- | --------- | ------------------------------------------------------------ | ----------- |
| [\_changedProduct](./puppeteer.puppeteer._changedproduct.md) | | boolean | |
| [\_isPuppeteerCore](./puppeteer.puppeteer._ispuppeteercore.md) | | boolean | |
| [devices](./puppeteer.puppeteer.devices.md) | | typeof devices | |
| [errors](./puppeteer.puppeteer.errors.md) | | typeof [errors](./puppeteer.errors.md) | |
| [networkConditions](./puppeteer.puppeteer.networkconditions.md) | | typeof [networkConditions](./puppeteer.networkconditions.md) | |
| Property | Modifiers | Type | Description |
| --------------------------------------------------------------- | ---------------------- | ------------------------------------------------------------ | ----------- |
| [\_changedProduct](./puppeteer.puppeteer._changedproduct.md) | <code>protected</code> | boolean | |
| [\_isPuppeteerCore](./puppeteer.puppeteer._ispuppeteercore.md) | <code>protected</code> | boolean | |
| [devices](./puppeteer.puppeteer.devices.md) | <code>readonly</code> | typeof devices | |
| [errors](./puppeteer.puppeteer.errors.md) | <code>readonly</code> | typeof [errors](./puppeteer.errors.md) | |
| [networkConditions](./puppeteer.puppeteer.networkconditions.md) | <code>readonly</code> | typeof [networkConditions](./puppeteer.networkconditions.md) | |
## Methods

View File

@ -44,10 +44,10 @@ Once you have created a `page` you have access to a large API to interact with t
## Properties
| Property | Modifiers | Type | Description |
| ---------------------------------------------------------------------- | --------- | ------ | ---------------------------------------------------------------------------------------------------------------------- |
| [\_preferredRevision](./puppeteer.puppeteernode._preferredrevision.md) | | string | |
| [product](./puppeteer.puppeteernode.product.md) | | string | The name of the browser that is under automation (<code>&quot;chrome&quot;</code> or <code>&quot;firefox&quot;</code>) |
| Property | Modifiers | Type | Description |
| ---------------------------------------------------------------------- | --------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------- |
| [\_preferredRevision](./puppeteer.puppeteernode._preferredrevision.md) | | string | |
| [product](./puppeteer.puppeteernode.product.md) | <code>readonly</code> | string | The name of the browser that is under automation (<code>&quot;chrome&quot;</code> or <code>&quot;firefox&quot;</code>) |
## Methods

3090
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -82,43 +82,43 @@
"ws": "8.8.1"
},
"devDependencies": {
"@commitlint/cli": "17.0.1",
"@commitlint/config-conventional": "17.0.2",
"@microsoft/api-documenter": "7.18.0",
"@microsoft/api-extractor": "7.24.2",
"@microsoft/api-extractor-model": "7.21.0",
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@microsoft/api-documenter": "7.19.4",
"@microsoft/api-extractor": "7.29.2",
"@microsoft/api-extractor-model": "7.23.0",
"@types/debug": "4.1.7",
"@types/diff": "5.0.2",
"@types/mime": "2.0.3",
"@types/mime": "3.0.1",
"@types/mocha": "9.1.1",
"@types/node": "17.0.38",
"@types/node": "18.7.1",
"@types/pixelmatch": "5.2.4",
"@types/pngjs": "6.0.1",
"@types/progress": "2.0.5",
"@types/proxy-from-env": "1.0.1",
"@types/rimraf": "3.0.2",
"@types/semver": "7.3.10",
"@types/sinon": "10.0.11",
"@types/semver": "7.3.11",
"@types/sinon": "10.0.13",
"@types/tar-fs": "2.0.1",
"@types/unbzip2-stream": "1.4.0",
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "5.27.0",
"@typescript-eslint/parser": "5.27.0",
"c8": "7.11.3",
"@typescript-eslint/eslint-plugin": "5.33.0",
"@typescript-eslint/parser": "5.33.0",
"c8": "7.12.0",
"commonmark": "0.30.0",
"cross-env": "7.0.3",
"diff": "5.1.0",
"eslint": "8.16.0",
"eslint": "8.21.0",
"eslint-config-prettier": "8.5.0",
"eslint-formatter-codeframe": "7.32.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-mocha": "10.0.5",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-tsdoc": "0.2.16",
"eslint-plugin-unused-imports": "2.0.0",
"esprima": "4.0.1",
"expect": "25.2.7",
"gts": "3.1.0",
"gts": "4.0.0",
"husky": "8.0.1",
"jpeg-js": "0.4.4",
"mime": "3.0.0",
@ -128,12 +128,12 @@
"npm-run-all": "4.1.5",
"pixelmatch": "5.3.0",
"pngjs": "6.0.0",
"prettier": "2.6.2",
"prettier": "2.7.1",
"semver": "7.3.7",
"sinon": "14.0.0",
"source-map-support": "0.5.21",
"text-diff": "1.0.1",
"tsd": "0.21.0",
"typescript": "4.7.2"
"tsd": "0.22.0",
"typescript": "4.7.4"
}
}