Socket
Socket
Sign inDemoInstall

postcss-cli

Package Overview
Dependencies
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-cli - npm Package Compare versions

Comparing version 6.0.1 to 6.1.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 6.1.0 / 2018-12-19
- Add `--include-dotfiles` flag to allow globs to match dotfiles. ([#254](https://github.com/postcss/postcss-cli/pull/254))
- Only log warning messages. This has always been intended behavior, but it wasn't working as expected. ([#244](https://github.com/postcss/postcss-cli/pull/244))
# 6.0.1 / 2018-10-17

@@ -2,0 +7,0 @@

15

index.js

@@ -56,4 +56,7 @@ 'use strict'

}
if (input && input.length) return globber(input)
if (input && input.length) {
return globber(input, { dot: argv.includeDotfiles })
}
if (argv.replace || argv.dir) {

@@ -236,5 +239,9 @@ error(

if (result.warnings().length) {
console.warn(reporter(result))
}
console.warn(
reporter(
Object.assign({}, result, {
messages: result.warnings()
})
)
)

@@ -241,0 +248,0 @@ return result

@@ -61,2 +61,6 @@ 'use strict'

})
.option('include-dotfiles', {
desc: 'Enables glob to match files/dirs that begin with "."',
type: 'boolean'
})
.alias('map', 'm')

@@ -63,0 +67,0 @@ .describe('map', 'Create an external sourcemap')

{
"name": "postcss-cli",
"version": "6.0.1",
"version": "6.1.0",
"description": "CLI for PostCSS",

@@ -15,3 +15,3 @@ "main": "index.js",

"clean": "node test/helpers/clean.js",
"prettier": "prettier --single-quote --no-semi **/*.{js,md}",
"prettier": "prettier --single-quote --no-semi \"**/*.{js,md}\"",
"format": "npm run prettier -- --write && eslint . --fix",

@@ -24,3 +24,3 @@ "pretest": "npm run clean && npm run format",

"chokidar": "^2.0.0",
"dependency-graph": "^0.7.0",
"dependency-graph": "^0.8.0",
"fs-extra": "^7.0.0",

@@ -37,9 +37,9 @@ "get-stdin": "^6.0.0",

"devDependencies": {
"ava": "^0.25.0",
"ava": "^1.0.1",
"coveralls": "^3.0.0",
"eslint": "^5.0.0",
"eslint-config-problems": "1.1.0",
"eslint-config-problems": "2.0.0",
"nyc": "^13.1.0",
"postcss-import": "^12.0.0",
"prettier": "~1.14.0",
"prettier": "~1.15.0",
"sugarss": "^2.0.0",

@@ -46,0 +46,0 @@ "uuid": "^3.0.1"

@@ -33,10 +33,11 @@ [![npm][npm]][npm-url]

Basic options:
-o, --output Output file [string]
-d, --dir Output directory [string]
-r, --replace Replace (overwrite) the input file [boolean]
--map, -m Create an external sourcemap
--no-map Disable the default inline sourcemaps
--verbose Be verbose [boolean]
--watch, -w Watch files for changes and recompile as needed [boolean]
--env A shortcut for setting NODE_ENV [string]
-o, --output Output file [string]
-d, --dir Output directory [string]
-r, --replace Replace (overwrite) the input file [boolean]
--map, -m Create an external sourcemap
--no-map Disable the default inline sourcemaps
--verbose Be verbose [boolean]
--watch, -w Watch files for changes and recompile as needed [boolean]
--env A shortcut for setting NODE_ENV [string]
--include-dotfiles Enables glob to match files/dirs that begin with "." [boolean]

@@ -43,0 +44,0 @@ Options for when not using a config file:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc