From 55d282e5483257605dfde937a8c8ecd087311e68 Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Mon, 8 Jul 2019 15:40:09 +0200 Subject: [PATCH] Move to require('module').builtinModules Fixes #80 --- index.js | 2 +- package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 02f9bcd..b8fd5e0 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const path = require('path') const fs = require('fs') const readPackage = require('read-package-json') -const builtins = require('builtins')() +const builtins = require('module').builtinModules const resolveModule = require('resolve') const debug = require('debug')('dependency-check') const isRelative = require('is-relative') diff --git a/package.json b/package.json index 7654afd..2b66983 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ }, "author": "max ogden", "dependencies": { - "builtins": "^2.0.0", "debug": "^4.0.0", "detective": "^5.0.2", "globby": "^10.0.1",