chore: release main (#10412)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This commit is contained in:
release-please[bot] 2023-06-21 09:14:24 +02:00 committed by GitHub
parent fbdcc0d646
commit 3b09e956c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
566 changed files with 335 additions and 285 deletions

View File

@ -1,7 +1,7 @@
{
"packages/puppeteer": "20.7.2",
"packages/puppeteer-core": "20.7.2",
"packages/puppeteer": "20.7.3",
"packages/puppeteer-core": "20.7.3",
"packages/testserver": "0.6.0",
"packages/ng-schematics": "0.2.0",
"packages/browsers": "1.4.1"
"packages/browsers": "1.4.2"
}

View File

@ -4,7 +4,7 @@ The following versions of Chromium are supported, mapped to Puppeteer version:
<!-- version-start -->
- Chromium 114.0.5735.133 - [Puppeteer v20.7.2](https://pptr.dev/20.7.2)
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 114.0.5735.133 - [Puppeteer v20.7.2](https://pptr.dev/20.7.2)
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 114.0.5735.90 - [Puppeteer v20.6.0](https://pptr.dev/20.6.0)
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 113.0.5672.63 - [Puppeteer v20.1.0](https://pptr.dev/20.1.0)
- [Chrome for Testing](https://goo.gle/chrome-for-testing) 112.0.5615.121 - [Puppeteer v20.0.0](https://pptr.dev/20.0.0)

18
package-lock.json generated
View File

@ -10015,7 +10015,7 @@
},
"packages/browsers": {
"name": "@puppeteer/browsers",
"version": "1.4.1",
"version": "1.4.2",
"license": "Apache-2.0",
"dependencies": {
"debug": "4.3.4",
@ -10092,23 +10092,23 @@
"dev": true
},
"packages/puppeteer": {
"version": "20.7.2",
"version": "20.7.3",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "1.4.1",
"@puppeteer/browsers": "1.4.2",
"cosmiconfig": "8.2.0",
"puppeteer-core": "20.7.2"
"puppeteer-core": "20.7.3"
},
"engines": {
"node": ">=16.3.0"
}
},
"packages/puppeteer-core": {
"version": "20.7.2",
"version": "20.7.3",
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "1.4.1",
"@puppeteer/browsers": "1.4.2",
"chromium-bidi": "0.4.12",
"cross-fetch": "3.1.6",
"debug": "4.3.4",
@ -15644,15 +15644,15 @@
"puppeteer": {
"version": "file:packages/puppeteer",
"requires": {
"@puppeteer/browsers": "1.4.1",
"@puppeteer/browsers": "1.4.2",
"cosmiconfig": "8.2.0",
"puppeteer-core": "20.7.2"
"puppeteer-core": "20.7.3"
}
},
"puppeteer-core": {
"version": "file:packages/puppeteer-core",
"requires": {
"@puppeteer/browsers": "1.4.1",
"@puppeteer/browsers": "1.4.2",
"chromium-bidi": "0.4.12",
"cross-fetch": "3.1.6",
"debug": "4.3.4",

View File

@ -1,5 +1,12 @@
# Changelog
## [1.4.2](https://github.com/puppeteer/puppeteer/compare/browsers-v1.4.1...browsers-v1.4.2) (2023-06-20)
### Bug Fixes
* include src into published package ([#10415](https://github.com/puppeteer/puppeteer/issues/10415)) ([d1ffad0](https://github.com/puppeteer/puppeteer/commit/d1ffad059ae66104842b92dc814d362c123b9646))
## [1.4.1](https://github.com/puppeteer/puppeteer/compare/browsers-v1.4.0...browsers-v1.4.1) (2023-05-31)

View File

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

View File

@ -8,6 +8,23 @@ All notable changes to this project will be documented in this file. See [standa
* dependencies
* @puppeteer/browsers bumped from 1.0.1 to 1.1.0
## [20.7.3](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v20.7.2...puppeteer-core-v20.7.3) (2023-06-20)
### Bug Fixes
* add parenthesis to JS values in interpolateFunction ([#10426](https://github.com/puppeteer/puppeteer/issues/10426)) ([fbdcc0d](https://github.com/puppeteer/puppeteer/commit/fbdcc0d6469abe7115723347a9f161628074d41e))
* added clipboard permission that was not exposed ([#10119](https://github.com/puppeteer/puppeteer/issues/10119)) ([c06e15f](https://github.com/puppeteer/puppeteer/commit/c06e15fb5bd7ec21db2d883ccf63ef8fe98c7f4d))
* include src into published package ([#10415](https://github.com/puppeteer/puppeteer/issues/10415)) ([d1ffad0](https://github.com/puppeteer/puppeteer/commit/d1ffad059ae66104842b92dc814d362c123b9646))
* WaitForNetworkIdle and Deferred.race ([#10411](https://github.com/puppeteer/puppeteer/issues/10411)) ([138cc5c](https://github.com/puppeteer/puppeteer/commit/138cc5c961da698bf7ca635c9947058df4b2ec72))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @puppeteer/browsers bumped from 1.4.1 to 1.4.2
## [20.7.2](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v20.7.1...puppeteer-core-v20.7.2) (2023-06-16)

View File

@ -1,6 +1,6 @@
{
"name": "puppeteer-core",
"version": "20.7.2",
"version": "20.7.3",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
"keywords": [
"puppeteer",
@ -138,7 +138,7 @@
"debug": "4.3.4",
"devtools-protocol": "0.0.1135028",
"ws": "8.13.0",
"@puppeteer/browsers": "1.4.1"
"@puppeteer/browsers": "1.4.2"
},
"peerDependencies": {
"typescript": ">= 4.7.4"

View File

@ -15,6 +15,21 @@ All notable changes to this project will be documented in this file. See [standa
* puppeteer-core bumped from 20.1.1 to 20.1.2
* @puppeteer/browsers bumped from 1.0.1 to 1.1.0
## [20.7.3](https://github.com/puppeteer/puppeteer/compare/puppeteer-v20.7.2...puppeteer-v20.7.3) (2023-06-20)
### Bug Fixes
* include src into published package ([#10415](https://github.com/puppeteer/puppeteer/issues/10415)) ([d1ffad0](https://github.com/puppeteer/puppeteer/commit/d1ffad059ae66104842b92dc814d362c123b9646))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* puppeteer-core bumped from 20.7.2 to 20.7.3
* @puppeteer/browsers bumped from 1.4.1 to 1.4.2
## [20.7.2](https://github.com/puppeteer/puppeteer/compare/puppeteer-v20.7.1...puppeteer-v20.7.2) (2023-06-16)

View File

@ -1,6 +1,6 @@
{
"name": "puppeteer",
"version": "20.7.2",
"version": "20.7.3",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
"keywords": [
"puppeteer",
@ -121,7 +121,7 @@
"license": "Apache-2.0",
"dependencies": {
"cosmiconfig": "8.2.0",
"puppeteer-core": "20.7.2",
"@puppeteer/browsers": "1.4.1"
"puppeteer-core": "20.7.3",
"@puppeteer/browsers": "1.4.2"
}
}

View File

@ -1,32 +0,0 @@
---
sidebar_label: ElementHandle.press
---
# ElementHandle.press() method
Focuses the element, and then uses [Keyboard.down()](./puppeteer.keyboard.down.md) and [Keyboard.up()](./puppeteer.keyboard.up.md).
#### Signature:
```typescript
class ElementHandle {
press(key: KeyInput, options?: PressOptions): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| key | [KeyInput](./puppeteer.keyinput.md) | Name of key to press, such as <code>ArrowLeft</code>. See [KeyInput](./puppeteer.keyinput.md) for a list of all key names. |
| options | [PressOptions](./puppeteer.pressoptions.md) | _(Optional)_ |
**Returns:**
Promise&lt;void&gt;
## Remarks
If `key` is a single character and no modifier keys besides `Shift` are being held down, a `keypress`/`input` event will also be generated. The `text` option can be specified to force an input event to be generated.
**NOTE** Modifier keys DO affect `elementHandle.press`. Holding down `Shift` will type the text in upper case.

View File

@ -1,44 +0,0 @@
---
sidebar_label: Frame.type
---
# Frame.type() method
Sends a `keydown`, `keypress`/`input`, and `keyup` event for each character in the text.
#### Signature:
```typescript
class Frame {
type(
selector: string,
text: string,
options?: {
delay: number;
}
): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| selector | string | the selector for the element to type into. If there are multiple the first will be used. |
| text | string | text to type into the element |
| options | { delay: number; } | _(Optional)_ takes one option, <code>delay</code>, which sets the time to wait between key presses in milliseconds. Defaults to <code>0</code>. |
**Returns:**
Promise&lt;void&gt;
## Remarks
To press a special key, like `Control` or `ArrowDown`, use [Keyboard.press()](./puppeteer.keyboard.press.md).
## Example
```ts
await frame.type('#mytextarea', 'Hello'); // Types instantly
await frame.type('#mytextarea', 'World', {delay: 100}); // Types slower, like a user
```

View File

@ -1,25 +0,0 @@
---
sidebar_label: Mouse.down
---
# Mouse.down() method
Presses the mouse.
#### Signature:
```typescript
class Mouse {
down(options?: MouseOptions): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------------------------------- | ------------------------------------------- |
| options | [MouseOptions](./puppeteer.mouseoptions.md) | _(Optional)_ Options to configure behavior. |
**Returns:**
Promise&lt;void&gt;

View File

@ -1,27 +0,0 @@
---
sidebar_label: Mouse.move
---
# Mouse.move() method
Moves the mouse to the given coordinate.
#### Signature:
```typescript
class Mouse {
move(x: number, y: number, options?: MouseMoveOptions): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | --------------------------------------------------- | ------------------------------------------- |
| x | number | Horizontal position of the mouse. |
| y | number | Vertical position of the mouse. |
| options | [MouseMoveOptions](./puppeteer.mousemoveoptions.md) | _(Optional)_ Options to configure behavior. |
**Returns:**
Promise&lt;void&gt;

View File

@ -1,25 +0,0 @@
---
sidebar_label: Mouse.up
---
# Mouse.up() method
Releases the mouse.
#### Signature:
```typescript
class Mouse {
up(options?: MouseOptions): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------------------------------- | ------------------------------------------- |
| options | [MouseOptions](./puppeteer.mouseoptions.md) | _(Optional)_ Options to configure behavior. |
**Returns:**
Promise&lt;void&gt;

View File

@ -1,46 +0,0 @@
---
sidebar_label: Page.type
---
# Page.type() method
Sends a `keydown`, `keypress/input`, and `keyup` event for each character in the text.
To press a special key, like `Control` or `ArrowDown`, use [Keyboard.press()](./puppeteer.keyboard.press.md).
#### Signature:
```typescript
class Page {
type(
selector: string,
text: string,
options?: {
delay: number;
}
): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| selector | string | A [selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) of an element to type into. If there are multiple elements satisfying the selector, the first will be used. |
| text | string | A text to type into a focused element. |
| options | { delay: number; } | _(Optional)_ have property <code>delay</code> which is the Time to wait between key presses in milliseconds. Defaults to <code>0</code>. |
**Returns:**
Promise&lt;void&gt;
## Remarks
## Example
```ts
await page.type('#mytextarea', 'Hello');
// Types instantly
await page.type('#mytextarea', 'World', {delay: 100});
// Types slower, like a user
```

View File

@ -1,18 +0,0 @@
---
sidebar_label: PressOptions
---
# PressOptions interface
#### Signature:
```typescript
export interface PressOptions
```
## Properties
| Property | Modifiers | Type | Description | Default |
| -------- | --------------------- | ------ | ------------------------------------------------------------------------------------------------ | ------- |
| delay | <code>optional</code> | number | Time to wait between <code>keydown</code> and <code>keyup</code> in milliseconds. Defaults to 0. | |
| text | <code>optional</code> | string | If specified, generates an input event with this text. | |

View File

@ -92,6 +92,8 @@ sidebar_label: API
| [InternalNetworkConditions](./puppeteer.internalnetworkconditions.md) | |
| [JSCoverageEntry](./puppeteer.jscoverageentry.md) | The CoverageEntry class for JavaScript |
| [JSCoverageOptions](./puppeteer.jscoverageoptions.md) | Set of configurable options for JS coverage. |
| [KeyboardTypeOptions](./puppeteer.keyboardtypeoptions.md) | |
| [KeyDownOptions](./puppeteer.keydownoptions.md) | |
| [LaunchOptions](./puppeteer.launchoptions.md) | Generic launch options that can be passed when launching any browser. |
| [LocatorEventObject](./puppeteer.locatoreventobject.md) | |
| [LocatorOptions](./puppeteer.locatoroptions.md) | |
@ -108,7 +110,6 @@ sidebar_label: API
| [PDFMargin](./puppeteer.pdfmargin.md) | |
| [PDFOptions](./puppeteer.pdfoptions.md) | Valid options to configure PDF generation via [Page.pdf()](./puppeteer.page.pdf.md). |
| [Point](./puppeteer.point.md) | |
| [PressOptions](./puppeteer.pressoptions.md) | |
| [PuppeteerErrors](./puppeteer.puppeteererrors.md) | |
| [PuppeteerLaunchOptions](./puppeteer.puppeteerlaunchoptions.md) | |
| [RemoteAddress](./puppeteer.remoteaddress.md) | |
@ -165,6 +166,7 @@ sidebar_label: API
| [InnerParams](./puppeteer.innerparams.md) | |
| [InterceptResolutionStrategy](./puppeteer.interceptresolutionstrategy.md) | |
| [KeyInput](./puppeteer.keyinput.md) | All the valid keys that can be passed to functions that take user input, such as [keyboard.press](./puppeteer.keyboard.press.md) |
| [KeyPressOptions](./puppeteer.keypressoptions.md) | |
| [LowerCasePaperFormat](./puppeteer.lowercasepaperformat.md) | |
| [MouseButton](./puppeteer.mousebutton.md) | |
| [NodeFor](./puppeteer.nodefor.md) | |

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