mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-12-03 15:57:10 +00:00
1 parent
a26ef77df2
commit
44bf1f4260
15 files changed
+530
-496
No files matched your search
@@ -0,0 +1,38 @@
|
||||
/* eslint-disable */
|
||||
module.exports = {
|
||||
name: "@yarnpkg/plugin-interactive-tools",
|
||||
factory: function (require) {
|
||||
var plugin;plugin=(()=>{var __webpack_modules__={120:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>H});function r(e,t,n,r){var i,o=arguments.length,u=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(u=(o<3?i(u):o>3?i(t,n,u):i(t,n))||u);return o>3&&u&&Object.defineProperty(t,n,u),u}var i,o=n(2594),u=n(966),a=n(4930),l=n(7382),s=n.n(l);!function(e){e.BEFORE="before",e.AFTER="after"}(i||(i={}));const c=function(e,t,{active:n,minus:r,plus:i,set:o,loop:u=!0}){const{stdin:s}=(0,l.useContext)(a.StdinContext);(0,l.useEffect)(()=>{if(!n)return;const a=(n,a)=>{const l=t.indexOf(e);switch(a.name){case r:{const e=l-1;if(u)return void o(t[(t.length+e)%t.length]);if(e<0)return;o(t[e])}break;case i:{const e=l+1;if(u)return void o(t[e%t.length]);if(e>=t.length)return;o(t[e])}}};return s.on("keypress",a),()=>{s.off("keypress",a)}},[t,e,n])},f=({active:e=!0,children:t=[],radius:n=10,size:r=1,loop:o=!0,onFocusRequest:u,willReachEnd:f})=>{const d=s().Children.map(t,e=>(e=>{if(null===e.key)throw new Error("Expected all children to have a key");return e.key})(e)),p=d[0],[h,m]=(0,l.useState)(p),v=d.indexOf(h);(0,l.useEffect)(()=>{d.includes(h)||m(p)},[t]),(0,l.useEffect)(()=>{f&&v>=d.length-2&&f()},[v]),function({active:e,handler:t}){const{stdin:n}=(0,l.useContext)(a.StdinContext);(0,l.useEffect)(()=>{if(!e||void 0===t)return;const r=(e,n)=>{"tab"===n.name&&(n.shift?t(i.BEFORE):t(i.AFTER))};return n.on("keypress",r),()=>{n.off("keypress",r)}},[e,t])}({active:e,handler:u}),c(h,d,{active:e,minus:"up",plus:"down",set:m,loop:o});let b=v-n,g=v+n;g>d.length&&(b-=g-d.length,g=d.length),b<0&&(g+=-b,b=0),g>=d.length&&(g=d.length-1);const _=[];for(let n=b;n<=g;++n){const i=d[n],o=e&&i===h;_.push(s().createElement(a.Box,{key:i,height:r},s().createElement(a.Box,{marginLeft:1,marginRight:1},o?s().createElement(a.Color,{cyan:!0,bold:!0},">"):" "),s().createElement(a.Box,null,s().cloneElement(t[n],{active:o}))))}return s().createElement(a.Box,{flexDirection:"column",width:"100%"},_)},d=s().createContext(null),p=function({children:e}){const{setRawMode:t}=(0,l.useContext)(a.StdinContext);(0,l.useEffect)(()=>{t&&t(!0)},[]);const[n,r]=(0,l.useState)(new Map),i=(0,l.useMemo)(()=>({getAll:()=>n,get:e=>n.get(e),set:(e,t)=>r(new Map([...n,[e,t]]))}),[n,r]);return s().createElement(d.Provider,{value:i,children:e})};function h(e,t){const n=(0,l.useContext)(d);if(null===n)throw new Error("Expected this hook to run with a ministore context attached");if(void 0===e)return n.getAll();const r=(0,l.useCallback)(t=>{n.set(e,t)},[e,n.set]);let i=n.get(e);return void 0===i&&(i=t),[i,r]}async function m(e,t){let n;const{waitUntilExit:r}=(0,a.render)(s().createElement(p,null,s().createElement(e,Object.assign({},t,{useSubmit:e=>{const{exit:t}=(0,l.useContext)(a.AppContext),{stdin:r}=(0,l.useContext)(a.StdinContext);(0,l.useEffect)(()=>{const i=(r,i)=>{"return"===i.name&&(n=e,t())};return r.on("keypress",i),()=>{r.off("keypress",i)}},[r,t,e])}}))));return await r(),n}var v=n(8042),b=n(9645),g=n(4410);const _={appId:"OFCNCOG2CU",apiKey:"6fe4476ee5a1832882e326b506d14126",indexName:"npm-search"},y=n.n(g)()(_.appId,_.apiKey).initIndex(_.indexName),D=async(e,t=0)=>await y.search(e,{analyticsTags:["yarn-plugin-interactive-tools"],attributesToRetrieve:["name","version","owner","repository","humanDownloadsLast30Days"],page:t,hitsPerPage:10}),w=["regular","dev","peer"];class E extends o.BaseCommand{async execute(){const e=await u.Configuration.find(this.context.cwd,this.context.plugins),t=()=>s().createElement(a.Box,{flexDirection:"row"},s().createElement(a.Box,{flexDirection:"column",width:48},s().createElement(a.Box,null,"Press ",s().createElement(a.Color,{bold:!0,cyanBright:!0},"<up>"),"/",s().createElement(a.Color,{bold:!0,cyanBright:!0},"<down>")," to move between packages."),s().createElement(a.Box,null,"Press ",s().createElement(a.Color,{bold:!0,cyanBright:!0},"<space>")," to select a package."),s().createElement(a.Box,null,"Press ",s().createElement(a.Color,{bold:!0,cyanBright:!0},"<space>")," again to change the target.")),s().createElement(a.Box,{flexDirection:"column"},s().createElement(a.Box,{marginLeft:1},"Press ",s().createElement(a.Color,{bold:!0,cyanBright:!0},"<enter>")," to install the selected packages."),s().createElement(a.Box,{marginLeft:1},"Press ",s().createElement(a.Color,{bold:!0,cyanBright:!0},"<ctrl+c>")," to abort."))),n=()=>s().createElement(s().Fragment,null,s().createElement(a.Box,{width:15},s().createElement(a.Color,{bold:!0,underline:!0,gray:!0},"Owner")),s().createElement(a.Box,{width:11},s().createElement(a.Color,{bold:!0,underline:!0,gray:!0},"Version")),s().createElement(a.Box,{width:10},s().createElement(a.Color,{bold:!0,underline:!0,gray:!0},"Downloads"))),r=()=>s().createElement(a.Box,{width:17},s().createElement(a.Color,{bold:!0,underline:!0,gray:!0},"Target")),i=({hit:t,active:n})=>{conLine truncated
|
||||
/** @license React v0.20.4
|
||||
* react-reconciler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
e.exports=function t(r){"use strict";var i=n(9381),o=n(7382),u=n(5201);function a(e,t,n,r,i,o,u,a){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,u,a],s=0;(e=Error(t.replace(/%s/g,(function(){return l[s++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function l(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);a(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;s.hasOwnProperty("ReactCurrentDispatcher")||(s.ReactCurrentDispatcher={current:null});var c="function"==typeof Symbol&&Symbol.for,f=c?Symbol.for("react.element"):60103,d=c?Symbol.for("react.portal"):60106,p=c?Symbol.for("react.fragment"):60107,h=c?Symbol.for("react.strict_mode"):60108,m=c?Symbol.for("react.profiler"):60114,v=c?Symbol.for("react.provider"):60109,b=c?Symbol.for("react.context"):60110,g=c?Symbol.for("react.concurrent_mode"):60111,_=c?Symbol.for("react.forward_ref"):60112,y=c?Symbol.for("react.suspense"):60113,D=c?Symbol.for("react.memo"):60115,w=c?Symbol.for("react.lazy"):60116,E="function"==typeof Symbol&&Symbol.iterator;function C(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=E&&e[E]||e["@@iterator"])?e:null}function T(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case g:return"ConcurrentMode";case p:return"Fragment";case d:return"Portal";case m:return"Profiler";case h:return"StrictMode";case y:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case b:return"Context.Consumer";case v:return"Context.Provider";case _:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case D:return T(e.type);case w:if(e=1===e._status?e._result:null)return T(e)}return null}function k(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function S(e){2!==k(e)&&l("188")}function M(e){var t=e.alternate;if(!t)return 3===(t=k(e))&&l("188"),1===t?null:e;for(var n=e,r=t;;){var i=n.return,o=i?i.alternate:null;if(!i||!o)break;if(i.child===o.child){for(var u=i.child;u;){if(u===n)return S(i),e;if(u===r)return S(i),t;u=u.sibling}l("188")}if(n.return!==r.return)n=i,r=o;else{u=!1;for(var a=i.child;a;){if(a===n){u=!0,n=i,r=o;break}if(a===r){u=!0,r=i,n=o;break}a=a.sibling}if(!u){for(a=o.child;a;){if(a===n){u=!0,n=o,r=i;break}if(a===r){u=!0,r=o,n=i;break}a=a.sibling}u||l("189")}}n.alternate!==r&&l("190")}return 3!==n.tag&&l("188"),n.stateNode.current===n?e:t}function x(e){if(!(e=M(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var A=r.getPublicInstance,P=r.getRootHostContext,O=r.getChildHostContext,R=r.prepareForCommit,N=r.resetAfterCommit,I=r.createInstance,F=r.appendInitialChild,B=r.finalizeInitialChildren,L=r.prepareUpdate,U=r.shouldSetTextContent,j=r.shouldDeprioritizeSubtree,W=r.createTextInstance,z=r.scheduleDeferredCallback,q=r.cancelDeferredCallback,H=r.shouldYield,G=r.setTimeout,V=r.clearTimeout,Y=r.noTimeout,K=r.schedulePassiveEffects,$=r.cancelPassiveEffects,X=r.now,J=r.isPrimaryRenderer,Q=r.supportsMutation,Z=r.supportsPersistence,ee=r.supportsHydration,te=r.appendChild,ne=r.appendChildToContainer,re=r.commitTextUpdate,ie=r.commitMount,oe=r.commitUpdate,ue=r.insertBefore,ae=r.insertInContainerBefore,le=r.removeChild,se=r.removeChildFromContainer,ce=r.resetTextContent,fe=r.hideInstance,de=r.hideTextInstance,pe=r.unhideInstance,he=r.unhideTextInstance,me=r.cloneInstance,ve=r.createContainerChildSet,be=r.appendChildToContainerChildSet,ge=r.finalizeContainerChildren,_e=r.replaceContainerChildren,ye=r.cloneHiddenInstance,De=r.cloneUnhiddenInstance,we=r.createHiddenTextInstance,Ee=r.canHydrateInstance,Ce=r.canHydrateTextInstance,Te=r.getNextHydratableSibling,ke=r.getFirstHydratableChild,Se=r.hydrateInstance,Me=r.hydrateTextInstance,xe=/^(.*)[\\\/]/;function Ae(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=T(e.type);n=null,r&&(n=T(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(xe,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}new Set;var Pe=[],Oe=-1;function Re(e){0>Oe||(e.current=Pe[Oe],Pe[Oe]=null,Oe--)}function Ne(e,t){Oe++,Pe[Oe]=e.current,e.current=t}var Ie={},Fe={current:Ie},Be={current:!1},Le=Ie;function Ue(e,t){var n=e.typLine truncated
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var u,a,l=i(e),s=1;s<arguments.length;s++){for(var c in u=Object(arguments[s]))n.call(u,c)&&(l[c]=u[c]);if(t){a=t(u);for(var f=0;f<a.length;f++)r.call(u,a[f])&&(l[a[f]]=u[a[f]])}}return l}},4767:(e,t,n)=>{"use strict";const r=n(2658);e.exports=(e,t)=>{if(!0===t)throw new TypeError("The second argument is now an options object");if("function"!=typeof e)throw new TypeError("Expected a function");let n;t=t||{};let i=!1;const o=e.displayName||e.name||"<anonymous>",u=function(){if(i){if(!0===t.throw)throw new Error(`Function \`${o}\` can only be called once`);return n}return i=!0,n=e.apply(this,arguments),e=null,n};return r(u,e),u}},6976:(e,t,n)=>{"use strict";var r=n(9090);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,u){if(u!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},6271:(e,t,n)=>{e.exports=n(6976)()},9090:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6099:(e,t,n)=>{"use strict";
|
||||
/** @license React v16.13.1
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/var r=n(9381),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,u=i?Symbol.for("react.portal"):60106,a=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,s=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_={};function y(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||g}function D(){}function w(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(b(85));this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},D.prototype=y.prototype;var E=w.prototype=new D;E.constructor=w,r(E,y.prototype),E.isPureReactComponent=!0;var C={current:null},T=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,i={},u=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(u=""+t.key),t)T.call(t,r)&&!k.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:u,ref:a,props:i,_owner:C.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var x=/\/+/g,A=[];function P(e,t,n,r){if(A.length){var i=A.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,i){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l=!1;if(null===t)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case o:case u:l=!0}}if(l)return r(i,t,""===n?"."+N(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var c=n+N(a=t[s],s);l+=e(a,c,r,i)}else if(null===t||"object"!=typeof t?c=null:c="function"==typeof(c=v&&t[v]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),s=0;!(a=t.next()).done;)l+=e(a=a.value,c=n+N(a,s++),r,i);else if("object"===a)throw r=""+t,Error(b(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return l}(e,"",t,n)}function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function I(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?B(e,r,n,(function(e){return e})):null!=e&&(M(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(x,"$&/")+"/")+n)),r.push(e))}function B(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(x,"$&/")+"/"),R(e,F,t=P(t,o,r,i)),O(t)}var L={current:null};function U(){var e=L.current;if(null===e)throw Error(b(321));return e}var j={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return B(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;R(e,I,t=P(null,null,t,n)),O(t)},count:function(e){return R(e,(function(){return null}),null)},toArray:function(e){var t=[];return B(e,t,null,(function(e){return e})),t},only:function(e){if(!M(e))throw Error(b(143));return e}},t.Component=y,t.Fragment=a,t.Profiler=s,t.PureComponent=w,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,t.cloneElement=function(e,t,n){if(null==e)throw Error(b(267,e));var i=r({},e.props),u=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=C.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)T.call(t,c)&&!k.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){s=Array(c);for(var f=0;f<c;f++)s[f]=arguments[f+2];i.children=s}return{$$typeof:o,Line truncated
|
||||
/** @license React v0.13.6
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/Object.defineProperty(t,"__esModule",{value:!0});var n=null,r=!1,i=3,o=-1,u=-1,a=!1,l=!1;function s(){if(!a){var e=n.expirationTime;l?E():l=!0,w(d,e)}}function c(){var e=n,t=n.next;if(n===t)n=null;else{var r=n.previous;n=r.next=t,t.previous=r}e.next=e.previous=null,r=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=i,a=u;i=e,u=t;try{var l=r()}finally{i=o,u=a}if("function"==typeof l)if(l={callback:l,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=l.next=l.previous=l;else{r=null,e=n;do{if(e.expirationTime>=t){r=e;break}e=e.next}while(e!==n);null===r?r=n:r===n&&(n=l,s()),(t=r.previous).next=r.previous=l,l.next=r,l.previous=t}}function f(){if(-1===o&&null!==n&&1===n.priorityLevel){a=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{a=!1,null!==n?s():l=!1}}}function d(e){a=!0;var i=r;r=e;try{if(e)for(;null!==n;){var o=t.unstable_now();if(!(n.expirationTime<=o))break;do{c()}while(null!==n&&n.expirationTime<=o)}else if(null!==n)do{c()}while(null!==n&&!C())}finally{a=!1,r=i,null!==n?s():l=!1,f()}}var p,h,m=Date,v="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,g="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,_="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function y(e){p=g((function(t){b(h),e(t)})),h=v((function(){_(p),e(t.unstable_now())}),100)}if("object"==typeof performance&&"function"==typeof performance.now){var D=performance;t.unstable_now=function(){return D.now()}}else t.unstable_now=function(){return m.now()};var w,E,C,T=null;if("undefined"!=typeof window?T=window:"undefined"!=typeof global&&(T=global),T&&T._schedMock){var k=T._schedMock;w=k[0],E=k[1],C=k[2],t.unstable_now=k[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var S=null,M=function(e){if(null!==S)try{S(e)}finally{S=null}};w=function(e){null!==S?setTimeout(w,0,e):(S=e,setTimeout(M,0,!1))},E=function(){S=null},C=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof _&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var x=null,A=!1,P=-1,O=!1,R=!1,N=0,I=33,F=33;C=function(){return N<=t.unstable_now()};var B=new MessageChannel,L=B.port2;B.port1.onmessage=function(){A=!1;var e=x,n=P;x=null,P=-1;var r=t.unstable_now(),i=!1;if(0>=N-r){if(!(-1!==n&&n<=r))return O||(O=!0,y(U)),x=e,void(P=n);i=!0}if(null!==e){R=!0;try{e(i)}finally{R=!1}}};var U=function(e){if(null!==x){y(U);var t=e-N+F;t<F&&I<F?(8>t&&(t=8),F=t<I?I:t):I=t,N=e+F,A||(A=!0,L.postMessage(void 0))}else O=!1};w=function(e,t){x=e,P=t,R||0>t?L.postMessage(void 0):O||(O=!0,y(U))},E=function(){x=null,A=!1,P=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,u=o;i=e,o=t.unstable_now();try{return n()}finally{i=r,o=u,f()}},t.unstable_next=function(e){switch(i){case 1:case 2:case 3:var n=3;break;default:n=i}var r=i,u=o;i=n,o=t.unstable_now();try{return e()}finally{i=r,o=u,f()}},t.unstable_scheduleCallback=function(e,r){var u=-1!==o?o:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=u+r.timeout;else switch(i){case 1:r=u+-1;break;case 2:r=u+250;break;case 5:r=u+1073741823;break;case 4:r=u+1e4;break;default:r=u+5e3}if(e={callback:e,priorityLevel:i,expirationTime:r,next:null,previous:null},null===n)n=e.next=e.previous=e,s();else{u=null;var a=n;do{if(a.expirationTime>r){u=a;break}a=a.next}while(a!==n);null===u?u=n:u===n&&(n=e,s()),(r=u.previous).next=u.previous=e,e.next=u,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var r=e.previous;r.next=t,t.previous=r}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=i;return function(){var r=i,u=o;i=n,o=t.unstable_now();try{return e.apply(this,arguments)}finally{i=r,o=u,f()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!r&&(null!==n&&n.expirationTime<u||C())},t.unstable_continueExecution=function(){null!==n&&s()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return n}},5201:(e,t,n)=>{"use strict";e.exports=n(8992)},6458:(e,t,n)=>{var r,i=n(2357),o=n(8082),u=n(8614);function a(){c&&(c=!1,o.forEach((function(e){try{process.removeListener(e,s[e])}catch(e){}})),process.emit=h,process.reallyExit=d,r.count-=1)}function l(e,t,n){r.emitted[e]||(r.emitted[e]=!0,r.emit(e,t,n))}"function"!=typeof u&&(u=u.EventEmitter),process.__signal_exit_emitter__?r=process.__signal_exit_emitter__:((r=process.__signal_exit_emit
Line truncated
|
||||
return plugin;
|
||||
}
|
||||
};
|
||||
@@ -1,46 +0,0 @@
|
||||
module.exports={name:"@yarnpkg/plugin-interactive-tools",factory:function(require){var plugin=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{enumerable:!0,get:getter})},__webpack_require__.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.t=function(value,mode){if(1&mode&&(value=__webpack_require__(value)),8&mode)return value;if(4&mode&&"object"==typeof value&&value&&value.__esModule)return value;var ns=Object.create(null);if(__webpack_require__.r(ns),Object.defineProperty(ns,"default",{enumerable:!0,value:value}),2&mode&&"string"!=typeof value)for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key]}.bind(null,key));return ns},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module.default}:function getModuleExports(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=0)}([function(module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const upgrade_interactive_1=__importDefault(__webpack_require__(1)),plugin={commands:[upgrade_interactive_1.default]};exports.default=plugin},function(module,exports,__webpack_require__){"use strict";var __decorate=this&&this.__decorate||function(decorators,target,key,desc){var c=arguments.length,r=c<3?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},__importStar=this&&this.__importStar||function(mod){if(mod&&mod.__esModule)return mod;var result={};if(null!=mod)for(var k in mod)Object.hasOwnProperty.call(mod,k)&&(result[k]=mod[k]);return result.default=mod,result},__importDefault=this&&this.__importDefault||function(mod){return mod&&mod.__esModule?mod:{default:mod}};Object.defineProperty(exports,"__esModule",{value:!0});const cli_1=__webpack_require__(2),core_1=__webpack_require__(3),ItemOptions_1=__webpack_require__(4),ScrollableItems_1=__webpack_require__(90),useMinistore_1=__webpack_require__(92),renderForm_1=__webpack_require__(94),plugin_essentials_1=__webpack_require__(95),clipanion_1=__webpack_require__(96),diff_1=__webpack_require__(97),ink_1=__webpack_require__(5),react_1=__importStar(__webpack_require__(8)),semver_1=__importDefault(__webpack_require__(115)),SIMPLE_SEMVER=/^((?:[\^~]|>=?)?)([0-9]+)(\.[0-9]+)(\.[0-9]+)((?:-\S+)?)$/;class UpgradeInteractiveCommand extends cli_1.BaseCommand{async execute(){const configuration=await core_1.Configuration.find(this.context.cwd,this.context.plugins),{project:project,workspace:workspace}=await core_1.Project.find(configuration,this.context.cwd),cache=await core_1.Cache.find(configuration);if(!workspace)throw new cli_1.WorkspaceRequiredError(project.cwd,this.context.cwd);const colorizeRawDiff=(from,to)=>{const diff=diff_1.diffWords(from,to);let str="";for(const part of diff)part.added?str+=configuration.format(part.value,"green"):part.removed||(str+=part.value);return str},colorizeVersionDiff=(from,to)=>{if(from===to)return to;const parsedFrom=core_1.structUtils.parseRange(from),parsedTo=core_1.structUtils.parseRange(to),matchedFrom=parsedFrom.selector.match(SIMPLE_SEMVER),matchedTo=parsedTo.selector.match(SIMPLE_SEMVER);if(!matchedFrom||!matchedTo)return colorizeRawDiff(from,to);const SEMVER_COLORS=["gray","red","yellow","green","magenta"];let color=null,res="";for(let t=1;t<SEMVER_COLORS.length;++t)null!==color||matchedFrom[t]!==matchedTo[t]?(null===color&&(color=SEMVER_COLORS[t-1]),res+=configuration.format(matchedTo[t],color)):res+=matchedTo[t];return res},fetchUpdatedDescriptor=async(descriptor,copyStyle,range)=>{const candidate=await plugin_essentials_1.suggestUtils.fetchDescriptorFrom(descriptor,range,{project:project,cache:cache,preserveModifier:copyStyle});return null!==candidate?candidate.range:descriptor.range},fetchSuggestions=async descriptor=>{cLine truncated
|
||||
/** @license React v16.8.4
|
||||
* react.development.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(){var _assign=__webpack_require__(10),checkPropTypes=__webpack_require__(11),ReactVersion="16.8.4",hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,MAYBE_ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(null===maybeIterable||"object"!=typeof maybeIterable)return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"];return"function"==typeof maybeIterator?maybeIterator:null}var validateFormat=function(){};function invariant(condition,format,a,b,c,d,e,f){if(validateFormat(format),!condition){var error=void 0;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f],argIndex=0;(error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})))).name="Invariant Violation"}throw error.framesToPop=1,error}}validateFormat=function(format){if(void 0===format)throw new Error("invariant requires an error message argument")};var lowPriorityWarning=function(){},printWarning=function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));"undefined"!=typeof console&&console.warn(message);try{throw new Error(message)}catch(x){}},lowPriorityWarning$1=lowPriorityWarning=function(condition,format){if(void 0===format)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];printWarning.apply(void 0,[format].concat(args))}},warningWithoutStack=function(){},warningWithoutStack$1=warningWithoutStack=function(condition,format){for(var _len=arguments.length,args=Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];if(void 0===format)throw new Error("`warningWithoutStack(condition, format, ...args)` requires a warning message argument");if(args.length>8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!condition){if("undefined"!=typeof console){var argsWithFormat=args.map((function(item){return""+item}));argsWithFormat.unshift("Warning: "+format),Function.prototype.apply.call(console.error,console,argsWithFormat)}try{var argIndex=0,message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));throw new Error(message)}catch(x){}}},didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){var _constructor=publicInstance.constructor,componentName=_constructor&&(_constructor.displayName||_constructor.name)||"ReactClass",warningKey=componentName+"."+callerName;didWarnStateUpdateForUnmountedComponent[warningKey]||(warningWithoutStack$1(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",callerName,componentName),didWarnStateUpdateForUnmountedComponent[warningKey]=!0)}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueForceUpdate:function(publicInstance,callback,callerName){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState,callback,callerName){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState,callback,callerName){warnNoop(publicInstance,"setState")}},emptyObject={};function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}Object.freeze(emptyObject),Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){"object"!=typeof partialState&&"function"!=typeof partialState&&null!=partialState&&invariant(!1,"setState(...): takes an object of state variables to update or a function which returns an object
Line truncated
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(null==val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}function shouldUseNative(){try{if(!Object.assign)return!1;var test1=new String("abc"),order2;if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map((function(n){return test2[n]})).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}module.exports=shouldUseNative()?Object.assign:function(target,source){for(var from,to=toObject(target),symbols,s=1;s<arguments.length;s++){for(var key in from=Object(arguments[s]))hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},function(module,exports,__webpack_require__){"use strict";var printWarning=function(){},ReactPropTypesSecret=__webpack_require__(12),loggedTypeFailures={};function checkPropTypes(typeSpecs,values,location,componentName,getStack){for(var typeSpecName in typeSpecs)if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{if("function"!=typeof typeSpecs[typeSpecName]){var err=Error((componentName||"React class")+": "+location+" type `"+typeSpecName+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof typeSpecs[typeSpecName]+"`.");throw err.name="Invariant Violation",err}error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}if(!error||error instanceof Error||printWarning((componentName||"React class")+": type specification of "+location+" `"+typeSpecName+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof error+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=!0;var stack=getStack?getStack():"";printWarning("Failed "+location+" type: "+error.message+(null!=stack?stack:""))}}}printWarning=function(text){var message="Warning: "+text;"undefined"!=typeof console&&console.error(message);try{throw new Error(message)}catch(x){}},module.exports=checkPropTypes},function(module,exports,__webpack_require__){"use strict";var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";module.exports=ReactPropTypesSecret},function(module,exports){var FUNC_ERROR_TEXT="Expected a function",NAN=NaN,symbolTag="[object Symbol]",reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),objectProto,objectToString=Object.prototype.toString,nativeMax=Math.max,nativeMin=Math.min,now=function(){return root.Date.now()};function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError(FUNC_ERROR_TEXT);function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function remainingWait(time){var timeSinceLastCall,timeSinceLastInvoke,result=wait-(time-lastCallTime);return maxing?nativeMin(result,maxWait-(time-lastInvokeTime)):result}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0}function flush(){return void 0===timerId?result:trailingEdge(now())}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return timerId=setTLine truncated
|
||||
/** @license React v0.13.4
|
||||
* scheduler.development.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(){Object.defineProperty(exports,"__esModule",{value:!0});var enableSchedulerDebugging=!1,ImmediatePriority=1,UserBlockingPriority=2,NormalPriority=3,LowPriority=4,IdlePriority=5,maxSigned31BitInt=1073741823,IMMEDIATE_PRIORITY_TIMEOUT=-1,USER_BLOCKING_PRIORITY=250,NORMAL_PRIORITY_TIMEOUT=5e3,LOW_PRIORITY_TIMEOUT=1e4,IDLE_PRIORITY=1073741823,firstCallbackNode=null,currentDidTimeout=!1,isSchedulerPaused=!1,currentPriorityLevel=3,currentEventStartTime=-1,currentExpirationTime=-1,isExecutingCallback=!1,isHostCallbackScheduled=!1,hasNativePerformanceNow="object"==typeof performance&&"function"==typeof performance.now;function ensureHostCallbackIsScheduled(){if(!isExecutingCallback){var expirationTime=firstCallbackNode.expirationTime;isHostCallbackScheduled?cancelHostCallback():isHostCallbackScheduled=!0,requestHostCallback(flushWork,expirationTime)}}function flushFirstCallback(){var flushedNode=firstCallbackNode,next=firstCallbackNode.next;if(firstCallbackNode===next)firstCallbackNode=null,next=null;else{var lastCallbackNode=firstCallbackNode.previous;firstCallbackNode=lastCallbackNode.next=next,next.previous=lastCallbackNode}flushedNode.next=flushedNode.previous=null;var callback=flushedNode.callback,expirationTime=flushedNode.expirationTime,priorityLevel=flushedNode.priorityLevel,previousPriorityLevel=currentPriorityLevel,previousExpirationTime=currentExpirationTime,continuationCallback;currentPriorityLevel=priorityLevel,currentExpirationTime=expirationTime;try{continuationCallback=callback()}finally{currentPriorityLevel=previousPriorityLevel,currentExpirationTime=previousExpirationTime}if("function"==typeof continuationCallback){var continuationNode={callback:continuationCallback,priorityLevel:priorityLevel,expirationTime:expirationTime,next:null,previous:null};if(null===firstCallbackNode)firstCallbackNode=continuationNode.next=continuationNode.previous=continuationNode;else{var nextAfterContinuation=null,node=firstCallbackNode;do{if(node.expirationTime>=expirationTime){nextAfterContinuation=node;break}node=node.next}while(node!==firstCallbackNode);null===nextAfterContinuation?nextAfterContinuation=firstCallbackNode:nextAfterContinuation===firstCallbackNode&&(firstCallbackNode=continuationNode,ensureHostCallbackIsScheduled());var previous=nextAfterContinuation.previous;previous.next=nextAfterContinuation.previous=continuationNode,continuationNode.next=nextAfterContinuation,continuationNode.previous=previous}}}function flushImmediateWork(){if(-1===currentEventStartTime&&null!==firstCallbackNode&&1===firstCallbackNode.priorityLevel){isExecutingCallback=!0;try{do{flushFirstCallback()}while(null!==firstCallbackNode&&1===firstCallbackNode.priorityLevel)}finally{isExecutingCallback=!1,null!==firstCallbackNode?ensureHostCallbackIsScheduled():isHostCallbackScheduled=!1}}}function flushWork(didTimeout){isExecutingCallback=!0;var previousDidTimeout=currentDidTimeout;currentDidTimeout=didTimeout;try{if(didTimeout)for(;null!==firstCallbackNode;){var currentTime=exports.unstable_now();if(!(firstCallbackNode.expirationTime<=currentTime))break;do{flushFirstCallback()}while(null!==firstCallbackNode&&firstCallbackNode.expirationTime<=currentTime)}else if(null!==firstCallbackNode)do{flushFirstCallback()}while(null!==firstCallbackNode&&!shouldYieldToHost())}finally{isExecutingCallback=!1,currentDidTimeout=previousDidTimeout,null!==firstCallbackNode?ensureHostCallbackIsScheduled():isHostCallbackScheduled=!1,flushImmediateWork()}}function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case 1:case 2:case 3:case 4:case 5:break;default:priorityLevel=3}var previousPriorityLevel=currentPriorityLevel,previousEventStartTime=currentEventStartTime;currentPriorityLevel=priorityLevel,currentEventStartTime=exports.unstable_now();try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel,currentEventStartTime=previousEventStartTime,flushImmediateWork()}}function unstable_next(eventHandler){var priorityLevel=void 0;switch(currentPriorityLevel){case 1:case 2:case 3:priorityLevel=3;break;default:priorityLevel=currentPriorityLevel}var previousPriorityLevel=currentPriorityLevel,previousEventStartTime=currentEventStartTime;currentPriorityLevel=priorityLevel,currentEventStartTime=exports.unstable_now();try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel,currentEventStartTime=previousEventStartTime,flushImmediateWork()}}function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel,previousEventStartTime=currentEventStartTime;currentPriorityLevel=parentPriorityLevel,currentEventStartTime=exports.unstable_now();try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel,currentEventStartTime=previousEventStartTime,flushImmediateWork()}}}function unstable_scheduleCallback(callback,deprecated_options){var startTime=-1!==currentEventStartTime?currentELine truncated
|
||||
/** @license React v0.20.4
|
||||
* react-reconciler.development.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/module.exports=function $$$reconciler($$$hostConfig){var _assign=__webpack_require__(10),React=__webpack_require__(8),checkPropTypes=__webpack_require__(11),tracing=__webpack_require__(45),scheduler=__webpack_require__(47),validateFormat=function(){};function invariant(condition,format,a,b,c,d,e,f){if(validateFormat(format),!condition){var error=void 0;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f],argIndex=0;(error=new Error(format.replace(/%s/g,(function(){return args[argIndex++]})))).name="Invariant Violation"}throw error.framesToPop=1,error}}validateFormat=function(format){if(void 0===format)throw new Error("invariant requires an error message argument")};var warningWithoutStack=function(){},warningWithoutStack$1=warningWithoutStack=function(condition,format){for(var _len=arguments.length,args=Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];if(void 0===format)throw new Error("`warningWithoutStack(condition, format, ...args)` requires a warning message argument");if(args.length>8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!condition){if("undefined"!=typeof console){var argsWithFormat=args.map((function(item){return""+item}));argsWithFormat.unshift("Warning: "+format),Function.prototype.apply.call(console.error,console,argsWithFormat)}try{var argIndex=0,message="Warning: "+format.replace(/%s/g,(function(){return args[argIndex++]}));throw new Error(message)}catch(x){}}};function get(key){return key._reactInternalFiber}function set(key,value){key._reactInternalFiber=value}var ReactSharedInternals=React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ReactSharedInternals.hasOwnProperty("ReactCurrentDispatcher")||(ReactSharedInternals.ReactCurrentDispatcher={current:null});var hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,MAYBE_ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(null===maybeIterable||"object"!=typeof maybeIterable)return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable["@@iterator"];return"function"==typeof maybeIterator?maybeIterator:null}var Pending=0,Resolved=1,Rejected=2;function refineResolvedLazyComponent(lazyComponent){return 1===lazyComponent._status?lazyComponent._result:null}function getWrappedName(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(""!==functionName?wrapperName+"("+functionName+")":wrapperName)}function getComponentName(type){if(null==type)return null;if("number"==typeof type.tag&&warningWithoutStack$1(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof type)return type.displayName||type.name||null;if("string"==typeof type)return type;switch(type){case REACT_CONCURRENT_MODE_TYPE:return"ConcurrentMode";case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense"}if("object"==typeof type)switch(type.$$typeof){case REACT_CONTEXT_TYPE:return"Context.Consumer";case REACT_PROVIDER_TYPE:return"Context.Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:return getComponentName(type.type);case REACT_LAZY_TYPE:var thenable,resolvedThenable=refineResolvedLazyComponent(type);if(resolvedThenable)return getComponentName(resolvedThenable)}return null}var FunctionComponent=0,ClassComponent=1,IndeterminateComponent=2,HostRoot=3,HostPortal=4,HostComponent=5,HostText=6,Fragment=7,Mode=8,ContextConsumer=9,ContextProvider=10,ForwardRef=11,Profiler=12,SuspenseComponent=13,MemoComponent=14,SimpleMemoComponent=15,LazyComponent=16,IncompleteClassComponent=17,DehydratedSuspenseComponent=18,NoEffect=0,PerformedWork=1,Placement=2,Update=4,PlacementAndUpdate=6,Deletion=8,ContentReset=16,Callback=32,DidCapture=64,Ref=128,SnapLine truncated
|
||||
/** @license React v0.13.6
|
||||
* scheduler-tracing.development.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(){Object.defineProperty(exports,"__esModule",{value:!0});var enableSchedulerTracing=!0,DEFAULT_THREAD_ID=0,interactionIDCounter=0,threadIDCounter=0;function unstable_clear(callback){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=new Set;try{return callback()}finally{exports.__interactionsRef.current=prevInteractions}}function unstable_getCurrent(){return exports.__interactionsRef.current}function unstable_getThreadID(){return++threadIDCounter}function unstable_trace(name,timestamp,callback){var threadID=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;var interaction={__count:1,id:interactionIDCounter++,name:name,timestamp:timestamp},prevInteractions=exports.__interactionsRef.current,interactions=new Set(prevInteractions);interactions.add(interaction),exports.__interactionsRef.current=interactions;var subscriber=exports.__subscriberRef.current,returnValue=void 0;try{null!==subscriber&&subscriber.onInteractionTraced(interaction)}finally{try{null!==subscriber&&subscriber.onWorkStarted(interactions,threadID)}finally{try{returnValue=callback()}finally{exports.__interactionsRef.current=prevInteractions;try{null!==subscriber&&subscriber.onWorkStopped(interactions,threadID)}finally{interaction.__count--,null!==subscriber&&0===interaction.__count&&subscriber.onInteractionScheduledWorkCompleted(interaction)}}}}return returnValue}function unstable_wrap(callback){var threadID=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var wrappedInteractions=exports.__interactionsRef.current,subscriber=exports.__subscriberRef.current;null!==subscriber&&subscriber.onWorkScheduled(wrappedInteractions,threadID),wrappedInteractions.forEach((function(interaction){interaction.__count++}));var hasRun=!1;function wrapped(){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=wrappedInteractions,subscriber=exports.__subscriberRef.current;try{var returnValue=void 0;try{null!==subscriber&&subscriber.onWorkStarted(wrappedInteractions,threadID)}finally{try{returnValue=callback.apply(void 0,arguments)}finally{exports.__interactionsRef.current=prevInteractions,null!==subscriber&&subscriber.onWorkStopped(wrappedInteractions,threadID)}}return returnValue}finally{hasRun||(hasRun=!0,wrappedInteractions.forEach((function(interaction){interaction.__count--,null!==subscriber&&0===interaction.__count&&subscriber.onInteractionScheduledWorkCompleted(interaction)})))}}return wrapped.cancel=function cancel(){subscriber=exports.__subscriberRef.current;try{null!==subscriber&&subscriber.onWorkCanceled(wrappedInteractions,threadID)}finally{wrappedInteractions.forEach((function(interaction){interaction.__count--,subscriber&&0===interaction.__count&&subscriber.onInteractionScheduledWorkCompleted(interaction)}))}},wrapped}exports.__interactionsRef=null,exports.__subscriberRef=null,exports.__interactionsRef={current:new Set},exports.__subscriberRef={current:null};var subscribers=null;function unstable_subscribe(subscriber){subscribers.add(subscriber),1===subscribers.size&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted:onInteractionScheduledWorkCompleted,onInteractionTraced:onInteractionTraced,onWorkCanceled:onWorkCanceled,onWorkScheduled:onWorkScheduled,onWorkStarted:onWorkStarted,onWorkStopped:onWorkStopped})}function unstable_unsubscribe(subscriber){subscribers.delete(subscriber),0===subscribers.size&&(exports.__subscriberRef.current=null)}function onInteractionTraced(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onInteractionTraced(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onInteractionScheduledWorkCompleted(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onInteractionScheduledWorkCompleted(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onWorkScheduled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onWorkScheduled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onWorkStarted(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onWorkStarted(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onWorkStopped(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach((function(subscriber){try{subscriber.onWorkStopped(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}})),didCatchError)throw caughtError}function onWorkCanceled(interactions,threadID){var didCatchError=!1,caughtError=null;if(suLine truncated
|
||||
/** @license React v0.13.6
|
||||
* scheduler.development.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/(function(){Object.defineProperty(exports,"__esModule",{value:!0});var enableSchedulerDebugging=!1,ImmediatePriority=1,UserBlockingPriority=2,NormalPriority=3,LowPriority=4,IdlePriority=5,maxSigned31BitInt=1073741823,IMMEDIATE_PRIORITY_TIMEOUT=-1,USER_BLOCKING_PRIORITY=250,NORMAL_PRIORITY_TIMEOUT=5e3,LOW_PRIORITY_TIMEOUT=1e4,IDLE_PRIORITY=1073741823,firstCallbackNode=null,currentDidTimeout=!1,isSchedulerPaused=!1,currentPriorityLevel=3,currentEventStartTime=-1,currentExpirationTime=-1,isExecutingCallback=!1,isHostCallbackScheduled=!1,hasNativePerformanceNow="object"==typeof performance&&"function"==typeof performance.now;function ensureHostCallbackIsScheduled(){if(!isExecutingCallback){var expirationTime=firstCallbackNode.expirationTime;isHostCallbackScheduled?cancelHostCallback():isHostCallbackScheduled=!0,requestHostCallback(flushWork,expirationTime)}}function flushFirstCallback(){var flushedNode=firstCallbackNode,next=firstCallbackNode.next;if(firstCallbackNode===next)firstCallbackNode=null,next=null;else{var lastCallbackNode=firstCallbackNode.previous;firstCallbackNode=lastCallbackNode.next=next,next.previous=lastCallbackNode}flushedNode.next=flushedNode.previous=null;var callback=flushedNode.callback,expirationTime=flushedNode.expirationTime,priorityLevel=flushedNode.priorityLevel,previousPriorityLevel=currentPriorityLevel,previousExpirationTime=currentExpirationTime,continuationCallback;currentPriorityLevel=priorityLevel,currentExpirationTime=expirationTime;try{continuationCallback=callback()}finally{currentPriorityLevel=previousPriorityLevel,currentExpirationTime=previousExpirationTime}if("function"==typeof continuationCallback){var continuationNode={callback:continuationCallback,priorityLevel:priorityLevel,expirationTime:expirationTime,next:null,previous:null};if(null===firstCallbackNode)firstCallbackNode=continuationNode.next=continuationNode.previous=continuationNode;else{var nextAfterContinuation=null,node=firstCallbackNode;do{if(node.expirationTime>=expirationTime){nextAfterContinuation=node;break}node=node.next}while(node!==firstCallbackNode);null===nextAfterContinuation?nextAfterContinuation=firstCallbackNode:nextAfterContinuation===firstCallbackNode&&(firstCallbackNode=continuationNode,ensureHostCallbackIsScheduled());var previous=nextAfterContinuation.previous;previous.next=nextAfterContinuation.previous=continuationNode,continuationNode.next=nextAfterContinuation,continuationNode.previous=previous}}}function flushImmediateWork(){if(-1===currentEventStartTime&&null!==firstCallbackNode&&1===firstCallbackNode.priorityLevel){isExecutingCallback=!0;try{do{flushFirstCallback()}while(null!==firstCallbackNode&&1===firstCallbackNode.priorityLevel)}finally{isExecutingCallback=!1,null!==firstCallbackNode?ensureHostCallbackIsScheduled():isHostCallbackScheduled=!1}}}function flushWork(didTimeout){isExecutingCallback=!0;var previousDidTimeout=currentDidTimeout;currentDidTimeout=didTimeout;try{if(didTimeout)for(;null!==firstCallbackNode;){var currentTime=exports.unstable_now();if(!(firstCallbackNode.expirationTime<=currentTime))break;do{flushFirstCallback()}while(null!==firstCallbackNode&&firstCallbackNode.expirationTime<=currentTime)}else if(null!==firstCallbackNode)do{flushFirstCallback()}while(null!==firstCallbackNode&&!shouldYieldToHost())}finally{isExecutingCallback=!1,currentDidTimeout=previousDidTimeout,null!==firstCallbackNode?ensureHostCallbackIsScheduled():isHostCallbackScheduled=!1,flushImmediateWork()}}function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case 1:case 2:case 3:case 4:case 5:break;default:priorityLevel=3}var previousPriorityLevel=currentPriorityLevel,previousEventStartTime=currentEventStartTime;currentPriorityLevel=priorityLevel,currentEventStartTime=exports.unstable_now();try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel,currentEventStartTime=previousEventStartTime,flushImmediateWork()}}function unstable_next(eventHandler){var priorityLevel=void 0;switch(currentPriorityLevel){case 1:case 2:case 3:priorityLevel=3;break;default:priorityLevel=currentPriorityLevel}var previousPriorityLevel=currentPriorityLevel,previousEventStartTime=currentEventStartTime;currentPriorityLevel=priorityLevel,currentEventStartTime=exports.unstable_now();try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel,currentEventStartTime=previousEventStartTime,flushImmediateWork()}}function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel,previousEventStartTime=currentEventStartTime;currentPriorityLevel=parentPriorityLevel,currentEventStartTime=exports.unstable_now();try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel,currentEventStartTime=previousEventStartTime,flushImmediateWork()}}}function unstable_scheduleCallback(callback,deprecated_options){var startTime=-1!==currentEventStartTime?currentELine truncated
|
||||
Vendored
-86
@@ -1,86 +0,0 @@
|
||||
#!/usr/bin/env node
|
||||
module.exports=(()=>{var __webpack_modules__={49775:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-compat"}')},35729:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-dlx"}')},37904:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-essentials"}')},17508:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-file"}')},84779:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-git"}')},88454:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-github"}')},91953:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-http"}')},63756:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-init"}')},23100:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-link"}')},47047:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-node-modules"}')},31880:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-npm-cli"}')},67310:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-npm"}')},74617:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-pack"}')},12437:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-patch"}')},8211:e=>{"use strict";e.exports=JSON.parse('{"u2":"@yarnpkg/plugin-pnp"}')},80150:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(84132);const i={optional:!0},o=[["@samverschueren/stream-to-observable@*",{peerDependenciesMeta:{rxjs:i,zenObservable:i}}],["any-observable@<0.5.1",{peerDependenciesMeta:{rxjs:i,zenObservable:i}}],["@pm2/agent@<1.0.4",{dependencies:{debug:"*"}}],["debug@*",{peerDependenciesMeta:{"supports-color":i}}],["got@<11",{dependencies:{"@types/responselike":"^1.0.0","@types/keyv":"^3.1.1"}}],["cacheable-lookup@<4.1.2",{dependencies:{"@types/keyv":"^3.1.1"}}],["http-link-dataloader@*",{peerDependencies:{graphql:"^0.13.1 || ^14.0.0"}}],["typescript-language-server@*",{dependencies:{"vscode-jsonrpc":"^5.0.1","vscode-languageserver-protocol":"^3.15.0"}}],["postcss-syntax@*",{peerDependenciesMeta:{"postcss-html":i,"postcss-jsx":i,"postcss-less":i,"postcss-markdown":i,"postcss-scss":i}}],["jss-plugin-rule-value-function@<=10.1.1",{dependencies:{"tiny-warning":"^1.0.2"}}]],s=r(78761).brotliDecompressSync(Buffer.from("G8EIABwHuTnyDkxeQiomXep01zJ90cJ3iFSgGcnN+dVTE5YC1CBsZn0bRMFnq2+/bPJOWLRlcCblbWaytN6yn94lDuHQVXEMzob/mhDOafB/uXcOjPnzEX5TF8I/4H+A7n4PCzSY0xTuWjDfxxV8F1neM4x7jymltl+dnYEp13SxCOpkQxUClagaNItavHVUdwD73pT3+c52oJFtOTmagkX/GAaKFyr1bLfAnKMY+OZmY+0YsC6Sci7AJQI2zADQHhdIcc03Dz+GOC05kpj3M0kiNKsdFu1U3ornmwco/hOeYDp3IUlCIQqaE6eg8ho+SQaBwAeE4PktvsKmDJJy8fXAx0jTz4Oj2wWKVgNnuMz/CR5AZNuo2eZk0HwujkkFQBytGPu+p1RoCpRBYVcTf7REjfuVBUIa+MgTpb+ZaKgASLlmw2dFNlIsdYEsSntc1vhEJfQLSkVdBXXK67OUoZjcjVu8DPd8oSwu1vK52tVmsLNeekvJW3ss4Z1+thxuul1A0bzLBLT7MQMQxaGNFQUpvaAsmmOVo1hZFKHViytsKRvkULx6+VpOghLO9W/tHqSTQkqQkLWIKtzBlsPNUviOym6eOz3jjDM43Jfi2pXbla5apaLf+jR3njZPcG1zp9bxgi6Acg2V4n8rU8+1ANM2CXkW5tkqS6QfhnL1z8/s5G8r/f4omOaXOkzbHh9HdPhfxz9Tftr698n6L7UYF/L089Ch+9QgeDSlUXdaBAyLU3G6bkC5ygWmNqZMBYJHB6iFj4uo0iI9yR5r3KUooI0Zg1IkiYsgqxR8jMug6VgwtyIaxNxP30CqZH3zo/g16/wof1VdCLhd+YIOeBHFhA/D2eAvyld7FIAT8EiOA1Msg41mq8UNYCwZt2Pc519uZYhp9gP6kOwhcU+Ydc0CsPIqfy0ZGgbIKNYGZ+RP4ESfRzdDW6vhSsXuu2VB29YEdri/7CbQ7XCsVevHtY2mms7dVEMb6Wa/Ln6ZokATZTjZ/kMMNoWEp0AqBKG0DaCyBxlBsylqymr/6xM+mxOAAVREIXXGnW4IXuQ5oSGimw0C7BKZb3ZDLEWtkWXM5FB7jjp37QA=","base64")).toString(),A=r(78761).brotliDecompressSync(Buffer.from("G1QTIIzURnVBnGa0VPvr81orV8AFIqdU0sqrdcVgCdukgAZwi8a50gLk9+19Z2NcUILjmzXkzt4dzm5a6Yoys+/9qnKiaApXukOiuoyUaMcynG4X7X4vBaIE/PL30gwG6HSGJkLxb9PnLjfMr+748n7sM6C/NycK6ber/bX1reVVxta6W/31tZIhfrS+upoE/TPRHj0S/l0T59gTGdtKOp1OmMOJt9rhfucDdLJ2tgyfnO+u4YMkQAcYq/nebTcDmbXhqhgo6iQA4M3m4xya4Cos3p6klmkmQT+S4DLDZfwfMF+sUCx36KleOtaHLQfEIz0Bmncj/Ngi3lqOl4391EWEfIss6gVp3oDUGwsSZJKeOVONJWZg+Mue3KUMV3aMqYJ+7b2219D+GFDi8EV5y/Y+5J+He0oNjKAgqLsJziEsS9uIaCu3BHBKSXxNKKa2ShbfglcWoiiVT2kfGI7Gw+YJ/Sqy1H6wdFWtyVUQIa82JPwbeV25YKLzc5ZIFM6GCPSA+J9dTvJbs5LuuKnLP3f09gCu2jxqsAv6CA+ZySVaUJr2d3A70BC/uBCKr2OVrWgC3fSwb7NlfkgSEEiejrMGvhya9lMbVI6lMsFKN330A1/FOaefHQdNGLEZ3IwFF87H3xVlM0Xxsmbi/7A60oymRcIe0tH90alG6ez/yA7jwYotxuHWZdR+1HlMcddGHAV6QD/gXYPV0wnNv47I+5FGevzZFMqWSO8GU4nQ3FjsdgdJcD+c1rvudERKuLyd7bxiBpnsMDHsvPP4nXdXkld/gUNks3GAE1Otmb90bavDyiw4Mrx496Iw+jbLTgsCZGZXSZ9vM55C7KGe4HyJAKXEk0iT/Cj/PFwLJBN7pcP7ZFfYtUApGTWKkYhI9IE2zt/5ByH72wdvH+88b71zuv/FMCX3w6x5nzhY44Cg5IYv9LeKwHuHIWgPbfgrAcUxOlKkPRdQOIDF/aBuLPJAXD+TgxCNXx4jQxeR/qlBWVikFPfEI4rXMUc4kZ2w9KbPKYRvFUag0dVlVoyUP4zfidbTXAdZF88jAckl+NHjLFCNdX7EQ1PbLSOl+P+MqgwEOCi6dxgWZ7NCwJBjWKpk1LaxwKrhZ4aEC/0lMPJYe5S8xAakDcmA2kSS86GjEMTrv3VEu0S0YGZcxToMV524G4WAc4CReePePdipvs4aXRL5p+aeN96yfMGjsiTbQNxgbdRKc+keQ+NxYIEm1mBtEO29WrcbrqNbQRMR66KpGG4aG0NtmRyZ2JhUvu0paCklRlID8PT3gSiwZrqr4XZXoBBzBMrveWCuOg7iTgGDXDdbGi8XHkQf5KXDGFUxWueu5wkSa6gMWY1599g2piQjwBKIAPt4N5cOZdFBidz2feGwEAy1j1UydGxDSCCUsh314cUIIRV/dWCheceubL2gU8CibewmP7UxmN5kN4I7zfQhPxkP0NCcei8GXQpw4c3krEzW7PR2hgi/hqqqR58UJ/ZVfWxfcH5ZKMo4itkmPK0FCGxzzIRP20lK/gz28Y03sY233KvSVWUKl9rcbX6MbHjpUG8MvNlw72p6FwTejv92zgpnCxVJnIHHZhCBxNcHF5RTveRp513hUtTHHq4BLine truncated
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
function n(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var A=e.length-1;A>=0;A--)(i=e[A])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}r.Entries={};class i extends r{async execute(){this.context.stdout.write(this.cli.usage(null))}}n([r.Path("--help"),r.Path("-h")],i.prototype,"execute",null);class o extends r{async execute(){var e;this.context.stdout.write((null!==(e=this.cli.binaryVersion)&&void 0!==e?e:"<unknown>")+"\n")}}n([r.Path("--version"),r.Path("-v")],o.prototype,"execute",null);const s=/^(-h|--help)(?:=([0-9]+))?$/,A=/^(--[a-z]+(?:-[a-z]+)*|-[a-zA-Z]+)$/,a=/^-[a-zA-Z]{2,}$/,c=/^([^=]+)=([\s\S]*)$/,u="1"===process.env.DEBUG_CLI;class l extends Error{constructor(e){super(e),this.clipanion={type:"usage"},this.name="UsageError"}}class h extends Error{constructor(e,t){if(super(),this.input=e,this.candidates=t,this.clipanion={type:"none"},this.name="UnknownSyntaxError",0===this.candidates.length)this.message="Command not found, but we're not sure what's the alternative.";else if(1===this.candidates.length&&null!==this.candidates[0].reason){const[{usage:e,reason:t}]=this.candidates;this.message=`${t}\n\n$ ${e}`}else if(1===this.candidates.length){const[{usage:t}]=this.candidates;this.message=`Command not found; did you mean:\n\n$ ${t}\n${f(e)}`}else this.message=`Command not found; did you mean one of:\n\n${this.candidates.map(({usage:e},t)=>`${(t+".").padStart(4)} ${e}`).join("\n")}\n\n${f(e)}`}}class g extends Error{constructor(e,t){super(),this.input=e,this.usages=t,this.clipanion={type:"none"},this.name="AmbiguousSyntaxError",this.message=`Cannot find who to pick amongst the following alternatives:\n\n${this.usages.map((e,t)=>`${(t+".").padStart(4)} ${e}`).join("\n")}\n\n${f(e)}`}}const f=e=>"While running "+e.filter(e=>"\0"!==e).map(e=>{const t=JSON.stringify(e);return e.match(/\s/)||0===e.length||t!==`"${e}"`?t:e}).join(" ");function p(e){u&&console.log(e)}function d(e,t){return e.nodes.push(t),e.nodes.length-1}function C(e,t,r=!1){p("Running a vm on "+JSON.stringify(t));let n=[{node:0,state:{candidateUsage:null,errorMessage:null,ignoreOptions:!1,options:[],path:[],positionals:[],remainder:null,selectedIndex:null}}];!function(e,{prefix:t=""}={}){p(t+"Nodes are:");for(let r=0;r<e.nodes.length;++r)p(`${t} ${r}: ${JSON.stringify(e.nodes[r])}`)}(e,{prefix:" "});const i=["",...t];for(let o=0;o<i.length;++o){const s=i[o];p(" Processing "+JSON.stringify(s));const A=[];for(const{node:t,state:a}of n){p(" Current node is "+t);const n=e.nodes[t];if(2===t){A.push({node:t,state:a});continue}console.assert(0===n.shortcuts.length,"Shortcuts should have been eliminated by now");const c=Object.prototype.hasOwnProperty.call(n.statics,s);if(!r||o<i.length-1||c)if(c){const e=n.statics[s];for(const{to:t,reducer:r}of e)A.push({node:t,state:void 0!==r?b(x,r,a,s):a}),p(` Static transition to ${t} found`)}else p(" No static transition found");else{let e=!1;for(const t of Object.keys(n.statics))if(t.startsWith(s)){if(s===t)for(const{to:e,reducer:r}of n.statics[t])A.push({node:e,state:void 0!==r?b(x,r,a,s):a}),p(` Static transition to ${e} found`);else for(const{to:e,reducer:r}of n.statics[t])A.push({node:e,state:Object.assign(Object.assign({},a),{remainder:t.slice(s.length)})}),p(` Static transition to ${e} found (partial match)`);e=!0}e||p(" No partial static transition found")}if("\0"!==s)for(const[e,{to:t,reducer:r}]of n.dynamics)b(k,e,a,s)&&(A.push({node:t,state:void 0!==r?b(x,r,a,s):a}),p(` Dynamic transition to ${t} found (via ${e})`))}if(0===A.length)throw new h(t,n.filter(({node:e})=>2!==e).map(({state:e})=>({usage:e.candidateUsage,reason:null})));if(A.every(({node:e})=>2===e))throw new h(t,A.map(({state:e})=>({usage:e.candidateUsage,reason:e.errorMessage})));n=m(A)}if(n.length>0){p(" Results:");for(const e of n)p(` - ${e.node} -> ${JSON.stringify(e.state)}`)}else p(" No results");return n}function E(e,t){if(null!==t.selectedIndex)return!0;if(Object.prototype.hasOwnProperty.call(e.statics,"\0"))for(const{to:t}of e.statics["\0"])if(1===t)return!0;return!1}function I(e,t){return function(e,t){const r=t.filter(e=>null!==e.selectedIndex);if(0===r.length)throw new Error;let n=0;for(const e of r)e.path.length>n&&(n=e.path.length);const i=r.filter(e=>e.path.length===n),o=e=>e.positionals.filter(({extra:e})=>!e).length+e.options.length,s=i.map(e=>({state:e,positionalCount:o(e)}));let A=0;for(const{positionalCount:e}of s)e>A&&(A=e);const a=function(e){const t=[],r=[];for(const n of e)-1===n.selectedIndex?r.push(...n.options):t.push(n);r.length>0&&t.push({candidateUsage:null,errorMessage:null,ignoreOptions:!1,path:[],positionals:[],options:r,remainder:null,selectedIndex:-1});return t}(s.filter(({positionalCount:e})=>e===A).map(({state:e})=>e));if(a.length>1)throw new g(e,a.map(e=>e.candidateUsage)Line truncated
|
||||
/*!
|
||||
* fill-range <https://github.com/jonschlinkert/fill-range>
|
||||
*
|
||||
* Copyright (c) 2014-present, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/const n=r(31669),i=r(84615),o=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),s=e=>"number"==typeof e||"string"==typeof e&&""!==e,A=e=>Number.isInteger(+e),a=e=>{let t=""+e,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},c=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},u=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},l=(e,t,r,n)=>{if(r)return i(e,t,{wrap:!1,...n});let o=String.fromCharCode(e);return e===t?o:`[${o}-${String.fromCharCode(t)}]`},h=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return i(e,t,r)},g=(...e)=>new RangeError("Invalid range arguments: "+n.inspect(...e)),f=(e,t,r)=>{if(!0===r.strictRanges)throw g([e,t]);return[]},p=(e,t,r=1,n={})=>{let i=Number(e),o=Number(t);if(!Number.isInteger(i)||!Number.isInteger(o)){if(!0===n.strictRanges)throw g([e,t]);return[]}0===i&&(i=0),0===o&&(o=0);let s=i>o,A=String(e),f=String(t),p=String(r);r=Math.max(Math.abs(r),1);let d=a(A)||a(f)||a(p),C=d?Math.max(A.length,f.length,p.length):0,E=!1===d&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,n),I=n.transform||(e=>t=>!0===e?Number(t):String(t))(E);if(n.toRegex&&1===r)return l(u(e,C),u(t,C),!0,n);let m={negatives:[],positives:[]},y=[],w=0;for(;s?i>=o:i<=o;)!0===n.toRegex&&r>1?m[(B=i)<0?"negatives":"positives"].push(Math.abs(B)):y.push(c(I(i,w),C,E)),i=s?i-r:i+r,w++;var B;return!0===n.toRegex?r>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 r,n=t.capture?"":"?:",i="",o="";return e.positives.length&&(i=e.positives.join("|")),e.negatives.length&&(o=`-(${n}${e.negatives.join("|")})`),r=i&&o?`${i}|${o}`:i||o,t.wrap?`(${n}${r})`:r})(m,n):h(y,null,{wrap:!1,...n}):y},d=(e,t,r,n={})=>{if(null==t&&s(e))return[e];if(!s(e)||!s(t))return f(e,t,n);if("function"==typeof r)return d(e,t,1,{transform:r});if(o(r))return d(e,t,0,r);let i={...n};return!0===i.capture&&(i.wrap=!0),r=r||i.step||1,A(r)?A(e)&&A(t)?p(e,t,r,i):((e,t,r=1,n={})=>{if(!A(e)&&e.length>1||!A(t)&&t.length>1)return f(e,t,n);let i=n.transform||(e=>String.fromCharCode(e)),o=(""+e).charCodeAt(0),s=(""+t).charCodeAt(0),a=o>s,c=Math.min(o,s),u=Math.max(o,s);if(n.toRegex&&1===r)return l(c,u,!1,n);let g=[],p=0;for(;a?o>=s:o<=s;)g.push(i(o,p)),o=a?o-r:o+r,p++;return!0===n.toRegex?h(g,null,{wrap:!1,options:n}):g})(e,t,Math.max(Math.abs(r),1),i):null==r||o(r)?d(e,t,1,r):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(r,i)};e.exports=d},50683:e=>{e.exports=function(e){return[...e].reduce((e,[t,r])=>(e[t]=r,e),{})}},13302:(e,t,r)=>{e.exports=r(35747).constants||r(27619)},28123:(e,t,r)=>{"use strict";const n=r(44380),i=r(28614).EventEmitter,o=r(35747),s=process.binding("fs"),A=(s.writeBuffers,s.FSReqWrap),a=Symbol("_autoClose"),c=Symbol("_close"),u=Symbol("_ended"),l=Symbol("_fd"),h=Symbol("_finished"),g=Symbol("_flags"),f=Symbol("_flush"),p=Symbol("_handleChunk"),d=Symbol("_makeBuf"),C=Symbol("_mode"),E=Symbol("_needDrain"),I=Symbol("_onerror"),m=Symbol("_onopen"),y=Symbol("_onread"),w=Symbol("_onwrite"),B=Symbol("_open"),Q=Symbol("_path"),v=Symbol("_pos"),D=Symbol("_queue"),b=Symbol("_read"),S=Symbol("_readSize"),k=Symbol("_reading"),x=Symbol("_remain"),F=Symbol("_size"),M=Symbol("_write"),N=Symbol("_writing"),R=Symbol("_defaultFlag");class K extends n{constructor(e,t){if(super(t=t||{}),this.writable=!1,"string"!=typeof e)throw new TypeError("path must be a string");this[l]="number"==typeof t.fd?t.fd:null,this[Q]=e,this[S]=t.readSize||16777216,this[k]=!1,this[F]="number"==typeof t.size?t.size:1/0,this[x]=this[F],this[a]="boolean"!=typeof t.autoClose||t.autoClose,"number"==typeof this[l]?this[b]():this[B]()}get fd(){return this[l]}get path(){return this[Q]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[B](){o.open(this[Q],"r",(e,t)=>this[m](e,t))}[m](e,t){e?this[I](e):(this[l]=t,this.emit("open",t),this[b]())}[d](){return Buffer.allocUnsafe(Math.min(this[S],this[x]))}[b](){if(!this[k]){this[k]=!0;const e=this[d]();if(0===e.length)return process.nextTick(()=>this[y](null,0,e));o.read(this[l],e,0,e.length,null,(e,t,r)=>this[y](e,t,r))}}[y](e,t,r){this[k]=!1,e?this[I](e):this[p](t,r)&&this[b]()}[c](){this[a]&&"number"==typeof this[l]&&(o.close(this[l],e=>this.emit("close")),this[l]=null)}[I](e){this[k]=!0,this[c](),this.emit("error",e)}[p](e,t){let r=!1;return this[x]-=e,e>0&&(r=super.write(e<t.length?t.slice(0,e):t)),(0===e||this[x]<=0)&&(r=!1,this[c](),super.end()),r}emit(e,t){switch(e){case"prefinish":case"finish":break;case"drain":"number"==typeof this[l]&&this[b]();break;default:return super.emit(e,t)}}}class L extends i{constructor(e,t){super(t=t||{}),this.readable=!1,this[N]=!1,this[u]=!1,this[E]=!1,this[D]=[],this[Q]=e,this[l]="number"==typeof t.fd?t.fd:nLine truncated
|
||||
/*!
|
||||
* 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}},7347:e=>{"use strict";const t=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141));e.exports=t,e.exports.default=t},18193:(e,t,r)=>{
|
||||
/*!
|
||||
* is-glob <https://github.com/jonschlinkert/is-glob>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
var n=r(44486),i={"{":"}","(":")","[":"]"},o=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/,s=/\\(.)|(^!|[*?{}()[\]]|\(\?)/;e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(n(e))return!0;var r,A=o;for(t&&!1===t.strict&&(A=s);r=A.exec(e);){if(r[2])return!0;var a=r.index+r[0].length,c=r[1],u=c?i[c]:null;if(c&&u){var l=e.indexOf(u,a);-1!==l&&(a=l+1)}e=e.slice(a)}return!1}},59235:e=>{"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))}},61047:e=>{e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},97369:(e,t)=>{var r,n,i,o;
|
||||
/*!
|
||||
* is-windows <https://github.com/jonschlinkert/is-windows>
|
||||
*
|
||||
* Copyright © 2015-2018, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/o=function(){"use strict";return function(){return process&&("win32"===process.platform||/^(msys|cygwin)$/.test(process.env.OSTYPE))}},t&&"object"==typeof t?e.exports=o():(n=[],void 0===(i="function"==typeof(r=o)?r.apply(t,n):r)||(e.exports=i))},64151:(e,t,r)=>{var n;r(35747);function i(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(r,n){i(e,t||{},(function(e,t){e?n(e):r(t)}))}))}n(e,t||{},(function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n)}))}n="win32"===process.platform||global.TESTING_WINDOWS?r(3202):r(2151),e.exports=i,i.sync=function(e,t){try{return n.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}}},2151:(e,t,r)=>{e.exports=i,i.sync=function(e,t){return o(n.statSync(e),t)};var n=r(35747);function i(e,t,r){n.stat(e,(function(e,n){r(e,!e&&o(n,t))}))}function o(e,t){return e.isFile()&&function(e,t){var r=e.mode,n=e.uid,i=e.gid,o=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),A=parseInt("100",8),a=parseInt("010",8),c=parseInt("001",8),u=A|a;return r&c||r&a&&i===s||r&A&&n===o||r&u&&0===o}(e,t)}},3202:(e,t,r)=>{e.exports=o,o.sync=function(e,t){return i(n.statSync(e),e,t)};var n=r(35747);function i(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1}(t,r)}function o(e,t,r){n.stat(e,(function(n,o){r(n,!n&&i(o,e,t))}))}},21194:(e,t,r)=>{"use strict";var n=r(40744);e.exports=n},40744:(e,t,r)=>{"use strict";var n=r(55384),i=r(24129);function o(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=r(81704),e.exports.Schema=r(8212),e.exports.FAILSAFE_SCHEMA=r(44413),e.exports.JSON_SCHEMA=r(45247),e.exports.CORE_SCHEMA=r(8769),e.exports.DEFAULT_SAFE_SCHEMA=r(65483),e.exports.DEFAULT_FULL_SCHEMA=r(5235),e.exports.load=n.load,e.exports.loadAll=n.loadAll,e.exports.safeLoad=n.safeLoad,e.exports.safeLoadAll=n.safeLoadAll,e.exports.dump=i.dump,e.exports.safeDump=i.safeDump,e.exports.YAMLException=r(17345),e.exports.MINIMAL_SCHEMA=r(44413),e.exports.SAFE_SCHEMA=r(65483),e.exports.DEFAULT_SCHEMA=r(5235),e.exports.scan=o("scan"),e.exports.parse=o("parse"),e.exports.compose=o("compose"),e.exports.addConstructor=o("addConstructor")},28149:e=>{"use strict";function t(e){return null==e}e.exports.isNothing=t,e.exports.isObject=function(e){return"object"==typeof e&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:t(e)?[]:[e]},e.exports.repeat=function(e,t){var r,n="";for(r=0;r<t;r+=1)n+=e;return n},e.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},e.exports.extend=function(e,t){var r,n,i,o;if(t)for(r=0,n=(o=Object.keys(t)).length;r<n;r+=1)e[i=o[r]]=t[i];return e}},24129:(e,t,r)=>{"use strict";var n=r(28149),i=r(17345),o=r(5235),s=r(65483),A=Object.prototype.toString,a=Object.prototype.hasOwnProperty,c={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},u=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function l(e){var t,r,o;if(t=e.toString(16).toUpperCase(),e<=255)r="x",o=2;else if(e<=65535)r="u",o=4;else{if(!(e<=4294967295))throw new i("code point within a string may not be greater than 0xFFFFFFFF");r="U",o=8}return"\\"+r+n.repeat("0",o-t.length)+t}function h(e){this.schema=e.schema||o,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=n.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,i,o,s,A,c;if(null===t)return{};for(r={},i=0,o=(n=Object.keys(t)).length;i<o;i+=1)s=n[i],A=String(t[s]),"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2)),(c=e.compiledTypeMap.fallback[s])&&a.call(c.styleAliases,A)&&(A=c.styleAliases[A]),r[s]=A;return r}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function g(e,t){for(var r,i=n.repeat(" ",t),o=0,s=-1,A="",a=e.length;o<a;)-1===(s=e.indexOf("\n",o))?(r=e.slice(o),o=a):(r=e.slice(o,s+1),o=s+1),r.length&&"\n"!==r&&(A+=i),A+=r;return A}function f(e,t){return"\n"+n.repeat(" ",e.indent*t)}function p(e){return 32===e||9===e}function d(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function C(e){return d(e)&&65279!==e&&44!==e&&91!==e&&93!==e&&123Line truncated
|
||||
/**
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||
* 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
|
||||
*/e=r.nmd(e),function(){var i="Expected a function",o="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],A="[object Arguments]",a="[object Array]",c="[object Boolean]",u="[object Date]",l="[object Error]",h="[object Function]",g="[object GeneratorFunction]",f="[object Map]",p="[object Number]",d="[object Object]",C="[object RegExp]",E="[object Set]",I="[object String]",m="[object Symbol]",y="[object WeakMap]",w="[object ArrayBuffer]",B="[object DataView]",Q="[object Float32Array]",v="[object Float64Array]",D="[object Int8Array]",b="[object Int16Array]",S="[object Int32Array]",k="[object Uint8Array]",x="[object Uint16Array]",F="[object Uint32Array]",M=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,R=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,T=RegExp(K.source),P=RegExp(L.source),U=/<%-([\s\S]+?)%>/g,_=/<%([\s\S]+?)%>/g,O=/<%=([\s\S]+?)%>/g,j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,J=/[\\^$.*+?()[\]{}|]/g,H=RegExp(J.source),q=/^\s+|\s+$/g,z=/^\s+/,W=/\s+$/,V=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,Z=/,? & /,$=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,ne=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,oe=/^\[object .+?Constructor\]$/,se=/^0o[0-7]+$/i,Ae=/^(?:0|[1-9]\d*)$/,ae=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ce=/($^)/,ue=/['\n\r\u2028\u2029\\]/g,le="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",he="\\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",ge="[\\ud800-\\udfff]",fe="["+he+"]",pe="["+le+"]",de="\\d+",Ce="[\\u2700-\\u27bf]",Ee="[a-z\\xdf-\\xf6\\xf8-\\xff]",Ie="[^\\ud800-\\udfff"+he+de+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",me="\\ud83c[\\udffb-\\udfff]",ye="[^\\ud800-\\udfff]",we="(?:\\ud83c[\\udde6-\\uddff]){2}",Be="[\\ud800-\\udbff][\\udc00-\\udfff]",Qe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ve="(?:"+Ee+"|"+Ie+")",De="(?:"+Qe+"|"+Ie+")",be="(?:"+pe+"|"+me+")"+"?",Se="[\\ufe0e\\ufe0f]?"+be+("(?:\\u200d(?:"+[ye,we,Be].join("|")+")[\\ufe0e\\ufe0f]?"+be+")*"),ke="(?:"+[Ce,we,Be].join("|")+")"+Se,xe="(?:"+[ye+pe+"?",pe,we,Be,ge].join("|")+")",Fe=RegExp("['’]","g"),Me=RegExp(pe,"g"),Ne=RegExp(me+"(?="+me+")|"+xe+Se,"g"),Re=RegExp([Qe+"?"+Ee+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[fe,Qe,"$"].join("|")+")",De+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[fe,Qe+ve,"$"].join("|")+")",Qe+"?"+ve+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Qe+"+(?:['’](?: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_])",de,ke].join("|"),"g"),Ke=RegExp("[\\u200d\\ud800-\\udfff"+le+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Te=["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"],Pe=-1,Ue={};Ue[Q]=Ue[v]=Ue[D]=Ue[b]=Ue[S]=Ue[k]=Ue["[object Uint8ClampedArray]"]=Ue[x]=Ue[F]=!0,Ue[A]=Ue[a]=Ue[w]=Ue[c]=Ue[B]=Ue[u]=Ue[l]=Ue[h]=Ue[f]=Ue[p]=Ue[d]=Ue[C]=Ue[E]=Ue[I]=Ue[y]=!1;var _e={};_e[A]=_e[a]=_e[w]=_e[B]=_e[c]=_e[u]=_e[Q]=_e[v]=_e[D]=_e[b]=_e[S]=_e[f]=_e[p]=_e[d]=_e[C]=_e[E]=_e[I]=_e[m]=_e[k]=_e["[object Uint8ClampedArray]"]=_e[x]=_e[F]=!0,_e[l]=_e[h]=_e[y]=!1;var Oe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},je=parseFloat,Ye=parseInt,Ge="object"==typeof global&&global&&global.Object===Object&&global,Je="object"==typeof self&&self&&self.Object===Object&&self,He=Ge||Je||Function("return this")(),qe=t&&!t.nodeType&&t,ze=qe&&e&&!e.nodeType&&e,We=ze&&ze.exports===qe,Ve=We&&Ge.process,Xe=function(){try{var e=ze&&ze.require&&ze.require("util").types;return e||Ve&&Ve.binding&&Ve.binding("util")}catch(e){}}(),Ze=Xe&&Xe.isArrayBuffer,$e=Xe&&Xe.isDate,et=Xe&&Xe.isMap,tt=Xe&&Xe.isRegExp,rt=Xe&&Xe.isSet,nt=Xe&&Xe.isTypedArray;function it(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function ot(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(n,s,r(s),e)}return n}function st(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function At(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function at(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function ct(e,t){for(var r=-1,n=null==e?Line truncated
|
||||
/*!
|
||||
* Tmp
|
||||
*
|
||||
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
|
||||
*
|
||||
* MIT Licensed
|
||||
*/
|
||||
const n=r(35747),i=r(85622),o=r(76417),s=r(82941),A=process.binding("constants"),a=s(),c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",u=/XXXXXX/,l=(A.O_CREAT||A.fs.O_CREAT)|(A.O_EXCL||A.fs.O_EXCL)|(A.O_RDWR||A.fs.O_RDWR),h=A.EBADF||A.os.errno.EBADF,g=A.ENOENT||A.os.errno.ENOENT,f=[];var p=!1,d=!1;function C(e){var t=[],r=null;try{r=o.randomBytes(e)}catch(t){r=o.pseudoRandomBytes(e)}for(var n=0;n<e;n++)t.push(c[r[n]%c.length]);return t.join("")}function E(e){return void 0===e}function I(e,t){return"function"==typeof e?[t||{},e]:E(e)?[{},t]:[e,t]}function m(e){if(e.name)return i.join(e.dir||a,e.name);if(e.template)return e.template.replace(u,C(6));const t=[e.prefix||"tmp-",process.pid,C(12),e.postfix||""].join("");return i.join(e.dir||a,t)}function y(e,t){var r=I(e,t),i=r[0],o=r[1],s=i.name?1:i.tries||3;return isNaN(s)||s<0?o(new Error("Invalid tries")):i.template&&!i.template.match(u)?o(new Error("Invalid template provided")):void function e(){const t=m(i);n.stat(t,(function(r){if(!r)return s-- >0?e():o(new Error("Could not get a unique tmp filename, max tries reached "+t));o(null,t)}))}()}function w(e){var t=I(e)[0],r=t.name?1:t.tries||3;if(isNaN(r)||r<0)throw new Error("Invalid tries");if(t.template&&!t.template.match(u))throw new Error("Invalid template provided");do{const e=m(t);try{n.statSync(e)}catch(t){return e}}while(r-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function B(e){const t=[e];do{for(var r=t.pop(),o=!1,s=n.readdirSync(r),A=0,a=s.length;A<a;A++){var c=i.join(r,s[A]);n.lstatSync(c).isDirectory()?(o||(o=!0,t.push(r)),t.push(c)):n.unlinkSync(c)}o||n.rmdirSync(r)}while(0!==t.length)}function Q(e,t,r){const i=D((function(e){try{0<=e[0]&&n.closeSync(e[0])}catch(e){if(!(t=e,k(t,-h,"EBADF")||S(e)))throw e}var t;try{n.unlinkSync(e[1])}catch(e){if(!S(e))throw e}}),[t,e]);return r.keep||f.unshift(i),i}function v(e,t){const r=D(t.unsafeCleanup?B:n.rmdirSync.bind(n),e);return t.keep||f.unshift(r),r}function D(e,t){var r=!1;return function n(i){if(!r){const i=f.indexOf(n);i>=0&&f.splice(i,1),r=!0,e(t)}i&&i(null)}}function b(){if(!d||p)for(;f.length;)try{f[0].call(null)}catch(e){}}function S(e){return k(e,-g,"ENOENT")}function k(e,t,r){return e.code==t||e.code==r}const x=process.versions.node.split(".").map((function(e){return parseInt(e,10)}));0===x[0]&&(x[1]<9||9===x[1]&&x[2]<5)&&process.addListener("uncaughtException",(function(e){throw d=!0,b(),e})),process.addListener("exit",(function(e){e&&(d=!0),b()})),e.exports.tmpdir=a,e.exports.dir=function(e,t){var r=I(e,t),i=r[0],o=r[1];y(i,(function(e,t){if(e)return o(e);n.mkdir(t,i.mode||448,(function(e){if(e)return o(e);o(null,t,v(t,i))}))}))},e.exports.dirSync=function(e){var t=I(e)[0];const r=w(t);return n.mkdirSync(r,t.mode||448),{name:r,removeCallback:v(r,t)}},e.exports.file=function(e,t){var r=I(e,t),i=r[0],o=r[1];i.postfix=E(i.postfix)?".tmp":i.postfix,y(i,(function(e,t){if(e)return o(e);n.open(t,l,i.mode||384,(function(e,r){return e?o(e):i.discardDescriptor?n.close(r,(function(e){if(e){try{n.unlinkSync(t)}catch(t){S(t)||(e=t)}return o(e)}o(null,t,void 0,Q(t,-1,i))})):i.detachDescriptor?o(null,t,r,Q(t,-1,i)):void o(null,t,r,Q(t,r,i))}))}))},e.exports.fileSync=function(e){var t=I(e)[0];t.postfix=t.postfix||".tmp";const r=t.discardDescriptor||t.detachDescriptor,i=w(t);var o=n.openSync(i,l,t.mode||384);return t.discardDescriptor&&(n.closeSync(o),o=void 0),{name:i,fd:o,removeCallback:Q(i,r?-1:o,t)}},e.exports.tmpName=y,e.exports.tmpNameSync=w,e.exports.setGracefulCleanup=function(){p=!0}},84615:(e,t,r)=>{"use strict";
|
||||
/*!
|
||||
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
||||
*
|
||||
* Copyright (c) 2015-present, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/const n=r(59235),i=(e,t,r)=>{if(!1===n(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===n(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let o={relaxZeros:!0,...r};"boolean"==typeof o.strictZeros&&(o.relaxZeros=!1===o.strictZeros);let a=e+":"+t+"="+String(o.relaxZeros)+String(o.shorthand)+String(o.capture)+String(o.wrap);if(i.cache.hasOwnProperty(a))return i.cache[a].result;let c=Math.min(e,t),u=Math.max(e,t);if(1===Math.abs(c-u)){let r=e+"|"+t;return o.capture?`(${r})`:!1===o.wrap?r:`(?:${r})`}let l=f(e)||f(t),h={min:e,max:t,a:c,b:u},g=[],p=[];if(l&&(h.isPadded=l,h.maxLen=String(h.max).length),c<0){p=s(u<0?Math.abs(u):1,Math.abs(c),h,o),c=h.a=0}return u>=0&&(g=s(c,u,h,o)),h.negatives=p,h.positives=g,h.result=function(e,t,r){let n=A(e,t,"-",!1,r)||[],i=A(t,e,"",!1,r)||[],o=A(e,t,"-?",!0,r)||[];return n.concat(o).concat(i).join("|")}(p,g,o),!0===o.capture?h.result=`(${h.result})`:!1!==o.wrap&&g.length+p.length>1&&(h.result=`(?:${h.result})`),i.cache[a]=h,h.result};function o(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=function(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}(e,t),i=n.length,o="",s=0;for(let e=0;e<i;e++){let[t,i]=n[e];t===i?o+=t:"0"!==t||"9"!==i?o+=g(t,i,r):s++}return s&&(o+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:o,count:[s],digits:i}}function s(e,t,r,n){let i,s=function(e,t){let r=1,n=1,i=u(e,r),o=new Set([t]);for(;e<=i&&i<=t;)o.add(i),r+=1,i=u(e,r);for(i=l(t+1,n)-1;e<i&&i<=t;)o.add(i),n+=1,i=l(t+1,n)-1;return o=[...o],o.sort(a),o}(e,t),A=[],c=e;for(let e=0;e<s.length;e++){let t=s[e],a=o(String(c),String(t),n),u="";r.isPadded||!i||i.pattern!==a.pattern?(r.isPadded&&(u=p(t,r,n)),a.string=u+a.pattern+h(a.count),A.push(a),c=t+1,i=a):(i.count.length>1&&i.count.pop(),i.count.push(a.count[0]),i.string=i.pattern+h(i.count),c=t+1)}return A}function A(e,t,r,n,i){let o=[];for(let i of e){let{string:e}=i;n||c(t,"string",e)||o.push(r+e),n&&c(t,"string",e)&&o.push(r+e)}return o}function a(e,t){return e>t?1:t>e?-1:0}function c(e,t,r){return e.some(e=>e[t]===r)}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function l(e,t){return e-e%Math.pow(10,t)}function h(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function g(e,t,r){return`[${e}${t-e==1?"":"-"}${t}]`}function f(e){return/^-?(0+)\d/.test(e)}function p(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=!1!==r.relaxZeros;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}i.cache={},i.clearCache=()=>i.cache={},e.exports=i},75158:e=>{function t(e,t){var r=e.length,n=new Array(r),i={},o=r,s=function(e){for(var t=new Map,r=0,n=e.length;r<n;r++){var i=e[r];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),A=function(e){for(var t=new Map,r=0,n=e.length;r<n;r++)t.set(e[r],r);return t}(e);for(t.forEach((function(e){if(!A.has(e[0])||!A.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)i[o]||a(e[o],o,new Set);return n;function a(e,t,o){if(o.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(e){c=""}throw new Error("Cyclic dependency"+c)}if(!A.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!i[t]){i[t]=!0;var u=s.get(e)||new Set;if(t=(u=Array.from(u)).length){o.add(e);do{var l=u[--t];a(l,A.get(l),o)}while(t);o.delete(e)}n[--r]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,r=0,n=e.length;r<n;r++){var i=e[r];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},94682:function(e){e.exports=function(){function e(t,r,n,i,o,s,A){var a,c,u="",l=0,h=i.slice(0);if(h.push([r,n])&&i.length>0&&(i.forEach((function(e,t){t>0&&(u+=(e[1]?" ":"│")+" "),c||e[0]!==r||(c=!0)})),u+=function(e,t){var r=t?"└":"├";return r+=e?"─ ":"──┐"}(t,n)+t,o&&("object"!=typeof r||r instanceof Date)&&(u+=": "+r),c&&(u+=" (circular ref.)"),A(u)),!c&&"object"==typeof r){var g=function(e,t){var r=[];for(var n in e)e.hasOwnProperty(n)&&(t&&"function"==typeof e[n]||r.push(n));return r}(r,s);g.forEach((function(t){a=++l===g.length,e(t,r[t],a,h,o,s,A)}))}}var t={asLines:function(t,r,n,i){e(".",t,!1,[],r,"function"!=typeof n&&n,i||n)},asTree:function(t,r,n){var i="";return e(".",t,!1,[],r,n,(function(e){i+=e+"\n"})),i}};return t}()},36370:(e,t,r)=>{"use strict";r.d(t,{ZT:()=>i,gn:()=>o});
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function o(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var A=e.length-1;A>=0;A--)(i=e[A])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}},98161:(e,t,r)=>{e.exports=r(69876)},69876:(e,t,r)=>{"use strict";r(11631);var n,i=r(4016),o=r(98605),s=r(57211),A=r(28614),a=(r(42357),r(31669));function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",(function(e,r,n,i){for(var o=l(r,n,i),s=0,A=t.requests.length;s<A;++s){var a=t.requests[s];if(a.host===o.host&&a.port===o.port)return t.requests.splice(s,1),void a.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function u(e,t){var r=this;c.prototype.createSocket.call(r,e,(function(n){var o=e.request.getHeader("host"),s=h({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host}),A=i.connect(0,s);r.sockets[r.sockets.indexOf(n)]=A,t(A)}))}function l(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function h(e){for(var t=1,r=arguments.length;t<r;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;o<s;++o){var A=i[o];void 0!==n[A]&&(e[A]=n[A])}}return e}t.httpOverHttp=function(e){var t=new c(e);return t.request=o.request,t},t.httpsOverHttp=function(e){var t=new c(e);return t.request=o.request,t.createSocket=u,t.defaultPort=443,t},t.httpOverHttps=function(e){var t=new c(e);return t.request=s.request,t},t.httpsOverHttps=function(e){var t=new c(e);return t.request=s.request,t.createSocket=u,t.defaultPort=443,t},a.inherits(c,A.EventEmitter),c.prototype.addRequest=function(e,t,r,n){var i=this,o=h({request:e},i.options,l(t,r,n));i.sockets.length>=this.maxSockets?i.requests.push(o):i.createSocket(o,(function(t){function r(){i.emit("free",t,o)}function n(e){i.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)}))},c.prototype.createSocket=function(e,t){var r=this,i={};r.sockets.push(i);var o=h({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(o.localAddress=e.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),n("making CONNECT request");var s=r.request(o);function A(o,A,a){var c;return s.removeAllListeners(),A.removeAllListeners(),200!==o.statusCode?(n("tunneling socket could not be established, statusCode=%d",o.statusCode),A.destroy(),(c=new Error("tunneling socket could not be established, statusCode="+o.statusCode)).code="ECONNRESET",e.request.emit("error",c),void r.removeSocket(i)):a.length>0?(n("got illegal response body from proxy"),A.destroy(),(c=new Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void r.removeSocket(i)):(n("tunneling connection has established"),r.sockets[r.sockets.indexOf(i)]=A,t(A))}s.useChunkedEncodingByDefault=!1,s.once("response",(function(e){e.upgrade=!0})),s.once("upgrade",(function(e,t,r){process.nextTick((function(){A(e,t,r)}))})),s.once("connect",A),s.once("error",(function(t){s.removeAllListeners(),n("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var o=new Error("tunneling socket could not be established, cause="+t.message);o.code="ECONNRESET",e.request.emit("error",o),r.removeSocket(i)})),s.end()},c.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(function(e){r.request.onSocket(e)}))}},n=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){},t.debug=n},5817:(e,t,r)=>{var n;e=r.nmd(e),function(){var r="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this||{},i=r._,o=Array.prototype,s=Object.prototype,A="undefined"!=typeof Symbol?Symbol.prototype:null,a=o.push,c=o.slice,u=s.toString,l=s.hasOwnProperty,h=Array.isArray,g=Object.keys,f=Object.create,p=function(){},d=function(e){return e instanceof d?e:this instanceof d?void(this._wrapped=e):new d(e)};t.nodeType?r._=d:(!e.nodeType&&e.exports&&(t=e.exports=d),t._=d),d.VERSION="1.9.1";var C,E=function(e,t,r){if(void 0===t)return e;switch(null==r?3:r){case 1:return functLine truncated
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
#!/usr/bin/env node
|
||||
module.exports=(()=>{var __webpack_modules__={80150:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(5624);const i={optional:!0},A=[["@samverschueren/stream-to-observable@*",{peerDependenciesMeta:{rxjs:i,zenObservable:i}}],["any-observable@<0.5.1",{peerDependenciesMeta:{rxjs:i,zenObservable:i}}],["@pm2/agent@<1.0.4",{dependencies:{debug:"*"}}],["debug@*",{peerDependenciesMeta:{"supports-color":i}}],["got@<11",{dependencies:{"@types/responselike":"^1.0.0","@types/keyv":"^3.1.1"}}],["cacheable-lookup@<4.1.2",{dependencies:{"@types/keyv":"^3.1.1"}}],["http-link-dataloader@*",{peerDependencies:{graphql:"^0.13.1 || ^14.0.0"}}],["typescript-language-server@*",{dependencies:{"vscode-jsonrpc":"^5.0.1","vscode-languageserver-protocol":"^3.15.0"}}],["postcss-syntax@*",{peerDependenciesMeta:{"postcss-html":i,"postcss-jsx":i,"postcss-less":i,"postcss-markdown":i,"postcss-scss":i}}],["jss-plugin-rule-value-function@<=10.1.1",{dependencies:{"tiny-warning":"^1.0.2"}}],["ink-select-input@*",{peerDependencies:{react:"^16.8.2"}}],["promise-inflight@*",{peerDependenciesMeta:{bluebird:i}}]];let o,s,a;const c=new Map([[n.structUtils.makeIdent(null,"fsevents").identHash,function(){return void 0===o&&(o=r(78761).brotliDecompressSync(Buffer.from("G8AcICwLeENqnk8o74LOyiZCqCn+nfkoHoOW2Wy/ZaLbawoJug0vEah6g6y0zM2VGKAGUXjpuyyX/35emYdTZ6IKvYYekxabWJ1MJUiPj18N39noRCXSRrg4d2/37WX2X0qjlXq3R++KiYujNAsyg/RYlEBIhMIYluF015kiMUIInfP/zLRSUC4vdAA5Hz54RWXtId4PIrS/APSpqXY7WSjFrGFx1NpG7a1wkmKkqQ3t1AEgHU4ayRIZccu55KrViKVdWamBsYZElYvL+xzjdHr7IAf3XDhHh294rE87BITNRj4i4r7zsis3y1dyzswVF4ICvCQhRQ44dvdWLhSmQW3++3Oy8IrUcOu0vcNk1UWyjgI/icHvNAC6WXkq6MXNs3+eOK1pkhb7wwvev2j5JPssZR293ExF+QYuwPyu/EKKFKCQkbYH1NZ9GlJ+DieCJ+8PFYF8renTSEr6GSJZTtzYrUIgN44cG5WnWJphIHh8mD5A6UGvfPC8RxSgpYPus/yoHw+idviDBeCWy+hxN5v2A2dDSuiz+tpLphJ01JO3IduKMVtNfr1qq/BLCqkP59S+vFP/Cof0sWbqkffhPFcl4SLIxWq1qFcKYDKzclwBBzVFiPWC7LlvMk9m8xGjaQ2R2P+BZR3anFJoyXATv0PvZnP/tioMsJJFC7f5gI9Fmy4U/LRUVo3N/OxY2a6kykxjwVvchhI5t5BdDPjYONcUTtkrzMtXFhSASbtzx7uIxYfhvs4/3mW6hKqwLBaipralUhPdfo5h4SiOic7o+oOUwl5/Aff6cyh3wEeDB4tVA79bq29MEeRfTV+Oe3fr/UhZQtkY0iE8vqSle2b58SXY0mkGmBiRjoPIkAFs1OSlJ3nSz9raEeB1ZWvJ2xiclGu1xTT6NRw3NaHU0k4R+4t0SIlltXJAW4kHj92+lB7TLjIWZfWfBNncDSYqP8jmg+jV7VyIgy/uk09ipbLdLM6Xr76rabkrZyQ3Qk8S71SEqlWRxEjWsKaELHnDeAxqaYrL0ITQr2S9xbXg0rnId4wtsQgZw21lye/up1/dTfXT+MkD5AP0i4YCh99d1V3sdxTAEDlI0nFBTjPoJwJnctqtFkgcP+Xakk36SgMSHuOZh/KUlex2NIizXmbBwicMK9s1LK6dQOqBuFZlX9lanWTwnVGuVvr3olrdhlClWC3T7S9NdfVsaYZKBDfYEZnTL7pZcKnE60KSutBZSaSgM+0BQbg1+qJHaVwb0X2Dhv70O7k7ALDJiNiA7GdsX1Ygf4ktBZv66did31wGeUm5JBJLemdjZHRa2YATgMFlye4t0hcz9ha4eXoVOc2EXHVqDdjeItztOwm7tBzcHR8Mwwb/HqtC/VKZC0IiH8TE/FE7x9SHWGUnTUNEBlucGudFTKYYlQaIjoANOgXsGLVtemCeplca3Wv1CMijvkZXTiUd8KmEZ2z6frw/kpo7gG/nDo2VkG6e+veL+scVhKDSObOXKcdtw+/Wbbw269oDLe5BLyqsR9VTc631RKspQYcCMx9M2xRKn7uZog504EXqMOPmUCHwW0yqiHxxoN+sMqYhjo/A8r4KAJ9TX7siey+38u6rhHYtDIMBKBk/lewEzgzDqFxxnqmvRK+XjeObr1axojyQobCerDLaHtzU1fwLHasuURSspKMhvR6QpWketRn2MJqMRLU0DQC0YCVLT+qeCS1LaZKQsQ0ZS1I1rKPmRjp7QQ2YDzdwpIHdTmPuBEIyIgXXiUQ/w6ZcFj4AA2ozg5zYaI5+3zGniD4ABtHXjuwGdRlRW6dngE5mECYu/0QnYwo5I6Z3KfM7BmZ/l4//i25lwXry79v/jxsAaMAc","base64")).toString()),o}],[n.structUtils.makeIdent(null,"resolve").identHash,function(){return void 0===s&&(s=r(78761).brotliDecompressSync(Buffer.from("G1QTIIzURnVBnGa0VPvr81orV8AFIqdU0sqrdcVgCdukgAZwi8a50gLk9+19Z2NcUILjmzXkzt4dzm5a6Yoys+/9qnKiaApXukOiuoyUaMcynG4X7X4vBaIE/PL30gwG6HSGJkLxb9PnLjfMr+748n7sM6C/NycK6ber/bX1reVVxta6W/31tZIhfrS+upoE/TPRHj0S/l0T59gTGdtKOp1OmMOJt9rhfucDdLJ2tgyfnO+u4YMkQAcYq/nebTcDmbXhqhgo6iQA4M3m4xya4Cos3p6klmkmQT+S4DLDZfwfMF+sUCx36KleOtaHLQfEIz0Bmncj/Ngi3lqOl4391EWEfIss6gVp3oDUGwsSZJKeOVONJWZg+Mue3KUMV3aMqYJ+7b2219D+GFDi8EV5y/Y+5J+He0oNjKAgqLsJziEsS9uIaCu3BHBKSXxNKKa2ShbfglcWoiiVT2kfGI7Gw+YJ/Sqy1H6wdFWtyVUQIa82JPwbeV25YKLzc5ZIFM6GCPSA+J9dTvJbs5LuuKnLP3f09gCu2jxqsAv6CA+ZySVaUJr2d3A70BC/uBCKr2OVrWgC3fSwb7NlfkgSEEiejrMGvhya9lMbVI6lMsFKN330A1/FOaefHQdNGLEZ3IwFF87H3xVlM0Xxsmbi/7A60oymRcIe0tH90alG6ez/yA7jwYotxuHWZdR+1HlMcddGHAV6QD/gXYPV0wnNv47I+5FGevzZFMqWSO8GU4nQ3FjsdgdJcD+c1rvudERKuLyd7bxiBpnsMDHsvPP4nXdXkld/gUNks3GAE1Otmb90bavDyiw4Mrx496Iw+jbLTgsCZGZXSZ9vM55C7KGe4HyJAKXEk0iT/Cj/PFwLJBN7pcP7ZFfYtUApGTWKkYhI9IE2zt/5ByH72wdvH+88b71zuv/FMCX3w6x5nzhY44Cg5IYv9LeKwHuHIWgPbfgrAcUxOlKkPRdQOIDF/aBuLPJAXD+TgxCNXx4jQxeR/qlBWVikFPfEI4rXMUc4kZ2w9KbPKYRvFUag0dVlVoyUP4zfidbTXAdZF88jAckl+NHjLFCNdX7EQ1PbLSOl+P+MqgwEOCi6dxgWZ7NCwJBjWKpk1LaxwKrhZ4aEC/0lMPJYe5S8xAakDcmA2kSS86GjEMTrv3VEu0S0YGZcxToMV524G4WAc4CReePePdipvs4aXRL5p+aeN96yfMGjsiTbQNxgbdRKc+keQ+NxYIEm1mBtEO29WrcbrqNbQRMR66KpGG4aG0NtmRyZ2JhUvu0paCklRlID8PT3gSiwZrqr4XZXoBBzBMrveWCuOg7iTgGDXDdbGi8XHkQf5KXDGFUxWueu5wkSa6gMWY1599g2piQjwBKIAPt4N5cOZdFBidz2feGwEAy1j1UydGxDSCCUsh314cUIIRV/dWCheceubL2gU8CibewmP7UxmN5kN4I7zfQhPxkP0NCcei8GXQpw4c3krEzW7PR2hgi/hqqqR58UJ/ZVfWxfcH5ZKMo4itkmPK0FCGxzzIRP20lK/gz28Y03sY233KvSVWUKl9rcbX6MbHjpUG8MvNlw72p6FwTejv92zgpnCxVJnIHHZhCBxNcHF5RTveRp513hUtTHHq4BIndlytZT5xoTSYfHKqKNr4o9kcGINIz6tZSKRdtbON3Ydr9cgqxHIeisMNIsvPg/IFMZuBbSqqDLeSO5dak1cGr76FtH2PC7hs0S0Oq3GsmF1Ga4Line truncated
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
function i(e,t,r,n){var i,A=arguments.length,o=A<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(A<3?i(o):A>3?i(t,r,o):i(t,r))||o);return A>3&&o&&Object.defineProperty(t,r,o),o}n.Entries={};class A extends n{async execute(){this.context.stdout.write(this.cli.usage(null))}}i([n.Path("--help"),n.Path("-h")],A.prototype,"execute",null);class o extends n{async execute(){var e;this.context.stdout.write((null!==(e=this.cli.binaryVersion)&&void 0!==e?e:"<unknown>")+"\n")}}i([n.Path("--version"),n.Path("-v")],o.prototype,"execute",null);const s=/^(-h|--help)(?:=([0-9]+))?$/,a=/^(--[a-z]+(?:-[a-z]+)*|-[a-zA-Z]+)$/,c=/^-[a-zA-Z]{2,}$/,g=/^([^=]+)=([\s\S]*)$/,l="1"===process.env.DEBUG_CLI;class u extends Error{constructor(e){super(e),this.clipanion={type:"usage"},this.name="UsageError"}}class h extends Error{constructor(e,t){if(super(),this.input=e,this.candidates=t,this.clipanion={type:"none"},this.name="UnknownSyntaxError",0===this.candidates.length)this.message="Command not found, but we're not sure what's the alternative.";else if(1===this.candidates.length&&null!==this.candidates[0].reason){const[{usage:e,reason:t}]=this.candidates;this.message=`${t}\n\n$ ${e}`}else if(1===this.candidates.length){const[{usage:t}]=this.candidates;this.message=`Command not found; did you mean:\n\n$ ${t}\n${p(e)}`}else this.message=`Command not found; did you mean one of:\n\n${this.candidates.map(({usage:e},t)=>`${(t+".").padStart(4)} ${e}`).join("\n")}\n\n${p(e)}`}}class f extends Error{constructor(e,t){super(),this.input=e,this.usages=t,this.clipanion={type:"none"},this.name="AmbiguousSyntaxError",this.message=`Cannot find who to pick amongst the following alternatives:\n\n${this.usages.map((e,t)=>`${(t+".").padStart(4)} ${e}`).join("\n")}\n\n${p(e)}`}}const p=e=>"While running "+e.filter(e=>"\0"!==e).map(e=>{const t=JSON.stringify(e);return e.match(/\s/)||0===e.length||t!==`"${e}"`?t:e}).join(" ");function C(e){l&&console.log(e)}function d(e,t){return e.nodes.push(t),e.nodes.length-1}function I(e,t,r=!1){C("Running a vm on "+JSON.stringify(t));let n=[{node:0,state:{candidateUsage:null,errorMessage:null,ignoreOptions:!1,options:[],path:[],positionals:[],remainder:null,selectedIndex:null}}];!function(e,{prefix:t=""}={}){C(t+"Nodes are:");for(let r=0;r<e.nodes.length;++r)C(`${t} ${r}: ${JSON.stringify(e.nodes[r])}`)}(e,{prefix:" "});const i=["",...t];for(let A=0;A<i.length;++A){const o=i[A];C(" Processing "+JSON.stringify(o));const s=[];for(const{node:t,state:a}of n){C(" Current node is "+t);const n=e.nodes[t];if(2===t){s.push({node:t,state:a});continue}console.assert(0===n.shortcuts.length,"Shortcuts should have been eliminated by now");const c=Object.prototype.hasOwnProperty.call(n.statics,o);if(!r||A<i.length-1||c)if(c){const e=n.statics[o];for(const{to:t,reducer:r}of e)s.push({node:t,state:void 0!==r?k(N,r,a,o):a}),C(` Static transition to ${t} found`)}else C(" No static transition found");else{let e=!1;for(const t of Object.keys(n.statics))if(t.startsWith(o)){if(o===t)for(const{to:e,reducer:r}of n.statics[t])s.push({node:e,state:void 0!==r?k(N,r,a,o):a}),C(` Static transition to ${e} found`);else for(const{to:e,reducer:r}of n.statics[t])s.push({node:e,state:Object.assign(Object.assign({},a),{remainder:t.slice(o.length)})}),C(` Static transition to ${e} found (partial match)`);e=!0}e||C(" No partial static transition found")}if("\0"!==o)for(const[e,{to:t,reducer:r}]of n.dynamics)k(F,e,a,o)&&(s.push({node:t,state:void 0!==r?k(N,r,a,o):a}),C(` Dynamic transition to ${t} found (via ${e})`))}if(0===s.length)throw new h(t,n.filter(({node:e})=>2!==e).map(({state:e})=>({usage:e.candidateUsage,reason:null})));if(s.every(({node:e})=>2===e))throw new h(t,s.map(({state:e})=>({usage:e.candidateUsage,reason:e.errorMessage})));n=B(s)}if(n.length>0){C(" Results:");for(const e of n)C(` - ${e.node} -> ${JSON.stringify(e.state)}`)}else C(" No results");return n}function E(e,t){if(null!==t.selectedIndex)return!0;if(Object.prototype.hasOwnProperty.call(e.statics,"\0"))for(const{to:t}of e.statics["\0"])if(1===t)return!0;return!1}function m(e,t){return function(e,t){const r=t.filter(e=>null!==e.selectedIndex);if(0===r.length)throw new Error;let n=0;for(const e of r)e.path.length>n&&(n=e.path.length);const i=r.filter(e=>e.path.length===n),A=e=>e.positionals.filter(({extra:e})=>!e).length+e.options.length,o=i.map(e=>({state:e,positionalCount:A(e)}));let s=0;for(const{positionalCount:e}of o)e>s&&(s=e);const a=function(e){const t=[],r=[];for(const n of e)-1===n.selectedIndex?r.push(n):t.push(n);r.length>0&&t.push({candidateUsage:null,errorMessage:null,ignoreOptions:!1,path:w(...r.map(e=>e.path)),positionals:[],options:r.reduce((e,t)=>e.concat(t.options),[]),remainder:null,selectedIndex:-1});return t}(o.filter(({positionalCount:e})=>e===s).map(({state:e})=>e));if(a.leLine truncated
|
||||
/*!
|
||||
* fill-range <https://github.com/jonschlinkert/fill-range>
|
||||
*
|
||||
* Copyright (c) 2014-present, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/const n=r(31669),i=r(84615),A=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,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},c=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},g=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},l=(e,t,r,n)=>{if(r)return i(e,t,{wrap:!1,...n});let A=String.fromCharCode(e);return e===t?A:`[${A}-${String.fromCharCode(t)}]`},u=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return i(e,t,r)},h=(...e)=>new RangeError("Invalid range arguments: "+n.inspect(...e)),f=(e,t,r)=>{if(!0===r.strictRanges)throw h([e,t]);return[]},p=(e,t,r=1,n={})=>{let i=Number(e),A=Number(t);if(!Number.isInteger(i)||!Number.isInteger(A)){if(!0===n.strictRanges)throw h([e,t]);return[]}0===i&&(i=0),0===A&&(A=0);let o=i>A,s=String(e),f=String(t),p=String(r);r=Math.max(Math.abs(r),1);let C=a(s)||a(f)||a(p),d=C?Math.max(s.length,f.length,p.length):0,I=!1===C&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,n),E=n.transform||(e=>t=>!0===e?Number(t):String(t))(I);if(n.toRegex&&1===r)return l(g(e,d),g(t,d),!0,n);let m={negatives:[],positives:[]},B=[],w=0;for(;o?i>=A:i<=A;)!0===n.toRegex&&r>1?m[(y=i)<0?"negatives":"positives"].push(Math.abs(y)):B.push(c(E(i,w),d,I)),i=o?i-r:i+r,w++;var y;return!0===n.toRegex?r>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 r,n=t.capture?"":"?:",i="",A="";return e.positives.length&&(i=e.positives.join("|")),e.negatives.length&&(A=`-(${n}${e.negatives.join("|")})`),r=i&&A?`${i}|${A}`:i||A,t.wrap?`(${n}${r})`:r})(m,n):u(B,null,{wrap:!1,...n}):B},C=(e,t,r,n={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return f(e,t,n);if("function"==typeof r)return C(e,t,1,{transform:r});if(A(r))return C(e,t,0,r);let i={...n};return!0===i.capture&&(i.wrap=!0),r=r||i.step||1,s(r)?s(e)&&s(t)?p(e,t,r,i):((e,t,r=1,n={})=>{if(!s(e)&&e.length>1||!s(t)&&t.length>1)return f(e,t,n);let i=n.transform||(e=>String.fromCharCode(e)),A=(""+e).charCodeAt(0),o=(""+t).charCodeAt(0),a=A>o,c=Math.min(A,o),g=Math.max(A,o);if(n.toRegex&&1===r)return l(c,g,!1,n);let h=[],p=0;for(;a?A>=o:A<=o;)h.push(i(A,p)),A=a?A-r:A+r,p++;return!0===n.toRegex?u(h,null,{wrap:!1,options:n}):h})(e,t,Math.max(Math.abs(r),1),i):null==r||A(r)?C(e,t,1,r):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(r,i)};e.exports=C},50683:e=>{e.exports=function(e){return[...e].reduce((e,[t,r])=>(e[t]=r,e),{})}},13302:(e,t,r)=>{e.exports=r(35747).constants||r(27619)},72137:(e,t,r)=>{"use strict";const{PassThrough:n}=r(92413);e.exports=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const i="buffer"===r;let A=!1;t?A=!(r||i):r=r||"utf8",i&&(r=null);const o=new n({objectMode:A});r&&o.setEncoding(r);let s=0;const a=[];return o.on("data",e=>{a.push(e),A?s=a.length:s+=e.length}),o.getBufferedValue=()=>t?a:i?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o}},58764:(e,t,r)=>{"use strict";const n=r(50372),i=r(72137);class A extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}async function o(e,t){if(!e)return Promise.reject(new Error("Expected a stream"));t={maxBuffer:1/0,...t};const{maxBuffer:r}=t;let o;return await new Promise((s,a)=>{const c=e=>{e&&(e.bufferedData=o.getBufferedValue()),a(e)};o=n(e,i(t),e=>{e?c(e):s()}),o.on("data",()=>{o.getBufferedLength()>r&&c(new A)})}),o.getBufferedValue()}e.exports=o,e.exports.default=o,e.exports.buffer=(e,t)=>o(e,{...t,encoding:"buffer"}),e.exports.array=(e,t)=>o(e,{...t,array:!0}),e.exports.MaxBufferError=A},97098:(e,t,r)=>{"use strict";var n=r(18193),i=r(85622).posix.dirname,A="win32"===r(12087).platform(),o=/\\/g,s=/[\{\[].*[\/]*.*[\}\]]$/,a=/(^|[^\\])([\{\[]|\([^\)]+$)/,c=/\\([\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&A&&e.indexOf("/")<0&&(e=e.replace(o,"/")),s.test(e)&&(e+="/"),e+="a";do{e=i(e)}while(n(e)||a.test(e));return e.replace(c,"$1")}},90734:(e,t,r)=>{"use strict";const{promisify:n}=r(31669),i=r(35747),A=r(85622),o=r(19347),s=r(46458),a=r(17234),c=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],g=n(i.readFile),l=(e,t)=>{const r=a(A.relative(t.cwd,A.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter(e=>!e.startsWith("#")).map((e=>t=>t.startsWith("!")?"!"+A.posix.join(e,t.slice(1)):A.posix.join(e,t))(r))},u=e=>e.reduce((e,t)=>(e.add(l(t.content,{cwd:t.cwd,fileName:t.filePath})),e),s()),h=(e,t)=>r=>e.ignores(a(A.relative(t,((e,t)=>{if(e=a(e),A.isAbsolute(t)){if(t.startsWith(e))return t;throw new Error(`Path ${t} is not in cwd ${e}`)}return A.join(e,t)})(t,r)))),f=({ignore:e=[],cwd:t=a(process.cwd())}={})=>({ignore:e,cwd:t});e.exports=async Line truncated
|
||||
/*!
|
||||
* 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}},18193:(e,t,r)=>{
|
||||
/*!
|
||||
* is-glob <https://github.com/jonschlinkert/is-glob>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
var n=r(44486),i={"{":"}","(":")","[":"]"},A=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/,o=/\\(.)|(^!|[*?{}()[\]]|\(\?)/;e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(n(e))return!0;var r,s=A;for(t&&!1===t.strict&&(s=o);r=s.exec(e);){if(r[2])return!0;var a=r.index+r[0].length,c=r[1],g=c?i[c]:null;if(c&&g){var l=e.indexOf(g,a);-1!==l&&(a=l+1)}e=e.slice(a)}return!1}},59235:e=>{"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))}},97369:(e,t)=>{var r,n,i,A;
|
||||
/*!
|
||||
* is-windows <https://github.com/jonschlinkert/is-windows>
|
||||
*
|
||||
* Copyright © 2015-2018, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/A=function(){"use strict";return function(){return process&&("win32"===process.platform||/^(msys|cygwin)$/.test(process.env.OSTYPE))}},t&&"object"==typeof t?e.exports=A():(n=[],void 0===(i="function"==typeof(r=A)?r.apply(t,n):r)||(e.exports=i))},64151:(e,t,r)=>{var n;r(35747);function i(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise((function(r,n){i(e,t||{},(function(e,t){e?n(e):r(t)}))}))}n(e,t||{},(function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n)}))}n="win32"===process.platform||global.TESTING_WINDOWS?r(3202):r(2151),e.exports=i,i.sync=function(e,t){try{return n.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}}},2151:(e,t,r)=>{e.exports=i,i.sync=function(e,t){return A(n.statSync(e),t)};var n=r(35747);function i(e,t,r){n.stat(e,(function(e,n){r(e,!e&&A(n,t))}))}function A(e,t){return e.isFile()&&function(e,t){var r=e.mode,n=e.uid,i=e.gid,A=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),o=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),s=parseInt("100",8),a=parseInt("010",8),c=parseInt("001",8),g=s|a;return r&c||r&a&&i===o||r&s&&n===A||r&g&&0===A}(e,t)}},3202:(e,t,r)=>{e.exports=A,A.sync=function(e,t){return i(n.statSync(e),e,t)};var n=r(35747);function i(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1}(t,r)}function A(e,t,r){n.stat(e,(function(n,A){r(n,!n&&i(A,e,t))}))}},21194:(e,t,r)=>{"use strict";var n=r(40744);e.exports=n},40744:(e,t,r)=>{"use strict";var n=r(55384),i=r(24129);function A(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=r(81704),e.exports.Schema=r(8212),e.exports.FAILSAFE_SCHEMA=r(44413),e.exports.JSON_SCHEMA=r(45247),e.exports.CORE_SCHEMA=r(8769),e.exports.DEFAULT_SAFE_SCHEMA=r(65483),e.exports.DEFAULT_FULL_SCHEMA=r(5235),e.exports.load=n.load,e.exports.loadAll=n.loadAll,e.exports.safeLoad=n.safeLoad,e.exports.safeLoadAll=n.safeLoadAll,e.exports.dump=i.dump,e.exports.safeDump=i.safeDump,e.exports.YAMLException=r(17345),e.exports.MINIMAL_SCHEMA=r(44413),e.exports.SAFE_SCHEMA=r(65483),e.exports.DEFAULT_SCHEMA=r(5235),e.exports.scan=A("scan"),e.exports.parse=A("parse"),e.exports.compose=A("compose"),e.exports.addConstructor=A("addConstructor")},28149:e=>{"use strict";function t(e){return null==e}e.exports.isNothing=t,e.exports.isObject=function(e){return"object"==typeof e&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:t(e)?[]:[e]},e.exports.repeat=function(e,t){var r,n="";for(r=0;r<t;r+=1)n+=e;return n},e.exports.isNegativeZero=function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},e.exports.extend=function(e,t){var r,n,i,A;if(t)for(r=0,n=(A=Object.keys(t)).length;r<n;r+=1)e[i=A[r]]=t[i];return e}},24129:(e,t,r)=>{"use strict";var n=r(28149),i=r(17345),A=r(5235),o=r(65483),s=Object.prototype.toString,a=Object.prototype.hasOwnProperty,c={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},g=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function l(e){var t,r,A;if(t=e.toString(16).toUpperCase(),e<=255)r="x",A=2;else if(e<=65535)r="u",A=4;else{if(!(e<=4294967295))throw new i("code point within a string may not be greater than 0xFFFFFFFF");r="U",A=8}return"\\"+r+n.repeat("0",A-t.length)+t}function u(e){this.schema=e.schema||A,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=n.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,i,A,o,s,c;if(null===t)return{};for(r={},i=0,A=(n=Object.keys(t)).length;i<A;i+=1)o=n[i],s=String(t[o]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),(c=e.compiledTypeMap.fallback[o])&&a.call(c.styleAliases,s)&&(s=c.styleAliases[s]),r[o]=s;return r}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function h(e,t){for(var r,i=n.repeat(" ",t),A=0,o=-1,s="",a=e.length;A<a;)-1===(o=e.indexOf("\n",A))?(r=e.slice(A),A=a):(r=e.slice(A,o+1),A=o+1),r.length&&"\n"!==r&&(s+=i),s+=r;return s}function f(e,t){return"\n"+n.repeat(" ",e.indent*t)}function p(e){return 32===e||9===e}function C(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function d(e){return C(e)&&65279!==e&&44!==e&&91!==e&&93!==e&&123Line truncated
|
||||
/*!
|
||||
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
||||
*
|
||||
* Copyright (c) 2015-present, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/const n=r(59235),i=(e,t,r)=>{if(!1===n(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===n(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let A={relaxZeros:!0,...r};"boolean"==typeof A.strictZeros&&(A.relaxZeros=!1===A.strictZeros);let a=e+":"+t+"="+String(A.relaxZeros)+String(A.shorthand)+String(A.capture)+String(A.wrap);if(i.cache.hasOwnProperty(a))return i.cache[a].result;let c=Math.min(e,t),g=Math.max(e,t);if(1===Math.abs(c-g)){let r=e+"|"+t;return A.capture?`(${r})`:!1===A.wrap?r:`(?:${r})`}let l=f(e)||f(t),u={min:e,max:t,a:c,b:g},h=[],p=[];if(l&&(u.isPadded=l,u.maxLen=String(u.max).length),c<0){p=o(g<0?Math.abs(g):1,Math.abs(c),u,A),c=u.a=0}return g>=0&&(h=o(c,g,u,A)),u.negatives=p,u.positives=h,u.result=function(e,t,r){let n=s(e,t,"-",!1,r)||[],i=s(t,e,"",!1,r)||[],A=s(e,t,"-?",!0,r)||[];return n.concat(A).concat(i).join("|")}(p,h,A),!0===A.capture?u.result=`(${u.result})`:!1!==A.wrap&&h.length+p.length>1&&(u.result=`(?:${u.result})`),i.cache[a]=u,u.result};function A(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=function(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}(e,t),i=n.length,A="",o=0;for(let e=0;e<i;e++){let[t,i]=n[e];t===i?A+=t:"0"!==t||"9"!==i?A+=h(t,i,r):o++}return o&&(A+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:A,count:[o],digits:i}}function o(e,t,r,n){let i,o=function(e,t){let r=1,n=1,i=g(e,r),A=new Set([t]);for(;e<=i&&i<=t;)A.add(i),r+=1,i=g(e,r);for(i=l(t+1,n)-1;e<i&&i<=t;)A.add(i),n+=1,i=l(t+1,n)-1;return A=[...A],A.sort(a),A}(e,t),s=[],c=e;for(let e=0;e<o.length;e++){let t=o[e],a=A(String(c),String(t),n),g="";r.isPadded||!i||i.pattern!==a.pattern?(r.isPadded&&(g=p(t,r,n)),a.string=g+a.pattern+u(a.count),s.push(a),c=t+1,i=a):(i.count.length>1&&i.count.pop(),i.count.push(a.count[0]),i.string=i.pattern+u(i.count),c=t+1)}return s}function s(e,t,r,n,i){let A=[];for(let i of e){let{string:e}=i;n||c(t,"string",e)||A.push(r+e),n&&c(t,"string",e)&&A.push(r+e)}return A}function a(e,t){return e>t?1:t>e?-1:0}function c(e,t,r){return e.some(e=>e[t]===r)}function g(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function l(e,t){return e-e%Math.pow(10,t)}function u(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function h(e,t,r){return`[${e}${t-e==1?"":"-"}${t}]`}function f(e){return/^-?(0+)\d/.test(e)}function p(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=!1!==r.relaxZeros;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}i.cache={},i.clearCache=()=>i.cache={},e.exports=i},75158:e=>{function t(e,t){var r=e.length,n=new Array(r),i={},A=r,o=function(e){for(var t=new Map,r=0,n=e.length;r<n;r++){var i=e[r];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),s=function(e){for(var t=new Map,r=0,n=e.length;r<n;r++)t.set(e[r],r);return t}(e);for(t.forEach((function(e){if(!s.has(e[0])||!s.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));A--;)i[A]||a(e[A],A,new Set);return n;function a(e,t,A){if(A.has(e)){var c;try{c=", node was:"+JSON.stringify(e)}catch(e){c=""}throw new Error("Cyclic dependency"+c)}if(!s.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!i[t]){i[t]=!0;var g=o.get(e)||new Set;if(t=(g=Array.from(g)).length){A.add(e);do{var l=g[--t];a(l,s.get(l),A)}while(t);A.delete(e)}n[--r]=e}}}e.exports=function(e){return t(function(e){for(var t=new Set,r=0,n=e.length;r<n;r++){var i=e[r];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},e.exports.array=t},94682:function(e){e.exports=function(){function e(t,r,n,i,A,o,s){var a,c,g="",l=0,u=i.slice(0);if(u.push([r,n])&&i.length>0&&(i.forEach((function(e,t){t>0&&(g+=(e[1]?" ":"│")+" "),c||e[0]!==r||(c=!0)})),g+=function(e,t){var r=t?"└":"├";return r+=e?"─ ":"──┐"}(t,n)+t,A&&("object"!=typeof r||r instanceof Date)&&(g+=": "+r),c&&(g+=" (circular ref.)"),s(g)),!c&&"object"==typeof r){var h=function(e,t){var r=[];for(var n in e)e.hasOwnProperty(n)&&(t&&"function"==typeof e[n]||r.push(n));return r}(r,o);h.forEach((function(t){a=++l===h.length,e(t,r[t],a,u,A,o,s)}))}}var t={asLines:function(t,r,n,i){e(".",t,!1,[],r,"function"!=typeof n&&n,i||n)},asTree:function(t,r,n){var i="";return e(".",t,!1,[],r,n,(function(e){i+=e+"\n"})),i}};return t}()},36370:(e,t,r)=>{"use strict";r.d(t,{gn:()=>n});function n(e,t,r,n){var i,A=arguments.length,o=A<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(A<3?i(o):A>3?i(t,r,o):i(t,r))||o);return A>3&&o&&Object.defineProperty(t,r,o),o}},98161:(e,t,r)=>{e.exports=r(69876)},69876:(e,t,r)=>{"use strict";r(11631);var n,i=r(4016),A=r(98605Line truncated
|
||||
+2
-2
@@ -5,7 +5,7 @@ enableProgressBars: false
|
||||
nodeLinker: node-modules
|
||||
|
||||
plugins:
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.js
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
|
||||
spec: "@yarnpkg/plugin-interactive-tools"
|
||||
|
||||
yarnPath: .yarn/releases/yarn-2.1.1.cjs
|
||||
yarnPath: .yarn/releases/yarn-2.2.2.cjs
|
||||
@@ -2,14 +2,20 @@
|
||||
|
||||
## 0.58.1 Aug 31, 2020
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add Subsocial to ss58 defaults (Thanks to https://github.com/F3Joule)
|
||||
|
||||
Changes:
|
||||
|
||||
- Support QR scanning where name contains ":"
|
||||
- Support for Moonbeam ETH-compatible crypto types
|
||||
|
||||
|
||||
## 0.57.3 Jul 27, 2020
|
||||
|
||||
Changes:
|
||||
|
||||
- Support for JSON v3 kdf-enabled format
|
||||
- Adjust password validity checks (alongside v3)
|
||||
- Bump to `@polkadot/api` 1.26.1
|
||||
@@ -18,8 +24,12 @@
|
||||
|
||||
## 0.56.1 Jul 20, 2020
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add Kulupu to ss58 options (https://github.com/carumusan)
|
||||
|
||||
Changes:
|
||||
|
||||
- Remove CC1 naming for Polkadot (as applicable)
|
||||
- Flatten React IdentityIcon (no extra wrapping)
|
||||
- Bump to `@polkadot/api` 1.25.1
|
||||
@@ -28,8 +38,12 @@
|
||||
|
||||
## 0.55.1 Jul 2, 2020
|
||||
|
||||
Contributed:
|
||||
|
||||
- Better error-handling for invalid FileStore accounts (Thanks to https://github.com/yuhui1208)
|
||||
|
||||
Changes:
|
||||
|
||||
- Adjust react-qr `Scan*` making `onScan` callbacks required
|
||||
- Rework the react-qr display to use functional components
|
||||
- Bump to `@polkadot/api` 1.21.1
|
||||
@@ -38,9 +52,13 @@
|
||||
|
||||
## 0.54.1 Jun 16, 2020
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add genesisHash to signer payload (Thanks to https://github.com/hanwencheng)
|
||||
- Allow QR scanning to parse mini keys (Thanks to https://github.com/hanwencheng)
|
||||
|
||||
Changes:
|
||||
|
||||
- Adjust ordering of available crypto types (native first)
|
||||
- Rename Substrate prefix entry (42) to "generic"
|
||||
- Bump to `@polkadot/api` 1.19.1
|
||||
@@ -49,9 +67,13 @@
|
||||
|
||||
## 0.53.1 May 14, 2020
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add Ecdsa to the supported crypto types options (Thanks to https://github.com/akru)
|
||||
- Add Egedware to network prefix settings (Thanks to https://github.com/jnaviask)
|
||||
|
||||
Changes:
|
||||
|
||||
- Add `addMultisig` into keyring (with all options to re-create address)
|
||||
- Bump to `@polkadot/api` 1.14.1
|
||||
- Bump to `@polkadot/util` 2.10.1
|
||||
@@ -61,9 +83,13 @@
|
||||
|
||||
- **Breaking change** (TypeScript only) The `*.d.ts` files now contain TypeScript 3.8 features, `#private`, which is not usable in older versions
|
||||
|
||||
Contributed:
|
||||
|
||||
- Allow for the encoding of chain-settings via QR (Thanks to https://github.com/hanwencheng)
|
||||
- Enhance checks for ws url in settings (Thanks to https://github.com/kwingram25)
|
||||
|
||||
Changes:
|
||||
|
||||
- Start of `isAlternative` implementations for identicons to react, react-native & vue (currently only Polkadot sixPoint)
|
||||
- Bump to `@polkadot/api` 1.10 & `@polkadot/util` 2.8
|
||||
- Convert `private <field>` to `#<field>`
|
||||
@@ -72,6 +98,8 @@
|
||||
|
||||
## 0.51.1 Feb 18, 2020
|
||||
|
||||
Changes:
|
||||
|
||||
- Support formatting of addresses via createPair base on latest upstream keyring
|
||||
- Bump to `@polkadot/api` 1.3.1
|
||||
- Bump to `@polkadot/util` 2.4.1
|
||||
@@ -79,6 +107,8 @@
|
||||
|
||||
## 0.50.1 Feb 16, 2020
|
||||
|
||||
Changes:
|
||||
|
||||
- ui-settings does not expose pre-configured endpoints by default (only local dev node)
|
||||
- Bump to `@polkadot/api` 1.2.1
|
||||
- Bump to `@polkadot/util` 2.3.1
|
||||
@@ -86,11 +116,15 @@
|
||||
|
||||
## 0.49.1 Feb 06, 2020
|
||||
|
||||
Changes:
|
||||
|
||||
- Add resolver for jest requires (tests from src)
|
||||
|
||||
|
||||
## 0.48.1 Jan 30, 2020
|
||||
|
||||
Changes:
|
||||
|
||||
- Add Westend & Kulupulu, remove Alexander
|
||||
- Update Edgeware wss uri
|
||||
- Change display name for Kusama
|
||||
@@ -99,6 +133,8 @@
|
||||
|
||||
## 0.47.1 Nov 29, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Support for Kusama CC3 (network endpoints)
|
||||
- Genesis hashes for accounts can now lookup against a range (so CC2-locked accounts will show on CC3)
|
||||
- Language options have been removed from settings (these will be app-specific)
|
||||
@@ -109,6 +145,8 @@
|
||||
|
||||
- Add an example for using React Native (thanks to https://github.com/cameronfr)
|
||||
|
||||
Changes:
|
||||
|
||||
- Add base documentation for getting started
|
||||
- Add camera access to the setting structure
|
||||
|
||||
@@ -117,6 +155,8 @@
|
||||
|
||||
- **Breaking change** The subscription subject for `ui-keyring` does not return a pre-formatted React object anymore. This is SUI-specific, so had limited use and therefore should not even be split into a `react-keyring` component. Rather users of this functionality should construct their own options for their framework.
|
||||
|
||||
Changes:
|
||||
|
||||
- Support for Kusama CC2
|
||||
- Experimental support for signing via Ledger HW
|
||||
- Add specific settings for the icon type to `ui-settings`
|
||||
@@ -127,12 +167,16 @@
|
||||
|
||||
## 0.44.1 Sep 12, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Update `@polkadot/util` to 1.4.1
|
||||
- Upddate to Babel 7.6
|
||||
|
||||
|
||||
## 0.43.1 Sep 10, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Add W3F Node for Kusama
|
||||
- Add extended info to ui-settings, i.e. info on each option
|
||||
- Adjust logos in ui-assets (incl. updated Substrate logo)
|
||||
@@ -145,6 +189,8 @@
|
||||
- **Breaking Change** The `@polkadot/ui-identicon` package has been renamed to `@polkadot/react-identicon`
|
||||
- **Breaking change** For `@polkadot/ui-keyring` the stores are now not exported from the index, imports should be changed to either `ui-keyring/stores` or explicitly to `ui-keyring/stores/Extension`
|
||||
|
||||
Changes:
|
||||
|
||||
- Support for Kusama with endpoints and settings
|
||||
- The `@polkadot/reactnative-identicon` package has been added (only Polkadot support atm)
|
||||
- The `@polkadot/react-qr` package has been added to display/scan QR codes
|
||||
@@ -154,6 +200,8 @@
|
||||
|
||||
## 0.41.1 Jun 14, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Adapt interface to cater for new `@polkadot/keyring`, where pairs -
|
||||
- expose `address` getter instead of `address()`
|
||||
- expose `publicKey` getter instead of `publicKey()`
|
||||
@@ -167,17 +215,23 @@
|
||||
|
||||
## 0.40.1 Jun 04, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Address encoding changes, use encoded address instead of supplied
|
||||
|
||||
|
||||
## 0.39.1 May 22, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Allow for externally injected accounts
|
||||
- @polkadot/util 0.91.1 & @polkadot/api 0.79.1
|
||||
|
||||
|
||||
## 0.38.1 May 08, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Sorting of keyring addresses
|
||||
- Fix JSON import defaults (previously detection was not working for old accounts)
|
||||
- Display icons using publicKey (not the encoded address)
|
||||
@@ -187,27 +241,37 @@
|
||||
|
||||
## 0.37.1 Apr 03, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Add Emberic Elm (Dried Danta discontinued)
|
||||
- @polkadot/util & @polkadot/api 0.75.1
|
||||
|
||||
|
||||
## 0.36.1 Mar 29, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Small fixes, latest @polkadot/wasm-* packages
|
||||
|
||||
|
||||
## 0.35.1 Mar 29, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- @polkadot/util & @polkadot/api 0.75.1
|
||||
|
||||
|
||||
## 0.34.1 Mar 28, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Fix for blake2 in Polkadot identicon generation
|
||||
|
||||
|
||||
## 0.33.1 Mar 23, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Rename createUri and createExternal to addExternal and addUri
|
||||
- Rename addAccountPair to addPair
|
||||
- Add additional createFromUri function to create pair, but not add it
|
||||
@@ -216,6 +280,8 @@
|
||||
|
||||
## 0.32.1 Mar 20, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Add createUri to create an account from a path uri
|
||||
- Add createExternal as an alias for createAccountExternal
|
||||
- Deprecate createAccount, createAccountExternal and createAccountMnemonic
|
||||
@@ -224,37 +290,51 @@
|
||||
|
||||
## 0.31.1 Mar 18, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Allow for latest keyring with sr25519 derived support
|
||||
- When using dev mode, it assumes the substrate node has sr25519 derived keys
|
||||
|
||||
|
||||
## 0.30.1 Mar 14, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
- Swap to publishing -beta.x on merge (non-breaking testing)
|
||||
|
||||
|
||||
## 0.29.1 Mar 13, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
Swap to using a dev HDKD keyring (only available on latest substrate master, only affects nodes running with --dev, normal operation unaffected)
|
||||
|
||||
|
||||
## 0.28.1 Feb 21, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
Default Substrate icon is Jdenticon
|
||||
|
||||
|
||||
## 0.27.1 Feb 20, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
Replace Charred Cherry with Dried Danta, remove old decimals and token name configs
|
||||
|
||||
|
||||
## 0.26.1 Feb 14, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
Add keyring support for sd25519 (schnorrkel)
|
||||
|
||||
|
||||
## 0.25.1 Jan 09, 2019
|
||||
|
||||
Changes:
|
||||
|
||||
Add `@polkadot/{keyring,util,util-crypto,types}` as peerDependencies for the various packages as used. Thie should allow less churn on this repo with version bumps, although it does add some extra effort onto the users of these libraries. (But the assumption is that they use these anyway)
|
||||
|
||||
|
||||
@@ -264,4 +344,6 @@ Add `@polkadot/{keyring,util,util-crypto,types}` as peerDependencies for the var
|
||||
|
||||
## 0.22.1 Dec 05, 2018
|
||||
|
||||
Changes:
|
||||
|
||||
- Split from apps
|
||||
+6
-5
@@ -8,7 +8,8 @@
|
||||
"packages/*"
|
||||
],
|
||||
"resolutions": {
|
||||
"babel-core": "^7.0.0-bridge.0"
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"typescript": "^4.0.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "polkadot-dev-build-ts",
|
||||
@@ -29,18 +30,18 @@
|
||||
"test:one": "polkadot-dev-run-test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.4",
|
||||
"@babel/core": "^7.11.5",
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"@polkadot/dev": "^0.55.43",
|
||||
"@polkadot/dev": "^0.55.45",
|
||||
"@polkadot/ts": "^0.3.40",
|
||||
"@types/jest": "^26.0.10",
|
||||
"@types/jest": "^26.0.13",
|
||||
"babel-plugin-transform-vue-template": "^0.4.2",
|
||||
"empty": "^0.10.1",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-is": "^16.13.1",
|
||||
"react-native": "^0.63.2",
|
||||
"typedoc": "^0.18.0",
|
||||
"typedoc": "^0.19.0",
|
||||
"typedoc-plugin-markdown": "^2.4.2",
|
||||
"typedoc-plugin-no-inherit": "^1.1.10",
|
||||
"vue-template-compiler": "^2.6.12",
|
||||
|
||||
@@ -2,17 +2,6 @@
|
||||
"name": "exampleReactNative",
|
||||
"version": "0.58.1",
|
||||
"private": true,
|
||||
"workspaces": {
|
||||
"nohoist": [
|
||||
"react-native",
|
||||
"react-native/**",
|
||||
"react-native-randombytes",
|
||||
"react-native-randombytes/**",
|
||||
"@react-native-community/**",
|
||||
"react-native-svg",
|
||||
"react-native-svg/**"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"copy-workspace-packages": "yarn copy-identicon && yarn copy-ui-shared",
|
||||
"copy-identicon": "mkdir -p node_modules/@polkadot/reactnative-identicon && cp -r ../reactnative-identicon/build/* ./node_modules/@polkadot/reactnative-identicon",
|
||||
@@ -38,7 +27,7 @@
|
||||
"stream-http": "^3.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.4",
|
||||
"@babel/core": "^7.11.5",
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"@polkadot/keyring": "^3.4.1",
|
||||
"@polkadot/util": "^3.4.1",
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"@polkadot/util-crypto": "^3.4.1",
|
||||
"@types/react-copy-to-clipboard": "^4.3.0",
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"@types/styled-components": "^5.1.2",
|
||||
"@types/styled-components": "^5.1.3",
|
||||
"styled-components": "^5.1.1",
|
||||
"xmlserializer": "^0.6.1"
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-qr-reader": "^2.1.3",
|
||||
"@types/styled-components": "^5.1.2"
|
||||
"@types/styled-components": "^5.1.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*",
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util-crypto": "^3.4.1",
|
||||
"@types/react-native": "^0.63.10"
|
||||
"@types/react-native": "^0.63.13"
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.4.1",
|
||||
"@polkadot/types": "^1.31.1",
|
||||
"@polkadot/types": "^1.32.0-beta.14",
|
||||
"@polkadot/util": "^3.4.1",
|
||||
"@types/ledgerhq__hw-transport-node-hid": "^4.22.1",
|
||||
"@types/ledgerhq__hw-transport-webusb": "^4.70.0",
|
||||
|
||||
@@ -12,20 +12,6 @@ export interface ContractMeta {
|
||||
genesisHash?: string | null;
|
||||
}
|
||||
|
||||
export interface KeyringStore {
|
||||
all: (cb: (key: string, value: KeyringJson) => void) => void;
|
||||
get: (key: string, cb: (value: KeyringJson) => void) => void;
|
||||
remove: (key: string, cb?: () => void) => void;
|
||||
set: (key: string, value: KeyringJson, cb?: () => void) => void;
|
||||
}
|
||||
|
||||
export interface KeyringOptions extends KeyringOptionsBase {
|
||||
filter?: (json: KeyringJson) => boolean;
|
||||
genesisHash?: Hash;
|
||||
isDevelopment?: boolean;
|
||||
store?: KeyringStore;
|
||||
}
|
||||
|
||||
export interface KeyringJson$Meta {
|
||||
contract?: ContractMeta;
|
||||
genesisHash?: string | null;
|
||||
@@ -46,6 +32,20 @@ export interface KeyringJson {
|
||||
meta: KeyringJson$Meta;
|
||||
}
|
||||
|
||||
export interface KeyringStore {
|
||||
all: (cb: (key: string, value: KeyringJson) => void) => void;
|
||||
get: (key: string, cb: (value: KeyringJson) => void) => void;
|
||||
remove: (key: string, cb?: () => void) => void;
|
||||
set: (key: string, value: KeyringJson, cb?: () => void) => void;
|
||||
}
|
||||
|
||||
export interface KeyringOptions extends KeyringOptionsBase {
|
||||
filter?: (json: KeyringJson) => boolean;
|
||||
genesisHash?: Hash;
|
||||
isDevelopment?: boolean;
|
||||
store?: KeyringStore;
|
||||
}
|
||||
|
||||
export interface KeyringAddress {
|
||||
readonly address: string;
|
||||
readonly meta: KeyringJson$Meta;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.11.2",
|
||||
"eventemitter3": "^4.0.6",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"store": "^2.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in new issue
Block a user