From e32e5d9fb77dc2dddd0bab81373c0e6ea6ec7df7 Mon Sep 17 00:00:00 2001 From: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Thu, 30 Apr 2020 00:57:35 +0530 Subject: [PATCH] refactor: use emoji-log instead --- package.json | 2 +- source/Background/index.ts | 4 ++-- yarn.lock | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index d94ff14..9c91ba1 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,9 @@ "dependencies": { "@babel/runtime": "^7.9.2", "advanced-css-reset": "^1.1.1", + "emoji-log": "^1.0.2", "react": "^16.13.1", "react-dom": "^16.13.1", - "unicorn.log": "^1.7.0", "webext-base-css": "^1.1.0", "webextension-polyfill-ts": "^0.14.0" }, diff --git a/source/Background/index.ts b/source/Background/index.ts index 0c42ef2..39efddb 100644 --- a/source/Background/index.ts +++ b/source/Background/index.ts @@ -1,6 +1,6 @@ -import 'unicorn.log'; +import 'emoji-log'; import {browser} from 'webextension-polyfill-ts'; browser.runtime.onInstalled.addListener((): void => { - console.unicorn('extension installed'); + console.emoji('🦄', 'extension installed'); }); diff --git a/yarn.lock b/yarn.lock index 0d5d8c8..0e01640 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2935,6 +2935,11 @@ elliptic@^6.0.0: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.0" +emoji-log@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/emoji-log/-/emoji-log-1.0.2.tgz#f2da615b05c2e415626e2bdd122dfa37d6d87144" + integrity sha512-3r9WI8xWU3gaeuPSrHEO9cbTybzlud82v98qeJlwyeGhUhKMleKdvDLegn/CPd1UZiFfTgl5VmJ9OW7I0y7CVA== + emoji-regex@^7.0.1, emoji-regex@^7.0.2: version "7.0.3" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" @@ -7543,11 +7548,6 @@ unicode-property-aliases-ecmascript@^1.0.4: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57" integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw== -unicorn.log@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/unicorn.log/-/unicorn.log-1.7.0.tgz#3056eb5fc883252a39f04b8d0078a97a8bdf3f18" - integrity sha512-40ww3Kr4wXJvtMxJEC0rBzMn3vfxIYrRWziYuxnxBmPjplQGxg4KFOJ5oGRAtbGEhLi56vCCueEHcvd/k7am2Q== - union-value@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"