Comparing version 0.18.2 to 0.18.3
@@ -10,2 +10,2 @@ !function(n){function t(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var e={};t.m=n,t.c=e,t.i=function(n){return n},t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var e=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=100)}({100:/*!***********************!*\ | ||
\*********************/ | ||
function(n,t,e){(function(t){!function(){"use strict";function e(){return en[$][z]||B}function r(n){return n&&"object"==typeof n}function o(n){return"function"==typeof n}function i(n,t){return n instanceof t}function u(n){return i(n,A)}function c(n,t,e){if(!t(n))throw h(e)}function f(){try{return R.apply(S,arguments)}catch(n){return Z.e=n,Z}}function s(n,t){return R=n,S=t,f}function a(n,t){function e(){for(var e=0;e<o;)t(r[e],r[e+1]),r[e++]=P,r[e++]=P;o=0,r.length>n&&(r.length=n)}var r=L(n),o=0;return function(n,t){r[o++]=n,r[o++]=t,2===o&&en.nextTick(e)}}function l(n,t){var e,r,u,c,f=0;if(!n)throw h(N);var a=n[en[$][q]];if(o(a))r=a.call(n);else{if(!o(n.next)){if(i(n,L)){for(e=n.length;f<e;)t(n[f],f++);return f}throw h(N)}r=n}for(;!(u=r.next()).done;)if((c=s(t)(u.value,f++))===Z)throw o(r[D])&&r[D](),c.e;return f}function h(n){return new TypeError(n)}function v(n){return(n?"":Q)+(new A).stack}function _(n,t){var e="on"+n.toLowerCase(),r=O[e];E&&E.listeners(n).length?n===X?E.emit(n,t._v,t):E.emit(n,t):r?r({reason:t._v,promise:t}):en[n](t._v,t)}function d(n){return n&&n._s}function p(n){if(d(n))return new n(nn);var t,e,r;return t=new n(function(n,o){if(t)throw h();e=n,r=o}),c(e,o),c(r,o),t}function w(n,t){return function(e){I&&(n[K]=v(!0)),t===U?k(n,e):x(n,t,e)}}function y(n,t,e,r){return o(e)&&(t._onFulfilled=e),o(r)&&(n[G]&&_(W,n),t._onRejected=r),I&&(t._p=n),n[n._c++]=t,n._s!==Y&&rn(n,t),t}function m(n){if(n._umark)return!0;n._umark=!0;for(var t,e=0,r=n._c;e<r;)if(t=n[e++],t._onRejected||m(t))return!0}function j(n,t){function e(n){return r.push(n.replace(/^\s+|\s+$/g,""))}var r=[];return I&&(t[K]&&e(t[K]),function o(n){n&&J in n&&(o(n._next),e(n[J]+""),o(n._p))}(t)),(n&&n.stack?n.stack:n)+("\n"+r.join("\n")).replace(tn,"")}function g(n,t){return n(t)}function x(n,t,e){var r=0,o=n._c;if(n._s===Y)for(n._s=t,n._v=e,t===M&&(I&&u(e)&&(e.longStack=j(e,n)),on(n));r<o;)rn(n,n[r++]);return n}function k(n,t){if(t===n&&t)return x(n,M,h(V)),n;if(t!==C&&(o(t)||r(t))){var e=s(b)(t);if(e===Z)return x(n,M,e.e),n;o(e)?(I&&d(t)&&(n._next=t),d(t)?T(n,t,e):en.nextTick(function(){T(n,t,e)})):x(n,U,t)}else x(n,U,t);return n}function b(n){return n.then}function T(n,t,e){var r=s(e,t)(function(e){t&&(t=C,k(n,e))},function(e){t&&(t=C,x(n,M,e))});r===Z&&t&&(x(n,M,r.e),t=C)}var P,R,S,C=null,F="object"==typeof window,O=F?window:t,E=O.process,H=O.console,I=!1,L=Array,A=Error,M=1,U=2,Y=3,$="Symbol",q="iterator",z="species",B=$+"("+z+")",D="return",G="_uh",J="_pt",K="_st",N="Invalid argument",Q="\nFrom previous ",V="Chaining cycle detected for promise",W="rejectionHandled",X="unhandledRejection",Z={e:C},nn=function(){},tn=/^.+\/node_modules\/yaku\/.+\n?/gm,en=function(n){var t,e=this;if(!r(e)||e._s!==P)throw h("Invalid this");if(e._s=Y,I&&(e[J]=v()),n!==nn){if(!o(n))throw h(N);t=s(n)(w(e,U),w(e,M)),t===Z&&x(e,M,t.e)}};en["default"]=en,function(n,t){for(var e in t)n[e]=t[e]}(en.prototype,{then:function(n,t){if(this._s===undefined)throw h();return y(this,p(en.speciesConstructor(this,en)),n,t)},"catch":function(n){return this.then(P,n)},"finally":function(n){return this.then(function(t){return en.resolve(n()).then(function(){return t})},function(t){return en.resolve(n()).then(function(){throw t})})},_c:0,_p:C}),en.resolve=function(n){return d(n)?n:k(p(this),n)},en.reject=function(n){return x(p(this),M,n)},en.race=function(n){var t=this,e=p(t),r=function(n){x(e,U,n)},o=function(n){x(e,M,n)},i=s(l)(n,function(n){t.resolve(n).then(r,o)});return i===Z?t.reject(i.e):e},en.all=function(n){function t(n){x(o,M,n)}var e,r=this,o=p(r),i=[];return(e=s(l)(n,function(n,u){r.resolve(n).then(function(n){i[u]=n,--e||x(o,U,i)},t)}))===Z?r.reject(e.e):(e||x(o,U,[]),o)},en.Symbol=O[$]||{},s(function(){Object.defineProperty(en,e(),{get:function(){return this}})})(),en.speciesConstructor=function(n,t){var r=n.constructor;return r?r[e()]||t:t},en.unhandledRejection=function(n,t){H&&H.error("Uncaught (in promise)",I?t.longStack:j(n,t))},en.rejectionHandled=nn,en.enableLongStackTrace=function(){I=!0},en.nextTick=F?function(n){setTimeout(n)}:E.nextTick,en._s=1;var rn=a(999,function(n,t){var e,r;return(r=n._s!==M?t._onFulfilled:t._onRejected)===P?void x(t,n._s,n._v):(e=s(g)(r,n._v))===Z?void x(t,M,e.e):void k(t,e)}),on=a(9,function(n){m(n)||(n[G]=1,_(X,n))});try{n.exports=en}catch(un){O.Yaku=en}}()}).call(t,e(/*! ./../~/webpack/buildin/global.js */2))}}); | ||
function(n,t,e){(function(t){!function(){"use strict";function e(){return en[$][z]||B}function r(n){return n&&"object"==typeof n}function o(n){return"function"==typeof n}function i(n,t){return n instanceof t}function u(n){return i(n,A)}function c(n,t,e){if(!t(n))throw h(e)}function f(){try{return R.apply(S,arguments)}catch(n){return Z.e=n,Z}}function s(n,t){return R=n,S=t,f}function a(n,t){function e(){for(var e=0;e<o;)t(r[e],r[e+1]),r[e++]=T,r[e++]=T;o=0,r.length>n&&(r.length=n)}var r=L(n),o=0;return function(n,t){r[o++]=n,r[o++]=t,2===o&&en.nextTick(e)}}function l(n,t){var e,r,u,c,f=0;if(!n)throw h(N);var a=n[en[$][q]];if(o(a))r=a.call(n);else{if(!o(n.next)){if(i(n,L)){for(e=n.length;f<e;)t(n[f],f++);return f}throw h(N)}r=n}for(;!(u=r.next()).done;)if((c=s(t)(u.value,f++))===Z)throw o(r[D])&&r[D](),c.e;return f}function h(n){return new TypeError(n)}function v(n){return(n?"":Q)+(new A).stack}function _(n,t){var e="on"+n.toLowerCase(),r=O[e];E&&E.listeners(n).length?n===X?E.emit(n,t._v,t):E.emit(n,t):r?r({reason:t._v,promise:t}):en[n](t._v,t)}function d(n){return n&&n._s}function p(n){if(d(n))return new n(nn);var t,e,r;return t=new n(function(n,o){if(t)throw h();e=n,r=o}),c(e,o),c(r,o),t}function w(n,t){return function(e){I&&(n[K]=v(!0)),t===U?k(n,e):x(n,t,e)}}function y(n,t,e,r){return o(e)&&(t._onFulfilled=e),o(r)&&(n[G]&&_(W,n),t._onRejected=r),I&&(t._p=n),n[n._c++]=t,n._s!==Y&&rn(n,t),t}function m(n){if(n._umark)return!0;n._umark=!0;for(var t,e=0,r=n._c;e<r;)if(t=n[e++],t._onRejected||m(t))return!0}function j(n,t){function e(n){return r.push(n.replace(/^\s+|\s+$/g,""))}var r=[];return I&&(t[K]&&e(t[K]),function o(n){n&&J in n&&(o(n._next),e(n[J]+""),o(n._p))}(t)),(n&&n.stack?n.stack:n)+("\n"+r.join("\n")).replace(tn,"")}function g(n,t){return n(t)}function x(n,t,e){var r=0,o=n._c;if(n._s===Y)for(n._s=t,n._v=e,t===M&&(I&&u(e)&&(e.longStack=j(e,n)),on(n));r<o;)rn(n,n[r++]);return n}function k(n,t){if(t===n&&t)return x(n,M,h(V)),n;if(t!==C&&(o(t)||r(t))){var e=s(b)(t);if(e===Z)return x(n,M,e.e),n;o(e)?(I&&d(t)&&(n._next=t),d(t)?P(n,t,e):en.nextTick(function(){P(n,t,e)})):x(n,U,t)}else x(n,U,t);return n}function b(n){return n.then}function P(n,t,e){var r=s(e,t)(function(e){t&&(t=C,k(n,e))},function(e){t&&(t=C,x(n,M,e))});r===Z&&t&&(x(n,M,r.e),t=C)}var T,R,S,C=null,F="object"==typeof window,O=F?window:t,E=O.process,H=O.console,I=!1,L=Array,A=Error,M=1,U=2,Y=3,$="Symbol",q="iterator",z="species",B=$+"("+z+")",D="return",G="_uh",J="_pt",K="_st",N="Invalid argument",Q="\nFrom previous ",V="Chaining cycle detected for promise",W="rejectionHandled",X="unhandledRejection",Z={e:C},nn=function(){},tn=/^.+\/node_modules\/yaku\/.+\n?/gm,en=function(n){var t,e=this;if(!r(e)||e._s!==T)throw h("Invalid this");if(e._s=Y,I&&(e[J]=v()),n!==nn){if(!o(n))throw h(N);t=s(n)(w(e,U),w(e,M)),t===Z&&x(e,M,t.e)}};en["default"]=en,function(n,t){for(var e in t)n[e]=t[e]}(en.prototype,{then:function(n,t){if(this._s===undefined)throw h();return y(this,p(en.speciesConstructor(this,en)),n,t)},"catch":function(n){return this.then(T,n)},"finally":function(n){return this.then(function(t){return en.resolve(n()).then(function(){return t})},function(t){return en.resolve(n()).then(function(){throw t})})},_c:0,_p:C}),en.resolve=function(n){return d(n)?n:k(p(this),n)},en.reject=function(n){return x(p(this),M,n)},en.race=function(n){var t=this,e=p(t),r=function(n){x(e,U,n)},o=function(n){x(e,M,n)},i=s(l)(n,function(n){t.resolve(n).then(r,o)});return i===Z?t.reject(i.e):e},en.all=function(n){function t(n){x(o,M,n)}var e,r=this,o=p(r),i=[];return(e=s(l)(n,function(n,u){r.resolve(n).then(function(n){i[u]=n,--e||x(o,U,i)},t)}))===Z?r.reject(e.e):(e||x(o,U,[]),o)},en.Symbol=O[$]||{},s(function(){Object.defineProperty(en,e(),{get:function(){return this}})})(),en.speciesConstructor=function(n,t){var r=n.constructor;return r?r[e()]||t:t},en.unhandledRejection=function(n,t){H&&H.error("Uncaught (in promise)",I?t.longStack:j(n,t))},en.rejectionHandled=nn,en.enableLongStackTrace=function(){I=!0},en.nextTick=F?function(n){O.Promise?new O.Promise(function(n){n()}).then(n):setTimeout(n)}:E.nextTick,en._s=1;var rn=a(999,function(n,t){var e,r;return(r=n._s!==M?t._onFulfilled:t._onRejected)===T?void x(t,n._s,n._v):(e=s(g)(r,n._v))===Z?void x(t,M,e.e):void k(t,e)}),on=a(9,function(n){m(n)||(n[G]=1,_(X,n))});try{n.exports=en}catch(un){O.Yaku=en}}()}).call(t,e(/*! ./../~/webpack/buildin/global.js */2))}}); |
@@ -1,1 +0,1 @@ | ||
!function(){"use strict";function n(){return J[E]||H}function t(n){return n&&"object"==typeof n}function r(n){return"function"==typeof n}function e(n,t){return n instanceof t}function o(n,t,r){if(!t(n))throw a(r)}function u(){try{return k.apply(b,arguments)}catch(n){return D.e=n,D}}function i(n,t){return k=n,b=t,u}function f(n,t){function r(){for(var r=0;r<o;)t(e[r],e[r+1]),e[r++]=g,e[r++]=g;o=0,e.length>n&&(e.length=n)}var e=T(n),o=0;return function(n,t){e[o++]=n,e[o++]=t,2===o&&K(r)}}function c(n,t){var o,u,f,c,s=0;if(!n)throw a(P);var h=n[J[A]];if(r(h))u=h.call(n);else{if(!r(n.next)){if(e(n,T)){for(o=n.length;s<o;)t(n[s],s++);return s}throw a(P)}u=n}for(;!(f=u.next()).done;)if((c=i(t)(f.value,s++))===D)throw r(u[L])&&u[L](),c.e;return s}function a(n){return new TypeError(n)}function s(n,t){var r="on"+n.toLowerCase(),e=R[r];Y&&Y.listeners(n).length?n===B?Y.emit(n,t._v,t):Y.emit(n,t):e&&e({reason:t._v,promise:t})}function h(n){return n&&n._Yaku}function l(n){if(h(n))return new n(G);var t,e,u;return t=new n(function(n,r){if(t)throw a();e=n,u=r}),o(e,r),o(u,r),t}function v(n,t){return function(r){t===I?y(n,r):w(n,t,r)}}function _(n,t,e,o){return r(e)&&(t._onFulfilled=e),r(o)&&(n[O]&&s(z,n),t._onRejected=o),n[n._pCount++]=t,n._s!==S&&Q(n,t),t}function d(n){if(n._umark)return!0;n._umark=!0;for(var t,r=0,e=n._pCount;r<e;)if(t=n[r++],t._onRejected||d(t))return!0}function p(n,t){return n(t)}function w(n,t,r){var e=0,o=n._pCount;if(n._s===S)for(n._s=t,n._v=r,t===F&&U(n);e<o;)Q(n,n[e++]);return n}function y(n,e){if(e===n&&e)return w(n,F,a(q)),n;if(e!==C&&(r(e)||t(e))){var o=i(j)(e);if(o===D)return w(n,F,o.e),n;r(o)?h(e)?m(n,e,o):K(function(){m(n,e,o)}):w(n,I,e)}else w(n,I,e);return n}function j(n){return n.then}function m(n,t,r){var e=i(r,t)(function(r){t&&(t=C,y(n,r))},function(r){t&&(t=C,w(n,F,r))});e===D&&t&&(w(n,F,e.e),t=C)}var g,k,b,C=null,x="object"==typeof window,R=x?window:global,Y=R.process,T=Array,F=0,I=1,S=2,A="iterator",E="species",H="Symbol("+E+")",L="return",O="_uh",P="Invalid argument",q="Chaining cycle detected for promise",z="rejectionHandled",B="unhandledRejection",D={e:C},G=function(){},J=R.Symbol||{},K=x?function(n){setTimeout(n)}:Y.nextTick,M=function(t,r){var e=t.constructor;return e?e[n()]||r:r},N=function(n){var e,o=this;if(!t(o)||o._s!==g)throw a("Invalid this");if(o._s=S,n!==G){if(!r(n))throw a(P);e=i(n)(v(o,I),v(o,F)),e===D&&w(o,F,e.e)}};N.default=N,function(n,t){for(var r in t)n.prototype[r]=t[r]}(N,{then:function(n,t){if(void 0===this._s)throw a();return _(this,l(M(this,N)),n,t)},catch:function(n){return this.then(g,n)},finally:function(n){return this.then(function(t){return N.resolve(n()).then(function(){return t})},function(t){return N.resolve(n()).then(function(){throw t})})},_pCount:0,_pre:C,_Yaku:1}),N.resolve=function(n){return h(n)?n:y(l(this),n)},N.reject=function(n){return w(l(this),F,n)},N.race=function(n){var t=this,r=l(t),e=function(n){w(r,I,n)},o=function(n){w(r,F,n)},u=i(c)(n,function(n){t.resolve(n).then(e,o)});return u===D?t.reject(u.e):r},N.all=function(n){function t(n){w(o,F,n)}var r,e=this,o=l(e),u=[];return(r=i(c)(n,function(n,i){e.resolve(n).then(function(n){u[i]=n,--r||w(o,I,u)},t)}))===D?e.reject(r.e):(r||w(o,I,[]),o)},i(function(){Object.defineProperty(N,n(),{get:function(){return this}})})(),N._Yaku=1;var Q=f(999,function(n,t){var r,e;return(e=n._s?t._onFulfilled:t._onRejected)===g?void w(t,n._s,n._v):(r=i(p)(e,n._v))===D?void w(t,F,r.e):void y(t,r)}),U=f(9,function(n){d(n)||(n[O]=1,s(B,n))});try{module.exports=N}catch(n){R.Yaku=N}}(); | ||
!function(){"use strict";function n(){return J[A]||E}function t(n){return n&&"object"==typeof n}function r(n){return"function"==typeof n}function e(n,t){return n instanceof t}function o(n,t,r){if(!t(n))throw a(r)}function i(){try{return k.apply(b,arguments)}catch(n){return D.e=n,D}}function u(n,t){return k=n,b=t,i}function f(n,t){function r(){for(var r=0;r<o;)t(e[r],e[r+1]),e[r++]=g,e[r++]=g;o=0,e.length>n&&(e.length=n)}var e=P(n),o=0;return function(n,t){e[o++]=n,e[o++]=t,2===o&&K(r)}}function c(n,t){var o,i,f,c,s=0;if(!n)throw a(O);var h=n[J[S]];if(r(h))i=h.call(n);else{if(!r(n.next)){if(e(n,P)){for(o=n.length;s<o;)t(n[s],s++);return s}throw a(O)}i=n}for(;!(f=i.next()).done;)if((c=u(t)(f.value,s++))===D)throw r(i[H])&&i[H](),c.e;return s}function a(n){return new TypeError(n)}function s(n,t){var r="on"+n.toLowerCase(),e=R[r];Y&&Y.listeners(n).length?n===B?Y.emit(n,t._v,t):Y.emit(n,t):e&&e({reason:t._v,promise:t})}function h(n){return n&&n._Yaku}function l(n){if(h(n))return new n(G);var t,e,i;return t=new n(function(n,r){if(t)throw a();e=n,i=r}),o(e,r),o(i,r),t}function v(n,t){return function(r){t===F?y(n,r):w(n,t,r)}}function _(n,t,e,o){return r(e)&&(t._onFulfilled=e),r(o)&&(n[L]&&s(z,n),t._onRejected=o),n[n._pCount++]=t,n._s!==I&&Q(n,t),t}function d(n){if(n._umark)return!0;n._umark=!0;for(var t,r=0,e=n._pCount;r<e;)if(t=n[r++],t._onRejected||d(t))return!0}function p(n,t){return n(t)}function w(n,t,r){var e=0,o=n._pCount;if(n._s===I)for(n._s=t,n._v=r,t===T&&U(n);e<o;)Q(n,n[e++]);return n}function y(n,e){if(e===n&&e)return w(n,T,a(q)),n;if(e!==C&&(r(e)||t(e))){var o=u(m)(e);if(o===D)return w(n,T,o.e),n;r(o)?h(e)?j(n,e,o):K(function(){j(n,e,o)}):w(n,F,e)}else w(n,F,e);return n}function m(n){return n.then}function j(n,t,r){var e=u(r,t)(function(r){t&&(t=C,y(n,r))},function(r){t&&(t=C,w(n,T,r))});e===D&&t&&(w(n,T,e.e),t=C)}var g,k,b,C=null,x="object"==typeof window,R=x?window:global,Y=R.process,P=Array,T=0,F=1,I=2,S="iterator",A="species",E="Symbol("+A+")",H="return",L="_uh",O="Invalid argument",q="Chaining cycle detected for promise",z="rejectionHandled",B="unhandledRejection",D={e:C},G=function(){},J=R.Symbol||{},K=x?function(n){R.Promise?new R.Promise(function(n){n()}).then(n):setTimeout(n)}:Y.nextTick,M=function(t,r){var e=t.constructor;return e?e[n()]||r:r},N=function(n){var e,o=this;if(!t(o)||o._s!==g)throw a("Invalid this");if(o._s=I,n!==G){if(!r(n))throw a(O);e=u(n)(v(o,F),v(o,T)),e===D&&w(o,T,e.e)}};N.default=N,function(n,t){for(var r in t)n.prototype[r]=t[r]}(N,{then:function(n,t){if(void 0===this._s)throw a();return _(this,l(M(this,N)),n,t)},catch:function(n){return this.then(g,n)},finally:function(n){return this.then(function(t){return N.resolve(n()).then(function(){return t})},function(t){return N.resolve(n()).then(function(){throw t})})},_pCount:0,_pre:C,_Yaku:1}),N.resolve=function(n){return h(n)?n:y(l(this),n)},N.reject=function(n){return w(l(this),T,n)},N.race=function(n){var t=this,r=l(t),e=function(n){w(r,F,n)},o=function(n){w(r,T,n)},i=u(c)(n,function(n){t.resolve(n).then(e,o)});return i===D?t.reject(i.e):r},N.all=function(n){function t(n){w(o,T,n)}var r,e=this,o=l(e),i=[];return(r=u(c)(n,function(n,u){e.resolve(n).then(function(n){i[u]=n,--r||w(o,F,i)},t)}))===D?e.reject(r.e):(r||w(o,F,[]),o)},u(function(){Object.defineProperty(N,n(),{get:function(){return this}})})(),N._Yaku=1;var Q=f(999,function(n,t){var r,e;return(e=n._s?t._onFulfilled:t._onRejected)===g?void w(t,n._s,n._v):(r=u(p)(e,n._v))===D?void w(t,T,r.e):void y(t,r)}),U=f(9,function(n){d(n)||(n[L]=1,s(B,n))});try{module.exports=N}catch(n){R.Yaku=N}}(); |
@@ -1,1 +0,1 @@ | ||
!function(){"use strict";function n(){return nn[Y][q]||z}function t(n){return n&&"object"==typeof n}function e(n){return"function"==typeof n}function r(n,t){return n instanceof t}function o(n){return r(n,A)}function i(n,t,e){if(!t(n))throw a(e)}function u(){try{return T.apply(R,arguments)}catch(n){return W.e=n,W}}function c(n,t){return T=n,R=t,u}function f(n,t){function e(){for(var e=0;e<o;)t(r[e],r[e+1]),r[e++]=b,r[e++]=b;o=0,r.length>n&&(r.length=n)}var r=L(n),o=0;return function(n,t){r[o++]=n,r[o++]=t,2===o&&nn.nextTick(e)}}function s(n,t){var o,i,u,f,s=0;if(!n)throw a(K);var l=n[nn[Y][$]];if(e(l))i=l.call(n);else{if(!e(n.next)){if(r(n,L)){for(o=n.length;s<o;)t(n[s],s++);return s}throw a(K)}i=n}for(;!(u=i.next()).done;)if((f=c(t)(u.value,s++))===W)throw e(i[B])&&i[B](),f.e;return s}function a(n){return new TypeError(n)}function l(n){return(n?"":M)+(new A).stack}function h(n,t){var e="on"+n.toLowerCase(),r=F[e];E&&E.listeners(n).length?n===V?E.emit(n,t._v,t):E.emit(n,t):r?r({reason:t._v,promise:t}):nn[n](t._v,t)}function v(n){return n&&n._s}function _(n){if(v(n))return new n(X);var t,r,o;return t=new n(function(n,e){if(t)throw a();r=n,o=e}),i(r,e),i(o,e),t}function d(n,t){return function(e){I&&(n[J]=l(!0)),t===P?j(n,e):g(n,t,e)}}function p(n,t,r,o){return e(r)&&(t._onFulfilled=r),e(o)&&(n[D]&&h(Q,n),t._onRejected=o),I&&(t._p=n),n[n._c++]=t,n._s!==U&&tn(n,t),t}function w(n){if(n._umark)return!0;n._umark=!0;for(var t,e=0,r=n._c;e<r;)if(t=n[e++],t._onRejected||w(t))return!0}function m(n,t){function e(n){return r.push(n.replace(/^\s+|\s+$/g,""))}var r=[];return I&&(t[J]&&e(t[J]),function n(t){t&&G in t&&(n(t._next),e(t[G]+""),n(t._p))}(t)),(n&&n.stack?n.stack:n)+("\n"+r.join("\n")).replace(Z,"")}function y(n,t){return n(t)}function g(n,t,e){var r=0,i=n._c;if(n._s===U)for(n._s=t,n._v=e,t===O&&(I&&o(e)&&(e.longStack=m(e,n)),en(n));r<i;)tn(n,n[r++]);return n}function j(n,r){if(r===n&&r)return g(n,O,a(N)),n;if(r!==S&&(e(r)||t(r))){var o=c(k)(r);if(o===W)return g(n,O,o.e),n;e(o)?(I&&v(r)&&(n._next=r),v(r)?x(n,r,o):nn.nextTick(function(){x(n,r,o)})):g(n,P,r)}else g(n,P,r);return n}function k(n){return n.then}function x(n,t,e){var r=c(e,t)(function(e){t&&(t=S,j(n,e))},function(e){t&&(t=S,g(n,O,e))});r===W&&t&&(g(n,O,r.e),t=S)}var b,T,R,S=null,C="object"==typeof window,F=C?window:global,E=F.process,H=F.console,I=!1,L=Array,A=Error,O=1,P=2,U=3,Y="Symbol",$="iterator",q="species",z=Y+"("+q+")",B="return",D="_uh",G="_pt",J="_st",K="Invalid argument",M="\nFrom previous ",N="Chaining cycle detected for promise",Q="rejectionHandled",V="unhandledRejection",W={e:S},X=function(){},Z=/^.+\/node_modules\/yaku\/.+\n?/gm,nn=function(n){var r,o=this;if(!t(o)||o._s!==b)throw a("Invalid this");if(o._s=U,I&&(o[G]=l()),n!==X){if(!e(n))throw a(K);r=c(n)(d(o,P),d(o,O)),r===W&&g(o,O,r.e)}};nn.default=nn,function(n,t){for(var e in t)n[e]=t[e]}(nn.prototype,{then:function(n,t){if(void 0===this._s)throw a();return p(this,_(nn.speciesConstructor(this,nn)),n,t)},catch:function(n){return this.then(b,n)},finally:function(n){return this.then(function(t){return nn.resolve(n()).then(function(){return t})},function(t){return nn.resolve(n()).then(function(){throw t})})},_c:0,_p:S}),nn.resolve=function(n){return v(n)?n:j(_(this),n)},nn.reject=function(n){return g(_(this),O,n)},nn.race=function(n){var t=this,e=_(t),r=function(n){g(e,P,n)},o=function(n){g(e,O,n)},i=c(s)(n,function(n){t.resolve(n).then(r,o)});return i===W?t.reject(i.e):e},nn.all=function(n){function t(n){g(o,O,n)}var e,r=this,o=_(r),i=[];return(e=c(s)(n,function(n,u){r.resolve(n).then(function(n){i[u]=n,--e||g(o,P,i)},t)}))===W?r.reject(e.e):(e||g(o,P,[]),o)},nn.Symbol=F[Y]||{},c(function(){Object.defineProperty(nn,n(),{get:function(){return this}})})(),nn.speciesConstructor=function(t,e){var r=t.constructor;return r?r[n()]||e:e},nn.unhandledRejection=function(n,t){H&&H.error("Uncaught (in promise)",I?t.longStack:m(n,t))},nn.rejectionHandled=X,nn.enableLongStackTrace=function(){I=!0},nn.nextTick=C?function(n){setTimeout(n)}:E.nextTick,nn._s=1;var tn=f(999,function(n,t){var e,r;return(r=n._s!==O?t._onFulfilled:t._onRejected)===b?void g(t,n._s,n._v):(e=c(y)(r,n._v))===W?void g(t,O,e.e):void j(t,e)}),en=f(9,function(n){w(n)||(n[D]=1,h(V,n))});try{module.exports=nn}catch(n){F.Yaku=nn}}(); | ||
!function(){"use strict";function n(){return nn[Y][q]||z}function t(n){return n&&"object"==typeof n}function e(n){return"function"==typeof n}function r(n,t){return n instanceof t}function o(n){return r(n,L)}function i(n,t,e){if(!t(n))throw a(e)}function u(){try{return T.apply(R,arguments)}catch(n){return W.e=n,W}}function c(n,t){return T=n,R=t,u}function f(n,t){function e(){for(var e=0;e<o;)t(r[e],r[e+1]),r[e++]=b,r[e++]=b;o=0,r.length>n&&(r.length=n)}var r=I(n),o=0;return function(n,t){r[o++]=n,r[o++]=t,2===o&&nn.nextTick(e)}}function s(n,t){var o,i,u,f,s=0;if(!n)throw a(K);var l=n[nn[Y][$]];if(e(l))i=l.call(n);else{if(!e(n.next)){if(r(n,I)){for(o=n.length;s<o;)t(n[s],s++);return s}throw a(K)}i=n}for(;!(u=i.next()).done;)if((f=c(t)(u.value,s++))===W)throw e(i[B])&&i[B](),f.e;return s}function a(n){return new TypeError(n)}function l(n){return(n?"":M)+(new L).stack}function h(n,t){var e="on"+n.toLowerCase(),r=F[e];P&&P.listeners(n).length?n===V?P.emit(n,t._v,t):P.emit(n,t):r?r({reason:t._v,promise:t}):nn[n](t._v,t)}function v(n){return n&&n._s}function _(n){if(v(n))return new n(X);var t,r,o;return t=new n(function(n,e){if(t)throw a();r=n,o=e}),i(r,e),i(o,e),t}function d(n,t){return function(e){H&&(n[J]=l(!0)),t===O?j(n,e):g(n,t,e)}}function p(n,t,r,o){return e(r)&&(t._onFulfilled=r),e(o)&&(n[D]&&h(Q,n),t._onRejected=o),H&&(t._p=n),n[n._c++]=t,n._s!==U&&tn(n,t),t}function w(n){if(n._umark)return!0;n._umark=!0;for(var t,e=0,r=n._c;e<r;)if(t=n[e++],t._onRejected||w(t))return!0}function m(n,t){function e(n){return r.push(n.replace(/^\s+|\s+$/g,""))}var r=[];return H&&(t[J]&&e(t[J]),function n(t){t&&G in t&&(n(t._next),e(t[G]+""),n(t._p))}(t)),(n&&n.stack?n.stack:n)+("\n"+r.join("\n")).replace(Z,"")}function y(n,t){return n(t)}function g(n,t,e){var r=0,i=n._c;if(n._s===U)for(n._s=t,n._v=e,t===A&&(H&&o(e)&&(e.longStack=m(e,n)),en(n));r<i;)tn(n,n[r++]);return n}function j(n,r){if(r===n&&r)return g(n,A,a(N)),n;if(r!==S&&(e(r)||t(r))){var o=c(k)(r);if(o===W)return g(n,A,o.e),n;e(o)?(H&&v(r)&&(n._next=r),v(r)?x(n,r,o):nn.nextTick(function(){x(n,r,o)})):g(n,O,r)}else g(n,O,r);return n}function k(n){return n.then}function x(n,t,e){var r=c(e,t)(function(e){t&&(t=S,j(n,e))},function(e){t&&(t=S,g(n,A,e))});r===W&&t&&(g(n,A,r.e),t=S)}var b,T,R,S=null,C="object"==typeof window,F=C?window:global,P=F.process,E=F.console,H=!1,I=Array,L=Error,A=1,O=2,U=3,Y="Symbol",$="iterator",q="species",z=Y+"("+q+")",B="return",D="_uh",G="_pt",J="_st",K="Invalid argument",M="\nFrom previous ",N="Chaining cycle detected for promise",Q="rejectionHandled",V="unhandledRejection",W={e:S},X=function(){},Z=/^.+\/node_modules\/yaku\/.+\n?/gm,nn=function(n){var r,o=this;if(!t(o)||o._s!==b)throw a("Invalid this");if(o._s=U,H&&(o[G]=l()),n!==X){if(!e(n))throw a(K);r=c(n)(d(o,O),d(o,A)),r===W&&g(o,A,r.e)}};nn.default=nn,function(n,t){for(var e in t)n[e]=t[e]}(nn.prototype,{then:function(n,t){if(void 0===this._s)throw a();return p(this,_(nn.speciesConstructor(this,nn)),n,t)},catch:function(n){return this.then(b,n)},finally:function(n){return this.then(function(t){return nn.resolve(n()).then(function(){return t})},function(t){return nn.resolve(n()).then(function(){throw t})})},_c:0,_p:S}),nn.resolve=function(n){return v(n)?n:j(_(this),n)},nn.reject=function(n){return g(_(this),A,n)},nn.race=function(n){var t=this,e=_(t),r=function(n){g(e,O,n)},o=function(n){g(e,A,n)},i=c(s)(n,function(n){t.resolve(n).then(r,o)});return i===W?t.reject(i.e):e},nn.all=function(n){function t(n){g(o,A,n)}var e,r=this,o=_(r),i=[];return(e=c(s)(n,function(n,u){r.resolve(n).then(function(n){i[u]=n,--e||g(o,O,i)},t)}))===W?r.reject(e.e):(e||g(o,O,[]),o)},nn.Symbol=F[Y]||{},c(function(){Object.defineProperty(nn,n(),{get:function(){return this}})})(),nn.speciesConstructor=function(t,e){var r=t.constructor;return r?r[n()]||e:e},nn.unhandledRejection=function(n,t){E&&E.error("Uncaught (in promise)",H?t.longStack:m(n,t))},nn.rejectionHandled=X,nn.enableLongStackTrace=function(){H=!0},nn.nextTick=C?function(n){F.Promise?new F.Promise(function(n){n()}).then(n):setTimeout(n)}:P.nextTick,nn._s=1;var tn=f(999,function(n,t){var e,r;return(r=n._s!==A?t._onFulfilled:t._onRejected)===b?void g(t,n._s,n._v):(e=c(y)(r,n._v))===W?void g(t,A,e.e):void j(t,e)}),en=f(9,function(n){w(n)||(n[D]=1,h(V,n))});try{module.exports=nn}catch(n){F.Yaku=nn}}(); |
@@ -41,3 +41,7 @@ /** | ||
, nextTick = isBrowser ? | ||
function (fn) { setTimeout(fn); } : | ||
function (fn) { | ||
root.Promise ? | ||
new root.Promise(function (resolve) { resolve(); }).then(fn) : | ||
setTimeout(fn); | ||
} : | ||
process.nextTick | ||
@@ -44,0 +48,0 @@ , speciesConstructor = function (O, D) { |
/* | ||
Yaku v0.18.2 | ||
Yaku v0.18.3 | ||
(c) 2015 Yad Smood. http://ysmood.org | ||
@@ -414,3 +414,7 @@ License MIT | ||
Yaku.nextTick = isBrowser ? | ||
function (fn) { setTimeout(fn); } : | ||
function (fn) { | ||
root.Promise ? | ||
new root.Promise(function (resolve) { resolve(); }).then(fn) : | ||
setTimeout(fn); | ||
} : | ||
process.nextTick; | ||
@@ -417,0 +421,0 @@ |
{ | ||
"name": "yaku", | ||
"version": "0.18.2", | ||
"version": "0.18.3", | ||
"description": "A lightweight promise library", | ||
@@ -5,0 +5,0 @@ "main": "lib/yaku.js", |
131398
2486