puppeteer/packages/puppeteer-core/package.json

158 lines
3.8 KiB
JSON
Raw Normal View History

{
"name": "puppeteer-core",
"version": "19.7.1",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
"keywords": [
"puppeteer",
"chrome",
"headless",
"automation"
],
"type": "commonjs",
"main": "./lib/cjs/puppeteer/puppeteer-core.js",
"types": "./lib/types.d.ts",
"exports": {
".": {
"types": "./lib/types.d.ts",
"import": "./lib/esm/puppeteer/puppeteer-core.js",
"require": "./lib/cjs/puppeteer/puppeteer-core.js"
},
"./internal/*": {
"import": "./lib/esm/puppeteer/*",
"require": "./lib/cjs/puppeteer/*"
},
"./*": {
"import": "./*",
"require": "./*"
}
},
"repository": {
"type": "git",
"url": "https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core"
},
"engines": {
"node": ">=14.1.0"
},
"scripts": {
2023-02-13 18:22:43 +00:00
"build:docs": "wireit",
"build:tsc": "wireit",
"build:types": "wireit",
"build": "wireit",
"check": "tsx tools/ensure-correct-devtools-protocol-package",
2023-02-13 18:22:43 +00:00
"clean": "tsc -b --clean && rimraf lib src/generated",
"generate:package-json": "wireit",
"generate:sources": "wireit",
2023-02-13 18:22:43 +00:00
"prepack": "wireit"
},
"wireit": {
"prepack": {
"command": "cp ../../README.md README.md",
"files": [
"../../README.md"
],
"output": [
"README.md"
]
},
"build": {
"dependencies": [
"build:tsc",
2023-02-13 18:22:43 +00:00
"build:types"
]
},
"generate:sources": {
"command": "tsx tools/generate_sources.ts",
2023-02-10 17:57:17 +00:00
"clean": "if-file-deleted",
"files": [
2023-02-10 17:57:17 +00:00
"../../versions.js",
"src/{injected,templates}/**",
2023-02-10 17:57:17 +00:00
"tools/generate_sources.ts"
],
"output": [
2023-02-10 17:57:17 +00:00
"src/generated/*.ts"
]
},
"generate:package-json": {
"command": "tsx ../../tools/generate_module_package_json.ts lib/esm/package.json",
2023-02-10 17:57:17 +00:00
"files": [
"../../tools/generate_module_package_json.ts"
],
"output": [
"lib/esm/package.json"
]
},
"build:docs": {
"command": "api-extractor run --local --config \"./api-extractor.docs.json\"",
2023-02-10 17:57:17 +00:00
"files": [
"api-extractor.docs.json",
2023-02-13 18:22:43 +00:00
"lib/esm/puppeteer/puppeteer-core.d.ts",
"tsconfig.json"
2023-02-10 17:57:17 +00:00
],
"dependencies": [
"build:tsc"
]
},
2023-02-13 18:22:43 +00:00
"build:tsc": {
"command": "tsc -b && rollup --config rollup.third_party.config.mjs",
"clean": "if-file-deleted",
"dependencies": [
2023-02-13 18:22:43 +00:00
"generate:package-json",
"generate:sources"
],
"files": [
2023-02-13 18:22:43 +00:00
"{compat,src,third_party}/**",
"rollup.third_party.config.mjs"
],
"output": [
2023-02-13 18:22:43 +00:00
"lib/{cjs,esm}/**",
"!lib/esm/package.json"
]
},
2023-02-13 18:22:43 +00:00
"build:types": {
"command": "api-extractor run --local && eslint --cache-location .eslintcache --cache --ext=ts --no-ignore --no-eslintrc -c=../../.eslintrc.types.cjs --fix lib/types.d.ts",
"files": [
2023-02-13 18:22:43 +00:00
"../../.eslintrc.types.cjs",
"api-extractor.json",
"lib/esm/puppeteer/types.d.ts",
"tsconfig.json"
],
"output": [
2023-02-13 18:22:43 +00:00
"lib/types.d.ts"
],
"dependencies": [
"build:tsc"
]
}
},
"files": [
"lib",
"!*.tsbuildinfo"
],
"author": "The Chromium Authors",
"license": "Apache-2.0",
"dependencies": {
"cross-fetch": "3.1.5",
"debug": "4.3.4",
"devtools-protocol": "0.0.1094867",
"extract-zip": "2.0.1",
"https-proxy-agent": "5.0.1",
"proxy-from-env": "1.1.0",
"rimraf": "3.0.2",
"tar-fs": "2.1.1",
"unbzip2-stream": "1.4.3",
chore(deps): Bump ws from 8.10.0 to 8.11.0 (#9412) Bumps [ws](https://github.com/websockets/ws) from 8.10.0 to 8.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p> <blockquote> <h2>8.11.0</h2> <h1>Features</h1> <ul> <li><code>WebSocket.prototype.addEventListener()</code> now supports an event listener specified as an object with a <code>handleEvent()</code> method. (9ab743aa).</li> </ul> <h1>Bug fixes</h1> <ul> <li><code>WebSocket.prototype.addEventListener()</code> now adds an event listener only if it is not already in the list of the event listeners for the specified event type (1cec17da).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/websockets/ws/commit/afd8c6269bf5056a052281c543e9f19c7d88673d"><code>afd8c62</code></a> [dist] 8.11.0</li> <li><a href="https://github.com/websockets/ws/commit/1cec17da060ef1a4656a6d530c2b686039b7e094"><code>1cec17d</code></a> [fix] Add the same event listener only once</li> <li><a href="https://github.com/websockets/ws/commit/9ab743aa706be653e3b3c94d07960fe4342f9da5"><code>9ab743a</code></a> [feature] Add support for objets with a <code>handleEvent()</code> method</li> <li><a href="https://github.com/websockets/ws/commit/38f78794ca68770e962d76fcdb50dd264696a5e5"><code>38f7879</code></a> [ci] Test on node 19</li> <li>See full diff in <a href="https://github.com/websockets/ws/compare/8.10.0...8.11.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ws&package-manager=npm_and_yarn&previous-version=8.10.0&new-version=8.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 14:55:17 +00:00
"ws": "8.11.0"
},
"peerDependencies": {
"typescript": ">= 4.7.4",
"chromium-bidi": "0.4.3"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
},
"chromium-bidi": {
"optional": true
}
}
}