We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec33379 commit 646e1b6Copy full SHA for 646e1b6
index.js
@@ -15,7 +15,7 @@ var versionArray = process.version
15
// available in *this* package. So, if we find that the Node.js version is below
16
// that, we indicate that the API is missing from Node.js.
17
var isNodeApiBuiltin =
18
- (versionArray[0] >= 8 && versionArray[1] >= 4 && versionArray[2] >= 0);
+ (versionArray[0] > 8 || (versionArray[0] == 8 && versionArray[1] > 5));
19
20
// So far it looks like even version 9 will need the flag. We need to adjust
21
// this for the version where the flag is dropped whenever that version lands.
0 commit comments