postcss-cli
Advanced tools
Comparing version 10.1.0 to 11.0.0
24
index.js
@@ -53,3 +53,3 @@ #!/usr/bin/env node | ||
} | ||
}) | ||
}), | ||
) | ||
@@ -92,3 +92,3 @@ : [], | ||
input.map((i) => slash(String(i))), | ||
{ dot: argv.includeDotfiles } | ||
{ dot: argv.includeDotfiles }, | ||
) | ||
@@ -99,3 +99,3 @@ } | ||
error( | ||
'Input Error: Cannot use --dir or --replace when reading from stdin' | ||
'Input Error: Cannot use --dir or --replace when reading from stdin', | ||
) | ||
@@ -117,3 +117,3 @@ } | ||
error( | ||
'Input Error: Must use --dir or --replace with multiple input files' | ||
'Input Error: Must use --dir or --replace with multiple input files', | ||
) | ||
@@ -153,3 +153,3 @@ } | ||
recompile = recompile.concat( | ||
dependants.filter((file) => input.includes(file)) | ||
dependants.filter((file) => input.includes(file)), | ||
) | ||
@@ -179,3 +179,3 @@ | ||
error( | ||
'Config Error: Can not set from or to options in config file, use CLI arguments instead' | ||
'Config Error: Can not set from or to options in config file, use CLI arguments instead', | ||
) | ||
@@ -204,3 +204,3 @@ } | ||
return read(file).then((content) => css(content, file)) | ||
}) | ||
}), | ||
) | ||
@@ -256,3 +256,3 @@ } | ||
error( | ||
'Output Error: Cannot output external sourcemaps when writing to STDOUT' | ||
'Output Error: Cannot output external sourcemaps when writing to STDOUT', | ||
) | ||
@@ -279,4 +279,4 @@ } | ||
pc.green( | ||
`Finished ${pc.bold(relativePath)} in ${pc.bold(prettyTime)}` | ||
) | ||
`Finished ${pc.bold(relativePath)} in ${pc.bold(prettyTime)}`, | ||
), | ||
) | ||
@@ -315,3 +315,3 @@ | ||
.filter((msg) => | ||
msg.type === 'dependency' || msg.type === 'dir-dependency' ? msg : '' | ||
msg.type === 'dependency' || msg.type === 'dir-dependency' ? msg : '', | ||
) | ||
@@ -324,3 +324,3 @@ .map(depGraph.add) | ||
? path.join(dependency.dir, dependency.glob) | ||
: dependency.dir | ||
: dependency.dir, | ||
) | ||
@@ -327,0 +327,0 @@ } else { |
@@ -10,7 +10,7 @@ import yargs from 'yargs' | ||
$0 <input-glob-pattern> [OPTIONS] --dir <output-directory> [--watch|-w] | ||
$0 <input.css>... [OPTIONS] --replace` | ||
$0 <input.css>... [OPTIONS] --replace`, | ||
) | ||
.group( | ||
['o', 'd', 'r', 'map', 'no-map', 'watch', 'verbose', 'env'], | ||
'Basic options:' | ||
'Basic options:', | ||
) | ||
@@ -54,3 +54,3 @@ .option('o', { | ||
['u', 'parser', 'stringifier', 'syntax'], | ||
'Options for use without a config file:' | ||
'Options for use without a config file:', | ||
) | ||
@@ -103,3 +103,3 @@ .option('u', { | ||
'cat input.css | $0 -u autoprefixer > output.css', | ||
'Piping input & output' | ||
'Piping input & output', | ||
) | ||
@@ -113,3 +113,3 @@ .epilog( | ||
For more details, please see https://github.com/postcss/postcss-cli` | ||
For more details, please see https://github.com/postcss/postcss-cli`, | ||
) | ||
@@ -116,0 +116,0 @@ |
{ | ||
"name": "postcss-cli", | ||
"version": "10.1.0", | ||
"version": "11.0.0", | ||
"description": "CLI for PostCSS", | ||
"type": "module", | ||
"engines": { | ||
"node": ">=14" | ||
"node": ">=18" | ||
}, | ||
@@ -25,5 +25,5 @@ "bin": { | ||
"get-stdin": "^9.0.0", | ||
"globby": "^13.0.0", | ||
"globby": "^14.0.0", | ||
"picocolors": "^1.0.0", | ||
"postcss-load-config": "^4.0.0", | ||
"postcss-load-config": "^5.0.0", | ||
"postcss-reporter": "^7.0.0", | ||
@@ -37,9 +37,9 @@ "pretty-hrtime": "^1.0.3", | ||
"ava": "^3.1.0", | ||
"c8": "^7.9.0", | ||
"c8": "^8.0.0", | ||
"coveralls": "^3.0.0", | ||
"eslint": "^8.2.0", | ||
"eslint-config-problems": "7.0.1", | ||
"eslint": "^8.55.0", | ||
"eslint-config-problems": "8.0.0", | ||
"postcss": "^8.0.4", | ||
"postcss-import": "^15.0.0", | ||
"prettier": "~2.8.0", | ||
"prettier": "~3.1.0", | ||
"sugarss": "^4.0.0", | ||
@@ -46,0 +46,0 @@ "uuid": "^9.0.0" |
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
22636
+ Added@sindresorhus/merge-streams@2.3.0(transitive)
+ Addedglobby@14.0.2(transitive)
+ Addedpath-type@5.0.0(transitive)
+ Addedpostcss-load-config@5.1.0(transitive)
+ Addedunicorn-magic@0.1.0(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removedglobby@13.2.2(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpostcss-load-config@4.0.2(transitive)
- Removedslash@4.0.0(transitive)
Updatedglobby@^14.0.0
Updatedpostcss-load-config@^5.0.0