diff --git a/package.json b/package.json index 1bc2678..b55846d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "dependencies": { "@babel/runtime": "^7.9.2", "advanced-css-reset": "^1.1.0", - "unicorn.log": "^1.7.0", + "emoji-log": "^1.0.2", "webext-base-css": "^1.0.0", "webextension-polyfill": "^0.6.0" }, diff --git a/source/scripts/background.js b/source/scripts/background.js index dca0097..7b5cd57 100644 --- a/source/scripts/background.js +++ b/source/scripts/background.js @@ -1,9 +1,9 @@ -import 'unicorn.log'; +import 'emoji-log'; import browser from 'webextension-polyfill'; browser.runtime.onInstalled.addListener(() => { // eslint-disable-next-line no-console - console.unicorn('onInstalled....'); + console.emoji('🦄', 'onInstalled....'); }); browser.runtime.onMessage.addListener((_request, _sender, _sendResponse) => { diff --git a/source/scripts/options.js b/source/scripts/options.js index 65910d6..83b4f59 100644 --- a/source/scripts/options.js +++ b/source/scripts/options.js @@ -1,4 +1,4 @@ -import 'unicorn.log'; +import 'emoji-log'; // eslint-disable-next-line no-console -console.unicorn('Hello World from options main file!'); +console.emoji('🦄', 'Hello World from options main file!'); diff --git a/source/scripts/popup.js b/source/scripts/popup.js index d17198e..bf37e5f 100644 --- a/source/scripts/popup.js +++ b/source/scripts/popup.js @@ -1,4 +1,4 @@ -import 'unicorn.log'; +import 'emoji-log'; import browser from 'webextension-polyfill'; function openWebPage(url) { @@ -19,7 +19,7 @@ document.addEventListener('DOMContentLoaded', async () => { }); // eslint-disable-next-line no-console - console.unicorn(response); + console.emoji('🦄', response); document.getElementById('github__button').addEventListener('click', () => { return openWebPage( diff --git a/yarn.lock b/yarn.lock index 506b65d..b64a048 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3289,6 +3289,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"