scode-eslint-config/.yarn/releases/yarn-berry.js

58 lines
2.9 MiB
JavaScript
Raw Normal View History

2020-02-19 09:41:55 +01:00
#!/usr/bin/env node
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var A=t[r]={i:r,l:!1,exports:{}};return e[r].call(A.exports,A,A.exports,n),A.l=!0,A.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var A in e)n.d(r,A,function(t){return e[t]}.bind(null,A));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=412)}([function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const A=r(n(254));t.execUtils=A;const i=r(n(170));t.folderUtils=i;const o=r(n(118));t.hashUtils=o;const s=r(n(468));t.httpUtils=s;const a=r(n(59));t.miscUtils=a;const c=r(n(272));t.scriptUtils=c;const g=r(n(188));t.semverUtils=g;const u=r(n(20));t.structUtils=u;const l=r(n(595));t.tgzUtils=l;var h=n(607);t.Cache=h.Cache;var p=n(126);t.DEFAULT_RC_FILENAME=p.DEFAULT_RC_FILENAME,t.DEFAULT_LOCK_FILENAME=p.DEFAULT_LOCK_FILENAME;var f=n(126);t.Configuration=f.Configuration,t.FormatType=f.FormatType,t.ProjectLookup=f.ProjectLookup,t.SettingsType=f.SettingsType;var C=n(296);t.BuildType=C.BuildType;var I=n(608);t.LightReport=I.LightReport;var d=n(90);t.Manifest=d.Manifest;var E=n(44);t.MessageName=E.MessageName;var B=n(609);t.Project=B.Project;var y=n(45);t.ReportError=y.ReportError,t.Report=y.Report;var Q=n(289);t.StreamReport=Q.StreamReport;var m=n(301);t.ThrowReport=m.ThrowReport;var w=n(287);t.VirtualFetcher=w.VirtualFetcher;var b=n(128);t.WorkspaceResolver=b.WorkspaceResolver;var v=n(302);t.Workspace=v.Workspace;var D=n(290);t.YarnVersion=D.YarnVersion;var S=n(187);t.LinkType=S.LinkType},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8),A=n(54),i=n(18);var o=n(55);t.normalizeLineEndings=o.normalizeLineEndings;var s=n(18);t.PortablePath=s.PortablePath;var a=n(18);t.npath=a.npath,t.ppath=a.ppath,t.toFilename=a.toFilename;var c=n(437);t.AliasFS=c.AliasFS;var g=n(55);t.FakeFS=g.FakeFS;var u=n(438);t.CwdFS=u.CwdFS;var l=n(439);t.JailFS=l.JailFS;var h=n(440);t.LazyFS=h.LazyFS;var p=n(441);t.NoFS=p.NoFS;var f=n(54);t.NodeFS=f.NodeFS;var C=n(442);t.PosixFS=C.PosixFS;var I=n(56);t.ProxiedFS=I.ProxiedFS;var d=n(443);t.VirtualFS=d.VirtualFS;var E=n(255);t.ZipFS=E.ZipFS;var B=n(445);function y(e,t){const n=new Set(["accessSync","appendFileSync","createReadStream","chmodSync","closeSync","copyFileSync","lstatSync","mkdirSync","openSync","readSync","readlinkSync","readFileSync","readdirSync","readlinkSync","realpathSync","renameSync","rmdirSync","statSync","symlinkSync","unlinkSync","utimesSync","watch","writeFileSync","writeSync"]),A=new Set(["accessPromise","appendFilePromise","chmodPromise","closePromise","copyFilePromise","lstatPromise","mkdirPromise","openPromise","readdirPromise","realpathPromise","readFilePromise","readdirPromise","readlinkPromise","renamePromise","rmdirPromise","statPromise","symlinkPromise","unlinkPromise","utimesPromise","writeFilePromise","writeSync"]),i=(e,t,n)=>{const A=e[t];void 0!==A&&(e[t]=n,void 0!==A[r.promisify.custom]&&(n[r.promisify.custom]=A[r.promisify.custom]))};i(e,"existsSync",e=>{try{return t.existsSync(e)}catch(e){return!1}}),i(e,"exists",(e,...n)=>{const r="function"==typeof n[n.length-1]?n.pop():()=>{};process.nextTick(()=>{t.existsPromise(e).then(e=>{r(e)},()=>{r(!1)})})}),i(e,"read",(e,n,...r)=>{const A="function"==typeof r[r.length-1]?r.pop():()=>{};process.nextTick(()=>{t.readPromise(
/**
* @license
* Lodash <https://lodash.com/>
* Copyright JS Foundation and other contributors <https://js.foundation/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var A,i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",a="__lodash_hash_undefined__",c=500,g="__lodash_placeholder__",u=1,l=2,h=4,p=1,f=2,C=1,I=2,d=4,E=8,B=16,y=32,Q=64,m=128,w=256,b=512,v=30,D="...",S=800,_=16,k=1,F=2,M=1/0,K=9007199254740991,N=17976931348623157e292,R=NaN,x=4294967295,P=x-1,L=x>>>1,O=[["ary",m],["bind",C],["bindKey",I],["curry",E],["curryRight",B],["flip",b],["partial",y],["partialRight",Q],["rearg",w]],T="[object Arguments]",U="[object Array]",Y="[object AsyncFunction]",j="[object Boolean]",G="[object Date]",J="[object DOMException]",H="[object Error]",q="[object Function]",z="[object GeneratorFunction]",W="[object Map]",X="[object Number]",V="[object Null]",$="[object Object]",Z="[object Proxy]",ee="[object RegExp]",te="[object Set]",ne="[object String]",re="[object Symbol]",Ae="[object Undefined]",ie="[object WeakMap]",oe="[object WeakSet]",se="[object ArrayBuffer]",ae="[object DataView]",ce="[object Float32Array]",ge="[object Float64Array]",ue="[object Int8Array]",le="[object Int16Array]",he="[object Int32Array]",pe="[object Uint8Array]",fe="[object Uint8ClampedArray]",Ce="[object Uint16Array]",Ie="[object Uint32Array]",de=/\b__p \+= '';/g,Ee=/\b(__p \+=) '' \+/g,Be=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ye=/&(?:amp|lt|gt|quot|#39);/g,Qe=/[&<>"']/g,me=RegExp(ye.source),we=RegExp(Qe.source),be=/<%-([\s\S]+?)%>/g,ve=/<%([\s\S]+?)%>/g,De=/<%=([\s\S]+?)%>/g,Se=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_e=/^\w*$/,ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/[\\^$.*+?()[\]{}|]/g,Me=RegExp(Fe.source),Ke=/^\s+|\s+$/g,Ne=/^\s+/,Re=/\s+$/,xe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Pe=/\{\n\/\* \[wrapped with (.+)\] \*/,Le=/,? & /,Oe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Te=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ye=/\w*$/,je=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Je=/^\[object .+?Constructor\]$/,He=/^0o[0-7]+$/i,qe=/^(?:0|[1-9]\d*)$/,ze=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,We=/($^)/,Xe=/['\n\r\u2028\u2029\\]/g,Ve="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",$e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ze="[\\ud800-\\udfff]",et="["+$e+"]",tt="["+Ve+"]",nt="\\d+",rt="[\\u2700-\\u27bf]",At="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+$e+nt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ot="\\ud83c[\\udffb-\\udfff]",st="[^\\ud800-\\udfff]",at="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",gt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ut="(?:"+At+"|"+it+")",lt="(?:"+gt+"|"+it+")",ht="(?:"+tt+"|"+ot+")"+"?",pt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+[st,at,ct].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),ft="(?:"+[rt,at,ct].join("|")+")"+pt,Ct="(?:"+[st+tt+"?",tt,at,ct,Ze].join("|")+")",It=RegExp("[']","g"),dt=RegExp(tt,"g"),Et=RegExp(ot+"(?="+ot+")|"+Ct+pt,"g"),Bt=RegExp([gt+"?"+At+"+(?:['](?:d|ll|m|re|s|t|ve))?(?="+[et,gt,"$"].join("|")+")",lt+"+(?:['](?:D|LL|M|RE|S|T|VE))?(?="+[et,gt+ut,"$"].join("|")+")",gt+"?"+ut+"+(?:['](?:d|ll|m|re|s|t|ve))?",gt+"+(?:['](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nt,ft].join("|"),"g"),yt=RegExp("[\\u200d\\ud800-\\udfff"+Ve+"\\ufe0e\\ufe0f]"),Qt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],wt=-1,bt={};bt[ce]=bt[ge]=bt[ue]=bt[le]=bt[he]=bt[pe]=bt[fe]=bt[Ce]=bt[Ie]=!0,bt[T]=bt[U]=bt[se]=bt[j]=bt[ae]=bt[G]=bt[H]=bt[q]=bt[W]=bt[X]=bt[$]=bt[ee]=bt[te]=bt[n
/*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*/
const r=n(4),A=n(40),i=n(5),o=n(46),s=r.constants&&A.constants?{fs:r.constants,os:A.constants}:process.binding("constants"),a=n(446),c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",g=/XXXXXX/,u=3,l=(s.O_CREAT||s.fs.O_CREAT)|(s.O_EXCL||s.fs.O_EXCL)|(s.O_RDWR||s.fs.O_RDWR),h=s.EBADF||s.os.errno.EBADF,p=s.ENOENT||s.os.errno.ENOENT,f=448,C=384,I="exit",d="SIGINT",E=[];var B=!1;function y(e){var t=[],n=null;try{n=o.randomBytes(e)}catch(t){n=o.pseudoRandomBytes(e)}for(var r=0;r<e;r++)t.push(c[n[r]%c.length]);return t.join("")}function Q(e,t){return"function"==typeof e?[{},e]:void 0===e?[{},t]:[e,t]}function m(e){const t=P();if(x(e.dir)&&x(t))throw new Error("No tmp dir specified");if(!x(e.name))return i.join(e.dir||t,e.name);if(e.template){var n=e.template;return i.basename(n)===n&&(n=i.join(e.dir||t,n)),n.replace(g,y(6))}const r=[x(e.prefix)?"tmp-":e.prefix,process.pid,y(12),e.postfix?e.postfix:""].join("");return i.join(e.dir||t,r)}function w(e,t){var n=Q(e,t),A=n[0],i=n[1],o=x(A.name)?A.tries||u:1;return isNaN(o)||o<0?i(new Error("Invalid tries")):A.template&&!A.template.match(g)?i(new Error("Invalid template provided")):void function e(){try{const t=m(A);r.stat(t,(function(n){if(!n)return o-- >0?e():i(new Error("Could not get a unique tmp filename, max tries reached "+t));i(null,t)}))}catch(e){i(e)}}()}function b(e){var t=Q(e)[0],n=x(t.name)?t.tries||u:1;if(isNaN(n)||n<0)throw new Error("Invalid tries");if(t.template&&!t.template.match(g))throw new Error("Invalid template provided");do{const e=m(t);try{r.statSync(e)}catch(t){return e}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function v(e,t){const n=function(e){if(e&&!N(e))return t(e);t()};0<=e[0]?r.close(e[0],(function(t){r.unlink(e[1],n)})):r.unlink(e[1],n)}function D(e){try{0<=e[0]&&r.closeSync(e[0])}catch(e){if(!R(e,-h,"EBADF")&&!N(e))throw e}finally{try{r.unlinkSync(e[1])}catch(e){if(!N(e))throw e}}}function S(e,t,n){const r=M(D,[t,e]),A=M(v,[t,e],r);return n.keep||E.unshift(r),A}function _(e,t){a(e,t)}function k(e,t){try{return t(null,a.sync(e))}catch(e){return t(e)}}function F(e,t){const n=t.unsafeCleanup?_:r.rmdir.bind(r),A=M(t.unsafeCleanup?k:r.rmdirSync.bind(r),e),i=M(n,e,A);return t.keep||E.unshift(A),i}function M(e,t,n){var r=!1;return function A(i){if(i=i||function(){},r)return i(new Error("cleanup callback has already been called"));{const o=n||A,s=E.indexOf(o);if(s>=0&&E.splice(s,1),r=!0,1!==e.length)return e(t,i);try{return e(t),i(null)}catch(e){return i(e)}}}}function K(){if(B)for(;E.length;)try{E[0]()}catch(e){}}function N(e){return R(e,-p,"ENOENT")}function R(e,t,n){return e.code===t||e.code===n}function x(e){return null==e||!e.trim()}function P(){return A.tmpdir()}!function(){const e=process.listeners(I),t=[];for(let r=0,A=e.length;r<A;r++){const A=e[r];("_tmp$safe_listener"===A.name||("_exit"===(n=A).name||"_uncaughtExceptionThrown"===n.name)&&n.toString().indexOf("_garbageCollector();")>-1)&&("_uncaughtExceptionThrown"!==A.name&&t.push(A),process.removeListener(I,A))}var n;process.addListener(I,(function(e){for(let n=0,r=t.length;n<r;n++)try{t[n](e)}catch(e){}K()}))}(),function(){const e=process.listeners(d),t=[];for(let n=0,r=e.length;n<r;n++){const r=e[n];"_tmp$sigint_listener"===r.name&&(t.push(r),process.removeListener(d,r))}process.on(d,(function(e){for(let e=0,n=t.length;e<n;e++)try{t[e](!1)}catch(e){}try{K()}finally{e&&process.exit(0)}}))}(),Object.defineProperty(e.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return P()}}),e.exports.dir=function(e,t){var n=Q(e,t),A=n[0],i=n[1];w(A,(function(e,t){if(e)return i(e);r.mkdir(t,A.mode||f,(function(e){if(e)return i(e);i(null,t,F(t,A))}))}))},e.exports.dirSync=function(e){var t=Q(e)[0];const n=b(t);return r.mkdirSync(n,t.mode||f),{name:n,removeCallback:F(n,t)}},e.exports.file=function(e,t){var n=Q(e,t),A=n[0],i=n[1];w(A,(function(e,t){if(e)return i(e);r.open(t,l,A.mode||C,(function(e,n){return e?i(e):A.discardDescriptor?r.close(n,(function(e){if(e){try{r.unlinkSync(t)}catch(t){N(t)||(e=t)}return i(e)}i(null,t,void 0,S(t
/*!
* fill-range <https://github.com/jonschlinkert/fill-range>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Licensed under the MIT License.
*/const r=n(8),A=n(503),i=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=e=>"number"==typeof e||"string"==typeof e&&""!==e,s=e=>Number.isInteger(+e),a=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},c=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},g=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},u=(e,t,n,r)=>{if(n)return A(e,t,{wrap:!1,...r});let i=String.fromCharCode(e);return e===t?i:`[${i}-${String.fromCharCode(t)}]`},l=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,r=n.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return A(e,t,n)},h=(...e)=>new RangeError("Invalid range arguments: "+r.inspect(...e)),p=(e,t,n)=>{if(!0===n.strictRanges)throw h([e,t]);return[]},f=(e,t,n=1,r={})=>{let A=Number(e),i=Number(t);if(!Number.isInteger(A)||!Number.isInteger(i)){if(!0===r.strictRanges)throw h([e,t]);return[]}0===A&&(A=0),0===i&&(i=0);let o=A>i,s=String(e),p=String(t),f=String(n);n=Math.max(Math.abs(n),1);let C=a(s)||a(p)||a(f),I=C?Math.max(s.length,p.length,f.length):0,d=!1===C&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,r),E=r.transform||(e=>t=>!0===e?Number(t):String(t))(d);if(r.toRegex&&1===n)return u(g(e,I),g(t,I),!0,r);let B={negatives:[],positives:[]},y=e=>B[e<0?"negatives":"positives"].push(Math.abs(e)),Q=[],m=0;for(;o?A>=i:A<=i;)!0===r.toRegex&&n>1?y(A):Q.push(c(E(A,m),I,d)),A=o?A-n:A+n,m++;return!0===r.toRegex?n>1?((e,t)=>{e.negatives.sort((e,t)=>e<t?-1:e>t?1:0),e.positives.sort((e,t)=>e<t?-1:e>t?1:0);let n,r=t.capture?"":"?:",A="",i="";return e.positives.length&&(A=e.positives.join("|")),e.negatives.length&&(i=`-(${r}${e.negatives.join("|")})`),n=A&&i?`${A}|${i}`:A||i,t.wrap?`(${r}${n})`:n})(B,r):l(Q,null,{wrap:!1,...r}):Q},C=(e,t,n,r={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return p(e,t,r);if("function"==typeof n)return C(e,t,1,{transform:n});if(i(n))return C(e,t,0,n);let A={...r};return!0===A.capture&&(A.wrap=!0),n=n||A.step||1,s(n)?s(e)&&s(t)?f(e,t,n,A):((e,t,n=1,r={})=>{if(!s(e)&&e.length>1||!s(t)&&t.length>1)return p(e,t,r);let A=r.transform||(e=>String.fromCharCode(e)),i=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),a=i>o,c=Math.min(i,o),g=Math.max(i,o);if(r.toRegex&&1===n)return u(c,g,!1,r);let h=[],f=0;for(;a?i>=o:i<=o;)h.push(A(i,f)),i=a?i-n:i+n,f++;return!0===r.toRegex?l(h,null,{wrap:!1,options:r}):h})(e,t,Math.max(Math.abs(n),1),A):null==n||i(n)?C(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,A)};e.exports=C},function(e,t){function n(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id=271},function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const A=n(1),i=n(1),o=n(87),s=n(273),a=n(7),c=n(33),g=n(90),u=n(44),l=n(45),h=n(289),p=n(290),f=r(n(254)),C=r(n(59)),I=r(n(20));async function d(e,t,n,r=[]){"win32"===process.platform?await i.xfs.writeFilePromise(i.ppath.format({dir:e,name:t,ext:".cmd"}),`@"${n}" ${r.join(" ")} %*\n`):(await i.xfs.writeFilePromise(i.ppath.join(e,t),`#!/bin/sh\nexec "${n}" ${r.map(e=>`'${e.replace(/'/g,"'\"'\"'")}'`).join(" ")} "$@"\n`),await i.xfs.chmodPromise(i.ppath.join(e,t),493))}async function E({project:e,lifecycleScript:t}={}){const n={};for(const[e,t]of Object.entries(process.env))void 0!==t&&(n["path"!==e.toLowerCase()?e:"PATH"]=t);const r=c.dirSync().name,A=i.npath.toPortablePath(r);n.BERRY_BIN_FOLDER=r,await d(A,i.toFilename("node"),process.execPath),null!==p.YarnVersion&&(await d(A,i.toFilename("run"),process.execPath,[process.argv[1],"run"]),await d(A,i.toFilename("yarn"),process.execPath,[process.argv[1]]),await d(A,i.toFilename("yarnpkg"),process.execPath,[process.argv[1]]),await d(A,i.toFilename("
/*!
* to-regex-range <https://github.com/micromatch/to-regex-range>
*
* Copyright (c) 2015-present, Jon Schlinkert.
* Released under the MIT License.
*/const r=n(504),A=(e,t,n)=>{if(!1===r(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===r(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};"boolean"==typeof i.strictZeros&&(i.relaxZeros=!1===i.strictZeros);let a=e+":"+t+"="+String(i.relaxZeros)+String(i.shorthand)+String(i.capture)+String(i.wrap);if(A.cache.hasOwnProperty(a))return A.cache[a].result;let c=Math.min(e,t),g=Math.max(e,t);if(1===Math.abs(c-g)){let n=e+"|"+t;return i.capture?`(${n})`:!1===i.wrap?n:`(?:${n})`}let u=p(e)||p(t),l={min:e,max:t,a:c,b:g},h=[],f=[];if(u&&(l.isPadded=u,l.maxLen=String(l.max).length),c<0){f=o(g<0?Math.abs(g):1,Math.abs(c),l,i),c=l.a=0}return g>=0&&(h=o(c,g,l,i)),l.negatives=f,l.positives=h,l.result=function(e,t,n){let r=s(e,t,"-",!1,n)||[],A=s(t,e,"",!1,n)||[],i=s(e,t,"-?",!0,n)||[];return r.concat(i).concat(A).join("|")}(f,h,i),!0===i.capture?l.result=`(${l.result})`:!1!==i.wrap&&h.length+f.length>1&&(l.result=`(?:${l.result})`),A.cache[a]=l,l.result};function i(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let r=function(e,t){let n=[];for(let r=0;r<e.length;r++)n.push([e[r],t[r]]);return n}(e,t),A=r.length,i="",o=0;for(let e=0;e<A;e++){let[t,A]=r[e];t===A?i+=t:"0"!==t||"9"!==A?i+=h(t,A,n):o++}return o&&(i+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:i,count:[o],digits:A}}function o(e,t,n,r){let A,o=function(e,t){let n=1,r=1,A=g(e,n),i=new Set([t]);for(;e<=A&&A<=t;)i.add(A),A=g(e,n+=1);for(A=u(t+1,r)-1;e<A&&A<=t;)i.add(A),A=u(t+1,r+=1)-1;return(i=[...i]).sort(a),i}(e,t),s=[],c=e;for(let e=0;e<o.length;e++){let t=o[e],a=i(String(c),String(t),r),g="";n.isPadded||!A||A.pattern!==a.pattern?(n.isPadded&&(g=f(t,n,r)),a.string=g+a.pattern+l(a.count),s.push(a),c=t+1,A=a):(A.count.length>1&&A.count.pop(),A.count.push(a.count[0]),A.string=A.pattern+l(A.count),c=t+1)}return s}function s(e,t,n,r,A){let i=[];for(let A of e){let{string:e}=A;r||c(t,"string",e)||i.push(n+e),r&&c(t,"string",e)&&i.push(n+e)}return i}function a(e,t){return e>t?1:t>e?-1:0}function c(e,t,n){return e.some(e=>e[t]===n)}function g(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function u(e,t){return e-e%Math.pow(10,t)}function l(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function h(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function p(e){return/^-?(0+)\d/.test(e)}function f(e,t,n){if(!t.isPadded)return e;let r=Math.abs(t.maxLen-String(e).length),A=!1!==n.relaxZeros;switch(r){case 0:return"";case 1:return A?"0?":"0";case 2:return A?"0{0,2}":"00";default:return A?`0{0,${r}}`:`0{${r}}`}}A.cache={},A.clearCache=()=>A.cache={},e.exports=A},function(e,t,n){"use strict";
/*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*/e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},function(e,t,n){"use strict";const r=n(270),A=n(174),i=n(175),o=(e="",t="",n=!1)=>{let r=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?i.flatten(t).map(e=>`{${e}}`):t;for(let A of e)if(Array.isArray(A))for(let e of A)r.push(o(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),r.push(Array.isArray(e)?o(A,e,n):A+e);return i.flatten(r)};e.exports=(e,t={})=>{let n=void 0===t.rangeLimit?1e3:t.rangeLimit,s=(e,a={})=>{e.queue=[];let c=a,g=a.queue;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)g=(c=c.parent).queue;if(e.invalid||e.dollar)return void g.push(o(g.pop(),A(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void g.push(o(g.pop(),["{}"]));if(e.nodes&&e.ranges>0){let s=i.reduce(e.nodes);if(i.exceedsLimit(...s,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let a=r(...s,t);return 0===a.length&&(a=A(e,t)),g.push(o(g.pop(),a)),void(e.nodes=[])}let u=i.encloseBrace(e),l=e.queue,h=e;for(;"brace"!==h.type&&"root"!==h.type&&h.parent;)l=(h=h.parent).queue;for(let t=0;t<e.nodes.length;t++){let n=e.nodes[t];"comma"!==n.type||"brace"!==e.type?"close"!==n.type?n.value&&"open"!==n.type?l.push(o(l.pop(),n.value)):n.nodes&&s(n,e):g.push(o(g.pop(),l,u)):(1===t&&l.push(""),l.push(""))}return l};return i.flatten(s(e))}},function(e,t,n){"use strict";const r=n(174),{MAX_LENGTH:A,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:s,CHAR_DOT:a,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:g,CHAR_LEFT_CURLY_BRACE:u,CHAR_RIGHT_CURLY_BRACE:l,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_RIGHT_SQUARE_BRACKET:p,CHAR_DOUBLE_QUOTE:f,CHAR_SINGLE_QUOTE:C,CHAR_NO_BREAK_SPACE:I,CHAR_ZERO_WIDTH_NOBREAK_SPACE:d}=n(507);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let n=t||{},E="number"==typeof n.maxLength?Math.min(A,n.maxLength):A;if(e.length>E)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${E})`);let B,y={type:"root",input:e,nodes:[]},Q=[y],m=y,w=y,b=0,v=e.length,D=0,S=0;const _=()=>e[D++],k=e=>{if("text"===e.type&&"dot"===w.type&&(w.type="text"),!w||"text"!==w.type||"text"!==e.type)return m.nodes.push(e),e.parent=m,e.prev=w,w=e,e;w.value+=e.value};for(k({type:"bos"});D<v;)if(m=Q[Q.length-1],(B=_())!==d&&B!==I)if(B!==i)if(B!==p)if(B!==h)if(B!==c)if(B!==g)if(B!==f&&B!==C&&B!==o)if(B!==u)if(B!==l)if(B===s&&S>0){if(m.ranges>0){m.ranges=0;let e=m.nodes.shift();m.nodes=[e,{type:"text",value:r(m)}]}k({type:"comma",value:B}),m.commas++}else if(B===a&&S>0&&0===m.commas){let e=m.nodes;if(0===S||0===e.length){k({type:"text",value:B});continue}if("dot"===w.type){if(m.range=[],w.value+=B,w.type="range",3!==m.nodes.length&&5!==m.nodes.length){m.invalid=!0,m.ranges=0,w.type="text";continue}m.ranges++,m.args=[];continue}if("range"===w.type){e.pop();let t=e[e.length-1];t.value+=w.value+B,w=t,m.ranges--;continue}k({type:"dot",value:B})}else k({type:"text",value:B});else{if("brace"!==m.type){k({type:"text",value:B});continue}let e="close";(m=Q.pop()).close=!0,k({type:e,value:B}),S--,m=Q[Q.length-1]}else{S++;let e=w.value&&"$"===w.value.slice(-1)||!0===m.dollar;m=k({type:"brace",open:!0,close:!1,dollar:e,depth:S,commas:0,ranges:0,nodes:[]}),Q.push(m),k({type:"open",value:B})}else{let e,n=B;for(!0!==t.keepQuotes&&(B="");D<v&&(e=_());)if(e!==i){if(e===n){!0===t.keepQuotes&&(B+=e);break}B+=e}else B+=e+_();k({type:"text",value:B})}else{if("paren"!==m.type){k({type:"text",value:B});continue}m=Q.pop(),k({type:"text",value:B}),m=Q[Q.length-1]}else m=k({type:"paren",nodes:[]}),Q.push(m),k({type:"text",value:B});else{b++;let e;for(;D<v&&(e=_());)if(B+=e,e!==h)if(e!==i){if(e===p&&0===--b)break}else B+=_();else b++;k({type:"text",value:B})}else k({type:"text",value:"\\"+B});else k({type:"text",value:(t.keepEscaping?B:"")+_()});do{if("root"!==(m=Q.pop()).type){m.nodes.forEach(e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e
/*!
* is-glob <https://github.com/jonschlinkert/is-glob>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
var r=n(641),A={"{":"}","(":")","[":"]"},i=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/,o=/\\(.)|(^!|[*?{}()[\]]|\(\?)/;e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(r(e))return!0;var n,s=i;for(t&&!1===t.strict&&(s=o);n=s.exec(e);){if(n[2])return!0;var a=n.index+n[0].length,c=n[1],g=c?A[c]:null;if(c&&g){var u=e.indexOf(g,a);-1!==u&&(a=u+1)}e=e.slice(a)}return!1}},function(e,t){
/*!
* is-extglob <https://github.com/jonschlinkert/is-extglob>
*
* Copyright (c) 2014-2016, Jon Schlinkert.
* Licensed under the MIT License.
*/
e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(643);t.merge=function(e){const t=r(e);return e.forEach(e=>{e.once("error",e=>t.emit("error",e))}),t}},function(e,t,n){"use strict";const r=n(7).PassThrough,A=Array.prototype.slice;function i(e,t){if(Array.isArray(e))for(let n=0,r=e.length;n<r;n++)e[n]=i(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(r(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}e.exports=function(){const e=[];let t=!1;const n=A.call(arguments);let o=n[n.length-1];o&&!Array.isArray(o)&&null==o.pipe?n.pop():o={};const s=!1!==o.end;null==o.objectMode&&(o.objectMode=!0);null==o.highWaterMark&&(o.highWaterMark=65536);const a=r(o);function c(){for(let t=0,n=arguments.length;t<n;t++)e.push(i(arguments[t],o));return function n(){if(t)return;t=!0;let r=e.shift();if(!r)return void process.nextTick(g);Array.isArray(r)||(r=[r]);let A=r.length+1;function i(){--A>0||(t=!1,n())}function o(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),i()}if(e._readableState.endEmitted)return i();e.on("merge2UnpipeEnd",t),e.on("end",t),e.pipe(a,{end:!1}),e.resume()}for(let e=0;e<r.length;e++)o(r[e]);i()}(),this}function g(){return t=!1,a.emit("queueDrain"),s&&a.end()}a.setMaxListeners(0),a.add=c,a.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),n.length&&c.apply(null,n);return a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(304),A=n(199);class i extends A.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),r=[];return new Promise((A,i)=>{const o=this.api(t,e,n);o.once("error",i),o.on("data",e=>r.push(n.transform(e))),o.once("end",()=>A(r))})}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=i},function(e,t,n){"use strict";function r(e,t){e(t)}function A(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=function(e,t,n){t.fs.lstat(e,(i,o)=>null!==i?r(n,i):o.isSymbolicLink()&&t.followSymbolicLink?void t.fs.stat(e,(e,i)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?r(n,e):A(n,o);t.markSymbolicLink&&(i.isSymbolicLink=()=>!0),A(n,i)}):A(n,o))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(648);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=r.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return void 0===e?t:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4);t.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(306);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings),this._storage=new Set}read(e){this._reader.onError(t=>{!function(e,t){e(t)}(e,t)}),this._reader.onEntry(e=>{this._storage.add(e)}),this._reader.onEnd(()=>{!function(e,t){e(null,t)}(e,[...this._storage])}),this._reader.read()}}},function(e,t,n){"use
/*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*/
const r=n(4),A=n(5),i=n(46),o=n(976),s=process.binding("constants"),a=o(),c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",g=/XXXXXX/,u=3,l=(s.O_CREAT||s.fs.O_CREAT)|(s.O_EXCL||s.fs.O_EXCL)|(s.O_RDWR||s.fs.O_RDWR),h=s.EBADF||s.os.errno.EBADF,p=s.ENOENT||s.os.errno.ENOENT,f=448,C=384,I=[];var d=!1,E=!1;function B(e){var t=[],n=null;try{n=i.randomBytes(e)}catch(t){n=i.pseudoRandomBytes(e)}for(var r=0;r<e;r++)t.push(c[n[r]%c.length]);return t.join("")}function y(e){return void 0===e}function Q(e,t){return"function"==typeof e?[t||{},e]:y(e)?[{},t]:[e,t]}function m(e){if(e.name)return A.join(e.dir||a,e.name);if(e.template)return e.template.replace(g,B(6));const t=[e.prefix||"tmp-",process.pid,B(12),e.postfix||""].join("");return A.join(e.dir||a,t)}function w(e,t){var n=Q(e,t),A=n[0],i=n[1],o=A.name?1:A.tries||u;return isNaN(o)||o<0?i(new Error("Invalid tries")):A.template&&!A.template.match(g)?i(new Error("Invalid template provided")):void function e(){const t=m(A);r.stat(t,(function(n){if(!n)return o-- >0?e():i(new Error("Could not get a unique tmp filename, max tries reached "+t));i(null,t)}))}()}function b(e){var t=Q(e)[0],n=t.name?1:t.tries||u;if(isNaN(n)||n<0)throw new Error("Invalid tries");if(t.template&&!t.template.match(g))throw new Error("Invalid template provided");do{const e=m(t);try{r.statSync(e)}catch(t){return e}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function v(e){const t=[e];do{for(var n=t.pop(),i=!1,o=r.readdirSync(n),s=0,a=o.length;s<a;s++){var c=A.join(n,o[s]);r.lstatSync(c).isDirectory()?(i||(i=!0,t.push(n)),t.push(c)):r.unlinkSync(c)}i||r.rmdirSync(n)}while(0!==t.length)}function D(e,t,n){const A=_((function(e){try{0<=e[0]&&r.closeSync(e[0])}catch(e){if(!M(e,-h,"EBADF")&&!F(e))throw e}try{r.unlinkSync(e[1])}catch(e){if(!F(e))throw e}}),[t,e]);return n.keep||I.unshift(A),A}function S(e,t){const n=_(t.unsafeCleanup?v:r.rmdirSync.bind(r),e);return t.keep||I.unshift(n),n}function _(e,t){var n=!1;return function r(A){if(!n){const A=I.indexOf(r);A>=0&&I.splice(A,1),n=!0,e(t)}A&&A(null)}}function k(){if(!E||d)for(;I.length;)try{I[0].call(null)}catch(e){}}function F(e){return M(e,-p,"ENOENT")}function M(e,t,n){return e.code==t||e.code==n}const K=process.versions.node.split(".").map((function(e){return parseInt(e,10)}));0===K[0]&&(K[1]<9||9===K[1]&&K[2]<5)&&process.addListener("uncaughtException",(function(e){throw E=!0,k(),e})),process.addListener("exit",(function(e){e&&(E=!0),k()})),e.exports.tmpdir=a,e.exports.dir=function(e,t){var n=Q(e,t),A=n[0],i=n[1];w(A,(function(e,t){if(e)return i(e);r.mkdir(t,A.mode||f,(function(e){if(e)return i(e);i(null,t,S(t,A))}))}))},e.exports.dirSync=function(e){var t=Q(e)[0];const n=b(t);return r.mkdirSync(n,t.mode||f),{name:n,removeCallback:S(n,t)}},e.exports.file=function(e,t){var n=Q(e,t),A=n[0],i=n[1];A.postfix=y(A.postfix)?".tmp":A.postfix,w(A,(function(e,t){if(e)return i(e);r.open(t,l,A.mode||C,(function(e,n){return e?i(e):A.discardDescriptor?r.close(n,(function(e){if(e){try{r.unlinkSync(t)}catch(t){F(t)||(e=t)}return i(e)}i(null,t,void 0,D(t,-1,A))})):A.detachDescriptor?i(null,t,n,D(t,-1,A)):void i(null,t,n,D(t,n,A))}))}))},e.exports.fileSync=function(e){var t=Q(e)[0];t.postfix=t.postfix||".tmp";const n=t.discardDescriptor||t.detachDescriptor,A=b(t);var i=r.openSync(A,l,t.mode||C);return t.discardDescriptor&&(r.closeSync(i),i=void 0),{name:A,fd:i,removeCallback:D(A,n?-1:i,t)}},e.exports.tmpName=w,e.exports.tmpNameSync=b,e.exports.setGracefulCleanup=function(){d=!0}},function(e,t,n){"use strict";var r="win32"===process.platform,A=r?/[^:]\\$/:/.\/$/;e.exports=function(){var e;return e=r?process.env.TEMP||process.env.TMP||(process.env.SystemRoot||process.env.windir)+"\\temp":process.env.TMPDIR||process.env.TMP||process.env.TEMP||"/tmp",A.test(e)&&(e=e.slice(0,-1)),e}},function(e,t,n){"use strict";var r,A=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},funct