diff --git a/lib/apply/apply-files.js b/lib/apply/apply-files.js index b852b0a3..175bbbd8 100644 --- a/lib/apply/apply-files.js +++ b/lib/apply/apply-files.js @@ -1,5 +1,5 @@ const fs = require('fs/promises') -const log = require('proc-log') +const { log } = require('proc-log') const { rmEach, parseEach } = require('../util/files.js') const run = async (dir, files, options) => { diff --git a/lib/apply/apply-version.js b/lib/apply/apply-version.js index 9a4a849c..e3bddbdd 100644 --- a/lib/apply/apply-version.js +++ b/lib/apply/apply-version.js @@ -1,4 +1,4 @@ -const log = require('proc-log') +const { log } = require('proc-log') const PackageJson = require('@npmcli/package-json') const run = async ({ config: c }) => { diff --git a/lib/check/check-apply.js b/lib/check/check-apply.js index 13b882e9..b1cde376 100644 --- a/lib/check/check-apply.js +++ b/lib/check/check-apply.js @@ -1,4 +1,4 @@ -const log = require('proc-log') +const { log } = require('proc-log') const { relative, basename } = require('path') const { rmEach, parseEach } = require('../util/files.js') const { partition } = require('lodash') diff --git a/lib/check/check-gitignore.js b/lib/check/check-gitignore.js index af4936e5..e22cc361 100644 --- a/lib/check/check-gitignore.js +++ b/lib/check/check-gitignore.js @@ -1,4 +1,4 @@ -const log = require('proc-log') +const { log } = require('proc-log') const { resolve, relative, basename } = require('path') const fs = require('fs/promises') const { existsSync } = require('fs') diff --git a/lib/check/check-required.js b/lib/check/check-required.js index cb0485bf..9f04ef9f 100644 --- a/lib/check/check-required.js +++ b/lib/check/check-required.js @@ -1,4 +1,4 @@ -const log = require('proc-log') +const { log } = require('proc-log') const npa = require('npm-package-arg') const { partition } = require('lodash') const hasPackage = require('../util/has-package.js') diff --git a/lib/index.js b/lib/index.js index d5debce2..a1e01bc2 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,4 +1,4 @@ -const log = require('proc-log') +const { log } = require('proc-log') const { resolve } = require('path') const getConfig = require('./config.js') const PackageJson = require('@npmcli/package-json') diff --git a/package.json b/package.json index 416322eb..c78f27e4 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "lodash": "^4.17.21", "minimatch": "^9.0.2", "npm-package-arg": "^11.0.1", - "proc-log": "^3.0.0", + "proc-log": "^4.0.0", "release-please": "16.3.1", "semver": "^7.3.5", "undici": "^5.27.2",