Skip to content
Myr

Replace chalk to kleur

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Andrey Sitnik · committed by Andrey Sitnik · parent 8e07d32 · Browse files · 3 files+8 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+8 added−3 removed

  • tests:+2 added−2 removed
  • other:+6 added−1 removed

3 files+8 added−3 removed

modified:test/benchmark+2 added-2 removed
1 unmodified line
23let { v4: uuid4 } = require('uuid')4let benchmark = require('benchmark')5let shortid = require('shortid')6let chalk = require('chalk')6let kleur = require('kleur')7let cuid = require('cuid')8let rndm = require('rndm')9let srs = require('secure-random-string')10let uid = require('uid-safe')
80 unmodified lines
91 name = '\nAsync:\n' + name92 } else if (event.target.name === 'non-secure nanoid') {93 name = '\nNon-secure:\n' + name94 }95 process.stdout.write(`${ name }${ chalk.bold(hz) } ops/sec\n`)95 process.stdout.write(`${ name }${ kleur.bold(hz) } ops/sec\n`)96 })97 .run()
modified:package.json+1 added-1 removed
36 unmodified lines
37 "@size-limit/preset-small-lib": "^4.5.0",38 "@typescript-eslint/eslint-plugin": "^3.2.0",39 "@typescript-eslint/parser": "^3.2.0",40 "benchmark": "^2.1.4",41 "chalk": "^4.1.0",41 "check-dts": "^0.3.0",42 "cuid": "^2.1.8",43 "dual-publish": "^0.10.3",44 "eslint": "^7.2.0",
11 unmodified lines
56 "eslint-plugin-unicorn": "^20.1.0",57 "husky": "^4.2.5",58 "jest": "^26.0.1",59 "jest-ci": "^0.1.1",60 "kleur": "^4.0.0",61 "lint-staged": "^10.2.10",62 "parcel-bundler": "^1.12.4",63 "rimraf": "^3.0.2",64 "rndm": "^1.2.0",
138 unmodified lines
modified:yarn.lock+5 added
6001 unmodified lines
6002 version "3.0.3"6003 resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"6004 integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==60056006kleur@^4.0.0:6007 version "4.0.0"6008 resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.0.0.tgz#6da4e7a800e33eb28c53fb91902d623450a980d6"6009 integrity sha512-D8qk4wvB8ofBeLAsRNwnCkjbwdrcKYsMC/56pFQMOSfmmYJkG1O9/oBgXzD05K7biYAwnHjMI2abZ3YiuMY0Pg==60106011last-call-webpack-plugin@^3.0.0:6012 version "3.0.0"6013 resolved "https://registry.yarnpkg.com/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz#9742df0e10e3cf46e5c0381c2de90d3a7a2d7555"6014 integrity sha512-7KI2l2GIZa9p2spzPIVZBYyNKkN+e/SQPpnjlTiPhdbDW3F86tdKKELxKpzJ5sgU19wQWsACULZmpTPYHeWO5w==
4437 unmodified lines