@jalik/logger
Advanced tools
Comparing version 2.2.2 to 2.2.3
# Changelog | ||
## v2.2.3 | ||
- Updates dependencies | ||
## v2.2.2 | ||
@@ -4,0 +7,0 @@ - Updates dependencies |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -10,8 +8,2 @@ value: true | ||
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof")); | ||
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); | ||
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); | ||
var _deepExtend = _interopRequireDefault(require("@jalik/deep-extend")); | ||
@@ -23,26 +15,12 @@ | ||
/* | ||
* The MIT License (MIT) | ||
* | ||
* Copyright (c) 2019 Karl STEIN | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in all | ||
* copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
* SOFTWARE. | ||
* | ||
*/ | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } | ||
var Logger = | ||
@@ -52,3 +30,4 @@ /*#__PURE__*/ | ||
function Logger(options) { | ||
(0, _classCallCheck2["default"])(this, Logger); | ||
_classCallCheck(this, Logger); | ||
// Set default options | ||
@@ -71,3 +50,3 @@ this.options = (0, _deepExtend["default"])({ | ||
if ((typeof console === "undefined" ? "undefined" : (0, _typeof2["default"])(console)) !== 'object' || console === null) { | ||
if ((typeof console === "undefined" ? "undefined" : _typeof(console)) !== 'object' || console === null) { | ||
throw new Error('The console object is not available in this environment.'); | ||
@@ -119,3 +98,3 @@ } // Add polyfill methods to the console object | ||
(0, _createClass2["default"])(Logger, [{ | ||
_createClass(Logger, [{ | ||
key: "clone", | ||
@@ -323,2 +302,3 @@ value: function clone(name) { | ||
}]); | ||
return Logger; | ||
@@ -325,0 +305,0 @@ }(); |
{ | ||
"name": "@jalik/logger", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "A logging utility to log messages to anywhere.", | ||
@@ -35,22 +35,23 @@ "license": "MIT", | ||
"dependencies": { | ||
"@jalik/deep-extend": "^1.1.3", | ||
"@jalik/observer": "^1.1.3" | ||
"@jalik/deep-extend": "^1.1.4", | ||
"@jalik/observer": "^1.1.4" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"acorn": "^6.2.1", | ||
"@babel/core": "^7.7.4", | ||
"@babel/preset-env": "^7.7.4", | ||
"acorn": "^6.4.0", | ||
"ajv": "^6.10.2", | ||
"babel-preset-airbnb": "^4.0.1", | ||
"del": "^5.0.0", | ||
"babel-eslint": "^10.0.3", | ||
"del": "^5.1.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb": "^17.1.1", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jest": "^22.13.6", | ||
"eslint-plugin-jest": "^22.21.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-react": "^7.14.3", | ||
"eslint-plugin-react": "^7.17.0", | ||
"gulp": "^4.0.2", | ||
"gulp-babel": "^8.0.0", | ||
"gulp-eslint": "^5.0.0", | ||
"jest": "^24.8.0" | ||
"jest": "^24.9.0" | ||
} | ||
} |
10
28073
16
570
Updated@jalik/deep-extend@^1.1.4
Updated@jalik/observer@^1.1.4