chore: release main (#9322)
🤖 I have created a release *beep* *boop* --- <details><summary>puppeteer: 19.4.0</summary> ## [19.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.3.0...puppeteer-v19.4.0) (2022-12-07) ### Features * **chromium:** roll to Chromium 109.0.5412.0 (r1069273) ([#9364](https://github.com/puppeteer/puppeteer/issues/9364)) ([1875da6
](1875da6191
)), closes [#9233](https://github.com/puppeteer/puppeteer/issues/9233) ### Dependencies * The following workspace dependencies were updated * dependencies * puppeteer-core bumped from 19.3.0 to 19.4.0 </details> <details><summary>puppeteer-core: 19.4.0</summary> ## [19.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.3.0...puppeteer-core-v19.4.0) (2022-12-07) ### Features * ability to send headers via ws connection to browser in node.js environment ([#9314](https://github.com/puppeteer/puppeteer/issues/9314)) ([937fffa
](937fffaedc
)), closes [#7218](https://github.com/puppeteer/puppeteer/issues/7218) * **chromium:** roll to Chromium 109.0.5412.0 (r1069273) ([#9364](https://github.com/puppeteer/puppeteer/issues/9364)) ([1875da6
](1875da6191
)), closes [#9233](https://github.com/puppeteer/puppeteer/issues/9233) * **puppeteer-core:** keydown supports commands ([#9357](https://github.com/puppeteer/puppeteer/issues/9357)) ([b7ebc5d
](b7ebc5d9bb
)) ### Bug Fixes * **puppeteer-core:** avoid type instantiation errors ([#9370](https://github.com/puppeteer/puppeteer/issues/9370)) ([17f31a9
](17f31a9ee4
)), closes [#9369](https://github.com/puppeteer/puppeteer/issues/9369) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This commit is contained in:
parent
1875da6191
commit
931d4fced5
@ -1,6 +1,6 @@
|
||||
{
|
||||
"packages/puppeteer": "19.3.0",
|
||||
"packages/puppeteer-core": "19.3.0",
|
||||
"packages/puppeteer": "19.4.0",
|
||||
"packages/puppeteer-core": "19.4.0",
|
||||
"packages/testserver": "0.6.0",
|
||||
"packages/ng-schematics": "0.1.0"
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ The following versions of Chromium are supported, mapped to Puppeteer version:
|
||||
|
||||
<!-- version-start -->
|
||||
|
||||
- Chromium 109.0.5412.0 - [Puppeteer v19.4.0](https://pptr.dev/19.4.0)
|
||||
- Chromium 108.0.5351.0 - [Puppeteer v19.2.0](https://github.com/puppeteer/puppeteer/blob/v19.2.0/docs/api/index.md)
|
||||
- Chromium 107.0.5296.0 - [Puppeteer v18.1.0](https://github.com/puppeteer/puppeteer/blob/v18.1.0/docs/api/index.md)
|
||||
- Chromium 106.0.5249.0 - [Puppeteer v17.1.0](https://github.com/puppeteer/puppeteer/blob/v17.1.0/docs/api/index.md)
|
||||
|
8
package-lock.json
generated
8
package-lock.json
generated
@ -8771,7 +8771,7 @@
|
||||
"dev": true
|
||||
},
|
||||
"packages/puppeteer": {
|
||||
"version": "19.3.0",
|
||||
"version": "19.4.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
@ -8780,14 +8780,14 @@
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"progress": "2.0.3",
|
||||
"proxy-from-env": "1.1.0",
|
||||
"puppeteer-core": "19.3.0"
|
||||
"puppeteer-core": "19.4.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.1.0"
|
||||
}
|
||||
},
|
||||
"packages/puppeteer-core": {
|
||||
"version": "19.3.0",
|
||||
"version": "19.4.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"cross-fetch": "3.1.5",
|
||||
@ -13833,7 +13833,7 @@
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"progress": "2.0.3",
|
||||
"proxy-from-env": "1.1.0",
|
||||
"puppeteer-core": "19.3.0"
|
||||
"puppeteer-core": "19.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"argparse": {
|
||||
|
@ -2,6 +2,20 @@
|
||||
|
||||
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.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.3.0...puppeteer-core-v19.4.0) (2022-12-07)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* ability to send headers via ws connection to browser in node.js environment ([#9314](https://github.com/puppeteer/puppeteer/issues/9314)) ([937fffa](https://github.com/puppeteer/puppeteer/commit/937fffaedc340ea12d5f6636d3ba6598cb22e397)), closes [#7218](https://github.com/puppeteer/puppeteer/issues/7218)
|
||||
* **chromium:** roll to Chromium 109.0.5412.0 (r1069273) ([#9364](https://github.com/puppeteer/puppeteer/issues/9364)) ([1875da6](https://github.com/puppeteer/puppeteer/commit/1875da61916df1fbcf98047858c01075bd9af189)), closes [#9233](https://github.com/puppeteer/puppeteer/issues/9233)
|
||||
* **puppeteer-core:** keydown supports commands ([#9357](https://github.com/puppeteer/puppeteer/issues/9357)) ([b7ebc5d](https://github.com/puppeteer/puppeteer/commit/b7ebc5d9bb9b9940ffdf470e51d007f709587d40))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **puppeteer-core:** avoid type instantiation errors ([#9370](https://github.com/puppeteer/puppeteer/issues/9370)) ([17f31a9](https://github.com/puppeteer/puppeteer/commit/17f31a9ee408ca5a08fe6dbceb8915e710156bd3)), closes [#9369](https://github.com/puppeteer/puppeteer/issues/9369)
|
||||
|
||||
## [19.3.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.2.2...puppeteer-core-v19.3.0) (2022-11-23)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "puppeteer-core",
|
||||
"version": "19.3.0",
|
||||
"version": "19.4.0",
|
||||
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
||||
"keywords": [
|
||||
"puppeteer",
|
||||
|
@ -2,6 +2,20 @@
|
||||
|
||||
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.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.3.0...puppeteer-v19.4.0) (2022-12-07)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **chromium:** roll to Chromium 109.0.5412.0 (r1069273) ([#9364](https://github.com/puppeteer/puppeteer/issues/9364)) ([1875da6](https://github.com/puppeteer/puppeteer/commit/1875da61916df1fbcf98047858c01075bd9af189)), closes [#9233](https://github.com/puppeteer/puppeteer/issues/9233)
|
||||
|
||||
|
||||
### Dependencies
|
||||
|
||||
* The following workspace dependencies were updated
|
||||
* dependencies
|
||||
* puppeteer-core bumped from 19.3.0 to 19.4.0
|
||||
|
||||
## [19.3.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.2.2...puppeteer-v19.3.0) (2022-11-23)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "puppeteer",
|
||||
"version": "19.3.0",
|
||||
"version": "19.4.0",
|
||||
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
|
||||
"keywords": [
|
||||
"puppeteer",
|
||||
@ -127,6 +127,6 @@
|
||||
"https-proxy-agent": "5.0.1",
|
||||
"progress": "2.0.3",
|
||||
"proxy-from-env": "1.1.0",
|
||||
"puppeteer-core": "19.3.0"
|
||||
"puppeteer-core": "19.4.0"
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
const versionsPerRelease = new Map([
|
||||
// This is a mapping from Chromium version => Puppeteer version.
|
||||
// In Chromium roll patches, use `NEXT` for the Puppeteer version.
|
||||
['109.0.5412.0', 'NEXT'],
|
||||
['109.0.5412.0', 'v19.4.0'],
|
||||
['108.0.5351.0', 'v19.2.0'],
|
||||
['107.0.5296.0', 'v18.1.0'],
|
||||
['106.0.5249.0', 'v17.1.0'],
|
||||
|
@ -1,23 +0,0 @@
|
||||
---
|
||||
sidebar_label: BrowserLaunchArgumentOptions
|
||||
---
|
||||
|
||||
# BrowserLaunchArgumentOptions interface
|
||||
|
||||
Launcher options that only apply to Chrome.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export interface BrowserLaunchArgumentOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Modifiers | Type | Description | Default |
|
||||
| --------------------------------------------------------------------------- | --------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
|
||||
| [args?](./puppeteer.browserlaunchargumentoptions.args.md) | | string\[\] | <i>(Optional)</i> Additional command line arguments to pass to the browser instance. | |
|
||||
| [debuggingPort?](./puppeteer.browserlaunchargumentoptions.debuggingport.md) | | number | <i>(Optional)</i> | |
|
||||
| [devtools?](./puppeteer.browserlaunchargumentoptions.devtools.md) | | boolean | <i>(Optional)</i> 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?](./puppeteer.browserlaunchargumentoptions.headless.md) | | boolean \| 'chrome' | <i>(Optional)</i> Whether to run the browser in headless mode. | true |
|
||||
| [userDataDir?](./puppeteer.browserlaunchargumentoptions.userdatadir.md) | | string | <i>(Optional)</i> 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. | |
|
@ -1,30 +0,0 @@
|
||||
---
|
||||
sidebar_label: EventEmitter.addListener
|
||||
---
|
||||
|
||||
# EventEmitter.addListener() method
|
||||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> please use [EventEmitter.on()](./puppeteer.eventemitter.on.md) instead.
|
||||
|
||||
Add an event listener.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class EventEmitter {
|
||||
addListener(event: EventType, handler: Handler): EventEmitter;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------------------------------------- | ----------- |
|
||||
| event | [EventType](./puppeteer.eventtype.md) | |
|
||||
| handler | [Handler](./puppeteer.handler.md) | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
[EventEmitter](./puppeteer.eventemitter.md)
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
sidebar_label: EventEmitter.off
|
||||
---
|
||||
|
||||
# EventEmitter.off() method
|
||||
|
||||
Remove an event listener from firing.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class EventEmitter {
|
||||
off(event: EventType, handler: Handler): EventEmitter;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------------------------------------- | ----------------------------------------------- |
|
||||
| event | [EventType](./puppeteer.eventtype.md) | the event type you'd like to stop listening to. |
|
||||
| handler | [Handler](./puppeteer.handler.md) | the function that should be removed. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
[EventEmitter](./puppeteer.eventemitter.md)
|
||||
|
||||
`this` to enable you to chain method calls.
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
sidebar_label: EventEmitter.on
|
||||
---
|
||||
|
||||
# EventEmitter.on() method
|
||||
|
||||
Bind an event listener to fire when an event occurs.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class EventEmitter {
|
||||
on(event: EventType, handler: Handler): EventEmitter;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------------------------------------- | ------------------------------------------------------------------ |
|
||||
| event | [EventType](./puppeteer.eventtype.md) | the event type you'd like to listen to. Can be a string or symbol. |
|
||||
| handler | [Handler](./puppeteer.handler.md) | the function to be called when the event occurs. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
[EventEmitter](./puppeteer.eventemitter.md)
|
||||
|
||||
`this` to enable you to chain method calls.
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
sidebar_label: EventEmitter.once
|
||||
---
|
||||
|
||||
# EventEmitter.once() method
|
||||
|
||||
Like `on` but the listener will only be fired once and then it will be removed.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class EventEmitter {
|
||||
once(event: EventType, handler: Handler): EventEmitter;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------------------------------------- | ------------------------------------------------- |
|
||||
| event | [EventType](./puppeteer.eventtype.md) | the event you'd like to listen to |
|
||||
| handler | [Handler](./puppeteer.handler.md) | the handler function to run when the event occurs |
|
||||
|
||||
**Returns:**
|
||||
|
||||
[EventEmitter](./puppeteer.eventemitter.md)
|
||||
|
||||
`this` to enable you to chain method calls.
|
@ -1,30 +0,0 @@
|
||||
---
|
||||
sidebar_label: EventEmitter.removeListener
|
||||
---
|
||||
|
||||
# EventEmitter.removeListener() method
|
||||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> please use [EventEmitter.off()](./puppeteer.eventemitter.off.md) instead.
|
||||
|
||||
Remove an event listener.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class EventEmitter {
|
||||
removeListener(event: EventType, handler: Handler): EventEmitter;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------------------------------------- | ----------- |
|
||||
| event | [EventType](./puppeteer.eventtype.md) | |
|
||||
| handler | [Handler](./puppeteer.handler.md) | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
[EventEmitter](./puppeteer.eventemitter.md)
|
@ -1,39 +0,0 @@
|
||||
---
|
||||
sidebar_label: Keyboard.down
|
||||
---
|
||||
|
||||
# Keyboard.down() method
|
||||
|
||||
Dispatches a `keydown` event.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class Keyboard {
|
||||
down(
|
||||
key: KeyInput,
|
||||
options?: {
|
||||
text?: string;
|
||||
}
|
||||
): 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 | { text?: string; } | <i>(Optional)</i> An object of options. Accepts text which, if specified, generates an input event with this text. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Promise<void>
|
||||
|
||||
## Remarks
|
||||
|
||||
If `key` is a single character and no modifier keys besides `Shift` are being held down, a `keypress`/`input` event will also generated. The `text` option can be specified to force an input event to be generated. If `key` is a modifier key, `Shift`, `Meta`, `Control`, or `Alt`, subsequent key presses will be sent with that modifier active. To release the modifier key, use [Keyboard.up()](./puppeteer.keyboard.up.md).
|
||||
|
||||
After the key is pressed once, subsequent calls to [Keyboard.down()](./puppeteer.keyboard.down.md) will have [repeat](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat) set to true. To release the key, use [Keyboard.up()](./puppeteer.keyboard.up.md).
|
||||
|
||||
Modifier keys DO influence [Keyboard.down()](./puppeteer.keyboard.down.md). Holding down `Shift` will type the text in upper case.
|
@ -1,38 +0,0 @@
|
||||
---
|
||||
sidebar_label: Keyboard.press
|
||||
---
|
||||
|
||||
# Keyboard.press() method
|
||||
|
||||
Shortcut for [Keyboard.down()](./puppeteer.keyboard.down.md) and [Keyboard.up()](./puppeteer.keyboard.up.md).
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
class Keyboard {
|
||||
press(
|
||||
key: KeyInput,
|
||||
options?: {
|
||||
delay?: number;
|
||||
text?: string;
|
||||
}
|
||||
): 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 | { delay?: number; text?: string; } | <i>(Optional)</i> An object of options. Accepts text which, if specified, generates an input event with this text. Accepts delay which, if specified, is the time to wait between <code>keydown</code> and <code>keyup</code> in milliseconds. Defaults to 0. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Promise<void>
|
||||
|
||||
## Remarks
|
||||
|
||||
If `key` is a single character and no modifier keys besides `Shift` are being held down, a `keypress`/`input` event will also generated. The `text` option can be specified to force an input event to be generated.
|
||||
|
||||
Modifier keys DO effect [Keyboard.press()](./puppeteer.keyboard.press.md). Holding down `Shift` will type the text in upper case.
|
@ -10,7 +10,7 @@ Whether to run the browser in headless mode.
|
||||
|
||||
```typescript
|
||||
interface BrowserLaunchArgumentOptions {
|
||||
headless?: boolean | 'chrome';
|
||||
headless?: boolean | 'new';
|
||||
}
|
||||
```
|
||||
|
@ -0,0 +1,23 @@
|
||||
---
|
||||
sidebar_label: BrowserLaunchArgumentOptions
|
||||
---
|
||||
|
||||
# BrowserLaunchArgumentOptions interface
|
||||
|
||||
Launcher options that only apply to Chrome.
|
||||
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export interface BrowserLaunchArgumentOptions
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Modifiers | Type | Description | Default |
|
||||
| --------------------------------------------------------------------------- | --------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
|
||||
| [args?](./puppeteer.browserlaunchargumentoptions.args.md) | | string\[\] | <i>(Optional)</i> Additional command line arguments to pass to the browser instance. | |
|
||||
| [debuggingPort?](./puppeteer.browserlaunchargumentoptions.debuggingport.md) | | number | <i>(Optional)</i> | |
|
||||
| [devtools?](./puppeteer.browserlaunchargumentoptions.devtools.md) | | boolean | <i>(Optional)</i> 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?](./puppeteer.browserlaunchargumentoptions.headless.md) | | boolean \| 'new' | <i>(Optional)</i> Whether to run the browser in headless mode. | true |
|
||||
| [userDataDir?](./puppeteer.browserlaunchargumentoptions.userdatadir.md) | | string | <i>(Optional)</i> 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. | |
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user