diff --git a/lib/fetcher.js b/lib/fetcher.js index f961a45c..287ec795 100644 --- a/lib/fetcher.js +++ b/lib/fetcher.js @@ -8,7 +8,7 @@ const ssri = require('ssri') const { promisify } = require('util') const { basename, dirname } = require('path') const tar = require('tar') -const log = require('proc-log') +const { log } = require('proc-log') const retry = require('promise-retry') const fs = require('fs/promises') const fsm = require('fs-minipass') diff --git a/lib/git.js b/lib/git.js index 5d24f724..533d83d3 100644 --- a/lib/git.js +++ b/lib/git.js @@ -8,7 +8,7 @@ const pickManifest = require('npm-pick-manifest') const npa = require('npm-package-arg') const { Minipass } = require('minipass') const cacache = require('cacache') -const log = require('proc-log') +const { log } = require('proc-log') const npm = require('./util/npm.js') const _resolvedFromRepo = Symbol('_resolvedFromRepo') diff --git a/package.json b/package.json index 8fc0bb70..33935505 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "npm-packlist": "^8.0.0", "npm-pick-manifest": "^9.0.0", "npm-registry-fetch": "^16.0.0", - "proc-log": "^3.0.0", + "proc-log": "^4.0.0", "promise-retry": "^2.0.1", "read-package-json": "^7.0.0", "read-package-json-fast": "^3.0.0",