@npmcli/disparity-colors
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -17,3 +17,3 @@ const ansi = require('ansi-styles') | ||
const color = (str, colorId) => { | ||
var { open, close } = colors[colorId] | ||
const { open, close } = colors[colorId] | ||
// avoid highlighting the "\n" (would highlight till the end of the line) | ||
@@ -20,0 +20,0 @@ return str.replace(/[^\n\r]+/g, open + '$&' + close) |
{ | ||
"name": "@npmcli/disparity-colors", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"files": [ | ||
@@ -54,6 +54,8 @@ "index.js" | ||
"devDependencies": { | ||
"standard": "^14.3.1", | ||
"tap": "^14.10.7" | ||
"standard": "^16.0.3", | ||
"tap": "^14.11.0" | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"ansi-styles": "^4.3.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
4391
1
+ Addedansi-styles@^4.3.0
+ Addedansi-styles@4.3.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)