Skip to content

Commit

Permalink
[Tests] node ^14.18 supports node: prefixes for CJS
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 13, 2021
1 parent 0cfe94e commit 43e2f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var semver = require('semver');
var isCore = require('../');
var data = require('../core.json');

var supportsNodePrefix = semver.satisfies(process.versions.node, '>= 16', { includePrerelease: true });
var supportsNodePrefix = semver.satisfies(process.versions.node, '^14.18 || >= 16', { includePrerelease: true });

test('core modules', function (t) {
t.test('isCore()', function (st) {
Expand Down

0 comments on commit 43e2f17

Please sign in to comment.