From 2aa34192c1804a143eaf0931fc196c712549a8f0 Mon Sep 17 00:00:00 2001 From: Stijn de Witt Date: Sun, 14 Feb 2021 18:22:29 +0100 Subject: [PATCH] 2.0.0-beta.18 Attempting to fix #46 --- README.md | 18 +++++++++--------- package-lock.json | 11 ++++------- package.json | 4 ++-- tutorial/index.html | 2 +- vs/debug.html | 2 +- 5 files changed, 17 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 64e646c..08e597a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ulog v2.0.0-beta.17 +# ulog v2.0.0-beta.18 ### The Universal Logger [![npm](https://img.shields.io/npm/v/ulog.svg)](https://npmjs.com/package/ulog) @@ -8,14 +8,14 @@ . -![logo](https://unpkg.com/ulog@2.0.0-beta.17/ulog.png) +![logo](https://unpkg.com/ulog@2.0.0-beta.18/ulog.png) ## The logger for javascript applications `ulog` is *the* logger for Javascript applications. It's universal, meaning it runs everywhere. You can use `ulog` in your Express server application running on Node JS just as well as in your React single page application running in the browser. It just works. -![screenshot](https://unpkg.com/ulog@2.0.0-beta.17/screenshot.jpg) +![screenshot](https://unpkg.com/ulog@2.0.0-beta.18/screenshot.jpg) ## Features @@ -130,7 +130,7 @@ log('Logging is easy') If you want, you can import `ulog` with a script tag: ```html - + @@ -146,12 +146,12 @@ log('Logging is easy!') If you want the file for the browser to include in your project yourself, you can download it from here. -* [ulog.min.js](https://unpkg.com/ulog@2.0.0-beta.17/ulog.min.js) (~2.7kB minified and gzipped) -* [ulog.lazy.min.js](https://unpkg.com/ulog@2.0.0-beta.17/ulog.lazy.min.js) (~4.3kB minified and gzipped) +* [ulog.min.js](https://unpkg.com/ulog@2.0.0-beta.18/ulog.min.js) (~2.7kB minified and gzipped) +* [ulog.lazy.min.js](https://unpkg.com/ulog@2.0.0-beta.18/ulog.lazy.min.js) (~4.3kB minified and gzipped) > `ulog.min.js` lazy loads `ulog.lazy.min.js` on demand, so make sure to include both files in your download -* [full.min.js](https://unpkg.com/ulog@2.0.0-beta.17/full.min.js) (~5.7kB minified and gzipped) +* [full.min.js](https://unpkg.com/ulog@2.0.0-beta.18/full.min.js) (~5.7kB minified and gzipped) > Full bundle, no lazy loading @@ -613,12 +613,12 @@ messages at these higher levels are indented a bit more than the other messages, making the logging harder to read. This can be clearly seen in the screenshot from `ulog` v2.0.0-beta-11, which did not yet have alignment: -![screenshot](https://unpkg.com/ulog@2.0.0-beta.17/screenshot-beta.11.jpg) +![screenshot](https://unpkg.com/ulog@2.0.0-beta.18/screenshot-beta.11.jpg) `ulog` now automatically adds some formatting that negates the extra indentation the messages at these higher levels get, so all messages are nicely aligned: -![screenshot](https://unpkg.com/ulog@2.0.0-beta.17/screenshot.jpg) +![screenshot](https://unpkg.com/ulog@2.0.0-beta.18/screenshot.jpg) You can control alignment with [config option `log_align`](#config-option-log_align). diff --git a/package-lock.json b/package-lock.json index 3401c43..23e92aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "ulog", - "version": "2.0.0-beta.16", + "version": "2.0.0-beta.17", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1740,12 +1740,9 @@ "dev": true }, "kurly": { - "version": "2.0.0-beta.2", - "resolved": "https://registry.npmjs.org/kurly/-/kurly-2.0.0-beta.2.tgz", - "integrity": "sha512-AysNnS/Us6r/8qAV372KqALtXXLfQZyRyiVzxUsBFpNFunk2rg1pY6i8xUiS5+JAZNJKuhehj4+9TExMUPl6+w==", - "requires": { - "anylogger": "^1.0.10" - } + "version": "2.0.0-beta.3", + "resolved": "https://registry.npmjs.org/kurly/-/kurly-2.0.0-beta.3.tgz", + "integrity": "sha512-WXSRkhL2VV9lI/sPomBDV9Xf4oQ1s/RiUqzxKt4slkG7ndCxcDfXJ2ZXdxEYDRfevnkSOxmiVX3etunBlHqTAw==" }, "loader-runner": { "version": "4.2.0", diff --git a/package.json b/package.json index 746e6e8..cc799ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ulog", - "version": "2.0.0-beta.17", + "version": "2.0.0-beta.18", "description": "The universal logger", "main": "./ulog.js", "unpkg": "ulog.min.js", @@ -55,7 +55,7 @@ }, "dependencies": { "anylogger": "^1.0.10", - "kurly": "^2.0.0-beta.2" + "kurly": "^2.0.0-beta.3" }, "devDependencies": { "gzip-size": "^6.0.0", diff --git a/tutorial/index.html b/tutorial/index.html index faa01c7..fde0955 100644 --- a/tutorial/index.html +++ b/tutorial/index.html @@ -4,7 +4,7 @@ ulog tutorial - + diff --git a/vs/debug.html b/vs/debug.html index ba989d6..4545d1c 100644 --- a/vs/debug.html +++ b/vs/debug.html @@ -6,7 +6,7 @@ - +