rs-toolchain/dist/index.js

1 line
332 KiB
JavaScript
Raw Normal View History

2019-10-16 15:12:53 +03:00
module.exports=function(e,t){"use strict";var r={};function __webpack_require__(t){if(r[t]){return r[t].exports}var n=r[t]={i:t,l:false,exports:{}};e[t].call(n.exports,n,n.exports,__webpack_require__);n.l=true;return n.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(131)}return startup()}({2:function(e,t,r){e.exports=octokitRestNormalizeGitReferenceResponses;const{RequestError:n}=r(269);function octokitRestNormalizeGitReferenceResponses(e){e.hook.wrap("request",(e,t)=>{const r=/\/repos\/:?\w+\/:?\w+\/git\/refs\/:?\w+/.test(t.url);if(!r){return e(t)}const i="ref"in t;return e(t).then(e=>{if(i){if(Array.isArray(e.data)){throw new n(`More than one reference found for "${t.ref}"`,404,{request:t})}return e}if(!Array.isArray(e.data)){e.data=[e.data]}return e}).catch(e=>{if(i){throw e}if(e.status===404){return{status:200,headers:e.headers,data:[]}}throw e})})}},4:function(e){var t="Expected a function";var r="__lodash_hash_undefined__";var n=1/0;var i="[object Function]",s="[object GeneratorFunction]",o="[object Symbol]";var a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,p=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var l=/[\\^$.*+?()[\]{}|]/g;var d=/\\(\\)?/g;var g=/^\[object .+?Constructor\]$/;var h=typeof global=="object"&&global&&global.Object===Object&&global;var f=typeof self=="object"&&self&&self.Object===Object&&self;var m=h||f||Function("return this")();function getValue(e,t){return e==null?undefined:e[t]}function isHostObject(e){var t=false;if(e!=null&&typeof e.toString!="function"){try{t=!!(e+"")}catch(e){}}return t}var y=Array.prototype,w=Function.prototype,b=Object.prototype;var E=m["__core-js_shared__"];var v=function(){var e=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var _=w.toString;var q=b.hasOwnProperty;var T=b.toString;var O=RegExp("^"+_.call(q).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var R=m.Symbol,S=y.splice;var C=getNative(m,"Map"),j=getNative(Object,"create");var I=R?R.prototype:undefined,P=I?I.toString:undefined;function Hash(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function hashClear(){this.__data__=j?j(null):{}}function hashDelete(e){return this.has(e)&&delete this.__data__[e]}function hashGet(e){var t=this.__data__;if(j){var n=t[e];return n===r?undefined:n}return q.call(t,e)?t[e]:undefined}function hashHas(e){var t=this.__data__;return j?t[e]!==undefined:q.call(t,e)}function hashSet(e,t){var n=this.__data__;n[e]=j&&t===undefined?r:t;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(e){var t=this.__data__,r=assocIndexOf(t,e);if(r<0){return false}var n=t.length-1;if(r==n){t.pop()}else{S.call(t,r,1)}return true}function listCacheGet(e){var t=this.__data__,r=assocIndexOf(t,e);return r<0?undefined:t[r][1]}function listCacheHas(e){return assocIndexOf(this.__data__,e)>-1}function listCacheSet(e,t){var r=this.__data__,n=assocIndexOf(r,e);if(n<0){r.push([e,t])}else{r[n][1]=t}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(e){var t=-1,r=e?e.length:0;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(C||ListCache),string:new Hash}}function mapCacheDelete(e){return getMapData(this,e)["delete"](e)}function mapCacheGet(e){return getMapData(this,e).get(e)}function mapCacheHas(e){return getMapData(this,e).has(e)}function mapCacheSet(e,t){getMapData(this,e).set(e,t);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delet