vite-plugin-utils
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -60,1 +60,13 @@ // https://github.com/vitejs/vite/blob/c3f6731bafeadd310efa4325cb8dcc639636fe48/packages/vite/src/node/constants.ts#L25-L33 | ||
export const singlelineCommentsRE = /\/\/.*/g; | ||
/** | ||
* @see https://stackoverflow.com/questions/9781218/how-to-change-node-jss-console-font-color | ||
* @see https://en.wikipedia.org/wiki/ANSI_escape_code#Colors | ||
*/ | ||
export const COLOURS = { | ||
$: (c) => (str) => `\x1b[${c}m` + str + '\x1b[0m', | ||
gary: (str) => COLOURS.$(90)(str), | ||
cyan: (str) => COLOURS.$(36)(str), | ||
yellow: (str) => COLOURS.$(33)(str), | ||
green: (str) => COLOURS.$(32)(str), | ||
red: (str) => COLOURS.$(31)(str), | ||
}; |
{ | ||
"name": "vite-plugin-utils", | ||
"description": "A collection of opinionated Vite plugin utils", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"type": "module", | ||
"main": "", | ||
"exports": { | ||
"./*": "./*/index.js" | ||
}, | ||
"repository": { | ||
@@ -29,5 +32,5 @@ "type": "git", | ||
"files": [ | ||
"*/*.d.ts", | ||
"*/*.ts", | ||
"*/*.js" | ||
] | ||
} |
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
28053
847