puppeteer
Advanced tools
Comparing version 20.7.3 to 21.3.7
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
import { Configuration } from 'puppeteer-core'; | ||
import type { Configuration } from 'puppeteer-core'; | ||
/** | ||
@@ -19,0 +19,0 @@ * @internal |
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
export { Protocol } from 'puppeteer-core'; | ||
export type { Protocol } from 'puppeteer-core'; | ||
export * from 'puppeteer-core/internal/puppeteer-core.js'; | ||
@@ -19,0 +19,0 @@ import { PuppeteerNode } from 'puppeteer-core/internal/node/PuppeteerNode.js'; |
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
import { Configuration } from 'puppeteer-core'; | ||
import type { Configuration } from 'puppeteer-core'; | ||
/** | ||
@@ -19,0 +19,0 @@ * @internal |
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
export { Protocol } from 'puppeteer-core'; | ||
export type { Protocol } from 'puppeteer-core'; | ||
export * from 'puppeteer-core/internal/puppeteer-core.js'; | ||
@@ -19,0 +19,0 @@ import { PuppeteerNode } from 'puppeteer-core/internal/node/PuppeteerNode.js'; |
{ | ||
"name": "puppeteer", | ||
"version": "20.7.3", | ||
"version": "21.3.7", | ||
"description": "A high-level API to control headless Chrome over the DevTools Protocol", | ||
@@ -38,8 +38,5 @@ "keywords": [ | ||
"build:docs": "wireit", | ||
"build:tsc": "wireit", | ||
"build:types": "wireit", | ||
"build": "wireit", | ||
"clean": "tsc -b --clean && rm -rf lib", | ||
"generate:package-json": "wireit", | ||
"postinstall": "node install.js", | ||
"clean": "../../tools/clean.js", | ||
"postinstall": "node install.mjs", | ||
"prepack": "wireit" | ||
@@ -118,3 +115,7 @@ }, | ||
"src", | ||
"install.js", | ||
"install.mjs", | ||
"!*.test.js", | ||
"!*.test.d.ts", | ||
"!*.test.js.map", | ||
"!*.test.d.ts.map", | ||
"!*.tsbuildinfo" | ||
@@ -125,6 +126,9 @@ ], | ||
"dependencies": { | ||
"cosmiconfig": "8.2.0", | ||
"puppeteer-core": "20.7.3", | ||
"@puppeteer/browsers": "1.4.2" | ||
"cosmiconfig": "8.3.6", | ||
"puppeteer-core": "21.3.7", | ||
"@puppeteer/browsers": "1.7.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "18.17.15" | ||
} | ||
} |
@@ -62,2 +62,4 @@ # Puppeteer | ||
If used with TypeScript, the minimum supported TypeScript version is `4.7.4`. | ||
#### Configuration | ||
@@ -147,5 +149,7 @@ | ||
(async () => { | ||
// Launch the browser and open a new blank page | ||
const browser = await puppeteer.launch(); | ||
const page = await browser.newPage(); | ||
// Navigate the page to a URL | ||
await page.goto('https://developer.chrome.com/'); | ||
@@ -152,0 +156,0 @@ |
@@ -21,3 +21,3 @@ /** | ||
import {cosmiconfigSync} from 'cosmiconfig'; | ||
import {Configuration, Product} from 'puppeteer-core'; | ||
import type {Configuration, Product} from 'puppeteer-core'; | ||
@@ -24,0 +24,0 @@ /** |
@@ -24,3 +24,3 @@ /** | ||
} from '@puppeteer/browsers'; | ||
import {Product} from 'puppeteer-core'; | ||
import type {Product} from 'puppeteer-core'; | ||
import {PUPPETEER_REVISIONS} from 'puppeteer-core/internal/revisions.js'; | ||
@@ -27,0 +27,0 @@ |
@@ -17,3 +17,3 @@ /** | ||
export {Protocol} from 'puppeteer-core'; | ||
export type {Protocol} from 'puppeteer-core'; | ||
@@ -20,0 +20,0 @@ export * from 'puppeteer-core/internal/puppeteer-core.js'; |
{ | ||
"extends": "../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"module": "CommonJS", | ||
"module": "NodeNext", | ||
"moduleResolution": "NodeNext", | ||
@@ -6,0 +6,0 @@ "outDir": "../lib/cjs/puppeteer" |
{ | ||
"extends": "../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "../lib/esm/puppeteer", | ||
"moduleResolution": "NodeNext" | ||
"outDir": "../lib/esm/puppeteer" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
328861
8193
258
78
1
+ Added@puppeteer/browsers@1.7.1(transitive)
+ Added@tootallnate/quickjs-emscripten@0.23.0(transitive)
+ Addedchromium-bidi@0.4.28(transitive)
+ Addedcosmiconfig@8.3.6(transitive)
+ Addedcross-fetch@4.0.0(transitive)
+ Addeddegenerator@5.0.1(transitive)
+ Addeddevtools-protocol@0.0.1179426(transitive)
+ Addedescodegen@2.1.0(transitive)
+ Addedestraverse@5.3.0(transitive)
+ Addedmitt@3.0.1(transitive)
+ Addedpac-proxy-agent@7.0.2(transitive)
+ Addedpac-resolver@7.0.1(transitive)
+ Addedproxy-agent@6.3.1(transitive)
+ Addedpuppeteer-core@21.3.7(transitive)
+ Addedtar-fs@3.0.4(transitive)
+ Addedurlpattern-polyfill@9.0.0(transitive)
+ Addedws@8.14.2(transitive)
- Removed@puppeteer/browsers@1.4.2(transitive)
- Removedacorn@8.12.1(transitive)
- Removedacorn-walk@8.3.3(transitive)
- Removedchromium-bidi@0.4.12(transitive)
- Removedcosmiconfig@8.2.0(transitive)
- Removedcross-fetch@3.1.6(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddegenerator@4.0.4(transitive)
- Removeddevtools-protocol@0.0.1135028(transitive)
- Removedescodegen@1.14.3(transitive)
- Removedestraverse@4.3.0(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedip@1.1.9(transitive)
- Removedlevn@0.3.0(transitive)
- Removedmitt@3.0.0(transitive)
- Removedoptionator@0.8.3(transitive)
- Removedpac-proxy-agent@6.0.4(transitive)
- Removedpac-resolver@6.0.2(transitive)
- Removedprelude-ls@1.1.2(transitive)
- Removedproxy-agent@6.2.1(transitive)
- Removedpuppeteer-core@20.7.3(transitive)
- Removedtar-fs@3.0.2(transitive)
- Removedtype-check@0.3.2(transitive)
- Removedvm2@3.9.19(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedws@8.13.0(transitive)
Updated@puppeteer/browsers@1.7.1
Updatedcosmiconfig@8.3.6
Updatedpuppeteer-core@21.3.7