Skip to content

Commit

Permalink
2.0.0-beta.11: Fix issue in IE/Safarim update deps
Browse files Browse the repository at this point in the history
* IE and old Safari don't support backtracking lookups in regexes, removed it
* Updated all (dev) dependencies

Fixes #40
  • Loading branch information
Download committed Jan 22, 2021
1 parent c9aca90 commit 31b23ad
Show file tree
Hide file tree
Showing 4 changed files with 736 additions and 3,179 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ulog <sub><sup>v2.0.0-beta.10</sup></sub>
# ulog <sub><sup>v2.0.0-beta.11</sup></sub>
### The Universal Logger

[![npm](https://img.shields.io/npm/v/ulog.svg)](https://npmjs.com/package/ulog)
Expand All @@ -8,14 +8,14 @@

<sup><sub><sup><sub>.</sub></sup></sub></sup>

![logo](https://unpkg.com/[email protected].10/ulog.png)
![logo](https://unpkg.com/[email protected].11/ulog.png)


## The logger for 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/[email protected].10/screenshot.jpg)
![screenshot](https://unpkg.com/[email protected].11/screenshot.jpg)


## Install
Expand Down Expand Up @@ -85,7 +85,7 @@ In our library code:
If you want, you can import `ulog` with a script tag:

```html
<script src="https://unpkg.com/[email protected].10"></script>
<script src="https://unpkg.com/[email protected].11"></script>
<!-- includes `anylogger` and publishes to `window.anylogger` and `window.ulog`. -->
<script src="myscript.js"></script>
```
Expand All @@ -98,16 +98,16 @@ If you want, you can import `ulog` with a script tag:
Or, if you want the full version:

```html
<script src="https://unpkg.com/[email protected].10/full.min.js"></script>
<script src="https://unpkg.com/[email protected].11/full.min.js"></script>
```


## Download

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/[email protected].10) (~2.8kB minified and gzipped)
* [full.min.js](https://unpkg.com/[email protected].10/full.min.js) (~3.5kB minified and gzipped)
* [ulog.min.js](https://unpkg.com/[email protected].11) (~2.6kB minified and gzipped)
* [full.min.js](https://unpkg.com/[email protected].11/full.min.js) (~3.4kB minified and gzipped)


## Why `ulog`
Expand Down
2 changes: 1 addition & 1 deletion mods/options/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var options = module.exports = {
parse: function(value, name) {
var d = (name == 'debug') && name
var settings = []
var items = (value||'').trim().split(/(?<!\\);/).map(function(x){return x.replace('\\;', ';')})
var items = (value||'').trim().split(';').map(function(x){return x.replace('\\;', ';')})
// parse `ulog` style settings, include support for `debug` style
var implied = []
for (var i=0,item,idx; item=items[i]; i++) {
Expand Down
Loading

0 comments on commit 31b23ad

Please sign in to comment.