diff --git a/package-lock.json b/package-lock.json index a6155f57..e2caafb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8142,7 +8142,7 @@ "version": "4.9.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", - "dev": true, + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -8640,6 +8640,14 @@ }, "engines": { "node": ">=14.1.0" + }, + "peerDependencies": { + "typescript": ">= 4.7.4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "packages/puppeteer/node_modules/argparse": { @@ -14933,7 +14941,7 @@ "version": "4.9.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", - "dev": true + "devOptional": true }, "unbox-primitive": { "version": "1.0.2", diff --git a/packages/puppeteer-core/package.json b/packages/puppeteer-core/package.json index 1bcdc416..b2e98d63 100644 --- a/packages/puppeteer-core/package.json +++ b/packages/puppeteer-core/package.json @@ -174,5 +174,13 @@ "tar-fs": "2.1.1", "unbzip2-stream": "1.4.3", "ws": "8.11.0" + }, + "peerDependencies": { + "typescript": ">= 4.7.4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }