argon-logger
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -5,3 +5,3 @@ /**! | ||
* @author Sachin Singh <contactsachinsingh@gmail.com> | ||
* @version v0.2.0 | ||
* @version v0.2.1 | ||
* @license MIT | ||
@@ -16,2 +16,4 @@ */ | ||
function _typeof(obj) { | ||
"@babel/helpers - typeof"; | ||
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { | ||
@@ -102,15 +104,11 @@ _typeof = function (obj) { | ||
function _slicedToArray(arr, i) { | ||
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); | ||
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); | ||
} | ||
function _toConsumableArray(arr) { | ||
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); | ||
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); | ||
} | ||
function _arrayWithoutHoles(arr) { | ||
if (Array.isArray(arr)) { | ||
for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; | ||
return arr2; | ||
} | ||
if (Array.isArray(arr)) return _arrayLikeToArray(arr); | ||
} | ||
@@ -123,10 +121,7 @@ | ||
function _iterableToArray(iter) { | ||
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); | ||
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); | ||
} | ||
function _iterableToArrayLimit(arr, i) { | ||
if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { | ||
return; | ||
} | ||
if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; | ||
var _arr = []; | ||
@@ -157,8 +152,25 @@ var _n = true; | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) return; | ||
if (typeof o === "string") return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) n = o.constructor.name; | ||
if (n === "Map" || n === "Set") return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; | ||
return arr2; | ||
} | ||
function _nonIterableSpread() { | ||
throw new TypeError("Invalid attempt to spread non-iterable instance"); | ||
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
function _nonIterableRest() { | ||
throw new TypeError("Invalid attempt to destructure non-iterable instance"); | ||
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
} | ||
@@ -294,5 +306,3 @@ | ||
var Logger = | ||
/*#__PURE__*/ | ||
function () { | ||
var Logger = /*#__PURE__*/function () { | ||
function Logger() { | ||
@@ -299,0 +309,0 @@ var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
@@ -5,5 +5,5 @@ /**! | ||
* @author Sachin Singh <contactsachinsingh@gmail.com> | ||
* @version v0.2.0 | ||
* @version v0.2.1 | ||
* @license MIT | ||
*/ | ||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e=e||self).Logger=o()}(this,(function(){"use strict";function e(o){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(o)}function o(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function n(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function r(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var t=[],n=!0,r=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(n=(l=c.next()).done)&&(t.push(l.value),!o||t.length!==o);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return t}(e,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return function(e){if(Array.isArray(e)){for(var o=0,t=new Array(e.length);o<e.length;o++)t[o]=e[o];return t}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function l(e,o){return Object.prototype.hasOwnProperty.call(e,o)}function c(o,t){var n=Array.isArray(t.allowedQueryStringParameters)?t.allowedQueryStringParameters:[],i=function(e){return(e=e.substring("?"===e.charAt(0)?1:0)).split("&").map((function(e){var o=r(e.split("=").map((function(e){return decodeURIComponent(e).trim()})),2);return{key:o[0],value:o[1]}}))}(o),c=[];n.forEach((function(o){if("string"==typeof o){var t=r(o.split("="),2),n=t[0],i=t[1],a=void 0===i||i;c.push({key:n,value:a})}else o&&"object"===e(o)&&l(o,"key")&&l(o,"value")&&(o.key=o.key.trim(),o.value="".concat(o.value).trim(),c.push(o))}));var a=!1;return c.forEach((function(e){var o=!!i.filter((function(o){return e.key===o.key&&(e.value===o.value||!0===e.value)})).length;a=a||o})),a}function a(){if("function"==typeof this.config.test){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];return this.config.test.apply(this.config,o)}return"undefined"!=typeof console&&(n=this.location.hostname,r=this.config,(0===(i=Array.isArray(r.allowedHostnames)?r.allowedHostnames:[]).length||!!i.filter((function(e){return e.indexOf(n)>-1})).length)&&function(e,o){var t=Array.isArray(o.allowedPorts)?o.allowedPorts:[];return 0===(t=t.map((function(e){return"".concat(e).trim()}))).length||t.indexOf(e)>-1}(this.location.port,this.config)||c(this.location.search,this.config))&&!this.config.disable;var n,r,i}return function(){function e(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=Object.freeze(function(e){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?n(Object(r),!0).forEach((function(o){t(e,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))}))}return e}({allowedHostnames:["localhost","127.0.0.1","0.0.0.0"],disable:!1,allowedQueryStringParameters:["debug"],allowedPorts:[],prefixes:[]},o)),this.location="undefined"==typeof window?{}:window.location,this.URL=this.location.href}var r,l,c;return r=e,(l=[{key:"isLoggingAllowed",value:function(e){return a.apply(this,e)}},{key:"log",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));if(this.isLoggingAllowed(o)&&console.log)return(e=console).log.apply(e,i(o))}},{key:"warn",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.warn&&(e=console).warn.apply(e,i(o))}},{key:"debug",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.debug&&(e=console).debug.apply(e,i(o))}},{key:"error",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.error&&(e=console).error.apply(e,i(o))}},{key:"info",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.info&&(e=console).info.apply(e,i(o))}},{key:"dir",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.dir&&(e=console).dir.apply(e,i(o))}},{key:"dirxml",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.dirxml&&(e=console).dirxml.apply(e,i(o))}},{key:"table",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.table&&(e=console).table.apply(e,i(o))}},{key:"trace",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.trace&&(e=console).trace.apply(e,i(o))}},{key:"group",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.group&&(e=console).group.apply(e,i(o))}},{key:"groupCollapsed",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.groupCollapsed&&(e=console).groupCollapsed.apply(e,i(o))}},{key:"groupEnd",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.groupEnd&&(e=console).groupEnd.apply(e,i(o))}},{key:"clear",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.clear&&(e=console).clear.apply(e,i(o))}},{key:"count",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.count&&(e=console).count.apply(e,i(o))}},{key:"countReset",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.countReset&&(e=console).countReset.apply(e,i(o))}},{key:"assert",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.assert&&(e=console).assert.apply(e,i(o))}},{key:"profile",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.profile&&(e=console).profile.apply(e,i(o))}},{key:"profileEnd",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.profileEnd&&(e=console).profileEnd.apply(e,i(o))}},{key:"time",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed()&&console.time&&(e=console).time.apply(e,i(o))}},{key:"timeLog",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.timeLog&&(e=console).timeLog.apply(e,i(o))}},{key:"timeStamp",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.timeStamp&&(e=console).timeStamp.apply(e,i(o))}},{key:"context",value:function(){var e,o=[].concat(i(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.context&&(e=console).context.apply(e,i(o))}}])&&o(r.prototype,l),c&&o(r,c),e}()})); | ||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e=e||self).Logger=o()}(this,(function(){"use strict";function e(o){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(o)}function o(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function t(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function r(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?r(Object(t),!0).forEach((function(o){n(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function l(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var t=[],n=!0,r=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(n=(l=c.next()).done)&&(t.push(l.value),!o||t.length!==o);n=!0);}catch(e){r=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return t}(e,o)||a(e,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,o){if(e){if("string"==typeof e)return s(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,o):void 0}}function s(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function p(e,o){var t=Array.isArray(o.allowedHostnames)?o.allowedHostnames:[];return 0===t.length||!!t.filter((function(o){return o.indexOf(e)>-1})).length}function f(e,o){var t=Array.isArray(o.allowedPorts)?o.allowedPorts:[];return 0===(t=t.map((function(e){return"".concat(e).trim()}))).length||t.indexOf(e)>-1}function u(e,o){return Object.prototype.hasOwnProperty.call(e,o)}function y(o,t){var n=Array.isArray(t.allowedQueryStringParameters)?t.allowedQueryStringParameters:[],r=function(e){return(e=e.substring("?"===e.charAt(0)?1:0)).split("&").map((function(e){var o=l(e.split("=").map((function(e){return decodeURIComponent(e).trim()})),2);return{key:o[0],value:o[1]}}))}(o),i=[];n.forEach((function(o){if("string"==typeof o){var t=l(o.split("="),2),n=t[0],r=t[1],c=void 0===r||r;i.push({key:n,value:c})}else o&&"object"===e(o)&&u(o,"key")&&u(o,"value")&&(o.key=o.key.trim(),o.value="".concat(o.value).trim(),i.push(o))}));var c=!1;return i.forEach((function(e){var o=!!r.filter((function(o){return e.key===o.key&&(e.value===o.value||!0===e.value)})).length;c=c||o})),c}function g(){if("function"==typeof this.config.test){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];return this.config.test.apply(this.config,o)}return"undefined"!=typeof console&&(p(this.location.hostname,this.config)&&f(this.location.port,this.config)||y(this.location.search,this.config))&&!this.config.disable}return function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.config=Object.freeze(i({allowedHostnames:["localhost","127.0.0.1","0.0.0.0"],disable:!1,allowedQueryStringParameters:["debug"],allowedPorts:[],prefixes:[]},t)),this.location="undefined"==typeof window?{}:window.location,this.URL=this.location.href}var n,r,l;return n=e,(r=[{key:"isLoggingAllowed",value:function(e){return g.apply(this,e)}},{key:"log",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));if(this.isLoggingAllowed(o)&&console.log)return(e=console).log.apply(e,c(o))}},{key:"warn",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.warn&&(e=console).warn.apply(e,c(o))}},{key:"debug",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.debug&&(e=console).debug.apply(e,c(o))}},{key:"error",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.error&&(e=console).error.apply(e,c(o))}},{key:"info",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.info&&(e=console).info.apply(e,c(o))}},{key:"dir",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.dir&&(e=console).dir.apply(e,c(o))}},{key:"dirxml",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.dirxml&&(e=console).dirxml.apply(e,c(o))}},{key:"table",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.table&&(e=console).table.apply(e,c(o))}},{key:"trace",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.trace&&(e=console).trace.apply(e,c(o))}},{key:"group",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.group&&(e=console).group.apply(e,c(o))}},{key:"groupCollapsed",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.groupCollapsed&&(e=console).groupCollapsed.apply(e,c(o))}},{key:"groupEnd",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.groupEnd&&(e=console).groupEnd.apply(e,c(o))}},{key:"clear",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.clear&&(e=console).clear.apply(e,c(o))}},{key:"count",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.count&&(e=console).count.apply(e,c(o))}},{key:"countReset",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.countReset&&(e=console).countReset.apply(e,c(o))}},{key:"assert",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.assert&&(e=console).assert.apply(e,c(o))}},{key:"profile",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.profile&&(e=console).profile.apply(e,c(o))}},{key:"profileEnd",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.profileEnd&&(e=console).profileEnd.apply(e,c(o))}},{key:"time",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed()&&console.time&&(e=console).time.apply(e,c(o))}},{key:"timeLog",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.timeLog&&(e=console).timeLog.apply(e,c(o))}},{key:"timeStamp",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.timeStamp&&(e=console).timeStamp.apply(e,c(o))}},{key:"context",value:function(){var e,o=[].concat(c(this.config.prefixes),Array.prototype.slice.call(arguments));this.isLoggingAllowed(o)&&console.context&&(e=console).context.apply(e,c(o))}}])&&t(n.prototype,r),l&&t(n,l),e}()})); |
{ | ||
"name": "argon-logger", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A simple console logging utility", | ||
@@ -22,14 +22,14 @@ "main": "dist/js/argonLogger", | ||
"devDependencies": { | ||
"@babel/core": "^7.7.5", | ||
"@babel/preset-env": "^7.7.6", | ||
"babel-eslint": "^10.0.3", | ||
"rollup": "^1.27.10", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"@babel/core": "^7.9.6", | ||
"@babel/preset-env": "^7.9.6", | ||
"babel-eslint": "^10.1.0", | ||
"rollup": "^1.32.1", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-eslint": "^7.0.0", | ||
"rollup-plugin-json": "^4.0.0", | ||
"rollup-plugin-livereload": "^1.0.4", | ||
"rollup-plugin-livereload": "^1.3.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-serve": "^1.0.1", | ||
"rollup-plugin-terser": "^5.1.3" | ||
"rollup-plugin-terser": "^5.3.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "repository": { |
@@ -41,2 +41,2 @@ declare class Logger { | ||
export = Logger; | ||
export default Logger; |
Sorry, the diff of this file is not supported yet
61101
883