mirror of
https://github.com/docker/bake-action.git
synced 2026-11-29 13:17:46 +01:00
Merge pull request #411 from docker/dependabot/npm_and_yarn/brace-expansion-1.1.13
chore(deps): Bump brace-expansion from 1.1.12 to 1.1.13
This commit is contained in:
3 files changed
+7
-16
No files matched your search
+2
-2
@@ -80,7 +80,7 @@ Object.defineProperty(t,"__esModule",{value:true});const r=new WeakMap;const n=n
|
||||
* IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
||||
* express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*/if(new o.URL(e.url).hostname!==a.hostname){e.headers.delete("authorization");e.headers.delete("cookie")}if(t.status===303||e.method==="POST"&&[301,302].includes(t.status)){n.method="GET";n.body=null;e.headers.delete("content-length")}n.headers={};e.headers.forEach(((e,t)=>{n.headers[t]=e}));n.counter=++e.counter;const c=new s(o.format(a),n);return{request:c,options:n}};const fetch=async(e,t)=>{const r=a.storable(e,t)?await c(e,t):await l(e,t);if(!["GET","HEAD"].includes(e.method)&&r.status>=200&&r.status<=399){await c.invalidate(e,t)}if(!canFollowRedirect(e,r,t)){return r}const n=getRedirect(e,r,t);return fetch(n.request,n.options)};e.exports=fetch},39310:(e,t,r)=>{const{FetchError:n,Headers:s,Request:i,Response:o}=r(88483);const a=r(99824);const c=r(67242);const makeFetchHappen=(e,t)=>{const r=a(t);const n=new i(e,r);return c(n,r)};makeFetchHappen.defaults=(e,t={},r=makeFetchHappen)=>{if(typeof e==="object"){t=e;e=null}const defaultedFetch=(n,s={})=>{const i=n||e;const o={...t,...s,headers:{...t.headers,...s.headers}};return r(i,o)};defaultedFetch.defaults=(e,t={})=>makeFetchHappen.defaults(e,t,defaultedFetch);return defaultedFetch};e.exports=makeFetchHappen;e.exports.FetchError=n;e.exports.Headers=s;e.exports.Request=i;e.exports.Response=o},99824:(e,t,r)=>{const n=r(72250);const s=["if-modified-since","if-none-match","if-unmodified-since","if-match","if-range"];const configureOptions=e=>{const{strictSSL:t,...r}={...e};r.method=r.method?r.method.toUpperCase():"GET";if(t===undefined||t===null){r.rejectUnauthorized=process.env.NODE_TLS_REJECT_UNAUTHORIZED!=="0"}else{r.rejectUnauthorized=t!==false}if(!r.retry){r.retry={retries:0}}else if(typeof r.retry==="string"){const e=parseInt(r.retry,10);if(isFinite(e)){r.retry={retries:e}}else{r.retry={retries:0}}}else if(typeof r.retry==="number"){r.retry={retries:r.retry}}else{r.retry={retries:0,...r.retry}}r.dns={ttl:5*60*1e3,lookup:n.lookup,...r.dns};r.cache=r.cache||"default";if(r.cache==="default"){const e=Object.keys(r.headers||{}).some((e=>s.includes(e.toLowerCase())));if(e){r.cache="no-store"}}r.cacheAdditionalHeaders=r.cacheAdditionalHeaders||[];if(r.cacheManager&&!r.cachePath){r.cachePath=r.cacheManager}return r};e.exports=configureOptions},22314:(e,t,r)=>{const n=r(52899);class CachingMinipassPipeline extends n{#a=[];#c=new Map;constructor(e,...t){super();this.#a=e.events;if(t.length){this.push(...t)}}on(e,t){if(this.#a.includes(e)&&this.#c.has(e)){return t(...this.#c.get(e))}return super.on(e,t)}emit(e,...t){if(this.#a.includes(e)){this.#c.set(e,t)}return super.emit(e,...t)}}e.exports=CachingMinipassPipeline},20766:(e,t,r)=>{const{Minipass:n}=r(78275);const s=r(88483);const{promiseRetry:i}=r(49498);const o=r(68951);const{log:a}=r(26687);const c=r(22314);const{getAgent:l}=r(57995);const u=r(96734);const d=`${u.name}/${u.version} (+https://npm.im/${u.name})`;const h=["ECONNRESET","ECONNREFUSED","EADDRINUSE","ETIMEDOUT","ECONNECTIONTIMEOUT","EIDLETIMEOUT","ERESPONSETIMEOUT","ETRANSFERTIMEOUT"];const f=["request-timeout"];const remoteFetch=(e,t)=>{const r=l(e.url,{...t,signal:undefined});if(!e.headers.has("connection")){e.headers.set("connection",r?"keep-alive":"close")}if(!e.headers.has("user-agent")){e.headers.set("user-agent",d)}const u={...t,agent:r,redirect:"manual"};return i((async(r,i)=>{const l=new s.Request(e,u);try{let e=await s(l,u);if(u.integrity&&e.status===200){const t=o.integrityStream({algorithms:u.algorithms,integrity:u.integrity,size:u.size});const r=new c({events:["integrity","size"]},e.body,t);t.on("integrity",(e=>r.emit("integrity",e)));t.on("size",(e=>r.emit("size",e)));e=new s.Response(r,e);e.body.hasIntegrityEmitter=true}e.headers.set("x-fetch-attempts",i);const d=n.isStream(l.body);const h=l.method!=="POST"&&!d&&([408,420,429].includes(e.status)||e.status>=500);if(h){if(typeof t.onRetry==="function"){t.onRetry(e)}a.http("fetch",`${l.method} ${l.url} attempt ${i} failed with ${e.status}`);return r(e)}return e}catch(e){const n=e.code==="EPROMISERETRY"?e.retried.code:e.code;const o=e.retried instanceof s.Response||h.includes(n)&&f.includes(e.type);if(l.method==="POST"||o){throw e}if(typeof t.onRetry==="function"){t.onRetry(e)}a.http("fetch",`${l.method} ${l.url} attempt ${i} failed with ${e.code}`);return r(e)}}),t.retry).catch((e=>{if(e.status>=400&&e.type!=="system"){return e}throw e}))};e.exports=remoteFetch},43772:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var n=function(){try{return r(16928)}catch(e){}}()||{sep:"/"};minimatch.sep=n.sep;var s=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var i=r(73783);var o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var a="[^/]";var c=a+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var d=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var h=/\/+/;minimatch.filter=filter;fu
Line truncated
|
||||
*/if(new o.URL(e.url).hostname!==a.hostname){e.headers.delete("authorization");e.headers.delete("cookie")}if(t.status===303||e.method==="POST"&&[301,302].includes(t.status)){n.method="GET";n.body=null;e.headers.delete("content-length")}n.headers={};e.headers.forEach(((e,t)=>{n.headers[t]=e}));n.counter=++e.counter;const c=new s(o.format(a),n);return{request:c,options:n}};const fetch=async(e,t)=>{const r=a.storable(e,t)?await c(e,t):await l(e,t);if(!["GET","HEAD"].includes(e.method)&&r.status>=200&&r.status<=399){await c.invalidate(e,t)}if(!canFollowRedirect(e,r,t)){return r}const n=getRedirect(e,r,t);return fetch(n.request,n.options)};e.exports=fetch},39310:(e,t,r)=>{const{FetchError:n,Headers:s,Request:i,Response:o}=r(88483);const a=r(99824);const c=r(67242);const makeFetchHappen=(e,t)=>{const r=a(t);const n=new i(e,r);return c(n,r)};makeFetchHappen.defaults=(e,t={},r=makeFetchHappen)=>{if(typeof e==="object"){t=e;e=null}const defaultedFetch=(n,s={})=>{const i=n||e;const o={...t,...s,headers:{...t.headers,...s.headers}};return r(i,o)};defaultedFetch.defaults=(e,t={})=>makeFetchHappen.defaults(e,t,defaultedFetch);return defaultedFetch};e.exports=makeFetchHappen;e.exports.FetchError=n;e.exports.Headers=s;e.exports.Request=i;e.exports.Response=o},99824:(e,t,r)=>{const n=r(72250);const s=["if-modified-since","if-none-match","if-unmodified-since","if-match","if-range"];const configureOptions=e=>{const{strictSSL:t,...r}={...e};r.method=r.method?r.method.toUpperCase():"GET";if(t===undefined||t===null){r.rejectUnauthorized=process.env.NODE_TLS_REJECT_UNAUTHORIZED!=="0"}else{r.rejectUnauthorized=t!==false}if(!r.retry){r.retry={retries:0}}else if(typeof r.retry==="string"){const e=parseInt(r.retry,10);if(isFinite(e)){r.retry={retries:e}}else{r.retry={retries:0}}}else if(typeof r.retry==="number"){r.retry={retries:r.retry}}else{r.retry={retries:0,...r.retry}}r.dns={ttl:5*60*1e3,lookup:n.lookup,...r.dns};r.cache=r.cache||"default";if(r.cache==="default"){const e=Object.keys(r.headers||{}).some((e=>s.includes(e.toLowerCase())));if(e){r.cache="no-store"}}r.cacheAdditionalHeaders=r.cacheAdditionalHeaders||[];if(r.cacheManager&&!r.cachePath){r.cachePath=r.cacheManager}return r};e.exports=configureOptions},22314:(e,t,r)=>{const n=r(52899);class CachingMinipassPipeline extends n{#a=[];#c=new Map;constructor(e,...t){super();this.#a=e.events;if(t.length){this.push(...t)}}on(e,t){if(this.#a.includes(e)&&this.#c.has(e)){return t(...this.#c.get(e))}return super.on(e,t)}emit(e,...t){if(this.#a.includes(e)){this.#c.set(e,t)}return super.emit(e,...t)}}e.exports=CachingMinipassPipeline},20766:(e,t,r)=>{const{Minipass:n}=r(78275);const s=r(88483);const{promiseRetry:i}=r(49498);const o=r(68951);const{log:a}=r(26687);const c=r(22314);const{getAgent:l}=r(57995);const u=r(96734);const d=`${u.name}/${u.version} (+https://npm.im/${u.name})`;const h=["ECONNRESET","ECONNREFUSED","EADDRINUSE","ETIMEDOUT","ECONNECTIONTIMEOUT","EIDLETIMEOUT","ERESPONSETIMEOUT","ETRANSFERTIMEOUT"];const f=["request-timeout"];const remoteFetch=(e,t)=>{const r=l(e.url,{...t,signal:undefined});if(!e.headers.has("connection")){e.headers.set("connection",r?"keep-alive":"close")}if(!e.headers.has("user-agent")){e.headers.set("user-agent",d)}const u={...t,agent:r,redirect:"manual"};return i((async(r,i)=>{const l=new s.Request(e,u);try{let e=await s(l,u);if(u.integrity&&e.status===200){const t=o.integrityStream({algorithms:u.algorithms,integrity:u.integrity,size:u.size});const r=new c({events:["integrity","size"]},e.body,t);t.on("integrity",(e=>r.emit("integrity",e)));t.on("size",(e=>r.emit("size",e)));e=new s.Response(r,e);e.body.hasIntegrityEmitter=true}e.headers.set("x-fetch-attempts",i);const d=n.isStream(l.body);const h=l.method!=="POST"&&!d&&([408,420,429].includes(e.status)||e.status>=500);if(h){if(typeof t.onRetry==="function"){t.onRetry(e)}a.http("fetch",`${l.method} ${l.url} attempt ${i} failed with ${e.status}`);return r(e)}return e}catch(e){const n=e.code==="EPROMISERETRY"?e.retried.code:e.code;const o=e.retried instanceof s.Response||h.includes(n)&&f.includes(e.type);if(l.method==="POST"||o){throw e}if(typeof t.onRetry==="function"){t.onRetry(e)}a.http("fetch",`${l.method} ${l.url} attempt ${i} failed with ${e.code}`);return r(e)}}),t.retry).catch((e=>{if(e.status>=400&&e.type!=="system"){return e}throw e}))};e.exports=remoteFetch},43772:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var n=function(){try{return r(16928)}catch(e){}}()||{sep:"/"};minimatch.sep=n.sep;var s=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var i=r(73783);var o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var a="[^/]";var c=a+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var d=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var h=/\/+/;minimatch.filter=filter;fu
Line truncated
|
||||
/*!
|
||||
* negotiator
|
||||
* Copyright(c) 2012 Federico Romero
|
||||
@@ -95,7 +95,7 @@ var n=r(79168);var s=r(25111);var i=r(56008);var o=r(53672);e.exports=Negotiator
|
||||
* Copyright (c) 2014-2018, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("expected path to be a string")}if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var n="";if(r>4&&e[3]==="\\"){var s=e[2];if((s==="?"||s===".")&&e.slice(0,2)==="\\\\"){e=e.slice(2);n="//"}}var i=e.split(/[/\\]+/);if(t!==false&&i[i.length-1]===""){i.pop()}return n+i.join("/")}},26687:e=>{const t=Symbol("proc-log.meta");e.exports={META:t,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...e){return process.emit("output","standard",...e)},error:function(...e){return process.emit("output","error",...e)},buffer:function(...e){return process.emit("output","buffer",...e)},flush:function(...e){return process.emit("output","flush",...e)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...e){return process.emit("log","error",...e)},notice:function(...e){return process.emit("log","notice",...e)},warn:function(...e){return process.emit("log","warn",...e)},info:function(...e){return process.emit("log","info",...e)},verbose:function(...e){return process.emit("log","verbose",...e)},http:function(...e){return process.emit("log","http",...e)},silly:function(...e){return process.emit("log","silly",...e)},timing:function(...e){return process.emit("log","timing",...e)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(e,t){process.emit("time","start",e);function end(){return process.emit("time","end",e)}if(typeof t==="function"){const e=t();if(e&&e.finally){return e.finally(end)}end();return e}return end},end:function(e){return process.emit("time","end",e)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(...e){let t;if(typeof e[0]==="function"){t=e.shift()}process.emit("input","start",...e);function end(){return process.emit("input","end",...e)}if(typeof t==="function"){const e=t();if(e&&e.finally){return e.finally(end)}end();return e}return end},end:function(...e){return process.emit("input","end",...e)},read:function(...e){let t,r;const n=new Promise(((e,n)=>{t=e;r=n}));process.emit("input","read",t,r,...e);return n}}}},41564:e=>{if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,r,n){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var s=arguments.length;var i,o;switch(s){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function afterTickOne(){e.call(null,t)}));case 3:return process.nextTick((function afterTickTwo(){e.call(null,t,r)}));case 4:return process.nextTick((function afterTickThree(){e.call(null,t,r,n)}));default:i=new Array(s-1);o=0;while(o<i.length){i[o++]=arguments[o]}return process.nextTick((function afterTick(){e.apply(null,i)}))}}},7945:e=>{e.exports=global.process},90390:(e,t,r)=>{var n=r(14339);var s=r(8464);var i=Object.prototype.hasOwnProperty;function isRetryError(e){return e&&e.code==="EPROMISERETRY"&&i.call(e,"retried")}function promiseRetry(e,t){var r;var i;if(typeof e==="object"&&typeof t==="function"){r=t;t=e;e=r}i=s.operation(t);return new Promise((function(t,r){i.attempt((function(s){Promise.resolve().then((function(){return e((function(e){if(isRetryError(e)){e=e.retried}throw n(new Error("Retrying"),"EPROMISERETRY",{retried:e})}),s)})).then(t,(function(e){if(isRetryError(e)){e=e.retried;if(i.retry(e||new Error)){return}}r(e)}))}))}))}e.exports=promiseRetry},8464:(e,t,r)=>{e.exports=r(32462)},32462:(e,t,r)=>{var n=r(31440);t.operation=function(e){var r=t.timeouts(e);return new n(r,{forever:e&&e.forever,unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};t.timeouts=function(e){if(e instanceof Array){return[].concat(e)}var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var r in e){t[r]=e[r]}if(t.minTimeout>t.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var n=[];for(var s=0;s<t.retries;s++){n.push(this.createTimeout(s,t))}if(e&&e.forever&&!n.length){n.push(this.createTimeout(s,t))}n.sort((function(e,t){return e-t}));return n};t.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1;var n=Math.round(r*t.minTimeout*Math.pow(t.factor,e));n=Math.min(n,t.maxTimeout);return n};t.wrap=function(e,r,n){if(r instanceof Array){n=r;r=null}if(!n){n=[];for(var s in e){if(typeof e[s]==="function"){n.push(s)}}}for(var i=0;i<n.length;i++){var o=n[i];var a=e[o];e[o]=function retryWrapper(n){var s=t.operation(r);var i=Array.prototype.slice.call(arguLine truncated
|
||||
e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("expected path to be a string")}if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var n="";if(r>4&&e[3]==="\\"){var s=e[2];if((s==="?"||s===".")&&e.slice(0,2)==="\\\\"){e=e.slice(2);n="//"}}var i=e.split(/[/\\]+/);if(t!==false&&i[i.length-1]===""){i.pop()}return n+i.join("/")}},26687:e=>{const t=Symbol("proc-log.meta");e.exports={META:t,output:{LEVELS:["standard","error","buffer","flush"],KEYS:{standard:"standard",error:"error",buffer:"buffer",flush:"flush"},standard:function(...e){return process.emit("output","standard",...e)},error:function(...e){return process.emit("output","error",...e)},buffer:function(...e){return process.emit("output","buffer",...e)},flush:function(...e){return process.emit("output","flush",...e)}},log:{LEVELS:["notice","error","warn","info","verbose","http","silly","timing","pause","resume"],KEYS:{notice:"notice",error:"error",warn:"warn",info:"info",verbose:"verbose",http:"http",silly:"silly",timing:"timing",pause:"pause",resume:"resume"},error:function(...e){return process.emit("log","error",...e)},notice:function(...e){return process.emit("log","notice",...e)},warn:function(...e){return process.emit("log","warn",...e)},info:function(...e){return process.emit("log","info",...e)},verbose:function(...e){return process.emit("log","verbose",...e)},http:function(...e){return process.emit("log","http",...e)},silly:function(...e){return process.emit("log","silly",...e)},timing:function(...e){return process.emit("log","timing",...e)},pause:function(){return process.emit("log","pause")},resume:function(){return process.emit("log","resume")}},time:{LEVELS:["start","end"],KEYS:{start:"start",end:"end"},start:function(e,t){process.emit("time","start",e);function end(){return process.emit("time","end",e)}if(typeof t==="function"){const e=t();if(e&&e.finally){return e.finally(end)}end();return e}return end},end:function(e){return process.emit("time","end",e)}},input:{LEVELS:["start","end","read"],KEYS:{start:"start",end:"end",read:"read"},start:function(...e){let t;if(typeof e[0]==="function"){t=e.shift()}process.emit("input","start",...e);function end(){return process.emit("input","end",...e)}if(typeof t==="function"){const e=t();if(e&&e.finally){return e.finally(end)}end();return e}return end},end:function(...e){return process.emit("input","end",...e)},read:function(...e){let t,r;const n=new Promise(((e,n)=>{t=e;r=n}));process.emit("input","read",t,r,...e);return n}}}},41564:e=>{if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,r,n){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var s=arguments.length;var i,o;switch(s){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function afterTickOne(){e.call(null,t)}));case 3:return process.nextTick((function afterTickTwo(){e.call(null,t,r)}));case 4:return process.nextTick((function afterTickThree(){e.call(null,t,r,n)}));default:i=new Array(s-1);o=0;while(o<i.length){i[o++]=arguments[o]}return process.nextTick((function afterTick(){e.apply(null,i)}))}}},7945:e=>{e.exports=global.process},90390:(e,t,r)=>{var n=r(14339);var s=r(8464);var i=Object.prototype.hasOwnProperty;function isRetryError(e){return e&&e.code==="EPROMISERETRY"&&i.call(e,"retried")}function promiseRetry(e,t){var r;var i;if(typeof e==="object"&&typeof t==="function"){r=t;t=e;e=r}i=s.operation(t);return new Promise((function(t,r){i.attempt((function(s){Promise.resolve().then((function(){return e((function(e){if(isRetryError(e)){e=e.retried}throw n(new Error("Retrying"),"EPROMISERETRY",{retried:e})}),s)})).then(t,(function(e){if(isRetryError(e)){e=e.retried;if(i.retry(e||new Error)){return}}r(e)}))}))}))}e.exports=promiseRetry},8464:(e,t,r)=>{e.exports=r(32462)},32462:(e,t,r)=>{var n=r(31440);t.operation=function(e){var r=t.timeouts(e);return new n(r,{forever:e&&e.forever,unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};t.timeouts=function(e){if(e instanceof Array){return[].concat(e)}var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var r in e){t[r]=e[r]}if(t.minTimeout>t.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var n=[];for(var s=0;s<t.retries;s++){n.push(this.createTimeout(s,t))}if(e&&e.forever&&!n.length){n.push(this.createTimeout(s,t))}n.sort((function(e,t){return e-t}));return n};t.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1;var n=Math.round(r*t.minTimeout*Math.pow(t.factor,e));n=Math.min(n,t.maxTimeout);return n};t.wrap=function(e,r,n){if(r instanceof Array){n=r;r=null}if(!n){n=[];for(var s in e){if(typeof e[s]==="function"){n.push(s)}}}for(var i=0;i<n.length;i++){var o=n[i];var a=e[o];e[o]=function retryWrapper(n){var s=t.operation(r);var i=Array.prototype.slice.call(arguLine truncated
|
||||
/*!
|
||||
* Tmp
|
||||
*
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","then","apply","Object","defineProperty","exports","ClientStreamingCall","constructor","method","requestHeaders","request","headers","response","status","trailers","requests","onfulfilled","onrejected","promiseFinished","reason","all","Deferred","DeferredState","preventUnhandledRejectionWarning","_state","PENDING","_promise","_resolve","_reject","catch","_","state","promise","Error","toLowerCase","RESOLVED","REJECTED","resolvePending","val","rejectPending","DuplexStreamingCall","responses","__webpack_unused_export__","service_type_1","__webpack_require__","enumerable","get","ServiceType","reflection_info_1","readMethodOptions","readMethodOption","readServiceOption","rpc_error_1","RpcError","rpc_options_1","mergeRpcOptions","rpc_output_stream_1","RpcOutputStreamController","test_transport_1","TestTransport","deferred_1","duplex_streaming_call_1","client_streaming_call_1","server_streaming_call_1","ServerStreamingCall","unary_call_1","UnaryCall","rpc_interceptor_1","stackIntercept","stackDuplexStreamingInterceptors","stackClientStreamingInterceptors","stackServerStreamingInterceptors","stackUnaryInterceptors","server_call_context_1","ServerCallContextController","normalizeMethodInfo","runtime_1","service","_a","_b","_c","m","localName","lowerCamelCase","name","serverStreaming","clientStreaming","options","idempotency","undefined","methodName","extensionName","extensionType","methods","find","i","fromJson","optionVal","message","code","meta","super","setPrototypeOf","prototype","toString","l","push","serviceName","entries","length","k","v","join","kind","transport","input","_d","tail","mtd","inp","opt","unary","curr","interceptors","filter","interceptUnary","reverse","interceptServerStreaming","interceptClientStreaming","duplex","interceptDuplex","assertNever","defaults","o","copy","key","keys","jsonOptions","mergeJsonOptions","binaryOptions","mergeBinaryOptions","concat","a","into","c","Date","getTime","Array","isArray","_lis","nxt","msg","err","cmp","_closed","_itState","q","onNext","callback","addLis","onMessage","onError","onComplete","list","indexOf","splice","clearLis","values","closed","notifyNext","error","complete","assert","notifyMessage","notifyError","notifyComplete","pushIt","forEach","Symbol","asyncIterator","p","first","shift","deadline","sendResponseHeadersFn","defaultStatus","detail","_cancelled","_listeners","_sendRH","notifyCancelled","sendResponseHeaders","data","cancelled","onCancel","typeName","map","suppressUncaughtRejections","headerDelay","responseDelay","betweenResponseDelay","afterResponseDelay","sentMessages","lastInput","TestInputStream","sent","single","sendComplete","completed","promiseHeaders","defaultHeaders","promiseSingleResponse","r","O","create","is","streamResponses","stream","abort","messages","delay","promiseStatus","promiseTrailers","defaultTrailers","maybeSuppressUncaught","mergeOptions","headersPromise","responsePromise","statusPromise","trailersPromise","outputStream","responseStreamClosedPromise","responseHeader","responseTrailer","ms","aborted","id","setTimeout","addEventListener","ev","clearTimeout","_completed","_sent","send","inputMessage","delayMs","inputComplete","assertFloat32","assertUInt32","assertInt32","condition","FLOAT32_MAX","FLOAT32_MIN","UINT32_MAX","INT32_MAX","INT32_MIN","arg","Number","isInteger","isFinite","base64encode","base64decode","encTable","split","decTable","charCodeAt","base64Str","es","bytes","Uint8Array","bytePos","groupPos","b","subarray","base64","WireType","UnknownFieldHandler","symbol","for","onRead","fieldNo","wireType","container","no","onWrite","writer","tag","raw","uf","last","slice","assign","BinaryReader","binaryReadOptions","binary_format_contract_1","pb_long_1","goog_varint_1","defaultsRead","readUnknownField","readerFactory","buf","textDecoder","varint64","varint64read","uint32","varint32read","len","pos","view","DataView","buffer","byteOffset","byteLength","TextDecoder","fatal","ignoreBOM","skip","start","Varint","Bit64","Bit32","LengthDelimited","StartGroup","t","EndGroup","assertBounds","RangeError","int32","sint32","zze","int64","PbLong","uint64","PbULong","sint64","lo","hi","s","bool","fixed32","getUint32","sfixed32","getInt32","fixed64","sfixed64","float","getFloat32","double","getFloat64","string","decode","BinaryWriter","binaryWriteOptions","assert_1","defaultsWrite","writeUnknownFields","writerFactory","textEncoder","stack","TextEncoder","chunks","finish","offset","set","fork","chunk","prev","pop","type","varint32write","encode","setFloat32","setFloat64","setUint32","setInt32","long","from","varint64write","sign","listEnumNumbers","listEnumNames","listEnumValues","isEnumObject","hasOwnProperty","num","parseInt","isNaN","nam","enumObject","number","index","arr","int64toString","int64fromString","lowBits","highBits","mLine truncated
|
||||
{"version":3,"file":"index.js","names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","then","apply","Object","defineProperty","exports","ClientStreamingCall","constructor","method","requestHeaders","request","headers","response","status","trailers","requests","onfulfilled","onrejected","promiseFinished","reason","all","Deferred","DeferredState","preventUnhandledRejectionWarning","_state","PENDING","_promise","_resolve","_reject","catch","_","state","promise","Error","toLowerCase","RESOLVED","REJECTED","resolvePending","val","rejectPending","DuplexStreamingCall","responses","__webpack_unused_export__","service_type_1","__webpack_require__","enumerable","get","ServiceType","reflection_info_1","readMethodOptions","readMethodOption","readServiceOption","rpc_error_1","RpcError","rpc_options_1","mergeRpcOptions","rpc_output_stream_1","RpcOutputStreamController","test_transport_1","TestTransport","deferred_1","duplex_streaming_call_1","client_streaming_call_1","server_streaming_call_1","ServerStreamingCall","unary_call_1","UnaryCall","rpc_interceptor_1","stackIntercept","stackDuplexStreamingInterceptors","stackClientStreamingInterceptors","stackServerStreamingInterceptors","stackUnaryInterceptors","server_call_context_1","ServerCallContextController","normalizeMethodInfo","runtime_1","service","_a","_b","_c","m","localName","lowerCamelCase","name","serverStreaming","clientStreaming","options","idempotency","undefined","methodName","extensionName","extensionType","methods","find","i","fromJson","optionVal","message","code","meta","super","setPrototypeOf","prototype","toString","l","push","serviceName","entries","length","k","v","join","kind","transport","input","_d","tail","mtd","inp","opt","unary","curr","interceptors","filter","interceptUnary","reverse","interceptServerStreaming","interceptClientStreaming","duplex","interceptDuplex","assertNever","defaults","o","copy","key","keys","jsonOptions","mergeJsonOptions","binaryOptions","mergeBinaryOptions","concat","a","into","c","Date","getTime","Array","isArray","_lis","nxt","msg","err","cmp","_closed","_itState","q","onNext","callback","addLis","onMessage","onError","onComplete","list","indexOf","splice","clearLis","values","closed","notifyNext","error","complete","assert","notifyMessage","notifyError","notifyComplete","pushIt","forEach","Symbol","asyncIterator","p","first","shift","deadline","sendResponseHeadersFn","defaultStatus","detail","_cancelled","_listeners","_sendRH","notifyCancelled","sendResponseHeaders","data","cancelled","onCancel","typeName","map","suppressUncaughtRejections","headerDelay","responseDelay","betweenResponseDelay","afterResponseDelay","sentMessages","lastInput","TestInputStream","sent","single","sendComplete","completed","promiseHeaders","defaultHeaders","promiseSingleResponse","r","O","create","is","streamResponses","stream","abort","messages","delay","promiseStatus","promiseTrailers","defaultTrailers","maybeSuppressUncaught","mergeOptions","headersPromise","responsePromise","statusPromise","trailersPromise","outputStream","responseStreamClosedPromise","responseHeader","responseTrailer","ms","aborted","id","setTimeout","addEventListener","ev","clearTimeout","_completed","_sent","send","inputMessage","delayMs","inputComplete","assertFloat32","assertUInt32","assertInt32","condition","FLOAT32_MAX","FLOAT32_MIN","UINT32_MAX","INT32_MAX","INT32_MIN","arg","Number","isInteger","isFinite","base64encode","base64decode","encTable","split","decTable","charCodeAt","base64Str","es","bytes","Uint8Array","bytePos","groupPos","b","subarray","base64","WireType","UnknownFieldHandler","symbol","for","onRead","fieldNo","wireType","container","no","onWrite","writer","tag","raw","uf","last","slice","assign","BinaryReader","binaryReadOptions","binary_format_contract_1","pb_long_1","goog_varint_1","defaultsRead","readUnknownField","readerFactory","buf","textDecoder","varint64","varint64read","uint32","varint32read","len","pos","view","DataView","buffer","byteOffset","byteLength","TextDecoder","fatal","ignoreBOM","skip","start","Varint","Bit64","Bit32","LengthDelimited","StartGroup","t","EndGroup","assertBounds","RangeError","int32","sint32","zze","int64","PbLong","uint64","PbULong","sint64","lo","hi","s","bool","fixed32","getUint32","sfixed32","getInt32","fixed64","sfixed64","float","getFloat32","double","getFloat64","string","decode","BinaryWriter","binaryWriteOptions","assert_1","defaultsWrite","writeUnknownFields","writerFactory","textEncoder","stack","TextEncoder","chunks","finish","offset","set","fork","chunk","prev","pop","type","varint32write","encode","setFloat32","setFloat64","setUint32","setInt32","long","from","varint64write","sign","listEnumNumbers","listEnumNames","listEnumValues","isEnumObject","hasOwnProperty","num","parseInt","isNaN","nam","enumObject","number","index","arr","int64toString","int64fromString","lowBits","highBits","mLine truncated
|
||||
@@ -1829,25 +1829,16 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"brace-expansion@npm:^1.1.7":
|
||||
version: 1.1.12
|
||||
resolution: "brace-expansion@npm:1.1.12"
|
||||
version: 1.1.13
|
||||
resolution: "brace-expansion@npm:1.1.13"
|
||||
dependencies:
|
||||
balanced-match: "npm:^1.0.0"
|
||||
concat-map: "npm:0.0.1"
|
||||
checksum: 10/12cb6d6310629e3048cadb003e1aca4d8c9bb5c67c3c321bafdd7e7a50155de081f78ea3e0ed92ecc75a9015e784f301efc8132383132f4f7904ad1ac529c562
|
||||
checksum: 10/b5f4329fdbe9d2e25fa250c8f866ebd054ba946179426e99b86dcccddabdb1d481f0e40ee5430032e62a7d0a6c2837605ace6783d015aa1d65d85ca72154d936
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"brace-expansion@npm:^2.0.1":
|
||||
version: 2.0.1
|
||||
resolution: "brace-expansion@npm:2.0.1"
|
||||
dependencies:
|
||||
balanced-match: "npm:^1.0.0"
|
||||
checksum: 10/a61e7cd2e8a8505e9f0036b3b6108ba5e926b4b55089eeb5550cd04a471fe216c96d4fe7e4c7f995c728c554ae20ddfc4244cad10aef255e72b62930afd233d1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"brace-expansion@npm:^2.0.2":
|
||||
"brace-expansion@npm:^2.0.1, brace-expansion@npm:^2.0.2":
|
||||
version: 2.0.2
|
||||
resolution: "brace-expansion@npm:2.0.2"
|
||||
dependencies:
|
||||
|
||||
Reference in new issue
Block a user