diff --git a/lib/index.js b/lib/index.js index 8e3c673..0075e98 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4,7 +4,7 @@ const util = require('util') const crypto = require('crypto') const { Module } = require('module') const path = require('path') -const read = util.promisify(require('read')) +const read = require('read') const files = {} diff --git a/package.json b/package.json index 9aa0bf5..2e4dfcc 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "type": "git" }, "dependencies": { - "read": "^1.0.0" + "read": "^2.0.0" }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0",