File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ export function createEsmHooks(tsNodeService: Service) {
54
54
} ) ;
55
55
56
56
// The hooks API changed in node version X so we need to check for backwards compatibility.
57
- // TODO: When the new API is backported to v12, v14, v16, update these version checks accordingly.
57
+ // TODO: When the new API is backported to v12, v14, update these version checks accordingly.
58
58
const newHooksAPI =
59
59
versionGteLt ( process . versions . node , '17.0.0' ) ||
60
- versionGteLt ( process . versions . node , '16.999.999 ' , '17.0.0' ) ||
60
+ versionGteLt ( process . versions . node , '16.20.0 ' , '17.0.0' ) ||
61
61
versionGteLt ( process . versions . node , '14.999.999' , '15.0.0' ) ||
62
62
versionGteLt ( process . versions . node , '12.999.999' , '13.0.0' ) ;
63
63
You can’t perform that action at this time.
0 commit comments