UNPKG

debug-color2

Version:

colorize console log, this module can work with require('debug')

101 lines (48 loc) 4.55 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## [1.3.1](https://github.com/bluelovers/debug-color/compare/debug-color2@1.2.7...debug-color2@1.3.1) (2022-07-31) ### 📌 Dependencies * update deps ([0564e82](https://github.com/bluelovers/debug-color/commit/0564e8205914839c5b2dfc7912a47d79c03e555d)) ## [1.2.7](https://github.com/bluelovers/debug-color/compare/debug-color2@1.2.6...debug-color2@1.2.7) (2021-07-20) ### 🐛 Bug Fixes * bug of `console.enabled = void 0;` again ([7537c43](https://github.com/bluelovers/debug-color/commit/7537c4324d373fd3caab1841a0896579e07b3650)) ## [1.2.6](https://github.com/bluelovers/debug-color/compare/debug-color2@1.2.5...debug-color2@1.2.6) (2021-07-20) ### 🐛 Bug Fixes * bug of set console.enable = undefined ([2d57bfa](https://github.com/bluelovers/debug-color/commit/2d57bfa5325588e5827d8e220acb79d90ee52900)) ### 📦 Code Refactoring * setBindThis ([385e0a5](https://github.com/bluelovers/debug-color/commit/385e0a586a21245a634c9bdc3f24449d6c8e030f)) ## [1.2.5](https://github.com/bluelovers/debug-color/compare/debug-color2@1.2.4...debug-color2@1.2.5) (2021-07-10) ### 🐛 Bug Fixes * support `Promise.resolve(999).then(console.log)` ([f5388c3](https://github.com/bluelovers/debug-color/commit/f5388c3fce5a497accaec4f78e67636065bbb748)) ## 1.2.4 (2021-07-09) ### ✨ Features * update chalkByConsoleMaybe ([d496cf1](https://github.com/bluelovers/debug-color/commit/d496cf180e99d1007793d9e3b98055b80ce031a4)) * chalkByConsoleMaybe ([c1db350](https://github.com/bluelovers/debug-color/commit/c1db35073f793150ed094f49755afe39bdf061be)) * code splitting and update symbol ([8703703](https://github.com/bluelovers/debug-color/commit/87037037e82525a8546592aba1bb8ec69e715ca9)) ### 📦 Code Refactoring * use tslib and fix type ([5b2bf2b](https://github.com/bluelovers/debug-color/commit/5b2bf2bbaba6f86b316be62cab0415830c9aac12)) ### ♻️ Chores * **release:** publish ([b44a45f](https://github.com/bluelovers/debug-color/commit/b44a45fe7d4ed95e2e7b6c8a9e30ea487716b187)) * **release:** publish ([157ad55](https://github.com/bluelovers/debug-color/commit/157ad557582de3e572091d9bb124abf47aed28c5)) ### 🔖 Miscellaneous * publish new version ([0ad7767](https://github.com/bluelovers/debug-color/commit/0ad776762d252f33f17bb4f08845bde5a55b6276)) * publish new version ([6c321f6](https://github.com/bluelovers/debug-color/commit/6c321f6b4a028e2f159683e41f5a095ef05eb9db)) * update pkg ([383f81b](https://github.com/bluelovers/debug-color/commit/383f81bb2b342bef9f3c3881e6e04bd424669559)) * update inspectOptions ([4c97d24](https://github.com/bluelovers/debug-color/commit/4c97d249f0a6be082ebfa53ce60749e2ff7f89a9)) * :bug: Fixing a bug. ([dceaf37](https://github.com/bluelovers/debug-color/commit/dceaf378b50aa7f3ab294bde3aef814e367aa9d3)) * fix Cannot read property '_stdout' of null ([a0fbea2](https://github.com/bluelovers/debug-color/commit/a0fbea2059d060f914c210e2eb172149027c4427)) * update types ([eae195c](https://github.com/bluelovers/debug-color/commit/eae195c980cdc90a5cb09e945166f3ccdccaf8ea)) * :alien: Updating API. ([91d35d5](https://github.com/bluelovers/debug-color/commit/91d35d564eb61f0fdfff0b1b4c1eb6c2689a0979)) * update for npm pack ([cba6705](https://github.com/bluelovers/debug-color/commit/cba6705597d363b91835c6cfdb4cb70dcbcbd93a)) * . ([11a4ac0](https://github.com/bluelovers/debug-color/commit/11a4ac068bd23ec422aad2f30985cbdbd485c65c)) * . ([5661a28](https://github.com/bluelovers/debug-color/commit/5661a28d166a309fe704856170d9a1df282c1d28)) * . ([043cd8f](https://github.com/bluelovers/debug-color/commit/043cd8fda822c4ccc2f3a0a326c922d1394ade25)) * fix miss env-bool deps ([dd70184](https://github.com/bluelovers/debug-color/commit/dd701840caa592b16a703c27d15aea0231d6dc0d)) * . ([ba923b4](https://github.com/bluelovers/debug-color/commit/ba923b46dc4528795d9917023cc348a2c294cedf)) * . ([140bd84](https://github.com/bluelovers/debug-color/commit/140bd84065e653acdd1d4e8e732bcb81cee9b2b2)) * . ([14c9c78](https://github.com/bluelovers/debug-color/commit/14c9c78da461e9181602178668e7ca3ae1351bd9)) * . ([1f75655](https://github.com/bluelovers/debug-color/commit/1f7565597efa17e8f350984170c51093f5847403)) * :tada: Initial commit. ([ac13190](https://github.com/bluelovers/debug-color/commit/ac1319077c3621dcfa64ee2656ec90eb8c940000)) ### BREAKING CHANGE * code splitting and update symbol