puppeteer/assets/js/a011c4d4.ca7aa63c.js
release-please[bot] 8a65e2b0ae deploy: d57b1044f2
2024-01-24 13:57:56 +00:00

2 lines
3.7 KiB
JavaScript

/*! For license information please see a011c4d4.ca7aa63c.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[10964],{30947:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>d,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>l,toc:()=>a});var t=s(85893),n=s(11151);const o={sidebar_label:"resolveBuildId"},i="resolveBuildId() function",l={id:"browsers-api/browsers.resolvebuildid",title:"resolveBuildId() function",description:"Signature:",source:"@site/versioned_docs/version-21.9.0/browsers-api/browsers.resolvebuildid.md",sourceDirName:"browsers-api",slug:"/browsers-api/browsers.resolvebuildid",permalink:"/browsers-api/browsers.resolvebuildid",draft:!1,unlisted:!1,tags:[],version:"21.9.0",frontMatter:{sidebar_label:"resolveBuildId"},sidebar:"browsersApi",previous:{title:"computeSystemExecutablePath",permalink:"/browsers-api/browsers.computesystemexecutablepath"},next:{title:"getInstalledBrowsers",permalink:"/browsers-api/browsers.getinstalledbrowsers"}},d={},a=[{value:"Signature:",id:"signature",level:4},{value:"Parameters",id:"parameters",level:2}];function c(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"resolvebuildid-function",children:"resolveBuildId() function"}),"\n",(0,t.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:"export declare function resolveBuildId(\n browser: Browser,\n platform: BrowserPlatform,\n tag: string\n): Promise<string>;\n"})}),"\n",(0,t.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Parameter"}),(0,t.jsx)(r.th,{children:"Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"browser"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/browsers-api/browsers.browser",children:"Browser"})}),(0,t.jsx)(r.td,{})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"platform"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/browsers-api/browsers.browserplatform",children:"BrowserPlatform"})}),(0,t.jsx)(r.td,{})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"tag"}),(0,t.jsx)(r.td,{children:"string"}),(0,t.jsx)(r.td,{})]})]})]}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.strong,{children:"Returns:"})}),"\n",(0,t.jsx)(r.p,{children:"Promise<string>"})]})}function u(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},75251:(e,r,s)=>{var t=s(67294),n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function a(e,r,s){var t,o={},a=null,c=null;for(t in void 0!==s&&(a=""+s),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(c=r.ref),r)i.call(r,t)&&!d.hasOwnProperty(t)&&(o[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===o[t]&&(o[t]=r[t]);return{$$typeof:n,type:e,key:a,ref:c,props:o,_owner:l.current}}r.Fragment=o,r.jsx=a,r.jsxs=a},85893:(e,r,s)=>{e.exports=s(75251)},11151:(e,r,s)=>{s.d(r,{Z:()=>l,a:()=>i});var t=s(67294);const n={},o=t.createContext(n);function i(e){const r=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),t.createElement(o.Provider,{value:r},e.children)}}}]);