postcss-cli
Advanced tools
Comparing version 9.0.1 to 9.0.2
12
index.js
@@ -9,3 +9,3 @@ #!/usr/bin/env node | ||
import read from 'read-cache' | ||
import { bold, dim, red, cyan, green } from 'nanocolors' | ||
import pc from 'picocolors' | ||
import { globby } from 'globby' | ||
@@ -122,3 +122,3 @@ import slash from 'slash' | ||
const printMessage = () => | ||
printVerbose(dim('\nWaiting for file changes...')) | ||
printVerbose(pc.dim('\nWaiting for file changes...')) | ||
const watcher = chokidar.watch(input.concat(dependencies(results)), { | ||
@@ -218,3 +218,3 @@ usePolling: argv.poll, | ||
printVerbose(cyan(`Processing ${bold(relativePath)}...`)) | ||
printVerbose(pc.cyan(`Processing ${pc.bold(relativePath)}...`)) | ||
@@ -267,3 +267,5 @@ return rc(ctx, argv.config) | ||
printVerbose( | ||
green(`Finished ${bold(relativePath)} in ${bold(prettyTime)}`) | ||
pc.green( | ||
`Finished ${pc.bold(relativePath)} in ${pc.bold(prettyTime)}` | ||
) | ||
) | ||
@@ -323,3 +325,3 @@ | ||
if (typeof err === 'string') { | ||
console.error(red(err)) | ||
console.error(pc.red(err)) | ||
} else if (err.name === 'CssSyntaxError') { | ||
@@ -326,0 +328,0 @@ console.error(err.toString()) |
{ | ||
"name": "postcss-cli", | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"description": "CLI for PostCSS", | ||
@@ -26,3 +26,3 @@ "type": "module", | ||
"globby": "^12.0.0", | ||
"nanocolors": "^0.2.11", | ||
"picocolors": "^1.0.0", | ||
"postcss-load-config": "^3.0.0", | ||
@@ -53,3 +53,3 @@ "postcss-reporter": "^7.0.0", | ||
"lib", | ||
"!*.test.js" | ||
"!**/*.test.js" | ||
], | ||
@@ -56,0 +56,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22268
7
419
+ Addedpicocolors@^1.0.0
- Removednanocolors@^0.2.11
- Removednanocolors@0.2.13(transitive)