diff --git a/test/test-79-npm/require_optional/package.json b/test/test-79-npm/require_optional/package.json index f5231caa4..37dd1960a 100644 --- a/test/test-79-npm/require_optional/package.json +++ b/test/test-79-npm/require_optional/package.json @@ -1,6 +1,6 @@ { "private": true, "peerOptionalDependencies": { - "chalk": "*" + "chalk": "^4.1.2" } } diff --git a/test/test-80-compression/test-x.js b/test/test-80-compression/test-x.js index 1d4708028..c302a2175 100644 --- a/test/test-80-compression/test-x.js +++ b/test/test-80-compression/test-x.js @@ -3,7 +3,7 @@ /* eslint-disable no-unused-vars */ const m = require('minimist'); -const c = require('chalk'); +const pc = require('picocolors'); const loremIpsum = 'Unus audio pluribus sibi quibusdam amicitias habere qua satis molestum sapientes molestum est vel frui non pluribus nimias possit quam esse sollicitum adducas persequantur esse audio nihil sollicitum laxissimas enim rerum vel non ad tamquam habitos implicari placuisse quibusdam nihil.';