1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

fix: bump default @types/node version range to 18.16.19 (#19706)

This commit is contained in:
David Sherret 2023-07-04 11:27:04 -04:00 committed by GitHub
parent 39872646eb
commit a3986b641c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -353,7 +353,7 @@ fn get_npm_pending_resolver(
// WARNING: When bumping this version, check if anything needs to be // WARNING: When bumping this version, check if anything needs to be
// updated in the `setNodeOnlyGlobalNames` call in 99_main_compiler.js // updated in the `setNodeOnlyGlobalNames` call in 99_main_compiler.js
types_node_version_req: Some( types_node_version_req: Some(
VersionReq::parse_from_npm("18.0.0 - 18.11.18").unwrap(), VersionReq::parse_from_npm("18.0.0 - 18.16.19").unwrap(),
), ),
}, },
) )

View file

@ -12,7 +12,7 @@ Deno.test({
name: "watching a file", name: "watching a file",
async fn() { async fn() {
const file = Deno.makeTempFileSync(); const file = Deno.makeTempFileSync();
const result: Array<[string, string]> = []; const result: Array<[string, string | null]> = [];
const watcher = watch( const watcher = watch(
file, file,
(eventType, filename) => result.push([eventType, filename]), (eventType, filename) => result.push([eventType, filename]),