1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -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
// updated in the `setNodeOnlyGlobalNames` call in 99_main_compiler.js
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",
async fn() {
const file = Deno.makeTempFileSync();
const result: Array<[string, string]> = [];
const result: Array<[string, string | null]> = [];
const watcher = watch(
file,
(eventType, filename) => result.push([eventType, filename]),