From 3da479705cd2e02d2ee2d1d4f5568f8d4f0b6044 Mon Sep 17 00:00:00 2001 From: Julian Gruber Date: Tue, 29 Mar 2022 11:32:19 +0200 Subject: [PATCH] rename --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 36417ca..3c781da 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ const semver = require('semver') -const coreModules = [ +const permanentModules = [ 'assert', 'buffer', 'child_process', @@ -56,7 +56,7 @@ const experimentalModules = { } module.exports = ({ version = process.version, experimental = false } = {}) => { - const builtins = [...coreModules] + const builtins = [...permanentModules] for (const [name, semverRange] of Object.entries(versionLockedModules)) { if (version === '*' || semver.satisfies(version, semverRange)) {