Comparing version 2.5.0 to 2.5.1
{ | ||
"name": "acho", | ||
"description": "An extremely simple (but powerful) logging system for NodeJS and browser.", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"authors": [ | ||
@@ -6,0 +6,0 @@ "Kiko Beats josefrancisco.verdu@gmail.com" |
@@ -0,1 +1,9 @@ | ||
<a name="2.5.1"></a> | ||
## 2.5.1 (2016-01-26) | ||
* Delete unnecessary dependency ([831c4e2](https://github.com/kikobeats/acho/commit/831c4e2)) | ||
<a name="2.5.0"></a> | ||
@@ -7,2 +15,3 @@ # 2.5.0 (2016-01-25) | ||
* Add symbol special keyword ([c287277](https://github.com/kikobeats/acho/commit/c287277)) | ||
* Release 2.5.0 ([001ab8e](https://github.com/kikobeats/acho/commit/001ab8e)) | ||
* Separate align from diff ([134fa13](https://github.com/kikobeats/acho/commit/134fa13)) | ||
@@ -23,4 +32,4 @@ * update scripts ([cd64037](https://github.com/kikobeats/acho/commit/cd64037)) | ||
* Update bumped config ([16128e6](https://github.com/kikobeats/acho/commit/16128e6)) | ||
* Update scripts, more simple ([d5f4209](https://github.com/kikobeats/acho/commit/d5f4209)) | ||
* update scripts ([d74876f](https://github.com/kikobeats/acho/commit/d74876f)) | ||
* Update scripts, more simple ([d5f4209](https://github.com/kikobeats/acho/commit/d5f4209)) | ||
@@ -34,2 +43,6 @@ | ||
* 2.4.1 releases ([58c3b3d](https://github.com/kikobeats/acho/commit/58c3b3d)) | ||
* Moved configurable stuff into Default ([f7c3b26](https://github.com/kikobeats/acho/commit/f7c3b26)) | ||
* Update .travis.yml ([284724c](https://github.com/kikobeats/acho/commit/284724c)) | ||
* Update README.md ([86cf60e](https://github.com/kikobeats/acho/commit/86cf60e)) | ||
* Update README.md ([01aea77](https://github.com/kikobeats/acho/commit/01aea77)) | ||
* added existential-assign dep ([f8b35d4](https://github.com/kikobeats/acho/commit/f8b35d4)) | ||
@@ -39,5 +52,4 @@ * better gif, round 2. ([675710e](https://github.com/kikobeats/acho/commit/675710e)) | ||
* composition over inheritance ([963907e](https://github.com/kikobeats/acho/commit/963907e)) | ||
* little refactor ([28f225c](https://github.com/kikobeats/acho/commit/28f225c)) | ||
* little refactor ([3906739](https://github.com/kikobeats/acho/commit/3906739)) | ||
* little refactor ([28f225c](https://github.com/kikobeats/acho/commit/28f225c)) | ||
* Moved configurable stuff into Default ([f7c3b26](https://github.com/kikobeats/acho/commit/f7c3b26)) | ||
* moved getEnvironment inot CONST.ENV ([403cf73](https://github.com/kikobeats/acho/commit/403cf73)) | ||
@@ -49,5 +61,2 @@ * no moar new keyword ([8417785](https://github.com/kikobeats/acho/commit/8417785)) | ||
* removed unnecessary new keyword ([9905b4a](https://github.com/kikobeats/acho/commit/9905b4a)) | ||
* Update .travis.yml ([284724c](https://github.com/kikobeats/acho/commit/284724c)) | ||
* Update README.md ([01aea77](https://github.com/kikobeats/acho/commit/01aea77)) | ||
* Update README.md ([86cf60e](https://github.com/kikobeats/acho/commit/86cf60e)) | ||
* updated ([b603a19](https://github.com/kikobeats/acho/commit/b603a19)) | ||
@@ -96,7 +105,7 @@ * updated bumped settings ([1010569](https://github.com/kikobeats/acho/commit/1010569)) | ||
* 2.2.0 releases ([27cb3b0](https://github.com/kikobeats/acho/commit/27cb3b0)) | ||
* Update README.md ([c077a60](https://github.com/kikobeats/acho/commit/c077a60)) | ||
* Update README.md ([44bc90f](https://github.com/kikobeats/acho/commit/44bc90f)) | ||
* Update package.json ([8b4b0a4](https://github.com/kikobeats/acho/commit/8b4b0a4)) | ||
* added keyword parameter in constructor ([967023d](https://github.com/kikobeats/acho/commit/967023d)) | ||
* complemented documentation ([abc2153](https://github.com/kikobeats/acho/commit/abc2153)) | ||
* Update package.json ([8b4b0a4](https://github.com/kikobeats/acho/commit/8b4b0a4)) | ||
* Update README.md ([c077a60](https://github.com/kikobeats/acho/commit/c077a60)) | ||
* Update README.md ([44bc90f](https://github.com/kikobeats/acho/commit/44bc90f)) | ||
@@ -110,6 +119,6 @@ | ||
* 2.1.0 releases ([ddcc6c3](https://github.com/kikobeats/acho/commit/ddcc6c3)) | ||
* Added transport option ([a1170e3](https://github.com/kikobeats/acho/commit/a1170e3)) | ||
* Improve production comparation ([eee1281](https://github.com/kikobeats/acho/commit/eee1281)) | ||
* added generateTypeMessage as external parameter. ([a0f67f3](https://github.com/kikobeats/acho/commit/a0f67f3)) | ||
* Added transport option ([a1170e3](https://github.com/kikobeats/acho/commit/a1170e3)) | ||
* fixed production check ([af63da9](https://github.com/kikobeats/acho/commit/af63da9)) | ||
* Improve production comparation ([eee1281](https://github.com/kikobeats/acho/commit/eee1281)) | ||
* updated ([ca112ba](https://github.com/kikobeats/acho/commit/ca112ba)) | ||
@@ -125,2 +134,3 @@ * updated ([ad532e2](https://github.com/kikobeats/acho/commit/ad532e2)) | ||
* 2.0.0 releases ([0daf159](https://github.com/kikobeats/acho/commit/0daf159)) | ||
* Update README.md ([fd0acee](https://github.com/kikobeats/acho/commit/fd0acee)) | ||
* avoid avoid colorize messages in production under NodeJS ([f6d2d54](https://github.com/kikobeats/acho/commit/f6d2d54)) | ||
@@ -131,3 +141,2 @@ * colors by default ([103194b](https://github.com/kikobeats/acho/commit/103194b)) | ||
* little refactor. ([4046677](https://github.com/kikobeats/acho/commit/4046677)) | ||
* Update README.md ([fd0acee](https://github.com/kikobeats/acho/commit/fd0acee)) | ||
* updated ([2bec971](https://github.com/kikobeats/acho/commit/2bec971)) | ||
@@ -173,4 +182,4 @@ * updated bumped settings ([3025456](https://github.com/kikobeats/acho/commit/3025456)) | ||
* 1.0.5 releases ([448ea4e](https://github.com/kikobeats/acho/commit/448ea4e)) | ||
* Update README.md ([330b4d0](https://github.com/kikobeats/acho/commit/330b4d0)) | ||
* first commit ([99c44a4](https://github.com/kikobeats/acho/commit/99c44a4)) | ||
* Update README.md ([330b4d0](https://github.com/kikobeats/acho/commit/330b4d0)) | ||
* update warning message into warn ([5c1654d](https://github.com/kikobeats/acho/commit/5c1654d)) | ||
@@ -193,12 +202,12 @@ | ||
* 1.0.3 releases ([193f234](https://github.com/kikobeats/acho/commit/193f234)) | ||
* because mac is not a real os ([e636ce2](https://github.com/kikobeats/acho/commit/e636ce2)) | ||
* linus torvalds is crying for this ([f4eff0f](https://github.com/kikobeats/acho/commit/f4eff0f)) | ||
* Merge pull request #4 from clocklear/master ([4cfdb40](https://github.com/kikobeats/acho/commit/4cfdb40)) | ||
* Switched to titleize for propercase ([45a9bfd](https://github.com/kikobeats/acho/commit/45a9bfd)) | ||
* Update README.md ([1082a73](https://github.com/kikobeats/acho/commit/1082a73)) | ||
* Update README.md ([9b04cb2](https://github.com/kikobeats/acho/commit/9b04cb2)) | ||
* Update README.md ([78407bb](https://github.com/kikobeats/acho/commit/78407bb)) | ||
* Update README.md ([88e415d](https://github.com/kikobeats/acho/commit/88e415d)) | ||
* Update README.md ([9b04cb2](https://github.com/kikobeats/acho/commit/9b04cb2)) | ||
* Updated README.md to include UMD blurb ([f05d703](https://github.com/kikobeats/acho/commit/f05d703)) | ||
* because mac is not a real os ([e636ce2](https://github.com/kikobeats/acho/commit/e636ce2)) | ||
* linus torvalds is crying for this ([f4eff0f](https://github.com/kikobeats/acho/commit/f4eff0f)) | ||
* updated ([8c52aec](https://github.com/kikobeats/acho/commit/8c52aec)) | ||
* Updated README.md to include UMD blurb ([f05d703](https://github.com/kikobeats/acho/commit/f05d703)) | ||
@@ -213,8 +222,8 @@ | ||
* Fix example.html, export proper module name to global space ([f6ef959](https://github.com/kikobeats/acho/commit/f6ef959)) | ||
* refactor ([1786df2](https://github.com/kikobeats/acho/commit/1786df2)) | ||
* Removed makefile, added npm script for build ([c441376](https://github.com/kikobeats/acho/commit/c441376)) | ||
* Update README.md ([c61aeb7](https://github.com/kikobeats/acho/commit/c61aeb7)) | ||
* Usability changes. Added a makefile for quick task execution. Added component.json so that we can ([9e73dd4](https://github.com/kikobeats/acho/commit/9e73dd4)) | ||
* refactor ([1786df2](https://github.com/kikobeats/acho/commit/1786df2)) | ||
* updated ([c217034](https://github.com/kikobeats/acho/commit/c217034)) | ||
* updated mocha reference to local dependency ([7fc622c](https://github.com/kikobeats/acho/commit/7fc622c)) | ||
* Usability changes. Added a makefile for quick task execution. Added component.json so that we can ([9e73dd4](https://github.com/kikobeats/acho/commit/9e73dd4)) | ||
@@ -228,5 +237,2 @@ | ||
* 1.0.1 releases ([7b1f9e8](https://github.com/kikobeats/acho/commit/7b1f9e8)) | ||
* added support for styles ([775e84a](https://github.com/kikobeats/acho/commit/775e84a)) | ||
* fixed ([5a37063](https://github.com/kikobeats/acho/commit/5a37063)) | ||
* fixed browserify build and little improvements ([c72b67d](https://github.com/kikobeats/acho/commit/c72b67d)) | ||
* Grammar and styling corrections ([d703e87](https://github.com/kikobeats/acho/commit/d703e87)) | ||
@@ -236,2 +242,5 @@ * Merge branch 'master' of github.com:Kikobeats/acho ([c9d3998](https://github.com/kikobeats/acho/commit/c9d3998)) | ||
* Update README.md ([45f08d6](https://github.com/kikobeats/acho/commit/45f08d6)) | ||
* added support for styles ([775e84a](https://github.com/kikobeats/acho/commit/775e84a)) | ||
* fixed ([5a37063](https://github.com/kikobeats/acho/commit/5a37063)) | ||
* fixed browserify build and little improvements ([c72b67d](https://github.com/kikobeats/acho/commit/c72b67d)) | ||
@@ -244,2 +253,3 @@ | ||
* Update README.md ([1194cfa](https://github.com/kikobeats/acho/commit/1194cfa)) | ||
* completed ([8d01b7d](https://github.com/kikobeats/acho/commit/8d01b7d)) | ||
@@ -251,3 +261,2 @@ * completed ([5b73e9e](https://github.com/kikobeats/acho/commit/5b73e9e)) | ||
* refactor and updated documentation ([6824d6a](https://github.com/kikobeats/acho/commit/6824d6a)) | ||
* Update README.md ([1194cfa](https://github.com/kikobeats/acho/commit/1194cfa)) | ||
* updated ([14b3639](https://github.com/kikobeats/acho/commit/14b3639)) | ||
@@ -254,0 +263,0 @@ * updated ([2a5d5f7](https://github.com/kikobeats/acho/commit/2a5d5f7)) |
/** | ||
* acho - An extremely simple (but powerful) logging system for NodeJS and browser. | ||
* @version v2.5.0 | ||
* @version v2.5.1 | ||
* @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 r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.Acho=e()}}(function(){var e;return function r(e,t,n){function s(i,c){if(!t[i]){if(!e[i]){var a="function"==typeof require&&require;if(!c&&a)return a(i,!0);if(o)return o(i,!0);var l=new Error("Cannot find module '"+i+"'");throw l.code="MODULE_NOT_FOUND",l}var u=t[i]={exports:{}};e[i][0].call(u.exports,function(r){var t=e[i][1][r];return s(t?t:r)},u,u.exports,r,e,t,n)}return t[i].exports}for(var o="function"==typeof require&&require,i=0;i<n.length;i++)s(n[i]);return s}({1:[function(e,r,t){"use strict";var n,s,o,i=[].slice;s=e("./Default"),n=e("./Constants"),o=e("existential-assign"),r.exports=function(e){var r,t,n;null==e&&(e={}),r=o(s,e),r.diff&&(r.diff=[]);for(t in r)n=r[t],r[t]=n;return r.messages=function(){var t,n,s;t={};for(s in r.types)t[s]=(null!=(n=e.messages)?n[s]:void 0)||[],"line"!==s&&(r[s]=r.generateTypeMessage(s));return t}(),r.push=function(){var e,r,t;return t=arguments[0],r=2<=arguments.length?i.call(arguments,1):[],e=this.format(r),this.messages[t].push(e),this},r.add=function(){var e,r,t;return t=arguments[0],r=2<=arguments.length?i.call(arguments,1):[],e=this.format(r),this[t](e),this.push(t,e),this},r}},{"./Constants":2,"./Default":3,"existential-assign":10}],2:[function(e,r,t){(function(e){"use strict";r.exports={MIN_DIFF_MS:1e4,MUTED:"silent",UNMUTED:"all",SYMBOL_KEYWORD:"symbol",ENV:function(){var r;return("undefined"!=typeof e&&null!==e&&null!=(r=e.env.NODE_ENV)?r.toLowerCase():void 0)||void 0}()}}).call(this,e("_process"))},{_process:16}],3:[function(e,r,t){"use strict";var n,s,o,i,c,a=[].slice;c=e("ms"),s=e("chalk"),o=e("figures"),n=e("./Constants"),i=e("format-util"),r.exports={print:function(){var e,r,t;r=[];for(t in this.types)r.push(function(){var r,n,s,o;for(s=this.messages[t],o=[],r=0,n=s.length;n>r;r++)e=s[r],o.push(this.transport(this.generateMessage(t,e)));return o}.call(this));return r},outputMessage:function(e){return e},outputType:function(e){var r;return r=this.align?" ":" ",this.keyword&&(e=this.keyword===n.SYMBOL_KEYWORD?this.types[e].symbol:e),""+e+r},transport:console.log,generateMessage:function(e,r){var t,n,s,o;if(this.isPrintable(e))return t=this.types[e].color,r=this.outputMessage(r),r=this.colorize(this.types.line.color,r),n=null,this.diff&&(this.diff[e]?(n=c(new Date-this.diff[e]),n=" +"+n,this.diff[e]=new Date):(this.diff[e]=new Date,n=" +0ms")),s=this.outputType(e),s=this.colorize(t,s),o=s+r,n&&(o+=this.colorize(t,n)),o},generateTypeMessage:function(e){return function(){var r;return r=1<=arguments.length?a.call(arguments,0):[],r=this.format(r),this.transport(this.generateMessage(e,r)),this}},colorize:function(e,r){var t,o,i,c;if(!this.color||"production"===n.ENV)return r;for(e=e.split(" "),c=s,o=0,i=e.length;i>o;o++)t=e[o],c=c[t];return c(r)},isPrintable:function(e){return this.level===n.UNMUTED?!0:this.level===n.MUTED?!1:this.types[e].level<=this.types[this.level].level},format:function(e){return i.apply(null,e)},keyword:null,diff:!1,align:!0,color:!0,level:n.UNMUTED,types:{line:{color:"gray",symbol:""},error:{level:0,color:"red",symbol:o.cross},warn:{level:1,color:"yellow",symbol:o.warning},success:{level:2,color:"green",symbol:o.tick},info:{level:3,color:"white",symbol:o.info},verbose:{level:4,color:"cyan",symbol:o.info},debug:{level:5,color:"blue",symbol:o.info},silly:{level:6,color:"magenta",symbol:o.info}}}},{"./Constants":2,chalk:7,figures:12,"format-util":13,ms:15}],4:[function(e,r,t){"use strict";r.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g}},{}],5:[function(e,r,t){"use strict";function n(){var e={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]}};return e.colors.grey=e.colors.gray,Object.keys(e).forEach(function(r){var t=e[r];Object.keys(t).forEach(function(r){var n=t[r];e[r]=t[r]={open:"["+n[0]+"m",close:"["+n[1]+"m"}}),Object.defineProperty(e,r,{value:t,enumerable:!1})}),e}Object.defineProperty(r,"exports",{enumerable:!0,get:n})},{}],6:[function(e,r,t){},{}],7:[function(e,r,t){(function(t){"use strict";function n(e){this.enabled=e&&void 0!==e.enabled?e.enabled:f}function s(e){var r=function(){return o.apply(r,arguments)};return r._styles=e,r.enabled=this.enabled,r.__proto__=d,r}function o(){var e=arguments,r=e.length,t=0!==r&&String(arguments[0]);if(r>1)for(var n=1;r>n;n++)t+=" "+e[n];if(!this.enabled||!t)return t;var s=this._styles,o=s.length,i=a.dim.open;for(!h||-1===s.indexOf("gray")&&-1===s.indexOf("grey")||(a.dim.open="");o--;){var c=a[s[o]];t=c.open+t.replace(c.closeRe,c.open)+c.close}return a.dim.open=i,t}function i(){var e={};return Object.keys(g).forEach(function(r){e[r]={get:function(){return s.call(this,[r])}}}),e}var c=e("escape-string-regexp"),a=e("ansi-styles"),l=e("strip-ansi"),u=e("has-ansi"),f=e("supports-color"),p=Object.defineProperties,h="win32"===t.platform&&!/^xterm/i.test(t.env.TERM);h&&(a.blue.open="[94m");var g=function(){var e={};return Object.keys(a).forEach(function(r){a[r].closeRe=new RegExp(c(a[r].close),"g"),e[r]={get:function(){return s.call(this,this._styles.concat(r))}}}),e}(),d=p(function(){},g);p(n.prototype,i()),r.exports=new n,r.exports.styles=a,r.exports.hasColor=u,r.exports.stripColor=l,r.exports.supportsColor=f}).call(this,e("_process"))},{_process:16,"ansi-styles":5,"escape-string-regexp":9,"has-ansi":14,"strip-ansi":17,"supports-color":18}],8:[function(r,t,n){!function(r,s){"function"==typeof e&&e.amd?e(s):"object"==typeof n?t.exports=s():r.deepmerge=s()}(this,function(){return function e(r,t){var n=Array.isArray(t),s=n&&[]||{};return n?(r=r||[],s=s.concat(r),t.forEach(function(t,n){"undefined"==typeof s[n]?s[n]=t:"object"==typeof t?s[n]=e(r[n],t):-1===r.indexOf(t)&&s.push(t)})):(r&&"object"==typeof r&&Object.keys(r).forEach(function(e){s[e]=r[e]}),Object.keys(t).forEach(function(n){"object"==typeof t[n]&&t[n]&&r[n]?s[n]=e(r[n],t[n]):s[n]=t[n]})),s}})},{}],9:[function(e,r,t){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;r.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},{}],10:[function(e,r,t){"use strict";function n(e){return"object"==typeof e&&null!==e}function s(e,r){return n(r)?o(e,r):i(r)?r:e}var o=e("deepmerge"),i=e("existential");r.exports=function(){for(var e=Array.prototype.slice.call(arguments),r=s(e.shift(),e.shift());e.length;)r=s(e.shift(),r);return r}},{deepmerge:8,existential:11}],11:[function(e,r,t){"use strict";r.exports=function(e){return null!=e}},{}],12:[function(e,r,t){(function(e){"use strict";var t=e.platform,n={tick:"โ",cross:"โ",star:"โ ",square:"โ",squareSmall:"โป",squareSmallFilled:"โผ",circle:"โฏ",circleFilled:"โ",circleDotted:"โ",circleDouble:"โ",circleCircle:"โ",circleCross:"โง",circlePipe:"โพ",circleQuestionMark:"?โ",bullet:"โ",dot:"โค",line:"โ",ellipsis:"โฆ",pointer:"โฏ",pointerSmall:"โบ",info:"โน",warning:"โ ",hamburger:"โฐ",smiley:"ใก",mustache:"เทด",heart:"โฅ",arrowUp:"โ",arrowDown:"โ",arrowLeft:"โ",arrowRight:"โ",radioOn:"โ",radioOff:"โฏ",checkboxOn:"โ",checkboxOff:"โ",checkboxCircleOn:"โง",checkboxCircleOff:"โพ",questionMarkPrefix:"?โ"},s={tick:"โ",cross:"ร",star:"*",square:"โ",squareSmall:"[ ]",squareSmallFilled:"[โ]",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(โ)",circleCross:"(ร)",circlePipe:"(โ)",circleQuestionMark:"(?)",bullet:"*",dot:".",line:"โ",ellipsis:"...",pointer:">",pointerSmall:"ยป",info:"i",warning:"โผ",hamburger:"โก",smiley:"โบ",mustache:"โโโ",heart:n.heart,arrowUp:n.arrowUp,arrowDown:n.arrowDown,arrowLeft:n.arrowLeft,arrowRight:n.arrowRight,radioOn:"(*)",radioOff:"( )",checkboxOn:"[ร]",checkboxOff:"[ ]",checkboxCircleOn:"(ร)",checkboxCircleOff:"( )",questionMarkPrefix:"๏ผ"};"linux"===t&&(n.questionMarkPrefix="?"),r.exports="win32"===t?s:n}).call(this,e("_process"))},{_process:16}],13:[function(e,r,t){function n(e){var r=/(%?)(%([jds]))/g,t=Array.prototype.slice.call(arguments,1);return t.length&&(e=e.replace(r,function(e,r,n,s){var o=t.shift();switch(s){case"s":o=""+o;break;case"d":o=Number(o);break;case"j":o=JSON.stringify(o)}return r?(t.unshift(o),e):o})),t.length&&(e+=" "+t.join(" ")),e=e.replace(/%{2,2}/g,"%"),""+e}r.exports=n},{}],14:[function(e,r,t){"use strict";var n=e("ansi-regex"),s=new RegExp(n().source);r.exports=s.test.bind(s)},{"ansi-regex":4}],15:[function(e,r,t){function n(e){if(e=""+e,!(e.length>1e4)){var r=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(r){var t=parseFloat(r[1]),n=(r[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return t*f;case"days":case"day":case"d":return t*u;case"hours":case"hour":case"hrs":case"hr":case"h":return t*l;case"minutes":case"minute":case"mins":case"min":case"m":return t*a;case"seconds":case"second":case"secs":case"sec":case"s":return t*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t}}}}function s(e){return e>=u?Math.round(e/u)+"d":e>=l?Math.round(e/l)+"h":e>=a?Math.round(e/a)+"m":e>=c?Math.round(e/c)+"s":e+"ms"}function o(e){return i(e,u,"day")||i(e,l,"hour")||i(e,a,"minute")||i(e,c,"second")||e+" ms"}function i(e,r,t){return r>e?void 0:1.5*r>e?Math.floor(e/r)+" "+t:Math.ceil(e/r)+" "+t+"s"}var c=1e3,a=60*c,l=60*a,u=24*l,f=365.25*u;r.exports=function(e,r){return r=r||{},"string"==typeof e?n(e):r["long"]?o(e):s(e)}},{}],16:[function(e,r,t){function n(){u=!1,c.length?l=c.concat(l):f=-1,l.length&&s()}function s(){if(!u){var e=setTimeout(n);u=!0;for(var r=l.length;r;){for(c=l,l=[];++f<r;)c&&c[f].run();f=-1,r=l.length}c=null,u=!1,clearTimeout(e)}}function o(e,r){this.fun=e,this.array=r}function i(){}var c,a=r.exports={},l=[],u=!1,f=-1;a.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];l.push(new o(e,r)),1!==l.length||u||setTimeout(s,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=i,a.addListener=i,a.once=i,a.off=i,a.removeListener=i,a.removeAllListeners=i,a.emit=i,a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],17:[function(e,r,t){"use strict";var n=e("ansi-regex")();r.exports=function(e){return"string"==typeof e?e.replace(n,""):e}},{"ansi-regex":4}],18:[function(e,r,t){(function(e){"use strict";var t=e.argv,n=t.indexOf("--"),s=function(e){e="--"+e;var r=t.indexOf(e);return-1!==r&&(-1!==n?n>r:!0)};r.exports=function(){return"FORCE_COLOR"in e.env?!0:s("no-color")||s("no-colors")||s("color=false")?!1:s("color")||s("colors")||s("color=true")||s("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:16}],Acho:[function(e,r,t){"use strict";e("coffee-script/register"),r.exports=e("./lib/Acho")},{"./lib/Acho":1,"coffee-script/register":6}]},{},[])("Acho")}); | ||
*/!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(){var e;return function t(e,n,r){function s(i,c){if(!n[i]){if(!e[i]){var u="function"==typeof require&&require;if(!c&&u)return u(i,!0);if(o)return o(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var l=n[i]={exports:{}};e[i][0].call(l.exports,function(t){var n=e[i][1][t];return s(n?n:t)},l,l.exports,t,e,n,r)}return n[i].exports}for(var o="function"==typeof require&&require,i=0;i<r.length;i++)s(r[i]);return s}({1:[function(e,t,n){"use strict";var r,s,o,i=[].slice;s=e("./Default"),r=e("./Constants"),o=e("existential-assign"),t.exports=function(e){var t,n,r;null==e&&(e={}),t=o(s,e),t.diff&&(t.diff=[]);for(n in t)r=t[n],t[n]=r;return t.messages=function(){var n,r,s;n={};for(s in t.types)n[s]=(null!=(r=e.messages)?r[s]:void 0)||[],"line"!==s&&(t[s]=t.generateTypeMessage(s));return n}(),t.push=function(){var e,t,n;return n=arguments[0],t=2<=arguments.length?i.call(arguments,1):[],e=this.format(t),this.messages[n].push(e),this},t.add=function(){var e,t,n;return n=arguments[0],t=2<=arguments.length?i.call(arguments,1):[],e=this.format(t),this[n](e),this.push(n,e),this},t}},{"./Constants":2,"./Default":3,"existential-assign":14}],2:[function(e,t,n){(function(e){"use strict";t.exports={MIN_DIFF_MS:1e4,MUTED:"silent",UNMUTED:"all",SYMBOL_KEYWORD:"symbol",ENV:function(){var t;return("undefined"!=typeof e&&null!==e&&null!=(t=e.env.NODE_ENV)?t.toLowerCase():void 0)||void 0}()}}).call(this,e("_process"))},{_process:5}],3:[function(e,t,n){(function(n){"use strict";var r,s,o,i,c,u=[].slice;c=e("ms"),s=e("chalk"),r=e("./Constants"),i=e("format-util"),o=function(){var e,t;return e={info:"โน",success:"โ",warning:"โ ",error:"โ"},t={info:"i",success:"โ",warning:"โผ",error:"ร"},"win32"===n.platform?t:e}(),t.exports={print:function(){var e,t,n;t=[];for(n in this.types)t.push(function(){var t,r,s,o;for(s=this.messages[n],o=[],t=0,r=s.length;r>t;t++)e=s[t],o.push(this.transport(this.generateMessage(n,e)));return o}.call(this));return t},outputMessage:function(e){return e},outputType:function(e){var t;return t=this.align?" ":" ",this.keyword&&(e=this.keyword===r.SYMBOL_KEYWORD?this.types[e].symbol:e),""+e+t},transport:console.log,generateMessage:function(e,t){var n,r,s,o;if(this.isPrintable(e))return n=this.types[e].color,t=this.outputMessage(t),t=this.colorize(this.types.line.color,t),r=null,this.diff&&(this.diff[e]?(r=c(new Date-this.diff[e]),r=" +"+r,this.diff[e]=new Date):(this.diff[e]=new Date,r=" +0ms")),s=this.outputType(e),s=this.colorize(n,s),o=s+t,r&&(o+=this.colorize(n,r)),o},generateTypeMessage:function(e){return function(){var t;return t=1<=arguments.length?u.call(arguments,0):[],t=this.format(t),this.transport(this.generateMessage(e,t)),this}},colorize:function(e,t){var n,o,i,c;if(!this.color||"production"===r.ENV)return t;for(e=e.split(" "),c=s,o=0,i=e.length;i>o;o++)n=e[o],c=c[n];return c(t)},isPrintable:function(e){return this.level===r.UNMUTED?!0:this.level===r.MUTED?!1:this.types[e].level<=this.types[this.level].level},format:function(e){return i.apply(null,e)},keyword:null,diff:!1,align:!0,color:!0,level:r.UNMUTED,types:{line:{color:"gray"},error:{level:0,color:"red",symbol:o.error},warn:{level:1,color:"yellow",symbol:o.warning},success:{level:2,color:"green",symbol:o.success},info:{level:3,color:"white",symbol:o.info},verbose:{level:4,color:"cyan",symbol:o.info},debug:{level:5,color:"blue",symbol:o.info},silly:{level:6,color:"magenta",symbol:o.info}}}}).call(this,e("_process"))},{"./Constants":2,_process:5,chalk:6,"format-util":17,ms:18}],4:[function(e,t,n){},{}],5:[function(e,t,n){function r(){l=!1,c.length?a=c.concat(a):f=-1,a.length&&s()}function s(){if(!l){var e=setTimeout(r);l=!0;for(var t=a.length;t;){for(c=a,a=[];++f<t;)c&&c[f].run();f=-1,t=a.length}c=null,l=!1,clearTimeout(e)}}function o(e,t){this.fun=e,this.array=t}function i(){}var c,u=t.exports={},a=[],l=!1,f=-1;u.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];a.push(new o(e,t)),1!==a.length||l||setTimeout(s,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=i,u.addListener=i,u.once=i,u.off=i,u.removeListener=i,u.removeAllListeners=i,u.emit=i,u.binding=function(e){throw new Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(e){throw new Error("process.chdir is not supported")},u.umask=function(){return 0}},{}],6:[function(e,t,n){(function(n){"use strict";function r(e){this.enabled=e&&void 0!==e.enabled?e.enabled:f}function s(e){var t=function(){return o.apply(t,arguments)};return t._styles=e,t.enabled=this.enabled,t.__proto__=d,t}function o(){var e=arguments,t=e.length,n=0!==t&&String(arguments[0]);if(t>1)for(var r=1;t>r;r++)n+=" "+e[r];if(!this.enabled||!n)return n;var s=this._styles,o=s.length,i=u.dim.open;for(!h||-1===s.indexOf("gray")&&-1===s.indexOf("grey")||(u.dim.open="");o--;){var c=u[s[o]];n=c.open+n.replace(c.closeRe,c.open)+c.close}return u.dim.open=i,n}function i(){var e={};return Object.keys(g).forEach(function(t){e[t]={get:function(){return s.call(this,[t])}}}),e}var c=e("escape-string-regexp"),u=e("ansi-styles"),a=e("strip-ansi"),l=e("has-ansi"),f=e("supports-color"),p=Object.defineProperties,h="win32"===n.platform&&!/^xterm/i.test(n.env.TERM);h&&(u.blue.open="[94m");var g=function(){var e={};return Object.keys(u).forEach(function(t){u[t].closeRe=new RegExp(c(u[t].close),"g"),e[t]={get:function(){return s.call(this,this._styles.concat(t))}}}),e}(),d=p(function(){},g);p(r.prototype,i()),t.exports=new r,t.exports.styles=u,t.exports.hasColor=l,t.exports.stripColor=a,t.exports.supportsColor=f}).call(this,e("_process"))},{_process:5,"ansi-styles":7,"escape-string-regexp":8,"has-ansi":9,"strip-ansi":11,"supports-color":13}],7:[function(e,t,n){"use strict";function r(){var e={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]}};return e.colors.grey=e.colors.gray,Object.keys(e).forEach(function(t){var n=e[t];Object.keys(n).forEach(function(t){var r=n[t];e[t]=n[t]={open:"["+r[0]+"m",close:"["+r[1]+"m"}}),Object.defineProperty(e,t,{value:n,enumerable:!1})}),e}Object.defineProperty(t,"exports",{enumerable:!0,get:r})},{}],8:[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,"\\$&")}},{}],9:[function(e,t,n){"use strict";var r=e("ansi-regex"),s=new RegExp(r().source);t.exports=s.test.bind(s)},{"ansi-regex":10}],10:[function(e,t,n){"use strict";t.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g}},{}],11:[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":12}],12:[function(e,t,n){arguments[4][10][0].apply(n,arguments)},{dup:10}],13:[function(e,t,n){(function(e){"use strict";var n=e.argv,r=n.indexOf("--"),s=function(e){e="--"+e;var t=n.indexOf(e);return-1!==t&&(-1!==r?r>t:!0)};t.exports=function(){return"FORCE_COLOR"in e.env?!0:s("no-color")||s("no-colors")||s("color=false")?!1:s("color")||s("colors")||s("color=true")||s("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:5}],14:[function(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!==e}function s(e,t){return r(t)?o(e,t):i(t)?t:e}var o=e("deepmerge"),i=e("existential");t.exports=function(){for(var e=Array.prototype.slice.call(arguments),t=s(e.shift(),e.shift());e.length;)t=s(e.shift(),t);return t}},{deepmerge:15,existential:16}],15:[function(t,n,r){!function(t,s){"function"==typeof e&&e.amd?e(s):"object"==typeof r?n.exports=s():t.deepmerge=s()}(this,function(){return function e(t,n){var r=Array.isArray(n),s=r&&[]||{};return r?(t=t||[],s=s.concat(t),n.forEach(function(n,r){"undefined"==typeof s[r]?s[r]=n:"object"==typeof n?s[r]=e(t[r],n):-1===t.indexOf(n)&&s.push(n)})):(t&&"object"==typeof t&&Object.keys(t).forEach(function(e){s[e]=t[e]}),Object.keys(n).forEach(function(r){"object"==typeof n[r]&&n[r]&&t[r]?s[r]=e(t[r],n[r]):s[r]=n[r]})),s}})},{}],16:[function(e,t,n){"use strict";t.exports=function(e){return null!=e}},{}],17:[function(e,t,n){function r(e){var t=/(%?)(%([jds]))/g,n=Array.prototype.slice.call(arguments,1);return n.length&&(e=e.replace(t,function(e,t,r,s){var o=n.shift();switch(s){case"s":o=""+o;break;case"d":o=Number(o);break;case"j":o=JSON.stringify(o)}return t?(n.unshift(o),e):o})),n.length&&(e+=" "+n.join(" ")),e=e.replace(/%{2,2}/g,"%"),""+e}t.exports=r},{}],18:[function(e,t,n){function r(e){if(e=""+e,!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*f;case"days":case"day":case"d":return n*l;case"hours":case"hour":case"hrs":case"hr":case"h":return n*a;case"minutes":case"minute":case"mins":case"min":case"m":return n*u;case"seconds":case"second":case"secs":case"sec":case"s":return n*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n}}}}function s(e){return e>=l?Math.round(e/l)+"d":e>=a?Math.round(e/a)+"h":e>=u?Math.round(e/u)+"m":e>=c?Math.round(e/c)+"s":e+"ms"}function o(e){return i(e,l,"day")||i(e,a,"hour")||i(e,u,"minute")||i(e,c,"second")||e+" ms"}function i(e,t,n){return t>e?void 0:1.5*t>e?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var c=1e3,u=60*c,a=60*u,l=24*a,f=365.25*l;t.exports=function(e,t){return t=t||{},"string"==typeof e?r(e):t["long"]?o(e):s(e)}},{}],Acho:[function(e,t,n){"use strict";e("coffee-script/register"),t.exports=e("./lib/Acho")},{"./lib/Acho":1,"coffee-script/register":4}]},{},[])("Acho")}); |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/Kikobeats/acho", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"main": "./index.js", | ||
@@ -29,3 +29,2 @@ "author": { | ||
"existential-assign": "~1.2.2", | ||
"figures": "~1.4.0", | ||
"format-util": "1.0.3", | ||
@@ -32,0 +31,0 @@ "ms": "~0.7.1" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
45980
- Removedfigures@~1.4.0
- Removedfigures@1.4.0(transitive)