chore: release main (#9962)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This commit is contained in:
release-please[bot] 2023-04-03 10:23:08 +02:00 committed by GitHub
parent 6a7ad30fa7
commit 006086bc83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
504 changed files with 436 additions and 398 deletions

View File

@ -1,7 +1,7 @@
{
"packages/puppeteer": "19.8.2",
"packages/puppeteer-core": "19.8.1",
"packages/puppeteer": "19.8.3",
"packages/puppeteer-core": "19.8.3",
"packages/testserver": "0.6.0",
"packages/ng-schematics": "0.1.0",
"packages/browsers": "0.3.1"
"packages/browsers": "0.3.2"
}

14
package-lock.json generated
View File

@ -9317,7 +9317,7 @@
},
"packages/browsers": {
"name": "@puppeteer/browsers",
"version": "0.3.1",
"version": "0.3.2",
"license": "Apache-2.0",
"dependencies": {
"debug": "4.3.4",
@ -9466,20 +9466,20 @@
}
},
"packages/puppeteer": {
"version": "19.8.2",
"version": "19.8.3",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "0.3.1",
"@puppeteer/browsers": "0.3.2",
"cosmiconfig": "8.1.3",
"https-proxy-agent": "5.0.1",
"progress": "2.0.3",
"proxy-from-env": "1.1.0",
"puppeteer-core": "19.8.1"
"puppeteer-core": "19.8.3"
}
},
"packages/puppeteer-core": {
"version": "19.8.1",
"version": "19.8.3",
"license": "Apache-2.0",
"dependencies": {
"chromium-bidi": "0.4.6",
@ -14453,12 +14453,12 @@
"puppeteer": {
"version": "file:packages/puppeteer",
"requires": {
"@puppeteer/browsers": "0.3.1",
"@puppeteer/browsers": "0.3.2",
"cosmiconfig": "8.1.3",
"https-proxy-agent": "5.0.1",
"progress": "2.0.3",
"proxy-from-env": "1.1.0",
"puppeteer-core": "19.8.1"
"puppeteer-core": "19.8.3"
}
},
"puppeteer-core": {

View File

@ -1,5 +1,12 @@
# Changelog
## [0.3.2](https://github.com/puppeteer/puppeteer/compare/browsers-v0.3.1...browsers-v0.3.2) (2023-04-03)
### Bug Fixes
* typo in the browsers package ([#9957](https://github.com/puppeteer/puppeteer/issues/9957)) ([c780384](https://github.com/puppeteer/puppeteer/commit/c7803844cf10b6edaa2da83134029b7acf5b45b2))
## [0.3.1](https://github.com/puppeteer/puppeteer/compare/browsers-v0.3.0...browsers-v0.3.1) (2023-03-29)

View File

@ -1,6 +1,6 @@
{
"name": "@puppeteer/browsers",
"version": "0.3.1",
"version": "0.3.2",
"description": "Download and launch browsers",
"scripts": {
"build": "wireit",

View File

@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [19.8.3](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.8.1...puppeteer-core-v19.8.3) (2023-04-03)
### Bug Fixes
* use shadowRoot for tree walker ([#9950](https://github.com/puppeteer/puppeteer/issues/9950)) ([728547d](https://github.com/puppeteer/puppeteer/commit/728547d4608e8c601e209ede860493b1986da174))
## [19.8.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.8.0...puppeteer-core-v19.8.1) (2023-03-28)

View File

@ -1,6 +1,6 @@
{
"name": "puppeteer-core",
"version": "19.8.1",
"version": "19.8.3",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
"keywords": [
"puppeteer",

View File

@ -8,6 +8,21 @@ All notable changes to this project will be documented in this file. See [standa
* dependencies
* @puppeteer/browsers bumped from 0.3.0 to 0.3.1
## [19.8.3](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.8.2...puppeteer-v19.8.3) (2023-04-03)
### Miscellaneous Chores
* **puppeteer:** Synchronize puppeteer versions
### Dependencies
* The following workspace dependencies were updated
* dependencies
* puppeteer-core bumped from 19.8.1 to 19.8.3
* @puppeteer/browsers bumped from 0.3.1 to 0.3.2
## [19.8.1](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.8.0...puppeteer-v19.8.1) (2023-03-28)

View File

@ -1,6 +1,6 @@
{
"name": "puppeteer",
"version": "19.8.2",
"version": "19.8.3",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
"keywords": [
"puppeteer",
@ -120,7 +120,7 @@
"https-proxy-agent": "5.0.1",
"progress": "2.0.3",
"proxy-from-env": "1.1.0",
"puppeteer-core": "19.8.1",
"@puppeteer/browsers": "0.3.1"
"puppeteer-core": "19.8.3",
"@puppeteer/browsers": "0.3.2"
}
}

View File

@ -1,18 +0,0 @@
---
sidebar_label: CustomQueryHandler
---
# CustomQueryHandler interface
#### Signature:
```typescript
export interface CustomQueryHandler
```
## Properties
| Property | Modifiers | Type | Description | Default |
| -------- | --------------------- | --------------------------------------------------------- | ----------- | ------- |
| queryAll | <code>optional</code> | (node: Node, selector: string) =&gt; Iterable&lt;Node&gt; | | |
| queryOne | <code>optional</code> | (node: Node, selector: string) =&gt; Node \| null | | |

View File

@ -1,37 +0,0 @@
---
sidebar_label: HTTPResponse
---
# HTTPResponse class
The HTTPResponse class represents responses which are received by the [Page](./puppeteer.page.md) class.
#### Signature:
```typescript
export declare class HTTPResponse
```
## Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `HTTPResponse` class.
## Methods
| Method | Modifiers | Description |
| -------------------------------------------------------------------- | --------- | ----------- |
| [buffer()](./puppeteer.httpresponse.buffer.md) | | |
| [frame()](./puppeteer.httpresponse.frame.md) | | |
| [fromCache()](./puppeteer.httpresponse.fromcache.md) | | |
| [fromServiceWorker()](./puppeteer.httpresponse.fromserviceworker.md) | | |
| [headers()](./puppeteer.httpresponse.headers.md) | | |
| [json()](./puppeteer.httpresponse.json.md) | | |
| [ok()](./puppeteer.httpresponse.ok.md) | | |
| [remoteAddress()](./puppeteer.httpresponse.remoteaddress.md) | | |
| [request()](./puppeteer.httpresponse.request.md) | | |
| [securityDetails()](./puppeteer.httpresponse.securitydetails.md) | | |
| [status()](./puppeteer.httpresponse.status.md) | | |
| [statusText()](./puppeteer.httpresponse.statustext.md) | | |
| [text()](./puppeteer.httpresponse.text.md) | | |
| [timing()](./puppeteer.httpresponse.timing.md) | | |
| [url()](./puppeteer.httpresponse.url.md) | | |

View File

@ -1,28 +0,0 @@
---
sidebar_label: SecurityDetails
---
# SecurityDetails class
The SecurityDetails class represents the security details of a response that was received over a secure connection.
#### Signature:
```typescript
export declare class SecurityDetails
```
## Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `SecurityDetails` class.
## Methods
| Method | Modifiers | Description |
| ----------------------------------------------------------------------------------- | --------- | ----------- |
| [issuer()](./puppeteer.securitydetails.issuer.md) | | |
| [protocol()](./puppeteer.securitydetails.protocol.md) | | |
| [subjectAlternativeNames()](./puppeteer.securitydetails.subjectalternativenames.md) | | |
| [subjectName()](./puppeteer.securitydetails.subjectname.md) | | |
| [validFrom()](./puppeteer.securitydetails.validfrom.md) | | |
| [validTo()](./puppeteer.securitydetails.validto.md) | | |

View File

@ -14,10 +14,10 @@ export interface BrowserConnectOptions
## Properties
| Property | Modifiers | Type | Description | Default |
| ----------------- | --------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ------- |
| defaultViewport | <code>optional</code> | [Viewport](./puppeteer.viewport.md) \| null | Sets the viewport for each page. | |
| ignoreHTTPSErrors | <code>optional</code> | boolean | Whether to ignore HTTPS errors during navigation. | false |
| protocolTimeout | <code>optional</code> | number | Timeout setting for individual protocol (CDP) calls. | 180000 |
| slowMo | <code>optional</code> | number | Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. | |
| targetFilter | <code>optional</code> | [TargetFilterCallback](./puppeteer.targetfiltercallback.md) | Callback to decide if Puppeteer should connect to a given target or not. | |
| Property | Modifiers | Type | Description | Default |
| ----------------- | --------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -------------------- |
| defaultViewport | <code>optional</code> | [Viewport](./puppeteer.viewport.md) \| null | Sets the viewport for each page. | |
| ignoreHTTPSErrors | <code>optional</code> | boolean | Whether to ignore HTTPS errors during navigation. | <code>false</code> |
| protocolTimeout | <code>optional</code> | number | Timeout setting for individual protocol (CDP) calls. | <code>180_000</code> |
| slowMo | <code>optional</code> | number | Slows down Puppeteer operations by the specified amount of milliseconds to aid debugging. | |
| targetFilter | <code>optional</code> | [TargetFilterCallback](./puppeteer.targetfiltercallback.md) | Callback to decide if Puppeteer should connect to a given target or not. | |

View File

@ -4,6 +4,8 @@ sidebar_label: BrowserFetcher.host
# BrowserFetcher.host() method
The download host being used.
#### Signature:
```typescript
@ -15,5 +17,3 @@ class BrowserFetcher {
**Returns:**
string
The download host being used.

View File

@ -36,13 +36,13 @@ const browser = await puppeteer.launch({
## Methods
| Method | Modifiers | Description |
| ------------------------------------------------------------------------------ | --------- | --------------------------------------------------------------- |
| [canDownload(revision)](./puppeteer.browserfetcher.candownload.md) | | Initiates a HEAD request to check if the revision is available. |
| [download(revision, progressCallback)](./puppeteer.browserfetcher.download.md) | | Initiates a GET request to download the revision from the host. |
| [host()](./puppeteer.browserfetcher.host.md) | | |
| [localRevisions()](./puppeteer.browserfetcher.localrevisions.md) | | |
| [platform()](./puppeteer.browserfetcher.platform.md) | | |
| [product()](./puppeteer.browserfetcher.product.md) | | |
| [remove(revision)](./puppeteer.browserfetcher.remove.md) | | |
| [revisionInfo(revision)](./puppeteer.browserfetcher.revisioninfo.md) | | |
| Method | Modifiers | Description |
| ------------------------------------------------------------------------------ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| [canDownload(revision)](./puppeteer.browserfetcher.candownload.md) | | Initiates a HEAD request to check if the revision is available. |
| [download(revision, progressCallback)](./puppeteer.browserfetcher.download.md) | | Initiates a GET request to download the revision from the host. |
| [host()](./puppeteer.browserfetcher.host.md) | | The download host being used. |
| [localRevisions()](./puppeteer.browserfetcher.localrevisions.md) | | |
| [platform()](./puppeteer.browserfetcher.platform.md) | | Returns the current <code>Platform</code>, which is one of <code>mac</code>, <code>linux</code>, <code>win32</code> or <code>win64</code>. |
| [product()](./puppeteer.browserfetcher.product.md) | | Returns the current <code>Product</code>, which is one of <code>chrome</code> or <code>firefox</code>. |
| [remove(revision)](./puppeteer.browserfetcher.remove.md) | | |
| [revisionInfo(revision)](./puppeteer.browserfetcher.revisioninfo.md) | | |

View File

@ -4,6 +4,8 @@ sidebar_label: BrowserFetcher.platform
# BrowserFetcher.platform() method
Returns the current `Platform`, which is one of `mac`, `linux`, `win32` or `win64`.
#### Signature:
```typescript
@ -15,5 +17,3 @@ class BrowserFetcher {
**Returns:**
[Platform](./puppeteer.platform.md)
Returns the current `Platform`, which is one of `mac`, `linux`, `win32` or `win64`.

View File

@ -4,6 +4,8 @@ sidebar_label: BrowserFetcher.product
# BrowserFetcher.product() method
Returns the current `Product`, which is one of `chrome` or `firefox`.
#### Signature:
```typescript
@ -15,5 +17,3 @@ class BrowserFetcher {
**Returns:**
[Product](./puppeteer.product.md)
Returns the current `Product`, which is one of `chrome` or `firefox`.

View File

@ -16,6 +16,6 @@ export interface BrowserFetcherOptions
| ----------------- | --------------------- | ----------------------------------- | ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| host | <code>optional</code> | string | Determines the host that will be used for downloading. | <p>Either</p><p>- https://storage.googleapis.com or - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central</p> |
| path | | string | Determines the path to download browsers to. | |
| platform | <code>optional</code> | [Platform](./puppeteer.platform.md) | Determines which platform the browser will be suited for. | Auto-detected. |
| product | <code>optional</code> | 'chrome' \| 'firefox' | Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. | <code>&quot;chrome&quot;</code>. |
| platform | <code>optional</code> | [Platform](./puppeteer.platform.md) | Determines which platform the browser will be suited for. | **Auto-detected.** |
| product | <code>optional</code> | 'chrome' \| 'firefox' | Determines which product the [BrowserFetcher](./puppeteer.browserfetcher.md) is for. | <code>chrome</code> |
| useMacOSARMBinary | <code>optional</code> | boolean | Enables the use of the Chromium binary for macOS ARM. | |

View File

@ -17,7 +17,7 @@ export interface BrowserLaunchArgumentOptions
| Property | Modifiers | Type | Description | Default |
| ------------- | --------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| args | <code>optional</code> | string\[\] | Additional command line arguments to pass to the browser instance. | |
| debuggingPort | <code>optional</code> | number | | |
| debuggingPort | <code>optional</code> | number | Specify the debugging port number to use | |
| devtools | <code>optional</code> | boolean | Whether to auto-open a DevTools panel for each tab. If this is set to <code>true</code>, then <code>headless</code> will be forced to <code>false</code>. | <code>false</code> |
| headless | <code>optional</code> | boolean \| 'new' | Whether to run the browser in headless mode. | true |
| headless | <code>optional</code> | boolean \| 'new' | Whether to run the browser in headless mode. | <code>true</code> |
| userDataDir | <code>optional</code> | string | Path to a user data directory. [see the Chromium docs](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md) for more info. | |

View File

@ -12,9 +12,9 @@ export interface ClickOptions
## Properties
| Property | Modifiers | Type | Description | Default |
| ---------- | --------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------- | ------- |
| button | <code>optional</code> | [MouseButton](./puppeteer.mousebutton.md) | | 'left' |
| clickCount | <code>optional</code> | number | | 1 |
| delay | <code>optional</code> | number | Time to wait between <code>mousedown</code> and <code>mouseup</code> in milliseconds. | 0 |
| offset | <code>optional</code> | [Offset](./puppeteer.offset.md) | Offset for the clickable point relative to the top-left corner of the border box. | |
| Property | Modifiers | Type | Description | Default |
| ---------- | --------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------- | -------------- |
| button | <code>optional</code> | [MouseButton](./puppeteer.mousebutton.md) | | 'left' |
| clickCount | <code>optional</code> | number | | <code>1</code> |
| delay | <code>optional</code> | number | Time to wait between <code>mousedown</code> and <code>mouseup</code> in milliseconds. | <code>0</code> |
| offset | <code>optional</code> | [Offset](./puppeteer.offset.md) | Offset for the clickable point relative to the top-left corner of the border box. | |

View File

@ -20,10 +20,10 @@ export interface Configuration
| ------------------ | --------------------- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| browserRevision | <code>optional</code> | string | <p>Specifies a certain version of the browser you'd like Puppeteer to use.</p><p>Can be overridden by <code>PUPPETEER_BROWSER_REVISION</code>.</p><p>See [puppeteer.launch](./puppeteer.puppeteernode.launch.md) on how executable path is inferred.</p> | A compatible-revision of the browser. |
| cacheDirectory | <code>optional</code> | string | <p>Defines the directory to be used by Puppeteer for caching.</p><p>Can be overridden by <code>PUPPETEER_CACHE_DIR</code>.</p> | <code>path.join(os.homedir(), '.cache', 'puppeteer')</code> |
| defaultProduct | <code>optional</code> | [Product](./puppeteer.product.md) | <p>Specifies which browser you'd like Puppeteer to use.</p><p>Can be overridden by <code>PUPPETEER_PRODUCT</code>.</p> | <code>'chrome'</code> |
| defaultProduct | <code>optional</code> | [Product](./puppeteer.product.md) | <p>Specifies which browser you'd like Puppeteer to use.</p><p>Can be overridden by <code>PUPPETEER_PRODUCT</code>.</p> | <code>chrome</code> |
| downloadHost | <code>optional</code> | string | <p>Specifies the URL prefix that is used to download Chromium.</p><p>Can be overridden by <code>PUPPETEER_DOWNLOAD_HOST</code>.</p> | Either https://storage.googleapis.com or https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central, depending on the product. |
| downloadPath | <code>optional</code> | string | <p>Specifies the path for the downloads folder.</p><p>Can be overridden by <code>PUPPETEER_DOWNLOAD_PATH</code>.</p> | <code>&lt;cache&gt;/&lt;product&gt;</code> where <code>&lt;cache&gt;</code> is Puppeteer's cache directory and <code>&lt;product&gt;</code> is the name of the browser. |
| executablePath | <code>optional</code> | string | <p>Specifies an executable path to be used in [puppeteer.launch](./puppeteer.puppeteernode.launch.md).</p><p>Can be overridden by <code>PUPPETEER_EXECUTABLE_PATH</code>.</p> | Auto-computed. |
| executablePath | <code>optional</code> | string | <p>Specifies an executable path to be used in [puppeteer.launch](./puppeteer.puppeteernode.launch.md).</p><p>Can be overridden by <code>PUPPETEER_EXECUTABLE_PATH</code>.</p> | **Auto-computed.** |
| experiments | <code>optional</code> | [ExperimentsConfiguration](./puppeteer.experimentsconfiguration.md) | Defines experimental options for Puppeteer. | |
| logLevel | <code>optional</code> | 'silent' \| 'error' \| 'warn' | <p>Tells Puppeteer to log at the given level.</p><p>At the moment, any option silences logging.</p> | <code>undefined</code> |
| skipDownload | <code>optional</code> | boolean | <p>Tells Puppeteer to not download during installation.</p><p>Can be overridden by <code>PUPPETEER_SKIP_DOWNLOAD</code>.</p> | |

View File

@ -4,6 +4,8 @@ sidebar_label: ConsoleMessage.args
# ConsoleMessage.args() method
An array of arguments passed to the console.
#### Signature:
```typescript
@ -15,5 +17,3 @@ class ConsoleMessage {
**Returns:**
[JSHandle](./puppeteer.jshandle.md)\[\]
An array of arguments passed to the console.

View File

@ -4,6 +4,8 @@ sidebar_label: ConsoleMessage.location
# ConsoleMessage.location() method
The location of the console message.
#### Signature:
```typescript
@ -15,5 +17,3 @@ class ConsoleMessage {
**Returns:**
[ConsoleMessageLocation](./puppeteer.consolemessagelocation.md)
The location of the console message.

View File

@ -20,10 +20,10 @@ export declare class ConsoleMessage
## Methods
| Method | Modifiers | Description |
| -------------------------------------------------------- | --------- | ----------- |
| [args()](./puppeteer.consolemessage.args.md) | | |
| [location()](./puppeteer.consolemessage.location.md) | | |
| [stackTrace()](./puppeteer.consolemessage.stacktrace.md) | | |
| [text()](./puppeteer.consolemessage.text.md) | | |
| [type()](./puppeteer.consolemessage.type.md) | | |
| Method | Modifiers | Description |
| -------------------------------------------------------- | --------- | ----------------------------------------------------------- |
| [args()](./puppeteer.consolemessage.args.md) | | An array of arguments passed to the console. |
| [location()](./puppeteer.consolemessage.location.md) | | The location of the console message. |
| [stackTrace()](./puppeteer.consolemessage.stacktrace.md) | | The array of locations on the stack of the console message. |
| [text()](./puppeteer.consolemessage.text.md) | | The text of the console message. |
| [type()](./puppeteer.consolemessage.type.md) | | The type of the console message. |

View File

@ -4,6 +4,8 @@ sidebar_label: ConsoleMessage.stackTrace
# ConsoleMessage.stackTrace() method
The array of locations on the stack of the console message.
#### Signature:
```typescript
@ -15,5 +17,3 @@ class ConsoleMessage {
**Returns:**
[ConsoleMessageLocation](./puppeteer.consolemessagelocation.md)\[\]
The array of locations on the stack of the console message.

View File

@ -4,6 +4,8 @@ sidebar_label: ConsoleMessage.text
# ConsoleMessage.text() method
The text of the console message.
#### Signature:
```typescript
@ -15,5 +17,3 @@ class ConsoleMessage {
**Returns:**
string
The text of the console message.

Some files were not shown because too many files have changed in this diff Show More