From 3a91de22524372ac252278b99c313ecf38d3d783 Mon Sep 17 00:00:00 2001 From: "dr.dimitru" Date: Wed, 1 Jun 2022 00:33:05 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20v2.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ✨ `highlight` option to disable console-colors, implementing #10, thanks to @catonice - 👨‍🔧 Fix #9 by upgrading `ostrio:logger@2.2.1`, thanks to @bladerunner2020 - 👨‍💻 Minor codebase refactoring - 🤝 Support for `meteor@2.7.2` - 👨‍🔬 Improve test suite --- .versions | 77 +++++++++++++++++++++++++++--------------------------- README.md | 1 + package.js | 4 +-- 3 files changed, 42 insertions(+), 40 deletions(-) diff --git a/.versions b/.versions index fa888d1..e22f1bf 100644 --- a/.versions +++ b/.versions @@ -1,50 +1,51 @@ -allow-deny@1.1.0 -babel-compiler@7.2.4 -babel-runtime@1.3.0 -base64@1.0.11 +allow-deny@1.1.1 +babel-compiler@7.9.0 +babel-runtime@1.5.0 +base64@1.0.12 binary-heap@1.0.11 -boilerplate-generator@1.6.0 -callback-hook@1.1.0 +boilerplate-generator@1.7.1 +callback-hook@1.4.0 check@1.3.1 ddp@1.4.0 -ddp-client@2.3.3 +ddp-client@2.5.0 ddp-common@1.4.0 -ddp-server@2.2.0 +ddp-server@2.5.0 diff-sequence@1.1.1 -dynamic-import@0.5.0 -ecmascript@0.12.4 -ecmascript-runtime@0.7.0 -ecmascript-runtime-client@0.8.0 -ecmascript-runtime-server@0.7.1 -ejson@1.1.0 -fetch@0.1.0 +dynamic-import@0.7.2 +ecmascript@0.16.2 +ecmascript-runtime@0.8.0 +ecmascript-runtime-client@0.12.1 +ecmascript-runtime-server@0.11.0 +ejson@1.1.2 +fetch@0.1.1 geojson-utils@1.0.10 -id-map@1.1.0 -inter-process-messaging@0.1.0 -local-test:ostrio:loggerconsole@2.0.5 -logging@1.1.20 -meteor@1.9.2 -minimongo@1.4.5 -modern-browsers@0.1.3 -modules@0.13.0 -modules-runtime@0.10.3 -mongo@1.6.0 -mongo-decimal@0.1.0 +id-map@1.1.1 +inter-process-messaging@0.1.1 +local-test:ostrio:loggerconsole@2.1.0 +logging@1.3.1 +meteor@1.10.0 +minimongo@1.8.0 +modern-browsers@0.1.8 +modules@0.18.0 +modules-runtime@0.13.0 +mongo@1.15.0 +mongo-decimal@0.1.3 mongo-dev-server@1.1.0 -mongo-id@1.0.7 -npm-mongo@3.1.1 +mongo-id@1.0.8 +npm-mongo@4.3.1 ordered-dict@1.1.0 -ostrio:logger@2.0.8 -ostrio:loggerconsole@2.0.5 -promise@0.11.2 -random@1.1.0 +ostrio:logger@2.1.1 +ostrio:loggerconsole@2.1.0 +promise@0.12.0 +random@1.2.0 +react-fast-refresh@0.2.3 reactive-var@1.0.11 -reload@1.2.0 +reload@1.3.1 retry@1.1.0 -routepolicy@1.1.0 -socket-stream-client@0.2.2 -tinytest@1.1.0 +routepolicy@1.1.1 +socket-stream-client@0.5.0 +tinytest@1.2.1 tracker@1.2.0 underscore@1.0.10 -webapp@1.7.1 -webapp-hashing@1.0.9 +webapp@1.13.1 +webapp-hashing@1.1.0 diff --git a/README.md b/README.md index 0447fde..24d73a5 100755 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ import { LoggerConsole } from 'meteor/ostrio:loggerconsole'; - `LoggerInstance` {*Logger*} - from `new Logger()` - `settings` {*Object*} +- `settings.highlight` {*Boolean*} - Enable/Disable color highlighting; By default: `true` - `settings.format` {*Function*} - This function must return *String*. Arguments: - `opts` {*Object*} - `opts.userId` {*String*} diff --git a/package.js b/package.js index 5a27aea..ad0b970 100755 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'ostrio:loggerconsole', - version: '2.0.5', + version: '2.1.0', summary: 'Logging: Print Client\'s logs to Server\'s console, messages colorized for better readability', git: 'https://github.com/VeliovGroup/Meteor-logger-console', documentation: 'README.md' @@ -8,7 +8,7 @@ Package.describe({ Package.onUse((api) => { api.versionsFrom('1.4'); - api.use(['ecmascript', 'check', 'ostrio:logger@2.0.8'], ['client', 'server']); + api.use(['ecmascript', 'check', 'ostrio:logger@2.1.1'], ['client', 'server']); api.mainModule('loggerconsole.js', ['client', 'server']); });