From 089c2464a8dfa0ff278e24b83a2beb9e303a6188 Mon Sep 17 00:00:00 2001 From: Stijn de Witt Date: Thu, 4 Feb 2021 20:46:54 +0100 Subject: [PATCH] 2.0.0-beta.15: Fixed missing screenshot + Added screenshot to list of files in package.json + Updated README --- README.md | 18 +++++++++--------- package.json | 3 ++- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2bee4e9..a86e6f2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ulog v2.0.0-beta.14 +# ulog v2.0.0-beta.15 ### 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.14/ulog.png) +![logo](https://unpkg.com/ulog@2.0.0-beta.15/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.14/screenshot.jpg) +![screenshot](https://unpkg.com/ulog@2.0.0-beta.15/screenshot.jpg) ## Features @@ -116,7 +116,7 @@ log('Logging is easy') If you want, you can import `ulog` with a script tag: ```html - + @@ -132,12 +132,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.14/ulog.min.js) (~2.8kB minified and gzipped) -* [ulog.lazy.min.js](https://unpkg.com/ulog@2.0.0-beta.14/ulog.lazy.min.js) (~4.3kB minified and gzipped) +* [ulog.min.js](https://unpkg.com/ulog@2.0.0-beta.15/ulog.min.js) (~2.8kB minified and gzipped) +* [ulog.lazy.min.js](https://unpkg.com/ulog@2.0.0-beta.15/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.14/full.min.js) (~5.7kB minified and gzipped) +* [full.min.js](https://unpkg.com/ulog@2.0.0-beta.15/full.min.js) (~5.7kB minified and gzipped) > Full bundle, no lazy loading @@ -591,12 +591,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.14/screenshot-beta.11.jpg) +![screenshot](https://unpkg.com/ulog@2.0.0-beta.15/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.14/screenshot.jpg) +![screenshot](https://unpkg.com/ulog@2.0.0-beta.15/screenshot.jpg) You can control alignment with [config option `log_align`](#config-option-log_align). diff --git a/package.json b/package.json index b291ce8..c7ee33b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ulog", - "version": "2.0.0-beta.14", + "version": "2.0.0-beta.15", "description": "The universal logger", "main": "./ulog.js", "unpkg": "ulog.min.js", @@ -22,6 +22,7 @@ "ulog.lazy.min.js", "ulog.min.js", "screenshot.jpg", + "screenshot-beta.11.jpg", "ulog.png", "webpack.config.js" ],