postcss-cli
Advanced tools
Comparing version 8.3.0 to 8.3.1
@@ -0,1 +1,6 @@ | ||
# 8.3.1 / 2020-12-12 | ||
- Ensure paths are not interpreted as numbers ([#360](https://github.com/postcss/postcss-cli/issues/360)) | ||
- Better errors for incorrect postcss version ([#361](https://github.com/postcss/postcss-cli/issues/361), [#362](https://github.com/postcss/postcss-cli/pull/362)) | ||
# 8.3.0 / 2020-11-17 | ||
@@ -2,0 +7,0 @@ |
10
index.js
@@ -59,2 +59,7 @@ 'use strict' | ||
/* istanbul ignore next */ | ||
if (parseInt(postcss().version) < 8) { | ||
error('Please install PostCSS 8 or above') | ||
} | ||
Promise.resolve() | ||
@@ -67,3 +72,6 @@ .then(() => { | ||
if (input && input.length) { | ||
return globber(input.map(slash), { dot: argv.includeDotfiles }) | ||
return globber( | ||
input.map((i) => slash(String(i))), | ||
{ dot: argv.includeDotfiles } | ||
) | ||
} | ||
@@ -70,0 +78,0 @@ |
{ | ||
"name": "postcss-cli", | ||
"version": "8.3.0", | ||
"version": "8.3.1", | ||
"description": "CLI for PostCSS", | ||
@@ -42,3 +42,3 @@ "main": "index.js", | ||
"postcss-import": "^12.0.0", | ||
"prettier": "~2.1.0", | ||
"prettier": "~2.2.0", | ||
"sugarss": "^3.0.0", | ||
@@ -45,0 +45,0 @@ "uuid": "^8.0.0" |
@@ -9,3 +9,3 @@ [![npm][npm]][npm-url] | ||
<div align="center"> | ||
<img width="100" height="100" title="CLI" src="http://postcss.github.io/postcss-cli/logo.svg"> | ||
<img width="100" height="100" title="CLI" src="https://raw.githubusercontent.com/postcss/postcss-cli/HEAD/logo.svg"> | ||
<a href="https://github.com/postcss/postcss"> | ||
@@ -12,0 +12,0 @@ <img width="110" height="110" title="PostCSS" src="http://postcss.github.io/postcss/logo.svg" hspace="10"> |
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
32336
395