chore: bump TS target to ES2021 (#10247)

This commit is contained in:
Nikolay Vitkov 2023-05-26 09:37:05 +02:00 committed by GitHub
parent 79b5299c5b
commit 031b021703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 21 deletions

36
package-lock.json generated
View File

@ -9781,11 +9781,11 @@
"browsers": "lib/cjs/main-cli.js" "browsers": "lib/cjs/main-cli.js"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^14.15.0", "@types/node": "^16.11.7",
"@types/yargs": "17.0.22" "@types/yargs": "17.0.22"
}, },
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": ">= 4.7.4" "typescript": ">= 4.7.4"
@ -9797,9 +9797,10 @@
} }
}, },
"packages/browsers/node_modules/@types/node": { "packages/browsers/node_modules/@types/node": {
"version": "14.18.36", "version": "16.18.32",
"dev": true, "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.32.tgz",
"license": "MIT" "integrity": "sha512-zpnXe4dEz6PrWz9u7dqyRoq9VxwCvoXRPy/ewhmMa1CgEyVmtL1NJPQ2MX+4pf97vetquVKkpiMx0MwI8pjNOw==",
"dev": true
}, },
"packages/ng-schematics": { "packages/ng-schematics": {
"name": "@puppeteer/ng-schematics", "name": "@puppeteer/ng-schematics",
@ -9813,16 +9814,17 @@
"devDependencies": { "devDependencies": {
"@angular/cli": "^15.2.2", "@angular/cli": "^15.2.2",
"@schematics/angular": "^14.2.8", "@schematics/angular": "^14.2.8",
"@types/node": "^14.15.0" "@types/node": "^16.11.7"
}, },
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.3.0"
} }
}, },
"packages/ng-schematics/node_modules/@types/node": { "packages/ng-schematics/node_modules/@types/node": {
"version": "14.18.33", "version": "16.18.32",
"dev": true, "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.32.tgz",
"license": "MIT" "integrity": "sha512-zpnXe4dEz6PrWz9u7dqyRoq9VxwCvoXRPy/ewhmMa1CgEyVmtL1NJPQ2MX+4pf97vetquVKkpiMx0MwI8pjNOw==",
"dev": true
}, },
"packages/puppeteer": { "packages/puppeteer": {
"version": "20.4.0", "version": "20.4.0",
@ -9850,7 +9852,7 @@
"parsel-js": "1.1.0" "parsel-js": "1.1.0"
}, },
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": ">= 4.7.4" "typescript": ">= 4.7.4"
@ -10886,7 +10888,7 @@
"@puppeteer/browsers": { "@puppeteer/browsers": {
"version": "file:packages/browsers", "version": "file:packages/browsers",
"requires": { "requires": {
"@types/node": "^14.15.0", "@types/node": "^16.11.7",
"@types/yargs": "17.0.22", "@types/yargs": "17.0.22",
"debug": "4.3.4", "debug": "4.3.4",
"extract-zip": "2.0.1", "extract-zip": "2.0.1",
@ -10898,7 +10900,9 @@
}, },
"dependencies": { "dependencies": {
"@types/node": { "@types/node": {
"version": "14.18.36", "version": "16.18.32",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.32.tgz",
"integrity": "sha512-zpnXe4dEz6PrWz9u7dqyRoq9VxwCvoXRPy/ewhmMa1CgEyVmtL1NJPQ2MX+4pf97vetquVKkpiMx0MwI8pjNOw==",
"dev": true "dev": true
} }
} }
@ -10911,11 +10915,13 @@
"@angular-devkit/schematics": "^15.2.7", "@angular-devkit/schematics": "^15.2.7",
"@angular/cli": "^15.2.2", "@angular/cli": "^15.2.2",
"@schematics/angular": "^14.2.8", "@schematics/angular": "^14.2.8",
"@types/node": "^14.15.0" "@types/node": "^16.11.7"
}, },
"dependencies": { "dependencies": {
"@types/node": { "@types/node": {
"version": "14.18.33", "version": "16.18.32",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.32.tgz",
"integrity": "sha512-zpnXe4dEz6PrWz9u7dqyRoq9VxwCvoXRPy/ewhmMa1CgEyVmtL1NJPQ2MX+4pf97vetquVKkpiMx0MwI8pjNOw==",
"dev": true "dev": true
} }
} }

View File

@ -90,7 +90,7 @@
"author": "The Chromium Authors", "author": "The Chromium Authors",
"license": "Apache-2.0", "license": "Apache-2.0",
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.3.0"
}, },
"files": [ "files": [
"lib", "lib",
@ -106,7 +106,7 @@
"yargs": "17.7.1" "yargs": "17.7.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^14.15.0", "@types/node": "^16.11.7",
"@types/yargs": "17.0.22" "@types/yargs": "17.0.22"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -44,7 +44,7 @@
"author": "The Chromium Authors", "author": "The Chromium Authors",
"license": "Apache-2.0", "license": "Apache-2.0",
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.3.0"
}, },
"dependencies": { "dependencies": {
"@angular-devkit/architect": "^0.1600.2", "@angular-devkit/architect": "^0.1600.2",
@ -52,7 +52,7 @@
"@angular-devkit/schematics": "^15.2.7" "@angular-devkit/schematics": "^15.2.7"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^14.15.0", "@types/node": "^16.11.7",
"@schematics/angular": "^14.2.8", "@schematics/angular": "^14.2.8",
"@angular/cli": "^15.2.2" "@angular/cli": "^15.2.2"
}, },

View File

@ -31,7 +31,7 @@
"url": "https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core" "url": "https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core"
}, },
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.3.0"
}, },
"scripts": { "scripts": {
"build:docs": "wireit", "build:docs": "wireit",

View File

@ -26,7 +26,7 @@
"strictFunctionTypes": true, "strictFunctionTypes": true,
"strictNullChecks": true, "strictNullChecks": true,
"strictPropertyInitialization": true, "strictPropertyInitialization": true,
"target": "ES2019", "target": "ES2021",
"useUnknownInCatchVariables": true, "useUnknownInCatchVariables": true,
"skipLibCheck": true "skipLibCheck": true
} }