From 2fef1006914efa2ed9e86effdbdda4ef1b119a13 Mon Sep 17 00:00:00 2001 From: realdennis Date: Sun, 8 Dec 2019 01:41:54 +0800 Subject: [PATCH] Update snapshots --- test/__snapshots__/index.test.js.snap | 50 +++++++++++++-------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index 34a3c21..0571d12 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -272,7 +272,7 @@ Build \\"basicCompressFalse\\" to dist: 301 B: basic-compress-false.esm.js.gz 244 B: basic-compress-false.esm.js.br 424 B: basic-compress-false.umd.js.gz -351 B: basic-compress-false.umd.js.br" +348 B: basic-compress-false.umd.js.br" `; exports[`fixtures build basic-compress-false with microbundle 2`] = `6`; @@ -354,7 +354,7 @@ exports[`fixtures build basic-compress-false with microbundle 5`] = ` typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.basicCompressFalse = factory()); -}(this, function () { +}(this, (function () { var two = function two() { try { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { @@ -387,7 +387,7 @@ exports[`fixtures build basic-compress-false with microbundle 5`] = ` return index; -})); +}))); //# sourceMappingURL=basic-compress-false.umd.js.map " `; @@ -423,7 +423,7 @@ Build \\"basicCss\\" to dist: exports[`fixtures build basic-css with microbundle 2`] = `7`; -exports[`fixtures build basic-css with microbundle 3`] = `".testing{display:flex;color:red;background:#00f}"`; +exports[`fixtures build basic-css with microbundle 3`] = `".testing{display:-webkit-box;display:flex;color:red;background:#00f}"`; exports[`fixtures build basic-css with microbundle 4`] = ` "export default function(){var e=document.createElement(\\"div\\");return e.className=\\"testing\\",e} @@ -640,8 +640,8 @@ Build \\"basicNoCompress\\" to dist: 244 B: basic-no-compress.js.br 301 B: basic-no-compress.esm.js.gz 244 B: basic-no-compress.esm.js.br -422 B: basic-no-compress.umd.js.gz -349 B: basic-no-compress.umd.js.br" +421 B: basic-no-compress.umd.js.gz +345 B: basic-no-compress.umd.js.br" `; exports[`fixtures build basic-no-compress with microbundle 2`] = `6`; @@ -723,7 +723,7 @@ exports[`fixtures build basic-no-compress with microbundle 5`] = ` typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.basicNoCompress = factory()); -}(this, function () { +}(this, (function () { var two = function two() { try { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { @@ -756,7 +756,7 @@ exports[`fixtures build basic-no-compress with microbundle 5`] = ` return index; -})); +}))); //# sourceMappingURL=basic-no-compress.umd.js.map " `; @@ -1062,30 +1062,30 @@ custom-babelrc Build \\"customBabelrc\\" to dist: -234 B: custom-babelrc.js.gz -184 B: custom-babelrc.js.br -236 B: custom-babelrc.esm.js.gz -191 B: custom-babelrc.esm.js.br -327 B: custom-babelrc.umd.js.gz -275 B: custom-babelrc.umd.js.br" +5.92 kB: custom-babelrc.js.gz +5.38 kB: custom-babelrc.js.br +5.93 kB: custom-babelrc.esm.js.gz +5.38 kB: custom-babelrc.esm.js.br +6 kB: custom-babelrc.umd.js.gz +5.44 kB: custom-babelrc.umd.js.br" `; exports[`fixtures build custom-babelrc with microbundle 2`] = `6`; exports[`fixtures build custom-babelrc with microbundle 3`] = ` -"import\\"core-js/modules/es.promise\\";class e{constructor(){var e;e=[\\"foo\\",\\"bar\\"],\\"myFields\\"in this?Object.defineProperty(this,\\"myFields\\",{value:e,enumerable:!0,configurable:!0,writable:!0}):this.myFields=e}foo(){try{return this.myFields.find(e=>\\"bar\\"===e)}catch(e){return Promise.reject(e)}}}export{e as MyClass}; +"var t=\\"undefined\\"!=typeof globalThis?globalThis:\\"undefined\\"!=typeof window?window:\\"undefined\\"!=typeof global?global:\\"undefined\\"!=typeof self?self:{};function n(t,n){return t(n={exports:{}},n.exports),n.exports}var e,r,o,i=function(t){return t&&t.Math==Math&&t},c=i(\\"object\\"==typeof globalThis&&globalThis)||i(\\"object\\"==typeof window&&window)||i(\\"object\\"==typeof self&&self)||i(\\"object\\"==typeof t&&t)||Function(\\"return this\\")(),u=function(t){try{return!!t()}catch(t){return!0}},f=!u(function(){return 7!=Object.defineProperty({},\\"a\\",{get:function(){return 7}}).a}),a={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l={f:s&&!a.call({1:2},1)?function(t){var n=s(this,t);return!!n&&n.enumerable}:a},p=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},v={}.toString,h=function(t){return v.call(t).slice(8,-1)},d=\\"\\".split,y=u(function(){return!Object(\\"z\\").propertyIsEnumerable(0)})?function(t){return\\"String\\"==h(t)?d.call(t,\\"\\"):Object(t)}:Object,m=function(t){return y(function(t){if(null==t)throw TypeError(\\"Can't call method on \\"+t);return t}(t))},g=function(t){return\\"object\\"==typeof t?null!==t:\\"function\\"==typeof t},b=function(t,n){if(!g(t))return t;var e,r;if(n&&\\"function\\"==typeof(e=t.toString)&&!g(r=e.call(t)))return r;if(\\"function\\"==typeof(e=t.valueOf)&&!g(r=e.call(t)))return r;if(!n&&\\"function\\"==typeof(e=t.toString)&&!g(r=e.call(t)))return r;throw TypeError(\\"Can't convert object to primitive value\\")},w={}.hasOwnProperty,j=function(t,n){return w.call(t,n)},P=c.document,S=g(P)&&g(P.createElement),O=function(t){return S?P.createElement(t):{}},E=!f&&!u(function(){return 7!=Object.defineProperty(O(\\"div\\"),\\"a\\",{get:function(){return 7}}).a}),T=Object.getOwnPropertyDescriptor,x={f:f?T:function(t,n){if(t=m(t),n=b(n,!0),E)try{return T(t,n)}catch(t){}if(j(t,n))return p(!l.f.call(t,n),t[n])}},M=function(t){if(!g(t))throw TypeError(String(t)+\\" is not an object\\");return t},k=Object.defineProperty,_={f:f?k:function(t,n,e){if(M(t),n=b(n,!0),M(e),E)try{return k(t,n,e)}catch(t){}if(\\"get\\"in e||\\"set\\"in e)throw TypeError(\\"Accessors not supported\\");return\\"value\\"in e&&(t[n]=e.value),t}},F=f?function(t,n,e){return _.f(t,n,p(1,e))}:function(t,n,e){return t[n]=e,t},I=function(t,n){try{F(c,t,n)}catch(e){c[t]=n}return n},A=c[\\"__core-js_shared__\\"]||I(\\"__core-js_shared__\\",{}),C=n(function(t){(t.exports=function(t,n){return A[t]||(A[t]=void 0!==n?n:{})})(\\"versions\\",[]).push({version:\\"3.4.7\\",mode:\\"global\\",copyright:\\"© 2019 Denis Pushkarev (zloirock.ru)\\"})}),L=Function.toString,N=C(\\"inspectSource\\",function(t){return L.call(t)}),z=c.WeakMap,D=\\"function\\"==typeof z&&/native code/.test(N(z)),R=0,W=Math.random(),q=function(t){return\\"Symbol(\\"+String(void 0===t?\\"\\":t)+\\")_\\"+(++R+W).toString(36)},G=C(\\"keys\\"),K={};if(D){var U=new(0,c.WeakMap),B=U.get,H=U.has,V=U.set;e=function(t,n){return V.call(U,t,n),n},r=function(t){return B.call(U,t)||{}},o=function(t){return H.call(U,t)}}else{var Y=G.state||(G.state=q(\\"state\\"));K[Y]=!0,e=function(t,n){return F(t,Y,n),n},r=function(t){return j(t,Y)?t[Y]:{}},o=function(t){return j(t,Y)}}var J={set:e,get:r,has:o,enforce:function(t){return o(t)?r(t):e(t,{})},getterFor:function(t){return function(n){var e;if(!g(n)||(e=r(n)).type!==t)throw TypeError(\\"Incompatible receiver, \\"+t+\\" required\\");return e}}},Q=n(function(t){var n=J.get,e=J.enforce,r=String(String).split(\\"String\\");(t.exports=function(t,n,o,i){var u=!!i&&!!i.unsafe,f=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;\\"function\\"==typeof o&&(\\"string\\"!=typeof n||j(o,\\"name\\")||F(o,\\"name\\",n),e(o).source=r.join(\\"string\\"==typeof n?n:\\"\\")),t!==c?(u?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=o:F(t,n,o)):f?t[n]=o:I(n,o)})(Function.prototype,\\"toString\\",function(){return\\"function\\"==typeof this&&n(this).source||N(this)})}),X=c,Z=function(t){return\\"function\\"==typeof t?t:void 0},$=function(t,n){return arguments.length<2?Z(X[t])||Z(c[t]):X[t]&&X[t][n]||c[t]&&c[t][n]},tt=Math.ceil,nt=Math.floor,et=function(t){return isNaN(t=+t)?0:(t>0?nt:tt)(t)},rt=Math.min,ot=function(t){return t>0?rt(et(t),9007199254740991):0},it=Math.max,ct=Math.min,ut=function(t){return function(n,e,r){var o,i=m(n),c=ot(i.length),u=function(t,n){var e=et(t);return e<0?it(e+n,0):ct(e,n)}(r,c);if(t&&e!=e){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},ft=(ut(!0),ut(!1)),at=[\\"constructor\\",\\"hasOwnProperty\\",\\"isPrototypeOf\\",\\"propertyIsEnumerable\\",\\"toLocaleString\\",\\"toString\\",\\"valueOf\\"].concat(\\"length\\",\\"prototype\\"),st={f:Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=m(t),o=0,i=[];for(e in r)!j(K,e)&&j(r,e)&&i.push(e);for(;n.length>o;)j(r,e=n[o++])&&(~ft(i,e)||i.push(e));return i}(t,at)}},lt={f:Object.getOwnPropertySymbols},pt=$(\\"Reflect\\",\\"ownKeys\\")||function(t){var n=st.f(M(t)),e=lt.f;return e?n.concat(e(t)):n},vt=function(t,n){for(var e=pt(n),r=_.f,o=x.f,i=0;if;f++)if((s=o?h(M(p=t[f])[0],p[1]):h(t[f]))&&s instanceof n)return s;return new n(!1)}c=u.call(t)}for(l=c.next;!(p=l.call(c)).done;)if(\\"object\\"==typeof(s=Ut(c,h,p.value,o))&&s&&s instanceof n)return s;return new n(!1)}).stop=function(t){return new n(!0,t)}}),Ht=kt(\\"iterator\\"),Vt=!1;try{var Yt=0,Jt={next:function(){return{done:!!Yt++}},return:function(){Vt=!0}};Jt[Ht]=function(){return this},Array.from(Jt,function(){throw 2})}catch(t){}var Qt,Xt,Zt,$t=kt(\\"species\\"),tn=$(\\"document\\",\\"documentElement\\"),nn=$(\\"navigator\\",\\"userAgent\\")||\\"\\",en=/(iphone|ipod|ipad).*applewebkit/i.test(nn),rn=c.location,on=c.setImmediate,cn=c.clearImmediate,un=c.process,fn=c.MessageChannel,an=c.Dispatch,sn=0,ln={},pn=function(t){if(ln.hasOwnProperty(t)){var n=ln[t];delete ln[t],n()}},vn=function(t){return function(){pn(t)}},hn=function(t){pn(t.data)},dn=function(t){c.postMessage(t+\\"\\",rn.protocol+\\"//\\"+rn.host)};on&&cn||(on=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return ln[++sn]=function(){(\\"function\\"==typeof t?t:Function(t)).apply(void 0,n)},Qt(sn),sn},cn=function(t){delete ln[t]},\\"process\\"==h(un)?Qt=function(t){un.nextTick(vn(t))}:an&&an.now?Qt=function(t){an.now(vn(t))}:fn&&!en?(Zt=(Xt=new fn).port2,Xt.port1.onmessage=hn,Qt=zt(Zt.postMessage,Zt,1)):!c.addEventListener||\\"function\\"!=typeof postMessage||c.importScripts||u(dn)?Qt=\\"onreadystatechange\\"in O(\\"script\\")?function(t){tn.appendChild(O(\\"script\\")).onreadystatechange=function(){tn.removeChild(this),pn(t)}}:function(t){setTimeout(vn(t),0)}:(Qt=dn,c.addEventListener(\\"message\\",hn,!1)));var yn,mn,gn,bn,wn,jn,Pn,Sn,On={set:on,clear:cn},En=x.f,Tn=On.set,xn=c.MutationObserver||c.WebKitMutationObserver,Mn=c.process,kn=c.Promise,_n=\\"process\\"==h(Mn),Fn=En(c,\\"queueMicrotask\\"),In=Fn&&Fn.value;In||(yn=function(){var t,n;for(_n&&(t=Mn.domain)&&t.exit();mn;){n=mn.fn,mn=mn.next;try{n()}catch(t){throw mn?bn():gn=void 0,t}}gn=void 0,t&&t.enter()},_n?bn=function(){Mn.nextTick(yn)}:xn&&!en?(wn=!0,jn=document.createTextNode(\\"\\"),new xn(yn).observe(jn,{characterData:!0}),bn=function(){jn.data=wn=!wn}):kn&&kn.resolve?(Pn=kn.resolve(void 0),Sn=Pn.then,bn=function(){Sn.call(Pn,yn)}):bn=function(){Tn.call(c,yn)});var An,Cn,Ln=In||function(t){var n={fn:t,next:void 0};gn&&(gn.next=n),mn||(mn=n,bn()),gn=n},Nn=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError(\\"Bad Promise constructor\\");n=t,e=r}),this.resolve=At(n),this.reject=At(e)},zn={f:function(t){return new Nn(t)}},Dn=function(t,n){if(M(t),g(n)&&n.constructor===t)return n;var e=zn.f(t);return(0,e.resolve)(n),e.promise},Rn=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Wn=c.process,qn=Wn&&Wn.versions,Gn=qn&&qn.v8;Gn?Cn=(An=Gn.split(\\".\\"))[0]+An[1]:nn&&(!(An=nn.match(/Edge\\\\/(\\\\d+)/))||An[1]>=74)&&(An=nn.match(/Chrome\\\\/(\\\\d+)/))&&(Cn=An[1]);var Kn,Un,Bn,Hn,Vn,Yn,Jn=Cn&&+Cn,Qn=On.set,Xn=kt(\\"species\\"),Zn=J.get,$n=J.set,te=J.getterFor(\\"Promise\\"),ne=St,ee=c.TypeError,re=c.document,oe=c.process,ie=$(\\"fetch\\"),ce=zn.f,ue=ce,fe=\\"process\\"==h(oe),ae=!!(re&&re.createEvent&&c.dispatchEvent),se=wt(\\"Promise\\",function(){if(N(ne)===String(ne)){if(66===Jn)return!0;if(!fe&&\\"function\\"!=typeof PromiseRejectionEvent)return!0}if(Jn>=51&&/native code/.test(ne))return!1;var t=ne.resolve(1),n=function(t){t(function(){},function(){})};return(t.constructor={})[Xn]=n,!(t.then(function(){})instanceof n)}),le=se||!function(t,n){if(!Vt)return!1;var e=!1;try{var r={};r[Ht]=function(){return{next:function(){return{done:e=!0}}}},ne.all(r).catch(function(){})}catch(t){}return e}(),pe=function(t){var n;return!(!g(t)||\\"function\\"!=typeof(n=t.then))&&n},ve=function(t,n,e){if(!n.notified){n.notified=!0;var r=n.reactions;Ln(function(){for(var o=n.value,i=1==n.state,c=0;r.length>c;){var u,f,a,s=r[c++],l=i?s.ok:s.fail,p=s.resolve,v=s.reject,h=s.domain;try{l?(i||(2===n.rejection&&me(t,n),n.rejection=1),!0===l?u=o:(h&&h.enter(),u=l(o),h&&(h.exit(),a=!0)),u===s.promise?v(ee(\\"Promise-chain cycle\\")):(f=pe(u))?f.call(u,p,v):p(u)):v(o)}catch(t){h&&!a&&h.exit(),v(t)}}n.reactions=[],n.notified=!1,e&&!n.rejection&&de(t,n)})}},he=function(t,n,e){var r,o;ae?((r=re.createEvent(\\"Event\\")).promise=n,r.reason=e,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:n,reason:e},(o=c[\\"on\\"+t])?o(r):\\"unhandledrejection\\"===t&&function(t,n){var e=c.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,n))}(\\"Unhandled promise rejection\\",e)},de=function(t,n){Qn.call(c,function(){var e,r=n.value;if(ye(n)&&(e=Rn(function(){fe?oe.emit(\\"unhandledRejection\\",r,t):he(\\"unhandledrejection\\",t,r)}),n.rejection=fe||ye(n)?2:1,e.error))throw e.value})},ye=function(t){return 1!==t.rejection&&!t.parent},me=function(t,n){Qn.call(c,function(){fe?oe.emit(\\"rejectionHandled\\",t):he(\\"rejectionhandled\\",t,n.value)})},ge=function(t,n,e,r){return function(o){t(n,e,o,r)}},be=function(t,n,e,r){n.done||(n.done=!0,r&&(n=r),n.value=e,n.state=2,ve(t,n,!0))},we=function t(n,e,r,o){if(!e.done){e.done=!0,o&&(e=o);try{if(n===r)throw ee(\\"Promise can't be resolved itself\\");var i=pe(r);i?Ln(function(){var o={done:!1};try{i.call(r,ge(t,n,o,e),ge(be,n,o,e))}catch(t){be(n,o,t,e)}}):(e.value=r,e.state=1,ve(n,e,!1))}catch(t){be(n,{done:!1},t,e)}}};se&&(ne=function(t){!function(t,n,e){if(!(t instanceof ne))throw TypeError(\\"Incorrect Promise invocation\\")}(this),At(t),Kn.call(this);var n=Zn(this);try{t(ge(we,this,n),ge(be,this,n))}catch(t){be(this,n,t)}},(Kn=function(t){$n(this,{type:\\"Promise\\",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(t,n,e){for(var r in n)Q(t,r,n[r],void 0);return t}(ne.prototype,{then:function(t,n){var e,r,o,i=te(this),c=ce((e=ne,void 0===(o=M(this).constructor)||null==(r=M(o)[$t])?e:At(r)));return c.ok=\\"function\\"!=typeof t||t,c.fail=\\"function\\"==typeof n&&n,c.domain=fe?oe.domain:void 0,i.parent=!0,i.reactions.push(c),0!=i.state&&ve(this,i,!1),c.promise},catch:function(t){return this.then(void 0,t)}}),Un=function(){var t=new Kn,n=Zn(t);this.promise=t,this.resolve=ge(we,t,n),this.reject=ge(be,t,n)},zn.f=ce=function(t){return t===ne||t===Bn?new Un(t):ue(t)},\\"function\\"==typeof St&&(Hn=St.prototype.then,Q(St.prototype,\\"then\\",function(t,n){var e=this;return new ne(function(t,n){Hn.call(e,t,n)}).then(t,n)},{unsafe:!0}),\\"function\\"==typeof ie&&Pt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Dn(ne,ie.apply(c,arguments))}}))),Pt({global:!0,wrap:!0,forced:se},{Promise:ne}),(Vn=ne)&&!j(Vn=Vn.prototype,Ft)&&_t(Vn,Ft,{configurable:!0,value:\\"Promise\\"}),Yn=$(\\"Promise\\"),f&&Yn&&!Yn[It]&&(0,_.f)(Yn,It,{configurable:!0,get:function(){return this}}),Bn=$(\\"Promise\\"),Pt({target:\\"Promise\\",stat:!0,forced:se},{reject:function(t){var n=ce(this);return n.reject.call(void 0,t),n.promise}}),Pt({target:\\"Promise\\",stat:!0,forced:se},{resolve:function(t){return Dn(this,t)}}),Pt({target:\\"Promise\\",stat:!0,forced:le},{all:function(t){var n=this,e=ce(n),r=e.resolve,o=e.reject,i=Rn(function(){var e=At(n.resolve),i=[],c=0,u=1;Bt(t,function(t){var f=c++,a=!1;i.push(void 0),u++,e.call(n,t).then(function(t){a||(a=!0,i[f]=t,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),e.promise},race:function(t){var n=this,e=ce(n),r=e.reject,o=Rn(function(){var o=At(n.resolve);Bt(t,function(t){o.call(n,t).then(e.resolve,r)})});return o.error&&r(o.value),e.promise}});class je{constructor(){!function(t,n,e){n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}(this,\\"myFields\\",[\\"foo\\",\\"bar\\"])}foo(){try{return Promise.resolve(this.myFields.find(t=>\\"bar\\"===t))}catch(t){return Promise.reject(t)}}}export{je as MyClass}; //# sourceMappingURL=custom-babelrc.esm.js.map " `; exports[`fixtures build custom-babelrc with microbundle 4`] = ` -"require(\\"core-js/modules/es.promise\\"),exports.MyClass=class{constructor(){var e;e=[\\"foo\\",\\"bar\\"],\\"myFields\\"in this?Object.defineProperty(this,\\"myFields\\",{value:e,enumerable:!0,configurable:!0,writable:!0}):this.myFields=e}foo(){try{return this.myFields.find(e=>\\"bar\\"===e)}catch(e){return Promise.reject(e)}}}; +"var t=\\"undefined\\"!=typeof globalThis?globalThis:\\"undefined\\"!=typeof window?window:\\"undefined\\"!=typeof global?global:\\"undefined\\"!=typeof self?self:{};function n(t,n){return t(n={exports:{}},n.exports),n.exports}var e,r,o,i=function(t){return t&&t.Math==Math&&t},c=i(\\"object\\"==typeof globalThis&&globalThis)||i(\\"object\\"==typeof window&&window)||i(\\"object\\"==typeof self&&self)||i(\\"object\\"==typeof t&&t)||Function(\\"return this\\")(),u=function(t){try{return!!t()}catch(t){return!0}},f=!u(function(){return 7!=Object.defineProperty({},\\"a\\",{get:function(){return 7}}).a}),a={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l={f:s&&!a.call({1:2},1)?function(t){var n=s(this,t);return!!n&&n.enumerable}:a},p=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},v={}.toString,h=function(t){return v.call(t).slice(8,-1)},d=\\"\\".split,y=u(function(){return!Object(\\"z\\").propertyIsEnumerable(0)})?function(t){return\\"String\\"==h(t)?d.call(t,\\"\\"):Object(t)}:Object,m=function(t){return y(function(t){if(null==t)throw TypeError(\\"Can't call method on \\"+t);return t}(t))},g=function(t){return\\"object\\"==typeof t?null!==t:\\"function\\"==typeof t},b=function(t,n){if(!g(t))return t;var e,r;if(n&&\\"function\\"==typeof(e=t.toString)&&!g(r=e.call(t)))return r;if(\\"function\\"==typeof(e=t.valueOf)&&!g(r=e.call(t)))return r;if(!n&&\\"function\\"==typeof(e=t.toString)&&!g(r=e.call(t)))return r;throw TypeError(\\"Can't convert object to primitive value\\")},w={}.hasOwnProperty,j=function(t,n){return w.call(t,n)},P=c.document,S=g(P)&&g(P.createElement),O=function(t){return S?P.createElement(t):{}},E=!f&&!u(function(){return 7!=Object.defineProperty(O(\\"div\\"),\\"a\\",{get:function(){return 7}}).a}),T=Object.getOwnPropertyDescriptor,x={f:f?T:function(t,n){if(t=m(t),n=b(n,!0),E)try{return T(t,n)}catch(t){}if(j(t,n))return p(!l.f.call(t,n),t[n])}},M=function(t){if(!g(t))throw TypeError(String(t)+\\" is not an object\\");return t},k=Object.defineProperty,_={f:f?k:function(t,n,e){if(M(t),n=b(n,!0),M(e),E)try{return k(t,n,e)}catch(t){}if(\\"get\\"in e||\\"set\\"in e)throw TypeError(\\"Accessors not supported\\");return\\"value\\"in e&&(t[n]=e.value),t}},F=f?function(t,n,e){return _.f(t,n,p(1,e))}:function(t,n,e){return t[n]=e,t},I=function(t,n){try{F(c,t,n)}catch(e){c[t]=n}return n},A=c[\\"__core-js_shared__\\"]||I(\\"__core-js_shared__\\",{}),C=n(function(t){(t.exports=function(t,n){return A[t]||(A[t]=void 0!==n?n:{})})(\\"versions\\",[]).push({version:\\"3.4.7\\",mode:\\"global\\",copyright:\\"© 2019 Denis Pushkarev (zloirock.ru)\\"})}),L=Function.toString,N=C(\\"inspectSource\\",function(t){return L.call(t)}),z=c.WeakMap,D=\\"function\\"==typeof z&&/native code/.test(N(z)),R=0,W=Math.random(),q=function(t){return\\"Symbol(\\"+String(void 0===t?\\"\\":t)+\\")_\\"+(++R+W).toString(36)},G=C(\\"keys\\"),K={};if(D){var U=new(0,c.WeakMap),B=U.get,H=U.has,V=U.set;e=function(t,n){return V.call(U,t,n),n},r=function(t){return B.call(U,t)||{}},o=function(t){return H.call(U,t)}}else{var Y=G.state||(G.state=q(\\"state\\"));K[Y]=!0,e=function(t,n){return F(t,Y,n),n},r=function(t){return j(t,Y)?t[Y]:{}},o=function(t){return j(t,Y)}}var J={set:e,get:r,has:o,enforce:function(t){return o(t)?r(t):e(t,{})},getterFor:function(t){return function(n){var e;if(!g(n)||(e=r(n)).type!==t)throw TypeError(\\"Incompatible receiver, \\"+t+\\" required\\");return e}}},Q=n(function(t){var n=J.get,e=J.enforce,r=String(String).split(\\"String\\");(t.exports=function(t,n,o,i){var u=!!i&&!!i.unsafe,f=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;\\"function\\"==typeof o&&(\\"string\\"!=typeof n||j(o,\\"name\\")||F(o,\\"name\\",n),e(o).source=r.join(\\"string\\"==typeof n?n:\\"\\")),t!==c?(u?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=o:F(t,n,o)):f?t[n]=o:I(n,o)})(Function.prototype,\\"toString\\",function(){return\\"function\\"==typeof this&&n(this).source||N(this)})}),X=c,Z=function(t){return\\"function\\"==typeof t?t:void 0},$=function(t,n){return arguments.length<2?Z(X[t])||Z(c[t]):X[t]&&X[t][n]||c[t]&&c[t][n]},tt=Math.ceil,nt=Math.floor,et=function(t){return isNaN(t=+t)?0:(t>0?nt:tt)(t)},rt=Math.min,ot=function(t){return t>0?rt(et(t),9007199254740991):0},it=Math.max,ct=Math.min,ut=function(t){return function(n,e,r){var o,i=m(n),c=ot(i.length),u=function(t,n){var e=et(t);return e<0?it(e+n,0):ct(e,n)}(r,c);if(t&&e!=e){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},ft=(ut(!0),ut(!1)),at=[\\"constructor\\",\\"hasOwnProperty\\",\\"isPrototypeOf\\",\\"propertyIsEnumerable\\",\\"toLocaleString\\",\\"toString\\",\\"valueOf\\"].concat(\\"length\\",\\"prototype\\"),st={f:Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=m(t),o=0,i=[];for(e in r)!j(K,e)&&j(r,e)&&i.push(e);for(;n.length>o;)j(r,e=n[o++])&&(~ft(i,e)||i.push(e));return i}(t,at)}},lt={f:Object.getOwnPropertySymbols},pt=$(\\"Reflect\\",\\"ownKeys\\")||function(t){var n=st.f(M(t)),e=lt.f;return e?n.concat(e(t)):n},vt=function(t,n){for(var e=pt(n),r=_.f,o=x.f,i=0;if;f++)if((s=o?h(M(p=t[f])[0],p[1]):h(t[f]))&&s instanceof n)return s;return new n(!1)}c=u.call(t)}for(l=c.next;!(p=l.call(c)).done;)if(\\"object\\"==typeof(s=Ut(c,h,p.value,o))&&s&&s instanceof n)return s;return new n(!1)}).stop=function(t){return new n(!0,t)}}),Ht=kt(\\"iterator\\"),Vt=!1;try{var Yt=0,Jt={next:function(){return{done:!!Yt++}},return:function(){Vt=!0}};Jt[Ht]=function(){return this},Array.from(Jt,function(){throw 2})}catch(t){}var Qt,Xt,Zt,$t=kt(\\"species\\"),tn=$(\\"document\\",\\"documentElement\\"),nn=$(\\"navigator\\",\\"userAgent\\")||\\"\\",en=/(iphone|ipod|ipad).*applewebkit/i.test(nn),rn=c.location,on=c.setImmediate,cn=c.clearImmediate,un=c.process,fn=c.MessageChannel,an=c.Dispatch,sn=0,ln={},pn=function(t){if(ln.hasOwnProperty(t)){var n=ln[t];delete ln[t],n()}},vn=function(t){return function(){pn(t)}},hn=function(t){pn(t.data)},dn=function(t){c.postMessage(t+\\"\\",rn.protocol+\\"//\\"+rn.host)};on&&cn||(on=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return ln[++sn]=function(){(\\"function\\"==typeof t?t:Function(t)).apply(void 0,n)},Qt(sn),sn},cn=function(t){delete ln[t]},\\"process\\"==h(un)?Qt=function(t){un.nextTick(vn(t))}:an&&an.now?Qt=function(t){an.now(vn(t))}:fn&&!en?(Zt=(Xt=new fn).port2,Xt.port1.onmessage=hn,Qt=zt(Zt.postMessage,Zt,1)):!c.addEventListener||\\"function\\"!=typeof postMessage||c.importScripts||u(dn)?Qt=\\"onreadystatechange\\"in O(\\"script\\")?function(t){tn.appendChild(O(\\"script\\")).onreadystatechange=function(){tn.removeChild(this),pn(t)}}:function(t){setTimeout(vn(t),0)}:(Qt=dn,c.addEventListener(\\"message\\",hn,!1)));var yn,mn,gn,bn,wn,jn,Pn,Sn,On={set:on,clear:cn},En=x.f,Tn=On.set,xn=c.MutationObserver||c.WebKitMutationObserver,Mn=c.process,kn=c.Promise,_n=\\"process\\"==h(Mn),Fn=En(c,\\"queueMicrotask\\"),In=Fn&&Fn.value;In||(yn=function(){var t,n;for(_n&&(t=Mn.domain)&&t.exit();mn;){n=mn.fn,mn=mn.next;try{n()}catch(t){throw mn?bn():gn=void 0,t}}gn=void 0,t&&t.enter()},_n?bn=function(){Mn.nextTick(yn)}:xn&&!en?(wn=!0,jn=document.createTextNode(\\"\\"),new xn(yn).observe(jn,{characterData:!0}),bn=function(){jn.data=wn=!wn}):kn&&kn.resolve?(Pn=kn.resolve(void 0),Sn=Pn.then,bn=function(){Sn.call(Pn,yn)}):bn=function(){Tn.call(c,yn)});var An,Cn,Ln=In||function(t){var n={fn:t,next:void 0};gn&&(gn.next=n),mn||(mn=n,bn()),gn=n},Nn=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError(\\"Bad Promise constructor\\");n=t,e=r}),this.resolve=At(n),this.reject=At(e)},zn={f:function(t){return new Nn(t)}},Dn=function(t,n){if(M(t),g(n)&&n.constructor===t)return n;var e=zn.f(t);return(0,e.resolve)(n),e.promise},Rn=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Wn=c.process,qn=Wn&&Wn.versions,Gn=qn&&qn.v8;Gn?Cn=(An=Gn.split(\\".\\"))[0]+An[1]:nn&&(!(An=nn.match(/Edge\\\\/(\\\\d+)/))||An[1]>=74)&&(An=nn.match(/Chrome\\\\/(\\\\d+)/))&&(Cn=An[1]);var Kn,Un,Bn,Hn,Vn,Yn,Jn=Cn&&+Cn,Qn=On.set,Xn=kt(\\"species\\"),Zn=J.get,$n=J.set,te=J.getterFor(\\"Promise\\"),ne=St,ee=c.TypeError,re=c.document,oe=c.process,ie=$(\\"fetch\\"),ce=zn.f,ue=ce,fe=\\"process\\"==h(oe),ae=!!(re&&re.createEvent&&c.dispatchEvent),se=wt(\\"Promise\\",function(){if(N(ne)===String(ne)){if(66===Jn)return!0;if(!fe&&\\"function\\"!=typeof PromiseRejectionEvent)return!0}if(Jn>=51&&/native code/.test(ne))return!1;var t=ne.resolve(1),n=function(t){t(function(){},function(){})};return(t.constructor={})[Xn]=n,!(t.then(function(){})instanceof n)}),le=se||!function(t,n){if(!Vt)return!1;var e=!1;try{var r={};r[Ht]=function(){return{next:function(){return{done:e=!0}}}},ne.all(r).catch(function(){})}catch(t){}return e}(),pe=function(t){var n;return!(!g(t)||\\"function\\"!=typeof(n=t.then))&&n},ve=function(t,n,e){if(!n.notified){n.notified=!0;var r=n.reactions;Ln(function(){for(var o=n.value,i=1==n.state,c=0;r.length>c;){var u,f,a,s=r[c++],l=i?s.ok:s.fail,p=s.resolve,v=s.reject,h=s.domain;try{l?(i||(2===n.rejection&&me(t,n),n.rejection=1),!0===l?u=o:(h&&h.enter(),u=l(o),h&&(h.exit(),a=!0)),u===s.promise?v(ee(\\"Promise-chain cycle\\")):(f=pe(u))?f.call(u,p,v):p(u)):v(o)}catch(t){h&&!a&&h.exit(),v(t)}}n.reactions=[],n.notified=!1,e&&!n.rejection&&de(t,n)})}},he=function(t,n,e){var r,o;ae?((r=re.createEvent(\\"Event\\")).promise=n,r.reason=e,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:n,reason:e},(o=c[\\"on\\"+t])?o(r):\\"unhandledrejection\\"===t&&function(t,n){var e=c.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,n))}(\\"Unhandled promise rejection\\",e)},de=function(t,n){Qn.call(c,function(){var e,r=n.value;if(ye(n)&&(e=Rn(function(){fe?oe.emit(\\"unhandledRejection\\",r,t):he(\\"unhandledrejection\\",t,r)}),n.rejection=fe||ye(n)?2:1,e.error))throw e.value})},ye=function(t){return 1!==t.rejection&&!t.parent},me=function(t,n){Qn.call(c,function(){fe?oe.emit(\\"rejectionHandled\\",t):he(\\"rejectionhandled\\",t,n.value)})},ge=function(t,n,e,r){return function(o){t(n,e,o,r)}},be=function(t,n,e,r){n.done||(n.done=!0,r&&(n=r),n.value=e,n.state=2,ve(t,n,!0))},we=function t(n,e,r,o){if(!e.done){e.done=!0,o&&(e=o);try{if(n===r)throw ee(\\"Promise can't be resolved itself\\");var i=pe(r);i?Ln(function(){var o={done:!1};try{i.call(r,ge(t,n,o,e),ge(be,n,o,e))}catch(t){be(n,o,t,e)}}):(e.value=r,e.state=1,ve(n,e,!1))}catch(t){be(n,{done:!1},t,e)}}};se&&(ne=function(t){!function(t,n,e){if(!(t instanceof ne))throw TypeError(\\"Incorrect Promise invocation\\")}(this),At(t),Kn.call(this);var n=Zn(this);try{t(ge(we,this,n),ge(be,this,n))}catch(t){be(this,n,t)}},(Kn=function(t){$n(this,{type:\\"Promise\\",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(t,n,e){for(var r in n)Q(t,r,n[r],void 0);return t}(ne.prototype,{then:function(t,n){var e,r,o,i=te(this),c=ce((e=ne,void 0===(o=M(this).constructor)||null==(r=M(o)[$t])?e:At(r)));return c.ok=\\"function\\"!=typeof t||t,c.fail=\\"function\\"==typeof n&&n,c.domain=fe?oe.domain:void 0,i.parent=!0,i.reactions.push(c),0!=i.state&&ve(this,i,!1),c.promise},catch:function(t){return this.then(void 0,t)}}),Un=function(){var t=new Kn,n=Zn(t);this.promise=t,this.resolve=ge(we,t,n),this.reject=ge(be,t,n)},zn.f=ce=function(t){return t===ne||t===Bn?new Un(t):ue(t)},\\"function\\"==typeof St&&(Hn=St.prototype.then,Q(St.prototype,\\"then\\",function(t,n){var e=this;return new ne(function(t,n){Hn.call(e,t,n)}).then(t,n)},{unsafe:!0}),\\"function\\"==typeof ie&&Pt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Dn(ne,ie.apply(c,arguments))}}))),Pt({global:!0,wrap:!0,forced:se},{Promise:ne}),(Vn=ne)&&!j(Vn=Vn.prototype,Ft)&&_t(Vn,Ft,{configurable:!0,value:\\"Promise\\"}),Yn=$(\\"Promise\\"),f&&Yn&&!Yn[It]&&(0,_.f)(Yn,It,{configurable:!0,get:function(){return this}}),Bn=$(\\"Promise\\"),Pt({target:\\"Promise\\",stat:!0,forced:se},{reject:function(t){var n=ce(this);return n.reject.call(void 0,t),n.promise}}),Pt({target:\\"Promise\\",stat:!0,forced:se},{resolve:function(t){return Dn(this,t)}}),Pt({target:\\"Promise\\",stat:!0,forced:le},{all:function(t){var n=this,e=ce(n),r=e.resolve,o=e.reject,i=Rn(function(){var e=At(n.resolve),i=[],c=0,u=1;Bt(t,function(t){var f=c++,a=!1;i.push(void 0),u++,e.call(n,t).then(function(t){a||(a=!0,i[f]=t,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),e.promise},race:function(t){var n=this,e=ce(n),r=e.reject,o=Rn(function(){var o=At(n.resolve);Bt(t,function(t){o.call(n,t).then(e.resolve,r)})});return o.error&&r(o.value),e.promise}}),exports.MyClass=class{constructor(){!function(t,n,e){n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e}(this,\\"myFields\\",[\\"foo\\",\\"bar\\"])}foo(){try{return Promise.resolve(this.myFields.find(t=>\\"bar\\"===t))}catch(t){return Promise.reject(t)}}}; //# sourceMappingURL=custom-babelrc.js.map " `; exports[`fixtures build custom-babelrc with microbundle 5`] = ` -"!function(e,s){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?s(exports,require(\\"core-js/modules/es.promise\\")):\\"function\\"==typeof define&&define.amd?define([\\"exports\\",\\"core-js/modules/es.promise\\"],s):s((e=e||self).customBabelrc={})}(this,function(e){e.MyClass=class{constructor(){var e;e=[\\"foo\\",\\"bar\\"],\\"myFields\\"in this?Object.defineProperty(this,\\"myFields\\",{value:e,enumerable:!0,configurable:!0,writable:!0}):this.myFields=e}foo(){try{return this.myFields.find(e=>\\"bar\\"===e)}catch(e){return Promise.reject(e)}}}}); +"!function(t,e){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?e(exports):\\"function\\"==typeof define&&define.amd?define([\\"exports\\"],e):e((t=t||self).customBabelrc={})}(this,function(t){var e=\\"undefined\\"!=typeof globalThis?globalThis:\\"undefined\\"!=typeof window?window:\\"undefined\\"!=typeof global?global:\\"undefined\\"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r,o,i,c=function(t){return t&&t.Math==Math&&t},u=c(\\"object\\"==typeof globalThis&&globalThis)||c(\\"object\\"==typeof window&&window)||c(\\"object\\"==typeof self&&self)||c(\\"object\\"==typeof e&&e)||Function(\\"return this\\")(),f=function(t){try{return!!t()}catch(t){return!0}},a=!f(function(){return 7!=Object.defineProperty({},\\"a\\",{get:function(){return 7}}).a}),s={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,p={f:l&&!s.call({1:2},1)?function(t){var e=l(this,t);return!!e&&e.enumerable}:s},v=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},h={}.toString,d=function(t){return h.call(t).slice(8,-1)},y=\\"\\".split,m=f(function(){return!Object(\\"z\\").propertyIsEnumerable(0)})?function(t){return\\"String\\"==d(t)?y.call(t,\\"\\"):Object(t)}:Object,g=function(t){return m(function(t){if(null==t)throw TypeError(\\"Can't call method on \\"+t);return t}(t))},b=function(t){return\\"object\\"==typeof t?null!==t:\\"function\\"==typeof t},w=function(t,e){if(!b(t))return t;var n,r;if(e&&\\"function\\"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;if(\\"function\\"==typeof(n=t.valueOf)&&!b(r=n.call(t)))return r;if(!e&&\\"function\\"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;throw TypeError(\\"Can't convert object to primitive value\\")},j={}.hasOwnProperty,P=function(t,e){return j.call(t,e)},S=u.document,O=b(S)&&b(S.createElement),E=function(t){return O?S.createElement(t):{}},T=!a&&!f(function(){return 7!=Object.defineProperty(E(\\"div\\"),\\"a\\",{get:function(){return 7}}).a}),x=Object.getOwnPropertyDescriptor,M={f:a?x:function(t,e){if(t=g(t),e=w(e,!0),T)try{return x(t,e)}catch(t){}if(P(t,e))return v(!p.f.call(t,e),t[e])}},k=function(t){if(!b(t))throw TypeError(String(t)+\\" is not an object\\");return t},_=Object.defineProperty,F={f:a?_:function(t,e,n){if(k(t),e=w(e,!0),k(n),T)try{return _(t,e,n)}catch(t){}if(\\"get\\"in n||\\"set\\"in n)throw TypeError(\\"Accessors not supported\\");return\\"value\\"in n&&(t[e]=n.value),t}},I=a?function(t,e,n){return F.f(t,e,v(1,n))}:function(t,e,n){return t[e]=n,t},A=function(t,e){try{I(u,t,e)}catch(n){u[t]=e}return e},C=u[\\"__core-js_shared__\\"]||A(\\"__core-js_shared__\\",{}),L=n(function(t){(t.exports=function(t,e){return C[t]||(C[t]=void 0!==e?e:{})})(\\"versions\\",[]).push({version:\\"3.4.7\\",mode:\\"global\\",copyright:\\"© 2019 Denis Pushkarev (zloirock.ru)\\"})}),N=Function.toString,z=L(\\"inspectSource\\",function(t){return N.call(t)}),D=u.WeakMap,R=\\"function\\"==typeof D&&/native code/.test(z(D)),W=0,q=Math.random(),B=function(t){return\\"Symbol(\\"+String(void 0===t?\\"\\":t)+\\")_\\"+(++W+q).toString(36)},G=L(\\"keys\\"),K={};if(R){var U=new(0,u.WeakMap),H=U.get,V=U.has,Y=U.set;r=function(t,e){return Y.call(U,t,e),e},o=function(t){return H.call(U,t)||{}},i=function(t){return V.call(U,t)}}else{var J=G.state||(G.state=B(\\"state\\"));K[J]=!0,r=function(t,e){return I(t,J,e),e},o=function(t){return P(t,J)?t[J]:{}},i=function(t){return P(t,J)}}var Q={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!b(e)||(n=o(e)).type!==t)throw TypeError(\\"Incompatible receiver, \\"+t+\\" required\\");return n}}},X=n(function(t){var e=Q.get,n=Q.enforce,r=String(String).split(\\"String\\");(t.exports=function(t,e,o,i){var c=!!i&&!!i.unsafe,f=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;\\"function\\"==typeof o&&(\\"string\\"!=typeof e||P(o,\\"name\\")||I(o,\\"name\\",e),n(o).source=r.join(\\"string\\"==typeof e?e:\\"\\")),t!==u?(c?!a&&t[e]&&(f=!0):delete t[e],f?t[e]=o:I(t,e,o)):f?t[e]=o:A(e,o)})(Function.prototype,\\"toString\\",function(){return\\"function\\"==typeof this&&e(this).source||z(this)})}),Z=u,$=function(t){return\\"function\\"==typeof t?t:void 0},tt=function(t,e){return arguments.length<2?$(Z[t])||$(u[t]):Z[t]&&Z[t][e]||u[t]&&u[t][e]},et=Math.ceil,nt=Math.floor,rt=function(t){return isNaN(t=+t)?0:(t>0?nt:et)(t)},ot=Math.min,it=function(t){return t>0?ot(rt(t),9007199254740991):0},ct=Math.max,ut=Math.min,ft=function(t){return function(e,n,r){var o,i=g(e),c=it(i.length),u=function(t,e){var n=rt(t);return n<0?ct(n+e,0):ut(n,e)}(r,c);if(t&&n!=n){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},at=(ft(!0),ft(!1)),st=[\\"constructor\\",\\"hasOwnProperty\\",\\"isPrototypeOf\\",\\"propertyIsEnumerable\\",\\"toLocaleString\\",\\"toString\\",\\"valueOf\\"].concat(\\"length\\",\\"prototype\\"),lt={f:Object.getOwnPropertyNames||function(t){return function(t,e){var n,r=g(t),o=0,i=[];for(n in r)!P(K,n)&&P(r,n)&&i.push(n);for(;e.length>o;)P(r,n=e[o++])&&(~at(i,n)||i.push(n));return i}(t,st)}},pt={f:Object.getOwnPropertySymbols},vt=tt(\\"Reflect\\",\\"ownKeys\\")||function(t){var e=lt.f(k(t)),n=pt.f;return n?e.concat(n(t)):e},ht=function(t,e){for(var n=vt(e),r=F.f,o=M.f,i=0;if;f++)if((s=o?h(k(p=t[f])[0],p[1]):h(t[f]))&&s instanceof e)return s;return new e(!1)}c=u.call(t)}for(l=c.next;!(p=l.call(c)).done;)if(\\"object\\"==typeof(s=Ut(c,h,p.value,o))&&s&&s instanceof e)return s;return new e(!1)}).stop=function(t){return new e(!0,t)}}),Vt=_t(\\"iterator\\"),Yt=!1;try{var Jt=0,Qt={next:function(){return{done:!!Jt++}},return:function(){Yt=!0}};Qt[Vt]=function(){return this},Array.from(Qt,function(){throw 2})}catch(t){}var Xt,Zt,$t,te=_t(\\"species\\"),ee=tt(\\"document\\",\\"documentElement\\"),ne=tt(\\"navigator\\",\\"userAgent\\")||\\"\\",re=/(iphone|ipod|ipad).*applewebkit/i.test(ne),oe=u.location,ie=u.setImmediate,ce=u.clearImmediate,ue=u.process,fe=u.MessageChannel,ae=u.Dispatch,se=0,le={},pe=function(t){if(le.hasOwnProperty(t)){var e=le[t];delete le[t],e()}},ve=function(t){return function(){pe(t)}},he=function(t){pe(t.data)},de=function(t){u.postMessage(t+\\"\\",oe.protocol+\\"//\\"+oe.host)};ie&&ce||(ie=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return le[++se]=function(){(\\"function\\"==typeof t?t:Function(t)).apply(void 0,e)},Xt(se),se},ce=function(t){delete le[t]},\\"process\\"==d(ue)?Xt=function(t){ue.nextTick(ve(t))}:ae&&ae.now?Xt=function(t){ae.now(ve(t))}:fe&&!re?($t=(Zt=new fe).port2,Zt.port1.onmessage=he,Xt=Dt($t.postMessage,$t,1)):!u.addEventListener||\\"function\\"!=typeof postMessage||u.importScripts||f(de)?Xt=\\"onreadystatechange\\"in E(\\"script\\")?function(t){ee.appendChild(E(\\"script\\")).onreadystatechange=function(){ee.removeChild(this),pe(t)}}:function(t){setTimeout(ve(t),0)}:(Xt=de,u.addEventListener(\\"message\\",he,!1)));var ye,me,ge,be,we,je,Pe,Se,Oe={set:ie,clear:ce},Ee=M.f,Te=Oe.set,xe=u.MutationObserver||u.WebKitMutationObserver,Me=u.process,ke=u.Promise,_e=\\"process\\"==d(Me),Fe=Ee(u,\\"queueMicrotask\\"),Ie=Fe&&Fe.value;Ie||(ye=function(){var t,e;for(_e&&(t=Me.domain)&&t.exit();me;){e=me.fn,me=me.next;try{e()}catch(t){throw me?be():ge=void 0,t}}ge=void 0,t&&t.enter()},_e?be=function(){Me.nextTick(ye)}:xe&&!re?(we=!0,je=document.createTextNode(\\"\\"),new xe(ye).observe(je,{characterData:!0}),be=function(){je.data=we=!we}):ke&&ke.resolve?(Pe=ke.resolve(void 0),Se=Pe.then,be=function(){Se.call(Pe,ye)}):be=function(){Te.call(u,ye)});var Ae,Ce,Le=Ie||function(t){var e={fn:t,next:void 0};ge&&(ge.next=e),me||(me=e,be()),ge=e},Ne=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError(\\"Bad Promise constructor\\");e=t,n=r}),this.resolve=Ct(e),this.reject=Ct(n)},ze={f:function(t){return new Ne(t)}},De=function(t,e){if(k(t),b(e)&&e.constructor===t)return e;var n=ze.f(t);return(0,n.resolve)(e),n.promise},Re=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},We=u.process,qe=We&&We.versions,Be=qe&&qe.v8;Be?Ce=(Ae=Be.split(\\".\\"))[0]+Ae[1]:ne&&(!(Ae=ne.match(/Edge\\\\/(\\\\d+)/))||Ae[1]>=74)&&(Ae=ne.match(/Chrome\\\\/(\\\\d+)/))&&(Ce=Ae[1]);var Ge,Ke,Ue,He,Ve,Ye,Je=Ce&&+Ce,Qe=Oe.set,Xe=_t(\\"species\\"),Ze=Q.get,$e=Q.set,tn=Q.getterFor(\\"Promise\\"),en=Ot,nn=u.TypeError,rn=u.document,on=u.process,cn=tt(\\"fetch\\"),un=ze.f,fn=un,an=\\"process\\"==d(on),sn=!!(rn&&rn.createEvent&&u.dispatchEvent),ln=jt(\\"Promise\\",function(){if(z(en)===String(en)){if(66===Je)return!0;if(!an&&\\"function\\"!=typeof PromiseRejectionEvent)return!0}if(Je>=51&&/native code/.test(en))return!1;var t=en.resolve(1),e=function(t){t(function(){},function(){})};return(t.constructor={})[Xe]=e,!(t.then(function(){})instanceof e)}),pn=ln||!function(t,e){if(!Yt)return!1;var n=!1;try{var r={};r[Vt]=function(){return{next:function(){return{done:n=!0}}}},en.all(r).catch(function(){})}catch(t){}return n}(),vn=function(t){var e;return!(!b(t)||\\"function\\"!=typeof(e=t.then))&&e},hn=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;Le(function(){for(var o=e.value,i=1==e.state,c=0;r.length>c;){var u,f,a,s=r[c++],l=i?s.ok:s.fail,p=s.resolve,v=s.reject,h=s.domain;try{l?(i||(2===e.rejection&&gn(t,e),e.rejection=1),!0===l?u=o:(h&&h.enter(),u=l(o),h&&(h.exit(),a=!0)),u===s.promise?v(nn(\\"Promise-chain cycle\\")):(f=vn(u))?f.call(u,p,v):p(u)):v(o)}catch(t){h&&!a&&h.exit(),v(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&yn(t,e)})}},dn=function(t,e,n){var r,o;sn?((r=rn.createEvent(\\"Event\\")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},(o=u[\\"on\\"+t])?o(r):\\"unhandledrejection\\"===t&&function(t,e){var n=u.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}(\\"Unhandled promise rejection\\",n)},yn=function(t,e){Qe.call(u,function(){var n,r=e.value;if(mn(e)&&(n=Re(function(){an?on.emit(\\"unhandledRejection\\",r,t):dn(\\"unhandledrejection\\",t,r)}),e.rejection=an||mn(e)?2:1,n.error))throw n.value})},mn=function(t){return 1!==t.rejection&&!t.parent},gn=function(t,e){Qe.call(u,function(){an?on.emit(\\"rejectionHandled\\",t):dn(\\"rejectionhandled\\",t,e.value)})},bn=function(t,e,n,r){return function(o){t(e,n,o,r)}},wn=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,hn(t,e,!0))},jn=function t(e,n,r,o){if(!n.done){n.done=!0,o&&(n=o);try{if(e===r)throw nn(\\"Promise can't be resolved itself\\");var i=vn(r);i?Le(function(){var o={done:!1};try{i.call(r,bn(t,e,o,n),bn(wn,e,o,n))}catch(t){wn(e,o,t,n)}}):(n.value=r,n.state=1,hn(e,n,!1))}catch(t){wn(e,{done:!1},t,n)}}};ln&&(en=function(t){!function(t,e,n){if(!(t instanceof e))throw TypeError(\\"Incorrect Promise invocation\\")}(this,en),Ct(t),Ge.call(this);var e=Ze(this);try{t(bn(jn,this,e),bn(wn,this,e))}catch(t){wn(this,e,t)}},(Ge=function(t){$e(this,{type:\\"Promise\\",done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(t,e,n){for(var r in e)X(t,r,e[r],void 0);return t}(en.prototype,{then:function(t,e){var n,r,o,i=tn(this),c=un((n=en,void 0===(o=k(this).constructor)||null==(r=k(o)[te])?n:Ct(r)));return c.ok=\\"function\\"!=typeof t||t,c.fail=\\"function\\"==typeof e&&e,c.domain=an?on.domain:void 0,i.parent=!0,i.reactions.push(c),0!=i.state&&hn(this,i,!1),c.promise},catch:function(t){return this.then(void 0,t)}}),Ke=function(){var t=new Ge,e=Ze(t);this.promise=t,this.resolve=bn(jn,t,e),this.reject=bn(wn,t,e)},ze.f=un=function(t){return t===en||t===Ue?new Ke(t):fn(t)},\\"function\\"==typeof Ot&&(He=Ot.prototype.then,X(Ot.prototype,\\"then\\",function(t,e){var n=this;return new en(function(t,e){He.call(n,t,e)}).then(t,e)},{unsafe:!0}),\\"function\\"==typeof cn&&St({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return De(en,cn.apply(u,arguments))}}))),St({global:!0,wrap:!0,forced:ln},{Promise:en}),(Ve=en)&&!P(Ve=Ve.prototype,It)&&Ft(Ve,It,{configurable:!0,value:\\"Promise\\"}),Ye=tt(\\"Promise\\"),a&&Ye&&!Ye[At]&&(0,F.f)(Ye,At,{configurable:!0,get:function(){return this}}),Ue=tt(\\"Promise\\"),St({target:\\"Promise\\",stat:!0,forced:ln},{reject:function(t){var e=un(this);return e.reject.call(void 0,t),e.promise}}),St({target:\\"Promise\\",stat:!0,forced:ln},{resolve:function(t){return De(this,t)}}),St({target:\\"Promise\\",stat:!0,forced:pn},{all:function(t){var e=this,n=un(e),r=n.resolve,o=n.reject,i=Re(function(){var n=Ct(e.resolve),i=[],c=0,u=1;Ht(t,function(t){var f=c++,a=!1;i.push(void 0),u++,n.call(e,t).then(function(t){a||(a=!0,i[f]=t,--u||r(i))},o)}),--u||r(i)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=un(e),r=n.reject,o=Re(function(){var o=Ct(e.resolve);Ht(t,function(t){o.call(e,t).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}}),t.MyClass=class{constructor(){!function(t,e,n){e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}(this,\\"myFields\\",[\\"foo\\",\\"bar\\"])}foo(){try{return Promise.resolve(this.myFields.find(t=>\\"bar\\"===t))}catch(t){return Promise.reject(t)}}}}); //# sourceMappingURL=custom-babelrc.umd.js.map " `; @@ -1295,30 +1295,30 @@ esnext-ts Build \\"esnextTs\\" to dist: -1022 B: esnext-ts.js.gz -926 B: esnext-ts.js.br -1022 B: esnext-ts.esm.js.gz -925 B: esnext-ts.esm.js.br -1081 B: esnext-ts.umd.js.gz +1020 B: esnext-ts.js.gz +925 B: esnext-ts.js.br +1020 B: esnext-ts.esm.js.gz +924 B: esnext-ts.esm.js.br +1080 B: esnext-ts.umd.js.gz 982 B: esnext-ts.umd.js.br" `; exports[`fixtures build esnext-ts with microbundle 2`] = `7`; exports[`fixtures build esnext-ts with microbundle 3`] = ` -"var n=function(){function n(){}return n.prototype.then=function(r,e){var o=new n,i=this.s;if(i){var u=1&i?r:e;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,r?r(i):i):e?t(o,1,e(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(r,e,o){if(!r.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,r,e));1&e&&(e=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,r,e),t.bind(null,r,2));r.s=e,r.v=o;var i=r.o;i&&i(r)}}function r(t){return t instanceof n&&1&t.s}function e(n,t){try{var r=n()}catch(n){return t(!0,n)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}\\"undefined\\"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol(\\"Symbol.iterator\\"))),\\"undefined\\"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\")));var o=function(){try{var o,i,u,f,h=!1,c=[],a=!0,l=!1,v=e(function(){return function(e,f){try{var h=function(){o=function(n){var t;if(\\"undefined\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var e=function(e,o,i){for(var u;;){var f=e();if(r(f)&&(f=f.v),!f)return h;if(f.then){u=0;break}var h=i();if(h&&h.then){if(!r(h)){u=1;break}h=h.s}if(o){var c=o();if(c&&c.then&&!r(c)){u=2;break}}}var a=new n,l=t.bind(null,a,2);return(0===u?f.then(s):1===u?h.then(v):c.then(y)).then(void 0,l),a;function v(n){h=n;do{if(o&&(c=o())&&c.then&&!r(c))return void c.then(y).then(void 0,l);if(!(f=e())||r(f)&&!f.v)return void t(a,1,h);if(f.then)return void f.then(s).then(void 0,l);r(h=i())&&(h=h.v)}while(!h||!h.then);h.then(v).then(void 0,l)}function s(n){n?(h=i())&&h.then?h.then(v).then(void 0,l):v(h):t(a,1,h)}function y(){(f=e())?f.then?f.then(s).then(void 0,l):s(f):t(a,1,h)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return a=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!a})})},function(){return!!(a=!0)},function(){c.push(u)});if(e&&e.then)return e.then(function(){})}()}catch(n){return f(n)}return h&&h.then?h.then(void 0,f):h}(0,function(n){l=!0,f=n})},function(n,t){function r(r){if(h)return r;if(n)throw t;return t}var i=e(function(){var n=function(){if(!a&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(l)throw f;if(n)throw t;return t});return i&&i.then?i.then(r):r(i)});return Promise.resolve(v&&v.then?v.then(function(n){return h?n:c}):h?v:c)}catch(n){return Promise.reject(n)}};o().then(console.log);export default o; +"var n=function(){function n(){}return n.prototype.then=function(r,e){var o=new n,i=this.s;if(i){var u=1&i?r:e;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,r?r(i):i):e?t(o,1,e(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(r,e,o){if(!r.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,r,e));1&e&&(e=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,r,e),t.bind(null,r,2));r.s=e,r.v=o;var i=r.o;i&&i(r)}}function r(t){return t instanceof n&&1&t.s}function e(n,t){try{var r=n()}catch(n){return t(!0,n)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,r)}\\"undefined\\"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol(\\"Symbol.iterator\\"))),\\"undefined\\"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\")));var o=function(){try{var o,i,u,f,h=!1,c=[],a=!0,l=!1,v=e(function(){return function(e,f){try{var h=function(){o=function(n){var t;if(\\"undefined\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var e=function(e,o,i){for(var u;;){var f=e();if(r(f)&&(f=f.v),!f)return h;if(f.then){u=0;break}var h=i();if(h&&h.then){if(!r(h)){u=1;break}h=h.s}if(o){var c=o();if(c&&c.then&&!r(c)){u=2;break}}}var a=new n,l=t.bind(null,a,2);return(0===u?f.then(s):1===u?h.then(v):c.then(y)).then(void 0,l),a;function v(n){h=n;do{if(o&&(c=o())&&c.then&&!r(c))return void c.then(y).then(void 0,l);if(!(f=e())||r(f)&&!f.v)return void t(a,1,h);if(f.then)return void f.then(s).then(void 0,l);r(h=i())&&(h=h.v)}while(!h||!h.then);h.then(v).then(void 0,l)}function s(n){n?(h=i())&&h.then?h.then(v).then(void 0,l):v(h):t(a,1,h)}function y(){(f=e())?f.then?f.then(s).then(void 0,l):s(f):t(a,1,h)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return a=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!a})})},function(){return!!(a=!0)},function(){c.push(u)});if(e&&e.then)return e.then(function(){})}()}catch(n){return f(n)}return h&&h.then?h.then(void 0,f):h}(0,function(n){l=!0,f=n})},function(n,t){function r(r){if(h)return r;if(n)throw t;return t}var i=e(function(){var n=function(){if(!a&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(l)throw f;if(n)throw t;return t});return i&&i.then?i.then(r):r(i)});return Promise.resolve(v&&v.then?v.then(function(n){return h?n:c}):h?v:c)}catch(n){return Promise.reject(n)}};o().then(console.log);export default o; //# sourceMappingURL=esnext-ts.esm.js.map " `; exports[`fixtures build esnext-ts with microbundle 4`] = ` -"var n=function(){function n(){}return n.prototype.then=function(r,e){var o=new n,i=this.s;if(i){var u=1&i?r:e;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,r?r(i):i):e?t(o,1,e(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(r,e,o){if(!r.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,r,e));1&e&&(e=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,r,e),t.bind(null,r,2));r.s=e,r.v=o;var i=r.o;i&&i(r)}}function r(t){return t instanceof n&&1&t.s}function e(n,t){try{var r=n()}catch(n){return t(!0,n)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}\\"undefined\\"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol(\\"Symbol.iterator\\"))),\\"undefined\\"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\")));var o=function(){try{var o,i,u,f,h=!1,c=[],a=!0,l=!1,v=e(function(){return function(e,f){try{var h=function(){o=function(n){var t;if(\\"undefined\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var e=function(e,o,i){for(var u;;){var f=e();if(r(f)&&(f=f.v),!f)return h;if(f.then){u=0;break}var h=i();if(h&&h.then){if(!r(h)){u=1;break}h=h.s}if(o){var c=o();if(c&&c.then&&!r(c)){u=2;break}}}var a=new n,l=t.bind(null,a,2);return(0===u?f.then(s):1===u?h.then(v):c.then(y)).then(void 0,l),a;function v(n){h=n;do{if(o&&(c=o())&&c.then&&!r(c))return void c.then(y).then(void 0,l);if(!(f=e())||r(f)&&!f.v)return void t(a,1,h);if(f.then)return void f.then(s).then(void 0,l);r(h=i())&&(h=h.v)}while(!h||!h.then);h.then(v).then(void 0,l)}function s(n){n?(h=i())&&h.then?h.then(v).then(void 0,l):v(h):t(a,1,h)}function y(){(f=e())?f.then?f.then(s).then(void 0,l):s(f):t(a,1,h)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return a=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!a})})},function(){return!!(a=!0)},function(){c.push(u)});if(e&&e.then)return e.then(function(){})}()}catch(n){return f(n)}return h&&h.then?h.then(void 0,f):h}(0,function(n){l=!0,f=n})},function(n,t){function r(r){if(h)return r;if(n)throw t;return t}var i=e(function(){var n=function(){if(!a&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(l)throw f;if(n)throw t;return t});return i&&i.then?i.then(r):r(i)});return Promise.resolve(v&&v.then?v.then(function(n){return h?n:c}):h?v:c)}catch(n){return Promise.reject(n)}};o().then(console.log),module.exports=o; +"var n=function(){function n(){}return n.prototype.then=function(r,e){var o=new n,i=this.s;if(i){var u=1&i?r:e;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,r?r(i):i):e?t(o,1,e(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(r,e,o){if(!r.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,r,e));1&e&&(e=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,r,e),t.bind(null,r,2));r.s=e,r.v=o;var i=r.o;i&&i(r)}}function r(t){return t instanceof n&&1&t.s}function e(n,t){try{var r=n()}catch(n){return t(!0,n)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,r)}\\"undefined\\"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol(\\"Symbol.iterator\\"))),\\"undefined\\"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\")));var o=function(){try{var o,i,u,f,h=!1,c=[],a=!0,l=!1,v=e(function(){return function(e,f){try{var h=function(){o=function(n){var t;if(\\"undefined\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var e=function(e,o,i){for(var u;;){var f=e();if(r(f)&&(f=f.v),!f)return h;if(f.then){u=0;break}var h=i();if(h&&h.then){if(!r(h)){u=1;break}h=h.s}if(o){var c=o();if(c&&c.then&&!r(c)){u=2;break}}}var a=new n,l=t.bind(null,a,2);return(0===u?f.then(s):1===u?h.then(v):c.then(y)).then(void 0,l),a;function v(n){h=n;do{if(o&&(c=o())&&c.then&&!r(c))return void c.then(y).then(void 0,l);if(!(f=e())||r(f)&&!f.v)return void t(a,1,h);if(f.then)return void f.then(s).then(void 0,l);r(h=i())&&(h=h.v)}while(!h||!h.then);h.then(v).then(void 0,l)}function s(n){n?(h=i())&&h.then?h.then(v).then(void 0,l):v(h):t(a,1,h)}function y(){(f=e())?f.then?f.then(s).then(void 0,l):s(f):t(a,1,h)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return a=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!a})})},function(){return!!(a=!0)},function(){c.push(u)});if(e&&e.then)return e.then(function(){})}()}catch(n){return f(n)}return h&&h.then?h.then(void 0,f):h}(0,function(n){l=!0,f=n})},function(n,t){function r(r){if(h)return r;if(n)throw t;return t}var i=e(function(){var n=function(){if(!a&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(l)throw f;if(n)throw t;return t});return i&&i.then?i.then(r):r(i)});return Promise.resolve(v&&v.then?v.then(function(n){return h?n:c}):h?v:c)}catch(n){return Promise.reject(n)}};o().then(console.log),module.exports=o; //# sourceMappingURL=esnext-ts.js.map " `; exports[`fixtures build esnext-ts with microbundle 5`] = ` -"!function(n,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=t():\\"function\\"==typeof define&&define.amd?define(t):(n=n||self).esnextTs=t()}(this,function(){var n=function(){function n(){}return n.prototype.then=function(e,r){var o=new n,i=this.s;if(i){var u=1&i?e:r;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,e?e(i):i):r?t(o,1,r(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(e,r,o){if(!e.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,e,r));1&r&&(r=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,e,r),t.bind(null,e,2));e.s=r,e.v=o;var i=e.o;i&&i(e)}}function e(t){return t instanceof n&&1&t.s}function r(n,t){try{var e=n()}catch(n){return t(!0,n)}return e&&e.then?e.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}\\"undefined\\"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol(\\"Symbol.iterator\\"))),\\"undefined\\"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\")));var o=function(){try{var o,i,u,f,c=!1,h=[],a=!0,l=!1,v=r(function(){return function(r,f){try{var c=function(){o=function(n){var t;if(\\"undefined\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var r=function(r,o,i){for(var u;;){var f=r();if(e(f)&&(f=f.v),!f)return c;if(f.then){u=0;break}var c=i();if(c&&c.then){if(!e(c)){u=1;break}c=c.s}if(o){var h=o();if(h&&h.then&&!e(h)){u=2;break}}}var a=new n,l=t.bind(null,a,2);return(0===u?f.then(s):1===u?c.then(v):h.then(d)).then(void 0,l),a;function v(n){c=n;do{if(o&&(h=o())&&h.then&&!e(h))return void h.then(d).then(void 0,l);if(!(f=r())||e(f)&&!f.v)return void t(a,1,c);if(f.then)return void f.then(s).then(void 0,l);e(c=i())&&(c=c.v)}while(!c||!c.then);c.then(v).then(void 0,l)}function s(n){n?(c=i())&&c.then?c.then(v).then(void 0,l):v(c):t(a,1,c)}function d(){(f=r())?f.then?f.then(s).then(void 0,l):s(f):t(a,1,c)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return a=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!a})})},function(){return!!(a=!0)},function(){h.push(u)});if(r&&r.then)return r.then(function(){})}()}catch(n){return f(n)}return c&&c.then?c.then(void 0,f):c}(0,function(n){l=!0,f=n})},function(n,t){function e(e){if(c)return e;if(n)throw t;return t}var i=r(function(){var n=function(){if(!a&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(l)throw f;if(n)throw t;return t});return i&&i.then?i.then(e):e(i)});return Promise.resolve(v&&v.then?v.then(function(n){return c?n:h}):c?v:h)}catch(n){return Promise.reject(n)}};return o().then(console.log),o}); +"!function(n,t){\\"object\\"==typeof exports&&\\"undefined\\"!=typeof module?module.exports=t():\\"function\\"==typeof define&&define.amd?define(t):(n=n||self).esnextTs=t()}(this,function(){var n=function(){function n(){}return n.prototype.then=function(e,r){var o=new n,i=this.s;if(i){var u=1&i?e:r;if(u){try{t(o,1,u(this.v))}catch(n){t(o,2,n)}return o}return this}return this.o=function(n){try{var i=n.v;1&n.s?t(o,1,e?e(i):i):r?t(o,1,r(i)):t(o,2,i)}catch(n){t(o,2,n)}},o},n}();function t(e,r,o){if(!e.s){if(o instanceof n){if(!o.s)return void(o.o=t.bind(null,e,r));1&r&&(r=o.s),o=o.v}if(o&&o.then)return void o.then(t.bind(null,e,r),t.bind(null,e,2));e.s=r,e.v=o;var i=e.o;i&&i(e)}}function e(t){return t instanceof n&&1&t.s}function r(n,t){try{var e=n()}catch(n){return t(!0,n)}return e&&e.then?e.then(t.bind(null,!1),t.bind(null,!0)):t(!1,e)}\\"undefined\\"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol(\\"Symbol.iterator\\"))),\\"undefined\\"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol(\\"Symbol.asyncIterator\\")));var o=function(){try{var o,i,u,f,c=!1,h=[],a=!0,l=!1,v=r(function(){return function(r,f){try{var c=function(){o=function(n){var t;if(\\"undefined\\"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=n[Symbol.asyncIterator]))return t.call(n);if(Symbol.iterator&&null!=(t=n[Symbol.iterator]))return t.call(n)}throw new TypeError(\\"Object is not async iterable\\")}([1,2]);var r=function(r,o,i){for(var u;;){var f=r();if(e(f)&&(f=f.v),!f)return c;if(f.then){u=0;break}var c=i();if(c&&c.then){if(!e(c)){u=1;break}c=c.s}if(o){var h=o();if(h&&h.then&&!e(h)){u=2;break}}}var a=new n,l=t.bind(null,a,2);return(0===u?f.then(s):1===u?c.then(v):h.then(d)).then(void 0,l),a;function v(n){c=n;do{if(o&&(h=o())&&h.then&&!e(h))return void h.then(d).then(void 0,l);if(!(f=r())||e(f)&&!f.v)return void t(a,1,c);if(f.then)return void f.then(s).then(void 0,l);e(c=i())&&(c=c.v)}while(!c||!c.then);c.then(v).then(void 0,l)}function s(n){n?(c=i())&&c.then?c.then(v).then(void 0,l):v(c):t(a,1,c)}function d(){(f=r())?f.then?f.then(s).then(void 0,l):s(f):t(a,1,c)}}(function(){return!!Promise.resolve(o.next()).then(function(n){return a=i.done,i=n,Promise.resolve(i.value).then(function(n){return u=n,!a})})},function(){return!!(a=!0)},function(){h.push(u)});if(r&&r.then)return r.then(function(){})}()}catch(n){return f(n)}return c&&c.then?c.then(void 0,f):c}(0,function(n){l=!0,f=n})},function(n,t){function e(e){if(c)return e;if(n)throw t;return t}var i=r(function(){var n=function(){if(!a&&null!=o.return)return Promise.resolve(o.return()).then(function(){})}();if(n&&n.then)return n.then(function(){})},function(n,t){if(l)throw f;if(n)throw t;return t});return i&&i.then?i.then(e):e(i)});return Promise.resolve(v&&v.then?v.then(function(n){return c?n:h}):c?v:h)}catch(n){return Promise.reject(n)}};return o().then(console.log),o}); //# sourceMappingURL=esnext-ts.umd.js.map " `;