Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

acho

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acho - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

test/mocha.opts

2

bower.json
{
"name": "acho",
"description": "An extremely simple (but powerful) logging system for NodeJS and browser.",
"version": "2.4.1",
"version": "2.4.2",
"authors": [

@@ -6,0 +6,0 @@ "Kiko Beats josefrancisco.verdu@gmail.com"

@@ -0,1 +1,15 @@

<a name="2.4.2"></a>
## 2.4.2 (2016-01-23)
* Delete extra space ([d8eeb8f](https://github.com/kikobeats/acho/commit/d8eeb8f))
* Delete line break ([0edd794](https://github.com/kikobeats/acho/commit/0edd794))
* Fix tests script ([cd34ec8](https://github.com/kikobeats/acho/commit/cd34ec8))
* Move prepublish into bumped step ([eefa46a](https://github.com/kikobeats/acho/commit/eefa46a))
* Update bumped config ([16128e6](https://github.com/kikobeats/acho/commit/16128e6))
* update scripts ([d74876f](https://github.com/kikobeats/acho/commit/d74876f))
* Update scripts, more simple ([d5f4209](https://github.com/kikobeats/acho/commit/d5f4209))
<a name="2.4.1"></a>

@@ -5,2 +19,3 @@ ## 2.4.1 (2015-12-05)

* 2.4.1 releases ([58c3b3d](https://github.com/kikobeats/acho/commit/58c3b3d))
* added existential-assign dep ([f8b35d4](https://github.com/kikobeats/acho/commit/f8b35d4))

@@ -10,4 +25,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 ([3906739](https://github.com/kikobeats/acho/commit/3906739))
* little refactor ([28f225c](https://github.com/kikobeats/acho/commit/28f225c))
* little refactor ([3906739](https://github.com/kikobeats/acho/commit/3906739))
* Moved configurable stuff into Default ([f7c3b26](https://github.com/kikobeats/acho/commit/f7c3b26))

@@ -14,0 +29,0 @@ * moved getEnvironment inot CONST.ENV ([403cf73](https://github.com/kikobeats/acho/commit/403cf73))

/**
* acho - An extremely simple (but powerful) logging system for NodeJS and browser.
* @version v2.4.1
* @version v2.4.2
* @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(){var e;return function t(e,n,r){function o(i,u){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!u&&c)return c(i,!0);if(s)return s(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 o(n?n:t)},l,l.exports,t,e,n,r)}return n[i].exports}for(var s="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}({1:[function(e,t,n){"use strict";var r,o,s,i=[].slice;o=e("./Default"),r=e("./Constants"),s=e("existential-assign"),t.exports=function(e){var t,n,r;null==e&&(e={}),t=s(o,e),t.diff&&(t.diff=[]);for(n in t)r=t[n],t[n]=r;return t.messages=function(){var n,r,o;n={};for(o in t.types)n[o]=(null!=(r=e.messages)?r[o]:void 0)||[],"line"!==o&&(t[o]=t.generateTypeMessage(o));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",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){"use strict";var r,o,s,i,u=[].slice;o=e("chalk"),i=e("pretty-ms"),r=e("./Constants"),s=e("format-util"),t.exports={print:function(){var e,t,n;t=[];for(n in this.types)t.push(function(){var t,r,o,s;for(o=this.messages[n],s=[],t=0,r=o.length;r>t;t++)e=o[t],s.push(this.transport(this.generateMessage(n,e)));return s}.call(this));return t},outputMessage:function(e){return e},outputType:function(e,t){return null==t&&(t=""),this.align&&!this.diff?""+e+t+" ":""+e+t+" "},transport:console.log,generateMessage:function(e,t){var n,o,s,u;if(this.isPrintable(e))return n=this.types[e].color,t=this.outputMessage(t),t=this.colorize(this.types.line.color,t),s=null!=this.keyword?this.keyword:e,o=null,this.diff&&(this.diff[e]?(o=new Date-this.diff[e],o=o>r.MIN_DIFF_MS?i(o):o+"ms",this.diff[e]=new Date,o=" +"+o):this.diff[e]=new Date),u=this.outputType(s,o),u=this.colorize(n,u),u+t},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,s,i,u;if(!this.color||"production"===r.ENV)return t;for(e=e.split(" "),u=o,s=0,i=e.length;i>s;s++)n=e[s],u=u[n];return u(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 s.apply(null,e)},keyword:null,diff:!1,align:!0,color:!0,level:r.UNMUTED,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"}}}},{"./Constants":2,chalk:6,"format-util":17,"pretty-ms":18}],4:[function(e,t,n){},{}],5:[function(e,t,n){function r(){l=!1,u.length?a=u.concat(a):f=-1,a.length&&o()}function o(){if(!l){var e=setTimeout(r);l=!0;for(var t=a.length;t;){for(u=a,a=[];++f<t;)u&&u[f].run();f=-1,t=a.length}u=null,l=!1,clearTimeout(e)}}function s(e,t){this.fun=e,this.array=t}function i(){}var u,c=t.exports={},a=[],l=!1,f=-1;c.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 s(e,t)),1!==a.length||l||setTimeout(o,0)},s.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=i,c.addListener=i,c.once=i,c.off=i,c.removeListener=i,c.removeAllListeners=i,c.emit=i,c.binding=function(e){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){throw new Error("process.chdir is not supported")},c.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 o(e){var t=function(){return s.apply(t,arguments)};return t._styles=e,t.enabled=this.enabled,t.__proto__=d,t}function s(){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 o=this._styles,s=o.length,i=c.dim.open;for(!h||-1===o.indexOf("gray")&&-1===o.indexOf("grey")||(c.dim.open="");s--;){var u=c[o[s]];n=u.open+n.replace(u.closeRe,u.open)+u.close}return c.dim.open=i,n}function i(){var e={};return Object.keys(g).forEach(function(t){e[t]={get:function(){return o.call(this,[t])}}}),e}var u=e("escape-string-regexp"),c=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&&(c.blue.open="");var g=function(){var e={};return Object.keys(c).forEach(function(t){c[t].closeRe=new RegExp(u(c[t].close),"g"),e[t]={get:function(){return o.call(this,this._styles.concat(t))}}}),e}(),d=p(function(){},g);p(r.prototype,i()),t.exports=new r,t.exports.styles=c,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"),o=new RegExp(r().source);t.exports=o.test.bind(o)},{"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("--"),o=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:o("no-color")||o("no-colors")||o("color=false")?!1:o("color")||o("colors")||o("color=true")||o("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}var o=e("existential"),s=e("deepmerge");t.exports=function(e,t){return r(t)?s(e,t):o(t)?t:e}},{deepmerge:15,existential:16}],15:[function(t,n,r){!function(t,o){"function"==typeof e&&e.amd?e(o):"object"==typeof r?n.exports=o():t.deepmerge=o()}(this,function(){return function e(t,n){var r=Array.isArray(n),o=r&&[]||{};return r?(t=t||[],o=o.concat(t),n.forEach(function(n,r){"undefined"==typeof o[r]?o[r]=n:"object"==typeof n?o[r]=e(t[r],n):-1===t.indexOf(n)&&o.push(n)})):(t&&"object"==typeof t&&Object.keys(t).forEach(function(e){o[e]=t[e]}),Object.keys(n).forEach(function(r){"object"==typeof n[r]&&n[r]&&t[r]?o[r]=e(t[r],n[r]):o[r]=n[r]})),o}})},{}],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,o,s,i){var u=n.shift();switch(o){case"s":u=""+u;break;case"d":u=Number(u);break;case"j":u=JSON.stringify(u)}return t?(n.unshift(u),e):u})),n.length&&(e+=" "+n.join(" ")),e=e.replace(/%{2,2}/g,"%"),""+e}t.exports=r},{}],18:[function(e,t,n){"use strict";var r=e("parse-ms"),o=e("plur"),s=e("is-finite");t.exports=function(e,t){if(!s(e))throw new TypeError("Expected a finite number");if(t=t||{},1e3>e){var n="number"==typeof t.msDecimalDigits?t.msDecimalDigits:0;return(n?e.toFixed(n):Math.ceil(e))+(t.verbose?" "+o("millisecond",Math.ceil(e)):"ms")}var i=[],u=function(e,n,r,s){if(0!==e){var u=t.verbose?" "+o(n,e):r;i.push((s||e)+u)}},c=r(e);if(u(c.days,"day","d"),u(c.hours,"hour","h"),u(c.minutes,"minute","m"),t.compact)return u(c.seconds,"second","s"),"~"+i[0];var a=e/1e3%60,l="number"==typeof t.secDecimalDigits?t.secDecimalDigits:1,f=a.toFixed(l).replace(/\.0$/,"");return u(a,"second","s",f),i.join(" ")}},{"is-finite":19,"parse-ms":21,plur:22}],19:[function(e,t,n){"use strict";var r=e("number-is-nan");t.exports=Number.isFinite||function(e){return!("number"!=typeof e||r(e)||e===1/0||e===-(1/0))}},{"number-is-nan":20}],20:[function(e,t,n){"use strict";t.exports=Number.isNaN||function(e){return e!==e}},{}],21:[function(e,t,n){"use strict";t.exports=function(e){if("number"!=typeof e)throw new TypeError("Expected a number");return{days:Math.floor(e/864e5),hours:Math.floor(e/36e5%24),minutes:Math.floor(e/6e4%60),seconds:Math.floor(e/1e3%60),milliseconds:Math.floor(e%1e3)}}},{}],22:[function(e,t,n){"use strict";t.exports=function(e,t,n){return"number"==typeof t&&(n=t,t=e+"s"),1===n?e:t}},{}],Acho:[function(e,t,n){"use strict";e("coffee-script/register"),t.exports=e("./lib/Acho")},{"./lib/Acho":1,"coffee-script/register":4}]},{},[])("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 o(i,u){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!u&&c)return c(i,!0);if(s)return s(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 o(n?n:t)},l,l.exports,t,e,n,r)}return n[i].exports}for(var s="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}({1:[function(e,t,n){"use strict";var r,o,s,i=[].slice;o=e("./Default"),r=e("./Constants"),s=e("existential-assign"),t.exports=function(e){var t,n,r;null==e&&(e={}),t=s(o,e),t.diff&&(t.diff=[]);for(n in t)r=t[n],t[n]=r;return t.messages=function(){var n,r,o;n={};for(o in t.types)n[o]=(null!=(r=e.messages)?r[o]:void 0)||[],"line"!==o&&(t[o]=t.generateTypeMessage(o));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":10}],2:[function(e,t,n){(function(e){"use strict";t.exports={MIN_DIFF_MS:1e4,MUTED:"silent",UNMUTED:"all",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:19}],3:[function(e,t,n){"use strict";var r,o,s,i,u=[].slice;o=e("chalk"),i=e("pretty-ms"),r=e("./Constants"),s=e("format-util"),t.exports={print:function(){var e,t,n;t=[];for(n in this.types)t.push(function(){var t,r,o,s;for(o=this.messages[n],s=[],t=0,r=o.length;r>t;t++)e=o[t],s.push(this.transport(this.generateMessage(n,e)));return s}.call(this));return t},outputMessage:function(e){return e},outputType:function(e,t){return null==t&&(t=""),this.align&&!this.diff?""+e+t+" ":""+e+t+" "},transport:console.log,generateMessage:function(e,t){var n,o,s,u;if(this.isPrintable(e))return n=this.types[e].color,t=this.outputMessage(t),t=this.colorize(this.types.line.color,t),s=null!=this.keyword?this.keyword:e,o=null,this.diff&&(this.diff[e]?(o=new Date-this.diff[e],o=o>r.MIN_DIFF_MS?i(o):o+"ms",this.diff[e]=new Date,o=" +"+o):this.diff[e]=new Date),u=this.outputType(s,o),u=this.colorize(n,u),u+t},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,s,i,u;if(!this.color||"production"===r.ENV)return t;for(e=e.split(" "),u=o,s=0,i=e.length;i>s;s++)n=e[s],u=u[n];return u(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 s.apply(null,e)},keyword:null,diff:!1,align:!0,color:!0,level:r.UNMUTED,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"}}}},{"./Constants":2,chalk:7,"format-util":12,"pretty-ms":18}],4:[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}},{}],5:[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})},{}],6:[function(e,t,n){},{}],7:[function(e,t,n){(function(n){"use strict";function r(e){this.enabled=e&&void 0!==e.enabled?e.enabled:f}function o(e){var t=function(){return s.apply(t,arguments)};return t._styles=e,t.enabled=this.enabled,t.__proto__=d,t}function s(){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 o=this._styles,s=o.length,i=c.dim.open;for(!h||-1===o.indexOf("gray")&&-1===o.indexOf("grey")||(c.dim.open="");s--;){var u=c[o[s]];n=u.open+n.replace(u.closeRe,u.open)+u.close}return c.dim.open=i,n}function i(){var e={};return Object.keys(g).forEach(function(t){e[t]={get:function(){return o.call(this,[t])}}}),e}var u=e("escape-string-regexp"),c=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&&(c.blue.open="");var g=function(){var e={};return Object.keys(c).forEach(function(t){c[t].closeRe=new RegExp(u(c[t].close),"g"),e[t]={get:function(){return o.call(this,this._styles.concat(t))}}}),e}(),d=p(function(){},g);p(r.prototype,i()),t.exports=new r,t.exports.styles=c,t.exports.hasColor=l,t.exports.stripColor=a,t.exports.supportsColor=f}).call(this,e("_process"))},{_process:19,"ansi-styles":5,"escape-string-regexp":9,"has-ansi":13,"strip-ansi":20,"supports-color":21}],8:[function(t,n,r){!function(t,o){"function"==typeof e&&e.amd?e(o):"object"==typeof r?n.exports=o():t.deepmerge=o()}(this,function(){return function e(t,n){var r=Array.isArray(n),o=r&&[]||{};return r?(t=t||[],o=o.concat(t),n.forEach(function(n,r){"undefined"==typeof o[r]?o[r]=n:"object"==typeof n?o[r]=e(t[r],n):-1===t.indexOf(n)&&o.push(n)})):(t&&"object"==typeof t&&Object.keys(t).forEach(function(e){o[e]=t[e]}),Object.keys(n).forEach(function(r){"object"==typeof n[r]&&n[r]&&t[r]?o[r]=e(t[r],n[r]):o[r]=n[r]})),o}})},{}],9:[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,"\\$&")}},{}],10:[function(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!==e}function o(e,t){return r(t)?s(e,t):i(t)?t:e}var s=e("deepmerge"),i=e("existential");t.exports=function(){for(var e=Array.prototype.slice.call(arguments),t=o(e.shift(),e.shift());e.length;)t=o(e.shift(),t);return t}},{deepmerge:8,existential:11}],11:[function(e,t,n){"use strict";t.exports=function(e){return null!=e}},{}],12:[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,o){var s=n.shift();switch(o){case"s":s=""+s;break;case"d":s=Number(s);break;case"j":s=JSON.stringify(s)}return t?(n.unshift(s),e):s})),n.length&&(e+=" "+n.join(" ")),e=e.replace(/%{2,2}/g,"%"),""+e}t.exports=r},{}],13:[function(e,t,n){"use strict";var r=e("ansi-regex"),o=new RegExp(r().source);t.exports=o.test.bind(o)},{"ansi-regex":4}],14:[function(e,t,n){"use strict";var r=e("number-is-nan");t.exports=Number.isFinite||function(e){return!("number"!=typeof e||r(e)||e===1/0||e===-(1/0))}},{"number-is-nan":15}],15:[function(e,t,n){"use strict";t.exports=Number.isNaN||function(e){return e!==e}},{}],16:[function(e,t,n){"use strict";t.exports=function(e){if("number"!=typeof e)throw new TypeError("Expected a number");return{days:Math.floor(e/864e5),hours:Math.floor(e/36e5%24),minutes:Math.floor(e/6e4%60),seconds:Math.floor(e/1e3%60),milliseconds:Math.floor(e%1e3)}}},{}],17:[function(e,t,n){"use strict";t.exports=function(e,t,n){return"number"==typeof t&&(n=t,t=e+"s"),1===n?e:t}},{}],18:[function(e,t,n){"use strict";var r=e("parse-ms"),o=e("plur"),s=e("is-finite");t.exports=function(e,t){if(!s(e))throw new TypeError("Expected a finite number");if(t=t||{},1e3>e){var n="number"==typeof t.msDecimalDigits?t.msDecimalDigits:0;return(n?e.toFixed(n):Math.ceil(e))+(t.verbose?" "+o("millisecond",Math.ceil(e)):"ms")}var i=[],u=function(e,n,r,s){if(0!==e){var u=t.verbose?" "+o(n,e):r;i.push((s||e)+u)}},c=r(e);if(u(c.days,"day","d"),u(c.hours,"hour","h"),u(c.minutes,"minute","m"),t.compact)return u(c.seconds,"second","s"),"~"+i[0];var a=e/1e3%60,l="number"==typeof t.secDecimalDigits?t.secDecimalDigits:1,f=a.toFixed(l).replace(/\.0$/,"");return u(a,"second","s",f),i.join(" ")}},{"is-finite":14,"parse-ms":16,plur:17}],19:[function(e,t,n){function r(){l=!1,u.length?a=u.concat(a):f=-1,a.length&&o()}function o(){if(!l){var e=setTimeout(r);l=!0;for(var t=a.length;t;){for(u=a,a=[];++f<t;)u&&u[f].run();f=-1,t=a.length}u=null,l=!1,clearTimeout(e)}}function s(e,t){this.fun=e,this.array=t}function i(){}var u,c=t.exports={},a=[],l=!1,f=-1;c.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 s(e,t)),1!==a.length||l||setTimeout(o,0)},s.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=i,c.addListener=i,c.once=i,c.off=i,c.removeListener=i,c.removeAllListeners=i,c.emit=i,c.binding=function(e){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},{}],20:[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":4}],21:[function(e,t,n){(function(e){"use strict";var n=e.argv,r=n.indexOf("--"),o=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:o("no-color")||o("no-colors")||o("color=false")?!1:o("color")||o("colors")||o("color=true")||o("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:19}],Acho:[function(e,t,n){"use strict";e("coffee-script/register"),t.exports=e("./lib/Acho")},{"./lib/Acho":1,"coffee-script/register":6}]},{},[])("Acho")});

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/Kikobeats/acho",
"version": "2.4.1",
"version": "2.4.2",
"main": "./index.js",

@@ -30,15 +30,17 @@ "author": {

"devDependencies": {
"browserify": "*",
"coffeeify": "*",
"date-utils": "*",
"gulp": "*",
"gulp-header": "*",
"gulp-uglify": "*",
"gulp-util": "*",
"mocha": "*",
"set-dateout": "*",
"should": "*",
"titleize": "*",
"vinyl-buffer": "*",
"vinyl-source-stream": "*"
"browserify": "latest",
"coffeeify": "latest",
"date-utils": "latest",
"git-dirty": "latest",
"gulp": "latest",
"gulp-header": "latest",
"gulp-uglify": "latest",
"gulp-util": "latest",
"mocha": "latest",
"set-dateout": "latest",
"should": "latest",
"standard": "latest",
"titleize": "latest",
"vinyl-buffer": "latest",
"vinyl-source-stream": "latest"
},

@@ -49,6 +51,8 @@ "engines": {

"scripts": {
"build": "node ./node_modules/.bin/gulp --require coffee-script",
"test": "sh test/test.sh"
"clean": "rm -rf node_modules",
"lint": "standard lib",
"pretest": "npm run lint",
"test": "mocha"
},
"license": "MIT"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc