Skip to content
Myr

Replace kleur to colorette

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 8e7b9c2 · Browse files · 3 files+3 added−8 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+3 added−8 removed

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

3 files+3 added−8 removed

modified:test/benchmark+2 added-2 removed
1#!/usr/bin/env node23let { v4: uuid4 } = require('uuid')4let benchmark = require('benchmark')5let { bold } = require('colorette')6let shortid = require('shortid')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 }${ kleur.bold(hz) } ops/sec\n`)95 process.stdout.write(`${ name }${ bold(hz) } ops/sec\n`)96 })97 .run()
modified:package.json+1 added-1 removed
37 unmodified lines
38 "@typescript-eslint/eslint-plugin": "^3.4.0",39 "@typescript-eslint/parser": "^3.4.0",40 "benchmark": "^2.1.4",41 "check-dts": "^0.3.2",42 "colorette": "^1.2.0",43 "cuid": "^2.1.8",44 "dual-publish": "^0.10.6",45 "eslint": "^7.3.1",46 "eslint-ci": "^1.0.0",
10 unmodified lines
57 "eslint-plugin-unicorn": "^20.1.0",58 "husky": "^4.2.5",59 "jest": "^26.1.0",60 "jest-ci": "^0.1.1",60 "kleur": "^4.0.1",61 "lint-staged": "^10.2.11",62 "parcel-bundler": "^1.12.4",63 "rimraf": "^3.0.2",64 "rndm": "^1.2.0",
138 unmodified lines
modified:yarn.lock-5 removed
5978 unmodified lines
5979 version "3.0.3"5980 resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"5981 integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==59825983kleur@^4.0.1:5984 version "4.0.1"5985 resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.0.1.tgz#3d4948534b666e2578f93b6fafb62108e64f05ef"5986 integrity sha512-Qs6SqCLm63rd0kNVh+wO4XsWLU6kgfwwaPYsLiClWf0Tewkzsa6MvB21bespb8cz+ANS+2t3So1ge3gintzhlw==59875983last-call-webpack-plugin@^3.0.0:5984 version "3.0.0"5985 resolved "https://registry.yarnpkg.com/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz#9742df0e10e3cf46e5c0381c2de90d3a7a2d7555"5986 integrity sha512-7KI2l2GIZa9p2spzPIVZBYyNKkN+e/SQPpnjlTiPhdbDW3F86tdKKELxKpzJ5sgU19wQWsACULZmpTPYHeWO5w==
4400 unmodified lines