From ddb2505cbe334d9248e9c1b803f3ebaba129407c Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Tue, 14 Apr 2020 12:25:27 +0200 Subject: [PATCH] v1.6.8 --- README.md | 2 ++ bower.json | 2 +- dist/loglevel.js | 2 +- dist/loglevel.min.js | 2 +- package.json | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2936ade..aaad1b0 100644 --- a/README.md +++ b/README.md @@ -339,6 +339,8 @@ v1.6.6 - Fix bugs in v1.6.5, which caused issues in node.js & IE < 9 v1.6.7 - Fix a bug in environments with `window` defined but no `window.navigator` +v1.6.8 - Update TypeScript type definitions to include `log.log()`. + ## `loglevel` for enterprise Available as part of the Tidelift Subscription. diff --git a/bower.json b/bower.json index cac803a..1956d55 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "loglevel", - "version": "1.6.7", + "version": "1.6.8", "main": "dist/loglevel.min.js", "dependencies": {}, "ignore": [ diff --git a/dist/loglevel.js b/dist/loglevel.js index 5b92e58..75ec03e 100644 --- a/dist/loglevel.js +++ b/dist/loglevel.js @@ -1,4 +1,4 @@ -/*! loglevel - v1.6.7 - https://github.com/pimterry/loglevel - (c) 2020 Tim Perry - licensed MIT */ +/*! loglevel - v1.6.8 - https://github.com/pimterry/loglevel - (c) 2020 Tim Perry - licensed MIT */ (function (root, definition) { "use strict"; if (typeof define === 'function' && define.amd) { diff --git a/dist/loglevel.min.js b/dist/loglevel.min.js index 723b776..648d7e9 100644 --- a/dist/loglevel.min.js +++ b/dist/loglevel.min.js @@ -1,2 +1,2 @@ -/*! loglevel - v1.6.7 - https://github.com/pimterry/loglevel - (c) 2020 Tim Perry - licensed MIT */ +/*! loglevel - v1.6.8 - https://github.com/pimterry/loglevel - (c) 2020 Tim Perry - licensed MIT */ !function(a,b){"use strict";"function"==typeof define&&define.amd?define(b):"object"==typeof module&&module.exports?module.exports=b():a.log=b()}(this,function(){"use strict";function a(a,b){var c=a[b];if("function"==typeof c.bind)return c.bind(a);try{return Function.prototype.bind.call(c,a)}catch(b){return function(){return Function.prototype.apply.apply(c,[a,arguments])}}}function b(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(c){return"debug"===c&&(c="log"),typeof console!==i&&("trace"===c&&j?b:void 0!==console[c]?a(console,c):void 0!==console.log?a(console,"log"):h)}function d(a,b){for(var c=0;c=0&&b<=j.levels.SILENT))throw"log.setLevel() called with invalid level: "+b;if(h=b,!1!==c&&e(b),d.call(j,b,a),typeof console===i&&b