@poppinss/colors
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "@poppinss/colors", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A wrapper on top of kleur with ability to write test against the color functions", | ||
@@ -35,3 +35,3 @@ "main": "build/index.js", | ||
"@adonisjs/require-ts": "^1.0.0", | ||
"@types/node": "^14.6.2", | ||
"@types/node": "^14.11.1", | ||
"commitizen": "^4.2.1", | ||
@@ -41,3 +41,3 @@ "cz-conventional-changelog": "^3.3.0", | ||
"doctoc": "^1.4.0", | ||
"eslint": "^7.7.0", | ||
"eslint": "^7.9.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
@@ -47,9 +47,9 @@ "eslint-plugin-adonis": "^1.0.15", | ||
"github-label-sync": "^2.0.0", | ||
"husky": "^4.2.5", | ||
"husky": "^4.3.0", | ||
"japa": "^3.1.1", | ||
"mrm": "^2.3.5", | ||
"mrm": "^2.5.0", | ||
"np": "^6.5.0", | ||
"npm-audit-html": "^1.4.3", | ||
"prettier": "^2.1.1", | ||
"typescript": "^4.0.2" | ||
"prettier": "^2.1.2", | ||
"typescript": "^4.0.3" | ||
}, | ||
@@ -56,0 +56,0 @@ "nyc": { |
@@ -24,2 +24,3 @@ <div align="center"><img src="https://res.cloudinary.com/adonisjs/image/upload/q_100/v1557762307/poppinss_iftxlt.jpg" width="600px"></div> | ||
## Why use this module? | ||
This module attempts to solve two specific problems. | ||
@@ -30,3 +31,3 @@ | ||
### The problem | ||
### The problem | ||
@@ -38,3 +39,3 @@ Let's imagine you are writing a test to ensure that `function dummy` outputs an error message to the console in certain situation. | ||
function dummy () { | ||
function dummy() { | ||
if (someCondition) { | ||
@@ -117,7 +118,3 @@ console.log(bgRed().white('Error')) | ||
```ts | ||
import { | ||
FakeColors, | ||
Colors, | ||
Raw, | ||
} from '@poppinss/colors' | ||
import { FakeColors, Colors, Raw } from '@poppinss/colors' | ||
@@ -136,13 +133,9 @@ // Real implementation | ||
[circleci-url]: https://circleci.com/gh/poppinss/colors 'circleci' | ||
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript | ||
[typescript-url]: "typescript" | ||
[npm-image]: https://img.shields.io/npm/v/@poppinss/colors.svg?style=for-the-badge&logo=npm | ||
[npm-url]: https://npmjs.org/package/@poppinss/colors 'npm' | ||
[license-image]: https://img.shields.io/npm/l/@poppinss/colors?color=blueviolet&style=for-the-badge | ||
[license-url]: LICENSE.md 'license' | ||
[audit-report-image]: https://img.shields.io/badge/-Audit%20Report-blueviolet?style=for-the-badge | ||
[audit-report-url]: https://htmlpreview.github.io/?https://github.com/poppinss/colors/blob/develop/npm-audit.html "audit-report" | ||
[audit-report-url]: https://htmlpreview.github.io/?https://github.com/poppinss/colors/blob/develop/npm-audit.html 'audit-report' |
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
18653
137