diff --git a/.changeset/fuzzy-cars-sing.md b/.changeset/fuzzy-cars-sing.md new file mode 100644 index 00000000..d6f8cb5b --- /dev/null +++ b/.changeset/fuzzy-cars-sing.md @@ -0,0 +1,5 @@ +--- +'github-actions-cloudflare-pages': patch +--- + +chore(deps): bump wrangler from 3.73.0 to 3.78.2 diff --git a/dist/deploy/index.js b/dist/deploy/index.js index bb26d257..386d749f 100644 --- a/dist/deploy/index.js +++ b/dist/deploy/index.js @@ -60,7 +60,7 @@ ${pendingInterceptorsFormatter.format(pending)} `).filter(x=>x!=="");return options&&options.trimWhitespace===!1?inputs:inputs.map(input=>input.trim())}__name(getMultilineInput,"getMultilineInput");exports.getMultilineInput=getMultilineInput;function getBooleanInput(name,options){let trueValue=["true","True","TRUE"],falseValue=["false","False","FALSE"],val=getInput3(name,options);if(trueValue.includes(val))return!0;if(falseValue.includes(val))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name} Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}__name(getBooleanInput,"getBooleanInput");exports.getBooleanInput=getBooleanInput;function setOutput2(name,value){if(process.env.GITHUB_OUTPUT||"")return file_command_1.issueFileCommand("OUTPUT",file_command_1.prepareKeyValueMessage(name,value));process.stdout.write(os.EOL),command_1.issueCommand("set-output",{name},utils_1.toCommandValue(value))}__name(setOutput2,"setOutput");exports.setOutput=setOutput2;function setCommandEcho(enabled){command_1.issue("echo",enabled?"on":"off")}__name(setCommandEcho,"setCommandEcho");exports.setCommandEcho=setCommandEcho;function setFailed4(message){process.exitCode=ExitCode.Failure,error2(message)}__name(setFailed4,"setFailed");exports.setFailed=setFailed4;function isDebug3(){return process.env.RUNNER_DEBUG==="1"}__name(isDebug3,"isDebug");exports.isDebug=isDebug3;function debug4(message){command_1.issueCommand("debug",{},message)}__name(debug4,"debug");exports.debug=debug4;function error2(message,properties={}){command_1.issueCommand("error",utils_1.toCommandProperties(properties),message instanceof Error?message.toString():message)}__name(error2,"error");exports.error=error2;function warning(message,properties={}){command_1.issueCommand("warning",utils_1.toCommandProperties(properties),message instanceof Error?message.toString():message)}__name(warning,"warning");exports.warning=warning;function notice2(message,properties={}){command_1.issueCommand("notice",utils_1.toCommandProperties(properties),message instanceof Error?message.toString():message)}__name(notice2,"notice");exports.notice=notice2;function info2(message){process.stdout.write(message+os.EOL)}__name(info2,"info");exports.info=info2;function startGroup(name){command_1.issue("group",name)}__name(startGroup,"startGroup");exports.startGroup=startGroup;function endGroup(){command_1.issue("endgroup")}__name(endGroup,"endGroup");exports.endGroup=endGroup;function group(name,fn){return __awaiter(this,void 0,void 0,function*(){startGroup(name);let result;try{result=yield fn()}finally{endGroup()}return result})}__name(group,"group");exports.group=group;function saveState(name,value){if(process.env.GITHUB_STATE||"")return file_command_1.issueFileCommand("STATE",file_command_1.prepareKeyValueMessage(name,value));command_1.issueCommand("save-state",{name},utils_1.toCommandValue(value))}__name(saveState,"saveState");exports.saveState=saveState;function getState(name){return process.env[`STATE_${name}`]||""}__name(getState,"getState");exports.getState=getState;function getIDToken(aud){return __awaiter(this,void 0,void 0,function*(){return yield oidc_utils_1.OidcClient.getIDToken(aud)})}__name(getIDToken,"getIDToken");exports.getIDToken=getIDToken;var summary_1=require_summary();Object.defineProperty(exports,"summary",{enumerable:!0,get:__name(function(){return summary_1.summary},"get")});var summary_2=require_summary();Object.defineProperty(exports,"markdownSummary",{enumerable:!0,get:__name(function(){return summary_2.markdownSummary},"get")});var path_utils_1=require_path_utils();Object.defineProperty(exports,"toPosixPath",{enumerable:!0,get:__name(function(){return path_utils_1.toPosixPath},"get")});Object.defineProperty(exports,"toWin32Path",{enumerable:!0,get:__name(function(){return path_utils_1.toWin32Path},"get")});Object.defineProperty(exports,"toPlatformPath",{enumerable:!0,get:__name(function(){return path_utils_1.toPlatformPath},"get")})}});var import_core11=__toESM(require_core(),1);var import_core10=__toESM(require_core(),1);var import_core7=__toESM(require_core(),1);import{strict}from"node:assert";var import_core3=__toESM(require_core(),1);var import_core=__toESM(require_core(),1);import{exec}from"node:child_process";import{existsSync}from"node:fs";import path from"node:path";import{promisify}from"node:util";var raise=__name(message=>{throw new Error(message)},"raise"),raiseFail=__name(message=>{throw(0,import_core.setFailed)(message),new Error(message)},"raiseFail"),execAsync=promisify(exec),checkWorkingDirectory=__name((directory=".")=>{let p=path.normalize(directory);if(existsSync(p))return p;throw new Error(`Directory not found: ${directory}`)},"checkWorkingDirectory");var import_core2=__toESM(require_core(),1);import{strict as assert}from"node:assert";import{existsSync as existsSync2,readFileSync}from"node:fs";import{EOL}from"node:os";var EVENT_NAMES=["branch_protection_configuration","branch_protection_rule","check_run","check_suite","code_scanning_alert","commit_comment","create","custom_property","custom_property_values","delete","dependabot_alert","deploy_key","deployment","deployment_protection_rule","deployment_review","deployment_status","discussion","discussion_comment","fork","github_app_authorization","gollum","installation","installation_repositories","installation_target","issue_comment","issues","label","marketplace_purchase","member","membership","merge_group","meta","milestone","org_block","organization","package","page_build","ping","project","project_card","project_column","projects_v2_item","public","pull_request","pull_request_review","pull_request_review_comment","pull_request_review_thread","push","registry_package","release","repository","repository_dispatch","repository_import","repository_vulnerability_alert","secret_scanning_alert","secret_scanning_alert_location","security_advisory","sponsorship","star","status","team","team_add","watch","workflow_dispatch","workflow_job","workflow_run"];var getPayload=__name(()=>{if(process.env.GITHUB_EVENT_PATH){if(existsSync2(process.env.GITHUB_EVENT_PATH))return JSON.parse(readFileSync(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));{let path2=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${path2} does not exist${EOL}`)}}},"getPayload"),getWorkflowEvent=__name(()=>{let eventName=process.env.GITHUB_EVENT_NAME;assert(EVENT_NAMES.includes(eventName),`eventName ${eventName} is not supported`);let payload=getPayload();return(0,import_core2.isDebug)()&&((0,import_core2.debug)(`eventName: ${eventName}`),(0,import_core2.debug)(`payload: ${JSON.stringify(payload)}`)),{eventName,payload}},"getWorkflowEvent");var getGitHubContext=__name(()=>{let event=getWorkflowEvent(),repo=(()=>{let[owner,repo2]=process.env.GITHUB_REPOSITORY?process.env.GITHUB_REPOSITORY.split("/"):raise("context.repo: requires a GITHUB_REPOSITORY environment variable like 'owner/repo'"),node_id="repository"in event.payload?event.payload.repository?.node_id||raise("context.repo: no repo node_id in payload"):raise("context.repo: no repo node_id in payload");return{owner,repo:repo2,node_id}})(),branch=process.env.GITHUB_HEAD_REF||process.env.GITHUB_REF_NAME,sha=process.env.GITHUB_SHA,graphqlEndpoint=process.env.GITHUB_GRAPHQL_URL,ref=(()=>{let ref2=process.env.GITHUB_HEAD_REF;return!ref2&&("ref"in event.payload?ref2=event.payload.ref:event.eventName==="pull_request"&&(ref2=event.payload.pull_request.head.ref),!ref2)?raise("context: no ref"):ref2})(),context={event,repo,branch,sha,graphqlEndpoint,ref};if((0,import_core3.isDebug)()){let debugContext={...context,event:"will debug itself as output is large"};(0,import_core3.debug)(`context: ${JSON.stringify(debugContext)}`)}return context},"getGitHubContext"),_context,useContext=__name(()=>_context??(_context=getGitHubContext()),"useContext"),useContextEvent=__name(()=>useContext().event,"useContextEvent");var import_core4=__toESM(require_core(),1);var INPUT_KEY_CLOUDFLARE_ACCOUNT_ID="cloudflare-account-id",INPUT_KEY_CLOUDFLARE_API_TOKEN="cloudflare-api-token",INPUT_KEY_CLOUDFLARE_PROJECT_NAME="cloudflare-project-name",INPUT_KEY_DIRECTORY="directory",INPUT_KEY_GITHUB_ENVIRONMENT="github-environment",INPUT_KEY_GITHUB_TOKEN="github-token",INPUT_KEY_WORKING_DIRECTORY="working-directory";var getInputs=__name(()=>({cloudflareApiToken:(0,import_core4.getInput)(INPUT_KEY_CLOUDFLARE_API_TOKEN,{required:!0}),gitHubApiToken:(0,import_core4.getInput)(INPUT_KEY_GITHUB_TOKEN,{required:!0}),gitHubEnvironment:(0,import_core4.getInput)(INPUT_KEY_GITHUB_ENVIRONMENT,{required:!1})||void 0}),"getInputs"),_inputs,useCommonInputs=__name(()=>_inputs??(_inputs=getInputs()),"useCommonInputs");var API_ENDPOINT="https://api.cloudflare.com",getCloudflareApiEndpoint=__name(({path:path2,accountId,projectName})=>{let input=[`/client/v4/accounts/${accountId}/pages/projects/${projectName}`,path2].filter(Boolean).join("/");return new URL(input,API_ENDPOINT).toString()},"getCloudflareApiEndpoint"),getCloudflareLogEndpoint=__name(({id,accountId,projectName})=>new URL(`${accountId}/pages/view/${projectName}/${id}`,"https://dash.cloudflare.com").toString(),"getCloudflareLogEndpoint");var import_core5=__toESM(require_core(),1);var ParseError=class extends Error{static{__name(this,"ParseError")}text;notes;location;kind;code;constructor({text,notes,location,kind}){super(text),this.name=this.constructor.name,this.text=text,this.notes=notes??[],this.location=location,this.kind=kind??"error"}};var throwFetchError=__name((resource,response)=>{let error2=new ParseError({text:`A request to the Cloudflare API (${resource}) failed.`,notes:response.errors.map(err=>({text:renderError(err)}))}),code=response.errors[0]?.code;throw code&&(error2.code=code),error2.notes?.length>0&&error2.notes.map(note=>{(0,import_core5.error)(`Cloudflare API: ${note.text}`)}),error2},"throwFetchError"),renderError=__name((err,level=0)=>{let chainedMessages=err.error_chain?.map(chainedError=>` ${" ".repeat(level)}- ${renderError(chainedError,level+1)}`).join(` -`)??"";return(err.code?`${err.message} [code: ${err.code}]`:err.message)+chainedMessages},"renderError");var fetchResult=__name(async(resource,init={},queryParams,abortSignal)=>{let method=init.method??"GET",{cloudflareApiToken}=useCommonInputs(),initFetch={headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:`Bearer ${cloudflareApiToken}`}},response=await fetch(resource,{method,...initFetch,signal:abortSignal}).then(response2=>response2.json());if(response.success){if(response.result===null||response.result===void 0)throw new Error("Cloudflare API: response missing 'result'");return response.result}return throwFetchError(resource,response)},"fetchResult");var getCloudflareDeploymentAlias=__name(deployment=>deployment.aliases&&deployment.aliases.length>0?deployment.aliases[0]:deployment.url,"getCloudflareDeploymentAlias"),getCloudflareLatestDeployment=__name(async({accountId,projectName})=>{let{sha:commitHash}=useContext(),deployment=(await fetchResult(getCloudflareApiEndpoint({path:"deployments",accountId,projectName})))?.find(deployment2=>deployment2.deployment_trigger.metadata.commit_hash===commitHash);if(deployment===void 0)throw new Error(`Cloudflare: could not find deployment with commitHash: ${commitHash}`);return deployment},"getCloudflareLatestDeployment");var import_core6=__toESM(require_core(),1);var ERROR_KEY="Status Of Deployment:",statusCloudflareDeployment=__name(async apiEndpoint=>{let deploymentStatus="unknown",deployment;do try{deployment=await getCloudflareLatestDeployment(apiEndpoint);let deployStage=deployment.stages.find(stage=>stage.name==="deploy");switch((0,import_core6.debug)(JSON.stringify(deployStage)),deployStage?.status){case"active":case"success":case"failure":case"skipped":case"canceled":{deploymentStatus=deployStage.status;break}default:await new Promise(resolve=>setTimeout(resolve,1e3))}}catch(error2){throw error2 instanceof Error?error2:error2&&typeof error2=="object"&&"stderr"in error2&&typeof error2.stderr=="string"?new Error(error2.stderr):new Error(`${ERROR_KEY} unknown error`)}while(deploymentStatus==="unknown");return{deployment,status:deploymentStatus}},"statusCloudflareDeployment");var CLOUDFLARE_API_TOKEN="CLOUDFLARE_API_TOKEN",CLOUDFLARE_ACCOUNT_ID="CLOUDFLARE_ACCOUNT_ID",ERROR_KEY2="Create Deployment:",createCloudflareDeployment=__name(async({accountId,projectName,directory,workingDirectory=""})=>{let{cloudflareApiToken}=useCommonInputs();process.env[CLOUDFLARE_API_TOKEN]=cloudflareApiToken,process.env[CLOUDFLARE_ACCOUNT_ID]=accountId;let{repo,branch,sha:commitHash}=useContext();if(branch===void 0)throw new Error(`${ERROR_KEY2} branch is undefined`);try{let WRANGLER_VERSION="3.73.0";strict(WRANGLER_VERSION,"wrangler version should exist");let{stdout}=await execAsync(`npx wrangler@${WRANGLER_VERSION} pages deploy ${directory} --project-name=${projectName} --branch=${branch} --commit-dirty=true --commit-hash=${commitHash}`,{env:process.env,cwd:workingDirectory});(0,import_core7.info)(stdout);let{deployment,status}=await statusCloudflareDeployment({accountId,projectName});(0,import_core7.setOutput)("id",deployment.id),(0,import_core7.setOutput)("url",deployment.url),(0,import_core7.setOutput)("environment",deployment.environment);let alias=getCloudflareDeploymentAlias(deployment);return(0,import_core7.setOutput)("alias",alias),(0,import_core7.setOutput)("wrangler",stdout),await import_core7.summary.addHeading("Cloudflare Pages Deployment").addBreak().addTable([[{data:"Name",header:!0},{data:"Result",header:!0}],["Environment:",deployment.environment],["Branch:",`${deployment.deployment_trigger.metadata.branch}`],["Commit Hash:",`${deployment.deployment_trigger.metadata.commit_hash}`],["Commit Message:",deployment.deployment_trigger.metadata.commit_message],["Status:",`${status.toUpperCase()||"UNKNOWN"}`],["Preview URL:",`${deployment.url}`],["Branch Preview URL:",`${alias}`],["Wrangler Output:",`${stdout}`]]).write(),{deployment,wranglerOutput:stdout}}catch(error2){throw error2 instanceof Error?error2:error2&&typeof error2=="object"&&"stderr"in error2&&typeof error2.stderr=="string"?new Error(error2.stderr):new Error(`${ERROR_KEY2} unknown error`)}},"createCloudflareDeployment");var TypedDocumentString=class extends String{constructor(value,__meta__){super(value);this.value=value;this.__meta__=__meta__}static{__name(this,"TypedDocumentString")}__apiType;toString(){return this.value}},DeploymentFragmentFragmentDoc=new TypedDocumentString(` +`)??"";return(err.code?`${err.message} [code: ${err.code}]`:err.message)+chainedMessages},"renderError");var fetchResult=__name(async(resource,init={},queryParams,abortSignal)=>{let method=init.method??"GET",{cloudflareApiToken}=useCommonInputs(),initFetch={headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:`Bearer ${cloudflareApiToken}`}},response=await fetch(resource,{method,...initFetch,signal:abortSignal}).then(response2=>response2.json());if(response.success){if(response.result===null||response.result===void 0)throw new Error("Cloudflare API: response missing 'result'");return response.result}return throwFetchError(resource,response)},"fetchResult");var getCloudflareDeploymentAlias=__name(deployment=>deployment.aliases&&deployment.aliases.length>0?deployment.aliases[0]:deployment.url,"getCloudflareDeploymentAlias"),getCloudflareLatestDeployment=__name(async({accountId,projectName})=>{let{sha:commitHash}=useContext(),deployment=(await fetchResult(getCloudflareApiEndpoint({path:"deployments",accountId,projectName})))?.find(deployment2=>deployment2.deployment_trigger.metadata.commit_hash===commitHash);if(deployment===void 0)throw new Error(`Cloudflare: could not find deployment with commitHash: ${commitHash}`);return deployment},"getCloudflareLatestDeployment");var import_core6=__toESM(require_core(),1);var ERROR_KEY="Status Of Deployment:",statusCloudflareDeployment=__name(async apiEndpoint=>{let deploymentStatus="unknown",deployment;do try{deployment=await getCloudflareLatestDeployment(apiEndpoint);let deployStage=deployment.stages.find(stage=>stage.name==="deploy");switch((0,import_core6.debug)(JSON.stringify(deployStage)),deployStage?.status){case"active":case"success":case"failure":case"skipped":case"canceled":{deploymentStatus=deployStage.status;break}default:await new Promise(resolve=>setTimeout(resolve,1e3))}}catch(error2){throw error2 instanceof Error?error2:error2&&typeof error2=="object"&&"stderr"in error2&&typeof error2.stderr=="string"?new Error(error2.stderr):new Error(`${ERROR_KEY} unknown error`)}while(deploymentStatus==="unknown");return{deployment,status:deploymentStatus}},"statusCloudflareDeployment");var CLOUDFLARE_API_TOKEN="CLOUDFLARE_API_TOKEN",CLOUDFLARE_ACCOUNT_ID="CLOUDFLARE_ACCOUNT_ID",ERROR_KEY2="Create Deployment:",createCloudflareDeployment=__name(async({accountId,projectName,directory,workingDirectory=""})=>{let{cloudflareApiToken}=useCommonInputs();process.env[CLOUDFLARE_API_TOKEN]=cloudflareApiToken,process.env[CLOUDFLARE_ACCOUNT_ID]=accountId;let{repo,branch,sha:commitHash}=useContext();if(branch===void 0)throw new Error(`${ERROR_KEY2} branch is undefined`);try{let WRANGLER_VERSION="3.78.2";strict(WRANGLER_VERSION,"wrangler version should exist");let{stdout}=await execAsync(`npx wrangler@${WRANGLER_VERSION} pages deploy ${directory} --project-name=${projectName} --branch=${branch} --commit-dirty=true --commit-hash=${commitHash}`,{env:process.env,cwd:workingDirectory});(0,import_core7.info)(stdout);let{deployment,status}=await statusCloudflareDeployment({accountId,projectName});(0,import_core7.setOutput)("id",deployment.id),(0,import_core7.setOutput)("url",deployment.url),(0,import_core7.setOutput)("environment",deployment.environment);let alias=getCloudflareDeploymentAlias(deployment);return(0,import_core7.setOutput)("alias",alias),(0,import_core7.setOutput)("wrangler",stdout),await import_core7.summary.addHeading("Cloudflare Pages Deployment").addBreak().addTable([[{data:"Name",header:!0},{data:"Result",header:!0}],["Environment:",deployment.environment],["Branch:",`${deployment.deployment_trigger.metadata.branch}`],["Commit Hash:",`${deployment.deployment_trigger.metadata.commit_hash}`],["Commit Message:",deployment.deployment_trigger.metadata.commit_message],["Status:",`${status.toUpperCase()||"UNKNOWN"}`],["Preview URL:",`${deployment.url}`],["Branch Preview URL:",`${alias}`],["Wrangler Output:",`${stdout}`]]).write(),{deployment,wranglerOutput:stdout}}catch(error2){throw error2 instanceof Error?error2:error2&&typeof error2=="object"&&"stderr"in error2&&typeof error2.stderr=="string"?new Error(error2.stderr):new Error(`${ERROR_KEY2} unknown error`)}},"createCloudflareDeployment");var TypedDocumentString=class extends String{constructor(value,__meta__){super(value);this.value=value;this.__meta__=__meta__}static{__name(this,"TypedDocumentString")}__apiType;toString(){return this.value}},DeploymentFragmentFragmentDoc=new TypedDocumentString(` fragment DeploymentFragment on Deployment { id environment diff --git a/package.json b/package.json index 97910ea7..7f48b9a0 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "@actions/core": "1.10.1", "@octokit-next/core": "2.8.0", "@octokit/plugin-paginate-rest": "11.3.3", - "wrangler": "3.73.0" + "wrangler": "3.78.2" }, "devDependencies": { "@changesets/changelog-github": "0.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc23583f..423423cb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: 11.3.3 version: 11.3.3(@octokit/core@6.1.2) wrangler: - specifier: 3.73.0 - version: 3.73.0 + specifier: 3.78.2 + version: 3.78.2 devDependencies: '@changesets/changelog-github': specifier: 0.5.0 @@ -484,38 +484,38 @@ packages: '@cloudflare/util-en-garde@8.0.10': resolution: {integrity: sha512-qdCFf90hoZzT4o4xEmxOKUf9+bEJNGh4ANnRYApo6BMyVnHoHEHAQ3nWmGSHBmo+W9hOk2Ik7r1oHLbI0O/RRg==} - '@cloudflare/workerd-darwin-64@1.20240821.1': - resolution: {integrity: sha512-CDBpfZKrSy4YrIdqS84z67r3Tzal2pOhjCsIb63IuCnvVes59/ft1qhczBzk9EffeOE2iTCrA4YBT7Sbn7USew==} + '@cloudflare/workerd-darwin-64@1.20240909.0': + resolution: {integrity: sha512-nJ8jm/6PR8DPzVb4QifNAfSdrFZXNblwIdOhLTU5FpSvFFocmzFX5WgzQagvtmcC9/ZAQyxuf7WynDNyBcoe0Q==} engines: {node: '>=16'} cpu: [x64] os: [darwin] - '@cloudflare/workerd-darwin-arm64@1.20240821.1': - resolution: {integrity: sha512-Q+9RedvNbPcEt/dKni1oN94OxbvuNAeJkgHmrLFTGF8zu21wzOhVkQeRNxcYxrMa9mfStc457NAg13OVCj2kHQ==} + '@cloudflare/workerd-darwin-arm64@1.20240909.0': + resolution: {integrity: sha512-gJqKa811oSsoxy9xuoQn7bS0Hr1sY+o3EUORTcEnulG6Kz9NQ6nd8QNdp2Hrk2jmmSqwrNkn+a6PZkWzk6Q0Gw==} engines: {node: '>=16'} cpu: [arm64] os: [darwin] - '@cloudflare/workerd-linux-64@1.20240821.1': - resolution: {integrity: sha512-j6z3KsPtawrscoLuP985LbqFrmsJL6q1mvSXOXTqXGODAHIzGBipHARdOjms3UQqovzvqB2lQaQsZtLBwCZxtA==} + '@cloudflare/workerd-linux-64@1.20240909.0': + resolution: {integrity: sha512-sJrmtccfMg73sZljiBpe4R+lhF58TqzqhF2pQG8HRjyxkzkM1sjpZqfEFaIkNUDqd3/Ibji49fklhPCGXljKSg==} engines: {node: '>=16'} cpu: [x64] os: [linux] - '@cloudflare/workerd-linux-arm64@1.20240821.1': - resolution: {integrity: sha512-I9bHgZOxJQW0CV5gTdilyxzTG7ILzbTirehQWgfPx9X77E/7eIbR9sboOMgyeC69W4he0SKtpx0sYZuTJu4ERw==} + '@cloudflare/workerd-linux-arm64@1.20240909.0': + resolution: {integrity: sha512-dTbSdceyRXPOSER+18AwYRbPQG0e/Dwl2trmfMMCETkfJhNLv1fU3FFMJPjfILijKnhTZHSnHCx0+xwHdon2fg==} engines: {node: '>=16'} cpu: [arm64] os: [linux] - '@cloudflare/workerd-windows-64@1.20240821.1': - resolution: {integrity: sha512-keC97QPArs6LWbPejQM7/Y8Jy8QqyaZow4/ZdsGo+QjlOLiZRDpAenfZx3CBUoWwEeFwQTl2FLO+8hV1SWFFYw==} + '@cloudflare/workerd-windows-64@1.20240909.0': + resolution: {integrity: sha512-/d4BT0kcWFa7Qc0K4K9+cwVQ1qyPNKiO42JZUijlDlco+TYTPkLO3qGEohmwbfMq+BieK7JTMSgjO81ZHpA0HQ==} engines: {node: '>=16'} cpu: [x64] os: [win32] - '@cloudflare/workers-shared@0.4.1': - resolution: {integrity: sha512-nYh4r8JwOOjYIdH2zub++CmIKlkYFlpxI1nBHimoiHcytJXD/b7ldJ21TtfzUZMCgI78mxVlymMHA/ReaOxKlA==} + '@cloudflare/workers-shared@0.5.3': + resolution: {integrity: sha512-Yk5Im7zsyKbzd7qi+DrL7ZJR9+bdZwq9BqZWS4muDIWA8MCUeSLsUC+C9u+jdwfPSi5It2AcQG4f0iwZr6jkkQ==} engines: {node: '>=16.7.0'} '@cspotcode/source-map-support@0.8.1': @@ -2574,8 +2574,8 @@ packages: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - miniflare@3.20240821.0: - resolution: {integrity: sha512-4BhLGpssQxM/O6TZmJ10GkT3wBJK6emFkZ3V87/HyvQmVt8zMxEBvyw5uv6kdtp+7F54Nw6IKFJjPUL8rFVQrQ==} + miniflare@3.20240909.1: + resolution: {integrity: sha512-tdzJFApHmqFYlpjfpqBDnsE6dHUDLHejBrNgXftLfTf/ni5NySgXKnuntCCMdRtnTpjUKmkHiusGrBCf9b1rnA==} engines: {node: '>=16.13'} hasBin: true @@ -3399,17 +3399,17 @@ packages: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} - workerd@1.20240821.1: - resolution: {integrity: sha512-y4phjCnEG96u8ZkgkkHB+gSw0i6uMNo23rBmixylWpjxDklB+LWD8dztasvsu7xGaZbLoTxQESdEw956F7VJDA==} + workerd@1.20240909.0: + resolution: {integrity: sha512-NwuYh/Fgr/MK0H+Ht687sHl/f8tumwT5CWzYR0MZMHri8m3CIYu2IaY4tBFWoKE/tOU1Z5XjEXECa9zXY4+lwg==} engines: {node: '>=16'} hasBin: true - wrangler@3.73.0: - resolution: {integrity: sha512-VrdDR2OpvsCQp+r5Of3rDP1W64cNN/LHLVx1roULOlPS8PZiv7rUYgkwhdCQ61+HICAaeSxWYIzkL5+B9+8W3g==} + wrangler@3.78.2: + resolution: {integrity: sha512-PL7GchswGrNm2OvdSw5yG3ZAqNjpaQIO++p8E1TaCi63DSyssKFYeYqTvfFshsQPP2u1dox5JFXtLc6IE/m1xw==} engines: {node: '>=16.17.0'} hasBin: true peerDependencies: - '@cloudflare/workers-types': ^4.20240821.1 + '@cloudflare/workers-types': ^4.20240909.0 peerDependenciesMeta: '@cloudflare/workers-types': optional: true @@ -4048,22 +4048,25 @@ snapshots: fp-ts: 2.16.9 io-ts: 2.2.21(fp-ts@2.16.9) - '@cloudflare/workerd-darwin-64@1.20240821.1': + '@cloudflare/workerd-darwin-64@1.20240909.0': optional: true - '@cloudflare/workerd-darwin-arm64@1.20240821.1': + '@cloudflare/workerd-darwin-arm64@1.20240909.0': optional: true - '@cloudflare/workerd-linux-64@1.20240821.1': + '@cloudflare/workerd-linux-64@1.20240909.0': optional: true - '@cloudflare/workerd-linux-arm64@1.20240821.1': + '@cloudflare/workerd-linux-arm64@1.20240909.0': optional: true - '@cloudflare/workerd-windows-64@1.20240821.1': + '@cloudflare/workerd-windows-64@1.20240909.0': optional: true - '@cloudflare/workers-shared@0.4.1': {} + '@cloudflare/workers-shared@0.5.3': + dependencies: + mime: 3.0.0 + zod: 3.23.8 '@cspotcode/source-map-support@0.8.1': dependencies: @@ -6297,7 +6300,7 @@ snapshots: min-indent@1.0.1: {} - miniflare@3.20240821.0: + miniflare@3.20240909.1: dependencies: '@cspotcode/source-map-support': 0.8.1 acorn: 8.12.1 @@ -6307,7 +6310,7 @@ snapshots: glob-to-regexp: 0.4.1 stoppable: 1.1.0 undici: 5.28.4 - workerd: 1.20240821.1 + workerd: 1.20240909.0 ws: 8.18.0 youch: 3.3.3 zod: 3.23.8 @@ -7067,25 +7070,25 @@ snapshots: word-wrap@1.2.5: {} - workerd@1.20240821.1: + workerd@1.20240909.0: optionalDependencies: - '@cloudflare/workerd-darwin-64': 1.20240821.1 - '@cloudflare/workerd-darwin-arm64': 1.20240821.1 - '@cloudflare/workerd-linux-64': 1.20240821.1 - '@cloudflare/workerd-linux-arm64': 1.20240821.1 - '@cloudflare/workerd-windows-64': 1.20240821.1 + '@cloudflare/workerd-darwin-64': 1.20240909.0 + '@cloudflare/workerd-darwin-arm64': 1.20240909.0 + '@cloudflare/workerd-linux-64': 1.20240909.0 + '@cloudflare/workerd-linux-arm64': 1.20240909.0 + '@cloudflare/workerd-windows-64': 1.20240909.0 - wrangler@3.73.0: + wrangler@3.78.2: dependencies: '@cloudflare/kv-asset-handler': 0.3.4 - '@cloudflare/workers-shared': 0.4.1 + '@cloudflare/workers-shared': 0.5.3 '@esbuild-plugins/node-globals-polyfill': 0.2.3(esbuild@0.17.19) '@esbuild-plugins/node-modules-polyfill': 0.2.2(esbuild@0.17.19) blake3-wasm: 2.1.5 chokidar: 3.6.0 date-fns: 3.6.0 esbuild: 0.17.19 - miniflare: 3.20240821.0 + miniflare: 3.20240909.1 nanoid: 3.3.7 path-to-regexp: 6.3.0 resolve: 1.22.8 @@ -7093,7 +7096,7 @@ snapshots: selfsigned: 2.4.1 source-map: 0.6.1 unenv: unenv-nightly@2.0.0-1724863496.70db6f1 - workerd: 1.20240821.1 + workerd: 1.20240909.0 xxhash-wasm: 1.0.2 optionalDependencies: fsevents: 2.3.3