Skip to content

Commit

Permalink
fix wrong version number
Browse files Browse the repository at this point in the history
  • Loading branch information
shrujalshah28 authored Oct 20, 2021
1 parent bee3906 commit d0a441d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function createEsmHooks(tsNodeService: Service) {
// TODO: When the new API is backported to v12, v14, update these version checks accordingly.
const newHooksAPI =
versionGteLt(process.versions.node, '17.0.0') ||
versionGteLt(process.versions.node, '16.20.0', '17.0.0') ||
versionGteLt(process.versions.node, '16.12.0', '17.0.0') ||
versionGteLt(process.versions.node, '14.999.999', '15.0.0') ||
versionGteLt(process.versions.node, '12.999.999', '13.0.0');

Expand Down

0 comments on commit d0a441d

Please sign in to comment.