chore: update typescript to 5.1.3 (#23461)
https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/
This commit is contained in:
parent
835f14d7c9
commit
a97bdd0016
46
package-lock.json
generated
46
package-lock.json
generated
|
|
@ -59,14 +59,14 @@
|
|||
"rimraf": "^3.0.2",
|
||||
"socksv5": "0.0.6",
|
||||
"ssim.js": "^3.5.0",
|
||||
"typescript": "^5.0.2",
|
||||
"typescript": "^5.1.3",
|
||||
"vite": "^4.3.3",
|
||||
"ws": "^8.5.0",
|
||||
"xml2js": "^0.5.0",
|
||||
"yaml": "^2.2.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/@ampproject/remapping": {
|
||||
|
|
@ -5721,16 +5721,16 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.0.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.2.tgz",
|
||||
"integrity": "sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==",
|
||||
"version": "5.1.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz",
|
||||
"integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.20"
|
||||
"node": ">=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/universalify": {
|
||||
|
|
@ -6201,7 +6201,7 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-chromium": {
|
||||
|
|
@ -6215,17 +6215,17 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-core": {
|
||||
"version": "1.35.0-next",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
"playwright-core": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-ct-core": {
|
||||
|
|
@ -6240,7 +6240,7 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-ct-react": {
|
||||
|
|
@ -6255,7 +6255,7 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-ct-react/node_modules/@vitejs/plugin-react": {
|
||||
|
|
@ -6287,7 +6287,7 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-ct-react17/node_modules/@vitejs/plugin-react": {
|
||||
|
|
@ -6322,7 +6322,7 @@
|
|||
"solid-js": "^1.7.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-ct-svelte": {
|
||||
|
|
@ -6340,7 +6340,7 @@
|
|||
"svelte": "^3.55.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-ct-vue": {
|
||||
|
|
@ -6355,7 +6355,7 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-ct-vue/node_modules/@vitejs/plugin-vue": {
|
||||
|
|
@ -6409,7 +6409,7 @@
|
|||
"vue": "^2.7.14"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-firefox": {
|
||||
|
|
@ -6423,7 +6423,7 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/playwright-test": {
|
||||
|
|
@ -6438,7 +6438,7 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"fsevents": "2.3.2"
|
||||
|
|
@ -6455,7 +6455,7 @@
|
|||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"packages/recorder": {
|
||||
|
|
@ -10227,9 +10227,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"typescript": {
|
||||
"version": "5.0.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.2.tgz",
|
||||
"integrity": "sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==",
|
||||
"version": "5.1.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz",
|
||||
"integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==",
|
||||
"dev": true
|
||||
},
|
||||
"universalify": {
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@
|
|||
"rimraf": "^3.0.2",
|
||||
"socksv5": "0.0.6",
|
||||
"ssim.js": "^3.5.0",
|
||||
"typescript": "^5.0.2",
|
||||
"typescript": "^5.1.3",
|
||||
"vite": "^4.3.3",
|
||||
"ws": "^8.5.0",
|
||||
"xml2js": "^0.5.0",
|
||||
|
|
|
|||
|
|
@ -78,15 +78,15 @@ test('should check types of fixtures', async ({ runTSC }) => {
|
|||
}, { scope: 'test', auto: true } ],
|
||||
});
|
||||
const fail10 = test.extend<{}, {}>({
|
||||
// @ts-expect-error
|
||||
bar: [ async ({}, use) => {
|
||||
await use(42);
|
||||
// @ts-expect-error
|
||||
}, { scope: 'test' } ],
|
||||
});
|
||||
const fail11 = test.extend<{ yay: string }>({
|
||||
// @ts-expect-error
|
||||
yay: [ async ({}, use) => {
|
||||
await use('foo');
|
||||
// @ts-expect-error
|
||||
}, { scope: 'test', timeout: 'str' } ],
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue