irc-colors
Advanced tools
Comparing version 1.4.3 to 1.5.0
@@ -21,6 +21,9 @@ const colors = { | ||
const styles = { | ||
normal : '\x0F', | ||
underline : '\x1F', | ||
bold : '\x02', | ||
italic : '\x1D' | ||
normal : '\x0F', | ||
underline : '\x1F', | ||
bold : '\x02', | ||
italic : '\x1D', | ||
inverse : '\x16', | ||
strikethrough : '\x1E', | ||
monospace : '\x11', | ||
}; | ||
@@ -146,3 +149,3 @@ | ||
// Adds all functions to each other so they can be chained. | ||
function addGetters(fn, types) { | ||
const addGetters = (fn, types) => { | ||
Object.keys(allColors).forEach((type) => { | ||
@@ -161,3 +164,3 @@ if (types.indexOf(type) > -1) { return; } | ||
}); | ||
} | ||
}; | ||
@@ -164,0 +167,0 @@ Object.keys(allColors).forEach((type) => { |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "1.4.3", | ||
"version": "1.5.0", | ||
"repository": { | ||
@@ -31,5 +31,5 @@ "type": "git", | ||
"engines": { | ||
"node": ">=4" | ||
"node": ">=6" | ||
}, | ||
"license": "MIT" | ||
} |
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
8570
163