-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 48fc425
Showing
1,988 changed files
with
250,228 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Declare files that will always have LF line endings on checkout. | ||
*.txt eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
name: Bug report | ||
description: File a bug report for puppeteer or puppeteer-core | ||
title: '[Bug]: ' | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: > | ||
### Thanks for taking the time to fill out this bug report! | ||
**Before filling out this report**, please check our | ||
[Troubleshooting](https://pptr.dev/troubleshooting) guide for solutions | ||
to common issues. | ||
If your issue is not about `puppeteer` or `puppeteer-core` packages, check out | ||
other issue templates at https://github.com/puppeteer/puppeteer/issues/new/choose. | ||
- id: mvce | ||
type: textarea | ||
attributes: | ||
label: Minimal, reproducible example | ||
description: > | ||
Provide a [minimal, reproducible | ||
example](https://stackoverflow.com/help/minimal-reproducible-example) of | ||
the bug you are facing. If possible, embedd the test page content into the | ||
Puppeteer script using `page.setContent()`. | ||
render: TypeScript | ||
placeholder: | | ||
import puppeteer from 'puppeteer'; | ||
const browser = await puppeteer.launch(); | ||
const page = await browser.newPage(); | ||
// Set test content. | ||
await page.setContent(`<div>test</div>`); | ||
// Actions to trigger the bug. | ||
await browser.close(); | ||
validations: | ||
required: true | ||
- id: background | ||
type: textarea | ||
attributes: | ||
label: Background | ||
description: > | ||
Optional. Briefly describe your use-case that led to this issue. This can help us | ||
understand the general situation to provide better, higher quality | ||
feedback and help others in similar situations. | ||
placeholder: | | ||
I've been trying to ... | ||
- id: expectation | ||
type: textarea | ||
attributes: | ||
label: Expectation | ||
description: What are you expecting the code to do? | ||
placeholder: | | ||
I expected ... | ||
validations: | ||
required: true | ||
- id: reality | ||
type: textarea | ||
attributes: | ||
label: Reality | ||
description: What actually happens? | ||
placeholder: | | ||
In reality, ... | ||
validations: | ||
required: true | ||
- id: puppeteer-configuration | ||
type: textarea | ||
attributes: | ||
label: Puppeteer configuration file (if used) | ||
description: > | ||
Copy and paste your [configuration | ||
file](https://pptr.dev/guides/configuration/) (if used). | ||
*No need for backticks — this automatically gets formatted into code.* | ||
render: TypeScript | ||
- id: puppeteer-version | ||
type: input | ||
attributes: | ||
label: Puppeteer version | ||
description: > | ||
What version of Puppeteer are you running? *This must be a valid semver | ||
tag, for example, `20.8.1`.* | ||
validations: | ||
required: true | ||
- id: node-version | ||
type: input | ||
attributes: | ||
label: Node version | ||
description: > | ||
What supported version of Node.js are you running? *This must be a valid | ||
semver tag, for example, `20.3.1`.* | ||
validations: | ||
required: true | ||
- id: pkg-mgr | ||
type: dropdown | ||
attributes: | ||
label: Package manager | ||
description: What package manager are you running? | ||
options: | ||
- npm | ||
- yarn | ||
- pnpm | ||
validations: | ||
required: true | ||
- id: pkg-mgr-version | ||
type: input | ||
attributes: | ||
label: Package manager version | ||
description: > | ||
What version of the package manager are you running? *This must be a | ||
valid semver tag, for example, `9.6.7`.* | ||
validations: | ||
required: true | ||
- id: operating-system | ||
type: dropdown | ||
attributes: | ||
label: Operating system | ||
description: What supported operating system are you running? | ||
options: | ||
- Windows | ||
- macOS | ||
- Linux | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: General Puppeteer questions | ||
url: https://stackoverflow.com/questions/tagged/puppeteer | ||
about: For general technical questions or “how to” guidance, please search StackOverflow for questions tagged “puppeteer” or create a new post. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Feature | ||
description: File a feature request | ||
title: '[Feature]: ' | ||
labels: [feature] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
### Thanks for taking the time to fill out a feature request! | ||
**Before filling out this report**, please check [existing feature requests](https://github.com/puppeteer/puppeteer/issues?q=is%3Aissue++label%3Afeature+) and see if your feature has already been proposed. | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Feature description | ||
description: Please describe your feature request with as many details as possible. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Bug for @puppeteer/browsers | ||
description: File a bug report specifically about the `@puppeteer/browsers` package. | ||
title: '[Bug]: ' | ||
labels: [bug, '@puppeteer/browsers'] | ||
body: | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Steps to reproduce | ||
description: Please describe steps to reproduce the issue. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected results | ||
description: What is the behaviour you expect. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual | ||
attributes: | ||
label: Actual results | ||
description: What is the observed behaviour. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Bug for @puppeteer/ng-schematics | ||
description: File a bug report specifically about the `@puppeteer/ng-schematics` package. | ||
title: '[Bug]: ' | ||
labels: [bug, '@puppeteer/ng-schematics'] | ||
body: | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Steps to reproduce | ||
description: Please describe steps to reproduce the issue. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected results | ||
description: What is the behaviour you expect. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual | ||
attributes: | ||
label: Actual results | ||
description: What is the observed behaviour. | ||
validations: | ||
required: true | ||
- id: ng-schematics-version | ||
type: input | ||
attributes: | ||
label: '@puppeteer/ng-schematics version' | ||
description: > | ||
For example, `0.5.5` | ||
validations: | ||
required: true | ||
- id: ng-version | ||
type: textarea | ||
attributes: | ||
label: Angular CLI version | ||
description: > | ||
Paste the output of `ng version` here. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. --> | ||
|
||
**What kind of change does this PR introduce?** | ||
|
||
<!-- E.g. a bugfix, feature, refactoring, build related change, etc… --> | ||
|
||
**Did you add tests for your changes?** | ||
|
||
**If relevant, did you update the documentation?** | ||
|
||
**Summary** | ||
|
||
<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? --> | ||
<!-- Try to link to an open issue for more information. --> | ||
|
||
**Does this PR introduce a breaking change?** | ||
|
||
<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. --> | ||
|
||
**Other information** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
day: 'sunday' | ||
time: '02:00' | ||
timezone: Europe/Berlin | ||
ignore: | ||
- dependency-name: devtools-protocol | ||
- dependency-name: '@types/node' | ||
- dependency-name: '@angular-devkit/*' | ||
groups: | ||
dependencies: | ||
dependency-type: production | ||
patterns: | ||
- '*' | ||
dev-dependencies: | ||
dependency-type: development | ||
patterns: | ||
- '*' | ||
- package-ecosystem: npm | ||
directory: /website | ||
schedule: | ||
interval: weekly | ||
day: 'sunday' | ||
time: '03:00' | ||
timezone: Europe/Berlin | ||
groups: | ||
all: | ||
patterns: | ||
- '*' | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
day: 'sunday' | ||
time: '04:00' | ||
timezone: Europe/Berlin | ||
groups: | ||
all: | ||
patterns: | ||
- '*' | ||
- package-ecosystem: docker | ||
directory: /docker | ||
schedule: | ||
interval: weekly | ||
day: 'sunday' | ||
time: '05:00' | ||
timezone: Europe/Berlin | ||
ignore: | ||
- dependency-name: node | ||
versions: | ||
# Remove once NodeJS v24 is LTS | ||
- '24' | ||
- '23' | ||
groups: | ||
all: | ||
patterns: | ||
- '*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
releaseType: node | ||
primaryBranch: main | ||
handleGHRelease: true | ||
manifest: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Dependencies | ||
node_modules | ||
|
||
# Production | ||
build/ | ||
lib/ | ||
bin/ | ||
|
||
# Generated files | ||
**/*.tsbuildinfo | ||
*.api.json | ||
*.tgz | ||
yarn.lock | ||
.docusaurus/ | ||
.cache-loader | ||
test/output-*/ | ||
.dev_profile* | ||
coverage/ | ||
generated/ | ||
.eslintcache | ||
.cache/ | ||
|
||
# IDE Artifacts | ||
.vscode/* | ||
!.vscode/extensions.json | ||
!.vscode/*.template.json | ||
.devcontainer | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Wireit | ||
.wireit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* @license | ||
* Copyright 2020 Google Inc. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
let timeout = process.platform === 'win32' ? 20_000 : 10_000; | ||
if (!!process.env.DEBUGGER_ATTACHED) { | ||
timeout = 0; | ||
} | ||
module.exports = { | ||
logLevel: 'debug', | ||
require: ['./test/build/mocha-utils.js', 'source-map-support/register'], | ||
exit: !!process.env.CI, | ||
retries: process.env.CI ? 3 : 0, | ||
parallel: !!process.env.PARALLEL, | ||
timeout: timeout, | ||
reporter: process.env.CI ? 'spec' : 'dot', | ||
// This should make mocha crash on uncaught errors. | ||
// See https://github.com/mochajs/mocha/blob/master/docs/index.md#--allow-uncaught. | ||
allowUncaught: true, | ||
// See https://github.com/mochajs/mocha/blob/master/docs/index.md#--async-only--a. | ||
asyncOnly: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
access=public | ||
install-strategy=nested |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v22 |
Oops, something went wrong.