From 6e56daca346512e82c3d927e6d2ae1c5f710c853 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sun, 14 Jun 2015 13:13:16 +0200 Subject: [PATCH] 1.0.8 releases --- bower.json | 7 +++++-- dist/acho.js | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index 846009d..45017f1 100755 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "acho", "description": "An extremely simple (but powerful) logging system for NodeJS and browser.", - "version": "1.0.7", + "version": "1.0.8", "authors": [ "Kiko Beats josefrancisco.verdu@gmail.com" ], @@ -20,5 +20,8 @@ ], "license": "MIT", "main": "dist/acho.js", - "repository": "Kikobeats/acho" + "repository": "Kikobeats/acho", + "author": { + "name": "Kiko Beats" + } } diff --git a/dist/acho.js b/dist/acho.js index fdd4b1d..d2487ea 100644 --- a/dist/acho.js +++ b/dist/acho.js @@ -1,6 +1,6 @@ /** * acho - An extremely simple (but powerful) logging system for NodeJS and browser. - * @version v1.0.7 + * @version v1.0.8 * @link https://github.com/Kikobeats/acho * @license MIT */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Acho=e()}}(function(){return function e(t,n,r){function o(s,u){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!u&&l)return l(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var a=n[s]={exports:{}};t[s][0].call(a.exports,function(e){var n=t[s][1][e];return o(n?n:e)},a,a.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;sr;r++)n=e[r],s=s[n];return s(t)},e.prototype.isPrintable=function(e){return this.level===o.UNMUTED?!0:this.level===o.MUTED?!1:this.types[e].level<=this.types[this.level].level},e.prototype.printLine=function(e,t){var n,r;if(this.isPrintable(e))return n=this.types[e].color,r=this.outputType(e),r=this.colorize(n,r),t=this.outputMessage(t),t=this.colorize(this.types.line.color,t),console.log(r+t)},e.prototype._printLevelMessage=function(e,t){return function(t){return function(n){return t.printLine(e,n),t}}(this)},e}()},{"./Default":2,chalk:5}],2:[function(e,t,n){"use strict";t.exports={OUTPUT_TYPE:function(e){return e+" : "},OUTPUT_MESSAGE:function(e){return e},PRINT:function(){var e,t,n;t=[];for(n in this.types)t.push(function(){var t,r,o,i;for(o=this.messages[n],i=[],t=0,r=o.length;r>t;t++)e=o[t],i.push(this.printLine(n,e));return i}.call(this));return t},COLOR:!1,UNMUTED:"all",MUTED:"silent",TYPES:{line:{color:"gray"},error:{level:0,color:"red"},warn:{level:1,color:"yellow"},success:{level:2,color:"green"},info:{level:3,color:"white"},verbose:{level:4,color:"cyan"},debug:{level:5,color:"blue"},silly:{level:6,color:"magenta"}}}},{}],3:[function(e,t,n){},{}],4:[function(e,t,n){function r(){a=!1,u.length?c=u.concat(c):f=-1,c.length&&o()}function o(){if(!a){var e=setTimeout(r);a=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var n=1;n1)for(var r=1;t>r;r++)n+=" "+e[r];if(!this.enabled||!n)return n;for(var o=this._styles,i=o.length;i--;){var s=l[o[i]];n=s.open+n.replace(s.closeRe,s.open)+s.close}return n}function s(){var e={};return Object.keys(h).forEach(function(t){e[t]={get:function(){return o.call(this,[t])}}}),e}var u=e("escape-string-regexp"),l=e("ansi-styles"),c=e("strip-ansi"),a=e("has-ansi"),f=e("supports-color"),p=Object.defineProperties;"win32"===n.platform&&(l.blue.open="");var h=function(){var e={};return Object.keys(l).forEach(function(t){l[t].closeRe=new RegExp(u(l[t].close),"g"),e[t]={get:function(){return o.call(this,this._styles.concat(t))}}}),e}(),g=p(function(){},h);p(r.prototype,s()),t.exports=new r,t.exports.styles=l,t.exports.hasColor=a,t.exports.stripColor=c,t.exports.supportsColor=f}).call(this,e("_process"))},{_process:4,"ansi-styles":6,"escape-string-regexp":7,"has-ansi":8,"strip-ansi":10,"supports-color":12}],6:[function(e,t,n){"use strict";var r=t.exports={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};r.colors.grey=r.colors.gray,Object.keys(r).forEach(function(e){var t=r[e];Object.keys(t).forEach(function(e){var n=t[e];r[e]=t[e]={open:"["+n[0]+"m",close:"["+n[1]+"m"}}),Object.defineProperty(r,e,{value:t,enumerable:!1})})},{}],7:[function(e,t,n){"use strict";var r=/[|\\{}()[\]^$+*?.]/g;t.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(r,"\\$&")}},{}],8:[function(e,t,n){"use strict";var r=e("ansi-regex"),o=new RegExp(r().source);t.exports=o.test.bind(o)},{"ansi-regex":9}],9:[function(e,t,n){"use strict";t.exports=function(){return/(?:(?:\u001b\[)|\u009b)(?:(?:[0-9]{1,3})?(?:(?:;[0-9]{0,3})*)?[A-M|f-m])|\u001b[A-M]/g}},{}],10:[function(e,t,n){"use strict";var r=e("ansi-regex")();t.exports=function(e){return"string"==typeof e?e.replace(r,""):e}},{"ansi-regex":11}],11:[function(e,t,n){arguments[4][9][0].apply(n,arguments)},{dup:9}],12:[function(e,t,n){(function(e){"use strict";var n=e.argv;t.exports=function(){return"FORCE_COLOR"in e.env?!0:-1!==n.indexOf("--no-color")||-1!==n.indexOf("--no-colors")||-1!==n.indexOf("--color=false")?!1:-1!==n.indexOf("--color")||-1!==n.indexOf("--colors")||-1!==n.indexOf("--color=true")||-1!==n.indexOf("--color=always")?!0:e.stdout&&!e.stdout.isTTY?!1:"win32"===e.platform?!0:"COLORTERM"in e.env?!0:"dumb"===e.env.TERM?!1:/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(e.env.TERM)?!0:!1}()}).call(this,e("_process"))},{_process:4}],Acho:[function(e,t,n){"use strict";e("coffee-script/register"),t.exports=e("./lib/Acho")},{"./lib/Acho":1,"coffee-script/register":3}]},{},[])("Acho")}); \ No newline at end of file diff --git a/package.json b/package.json index e5c861c..bf1bf60 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "acho", - "version": "1.0.7", + "version": "1.0.8", "description": "An extremely simple (but powerful) logging system for NodeJS and browser.", "author": { "name": "Kiko Beats",