mirror of
https://github.com/CloakHQ/CloakBrowser.git
synced 2026-06-23 11:41:46 +02:00
fix(js): bump playwright-core minimum to >=1.53.0 (#200)
playwright-core <=1.52.0 injects __pwInitScripts into window, which deviceandbrowserinfo.com detects as isPlaywright:true. Fixed in 1.53.0.
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ const page = await browser.newPage();
|
|||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- Node.js >= 20
|
- Node.js >= 20
|
||||||
- One of: `playwright-core` >= 1.40 or `puppeteer-core` >= 21
|
- One of: `playwright-core` >= 1.53 or `puppeteer-core` >= 21
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -59,7 +59,7 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"mmdb-lib": ">=2.0.0",
|
"mmdb-lib": ">=2.0.0",
|
||||||
"playwright-core": ">=1.40.0",
|
"playwright-core": ">=1.53.0",
|
||||||
"puppeteer-core": ">=21.0.0",
|
"puppeteer-core": ">=21.0.0",
|
||||||
"socks-proxy-agent": ">=10.0.0"
|
"socks-proxy-agent": ">=10.0.0"
|
||||||
},
|
},
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
"@types/node": "^20.10.0",
|
"@types/node": "^20.10.0",
|
||||||
"mmdb-lib": "^3.0.2",
|
"mmdb-lib": "^3.0.2",
|
||||||
"socks-proxy-agent": "^10.0.0",
|
"socks-proxy-agent": "^10.0.0",
|
||||||
"playwright-core": "^1.40.0",
|
"playwright-core": "^1.53.0",
|
||||||
"puppeteer-core": "^21.0.0",
|
"puppeteer-core": "^21.0.0",
|
||||||
"typescript": "^5.3.0",
|
"typescript": "^5.3.0",
|
||||||
"vitest": "^1.0.0"
|
"vitest": "^1.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user