From 5e893dc92bdc0ab5da9db76784dae9a68ce3ae9d Mon Sep 17 00:00:00 2001 From: Andy Kenward <4893048+andykenward@users.noreply.github.com> Date: Wed, 1 May 2024 18:07:28 +0000 Subject: [PATCH] chore(deps): bump wrangler --- .changeset/rude-bikes-juggle.md | 5 + dist/deploy/index.js | 2 +- package.json | 2 +- pnpm-lock.yaml | 171 ++++++++++++++------------------ 4 files changed, 82 insertions(+), 98 deletions(-) create mode 100644 .changeset/rude-bikes-juggle.md diff --git a/.changeset/rude-bikes-juggle.md b/.changeset/rude-bikes-juggle.md new file mode 100644 index 00000000..619338b2 --- /dev/null +++ b/.changeset/rude-bikes-juggle.md @@ -0,0 +1,5 @@ +--- +"github-actions-cloudflare-pages": patch +--- + +feat(deps): bump wrangler from 3.51.2 to 3.53.0 diff --git a/dist/deploy/index.js b/dist/deploy/index.js index 1e3b5cfd..715633fd 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:function(){return summary_1.summary}});var summary_2=require_summary();Object.defineProperty(exports,"markdownSummary",{enumerable:!0,get:function(){return summary_2.markdownSummary}});var path_utils_1=require_path_utils();Object.defineProperty(exports,"toPosixPath",{enumerable:!0,get:function(){return path_utils_1.toPosixPath}});Object.defineProperty(exports,"toWin32Path",{enumerable:!0,get:function(){return path_utils_1.toWin32Path}});Object.defineProperty(exports,"toPlatformPath",{enumerable:!0,get:function(){return path_utils_1.toPlatformPath}})}});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.51.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(` +`)??"";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.53.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(` fragment DeploymentFragment on Deployment { id environment diff --git a/package.json b/package.json index 0d1c0fd7..83a56dbb 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@actions/core": "1.10.1", "@octokit-next/core": "2.8.0", "@octokit/plugin-paginate-rest": "11.2.0", - "wrangler": "3.51.2" + "wrangler": "3.53.0" }, "devDependencies": { "@changesets/changelog-github": "0.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 219ddb71..7733b2da 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: 11.2.0 version: 11.2.0(@octokit/core@6.1.2) wrangler: - specifier: 3.51.2 - version: 3.51.2 + specifier: 3.53.0 + version: 3.53.0 devDependencies: '@changesets/changelog-github': specifier: 0.5.0 @@ -489,8 +489,9 @@ packages: peerDependencies: react: ^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0 - '@cloudflare/kv-asset-handler@0.3.1': - resolution: {integrity: sha512-lKN2XCfKCmpKb86a1tl4GIwsJYDy9TGuwjhDELLmpKygQhw8X2xR4dusgpC5Tg7q1pB96Eb0rBo81kxSILQMwA==} + '@cloudflare/kv-asset-handler@0.3.2': + resolution: {integrity: sha512-EeEjMobfuJrwoctj7FA1y1KEbM0+Q1xSjobIEyie9k4haVEBB7vkDvsasw1pM3rO39mL2akxIAzLMUAtrMHZhA==} + engines: {node: '>=16.13'} '@cloudflare/types@6.29.0': resolution: {integrity: sha512-ddiYaMqYlS/5cQeQrrk3H4W405JxvB7quj8E7+xXQGEwnbs8Cd+ThGh/XhIcL2uMPPUroQ5ghGr91kx10qetYA==} @@ -500,32 +501,32 @@ packages: '@cloudflare/util-en-garde@8.0.10': resolution: {integrity: sha512-qdCFf90hoZzT4o4xEmxOKUf9+bEJNGh4ANnRYApo6BMyVnHoHEHAQ3nWmGSHBmo+W9hOk2Ik7r1oHLbI0O/RRg==} - '@cloudflare/workerd-darwin-64@1.20240405.0': - resolution: {integrity: sha512-ut8kwpHmlz9dNSjoov6v1b6jS50J46Mj9QcMA0t1Hne36InaQk/qqPSd12fN5p2GesZ9OOBJvBdDsTblVdyJ1w==} + '@cloudflare/workerd-darwin-64@1.20240419.0': + resolution: {integrity: sha512-PGVe9sYWULHfvGhN0IZh8MsskNG/ufnBSqPbgFCxJHCTrVXLPuC35EoVaforyqjKRwj3U35XMyGo9KHcGnTeHQ==} engines: {node: '>=16'} cpu: [x64] os: [darwin] - '@cloudflare/workerd-darwin-arm64@1.20240405.0': - resolution: {integrity: sha512-x3A3Ym+J2DH1uYnw0aedeKOTnUebEo312+Aladv7bFri97pjRJcqVbYhMtOHLkHjwYn7bpKSY2eL5iM+0XT29A==} + '@cloudflare/workerd-darwin-arm64@1.20240419.0': + resolution: {integrity: sha512-z4etQSPiD5Gcjs962LiC7ZdmXnN6SGof5KrYoFiSI9X9kUvpuGH/lnjVVPd+NnVNeDU2kzmcAIgyZjkjTaqVXQ==} engines: {node: '>=16'} cpu: [arm64] os: [darwin] - '@cloudflare/workerd-linux-64@1.20240405.0': - resolution: {integrity: sha512-3tYpfjtxEQ0R30Pna7OF3Bz0CTx30hc0QNtH61KnkvXtaeYMkWutSKQKXIuVlPa/7v1MHp+8ViBXMflmS7HquA==} + '@cloudflare/workerd-linux-64@1.20240419.0': + resolution: {integrity: sha512-lBwhg0j3sYTFMsEb4bOClbVje8nqrYOu0H3feQlX+Eks94JIhWPkf8ywK4at/BUc1comPMhCgzDHwc2OMPUGgg==} engines: {node: '>=16'} cpu: [x64] os: [linux] - '@cloudflare/workerd-linux-arm64@1.20240405.0': - resolution: {integrity: sha512-NpKZlvmdgcX/m4tP5zM91AfJpZrue2/GRA+Sl3szxAivu2uE5jDVf5SS9dzqzCVfPrdhylqH7yeL4U/cafFNOg==} + '@cloudflare/workerd-linux-arm64@1.20240419.0': + resolution: {integrity: sha512-ZMY6wwWkxL+WPq8ydOp/irSYjAnMhBz1OC1+4z+OANtDs2beaZODmq7LEB3hb5WUAaTPY7DIjZh3DfDfty0nYg==} engines: {node: '>=16'} cpu: [arm64] os: [linux] - '@cloudflare/workerd-windows-64@1.20240405.0': - resolution: {integrity: sha512-REBeJMxvUCjwuEVzSSIBtzAyM69QjToab8qBst0S9vdih+9DObym4dw8CevdBQhDbFrHiyL9E6pAZpLPNHVgCw==} + '@cloudflare/workerd-windows-64@1.20240419.0': + resolution: {integrity: sha512-YJjgaJN2yGTkV7Cr4K3i8N4dUwVQTclT3Pr3NpRZCcLjTszwlE53++XXDnHMKGXBbSguIizaVbmcU2EtmIXyeQ==} engines: {node: '>=16'} cpu: [x64] os: [win32] @@ -1292,6 +1293,9 @@ packages: '@octokit/openapi-types@22.1.0': resolution: {integrity: sha512-pGUdSP+eEPfZiQHNkZI0U01HLipxncisdJQB4G//OAmfeO8sqTQ9KRa0KF03TUPCziNsoXUrTg4B2Q1EX++T0Q==} + '@octokit/openapi-types@22.2.0': + resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==} + '@octokit/plugin-paginate-rest@11.2.0': resolution: {integrity: sha512-Nd3hCJbr5GUwTgV6j2dMONIigoqNwJRm+yvA5BYb1dnGBTmVUrGYGNwYsGl2hN+xtDAYpqxDiz8vysh/NqEN+A==} engines: {node: '>= 18'} @@ -1309,6 +1313,9 @@ packages: '@octokit/types@13.4.1': resolution: {integrity: sha512-Y73oOAzRBAUzR/iRAbGULzpNkX8vaxKCqEtg6K74Ff3w9f5apFnWtE/2nade7dMWWW3bS5Kkd6DJS4HF04xreg==} + '@octokit/types@13.5.0': + resolution: {integrity: sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==} + '@octokit/webhooks-schemas@7.5.1': resolution: {integrity: sha512-lhzvYsqPhP0Zu0tsARHq9LbJo8mgyQReWyfGNn4kbV0QY6ArrmJzDtyuD2bcQZB0it/qh7DRKnz1OsfdJgxn5A==} @@ -1841,10 +1848,6 @@ packages: colorette@2.0.20: resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} - commander@12.0.0: - resolution: {integrity: sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==} - engines: {node: '>=18'} - common-tags@1.8.2: resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} engines: {node: '>=4.0.0'} @@ -2307,10 +2310,6 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - glob@8.1.0: - resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} - engines: {node: '>=12'} - globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} @@ -2842,8 +2841,8 @@ packages: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - miniflare@3.20240405.2: - resolution: {integrity: sha512-n/V5m9GVMN37U5gWdrNXKx2d1icLXtcIKcxWtLslH4RTaebZJdSRmp12UHyuQsKlaSpTkNqyzLVtCEgt2bhRSA==} + miniflare@3.20240419.0: + resolution: {integrity: sha512-fIev1PP4H+fQp5FtvzHqRY2v5s+jxh/a0xAhvM5fBNXvxWX7Zod1OatXfXwYbse3hqO3KeVMhb0osVtrW0NwJg==} engines: {node: '>=16.13'} hasBin: true @@ -2854,10 +2853,6 @@ packages: resolution: {integrity: sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng==} engines: {node: '>=10'} - minimatch@5.1.6: - resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} - engines: {node: '>=10'} - minimatch@9.0.4: resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} engines: {node: '>=16 || 14 >=14.17'} @@ -3294,10 +3289,6 @@ packages: resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} engines: {node: '>= 0.4'} - safe-stable-stringify@2.4.3: - resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} - engines: {node: '>=10'} - safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} @@ -3570,11 +3561,6 @@ packages: peerDependencies: typescript: '>=4.2.0' - ts-json-schema-generator@1.5.1: - resolution: {integrity: sha512-apX5qG2+NA66j7b4AJm8q/DpdTeOsjfh7A3LpKsUiil0FepkNwtN28zYgjrsiiya2/OPhsr/PSjX5FUYg79rCg==} - engines: {node: '>=10.0.0'} - hasBin: true - ts-log@2.2.5: resolution: {integrity: sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==} @@ -3820,17 +3806,17 @@ packages: engines: {node: '>=8'} hasBin: true - workerd@1.20240405.0: - resolution: {integrity: sha512-AWrOSBh4Ll7sBWHuh0aywm8hDkKqsZmcwnDB0PVGszWZM5mndNBI5iJ/8haXVpdoyqkJQEVdhET9JDi4yU8tRg==} + workerd@1.20240419.0: + resolution: {integrity: sha512-9yV98KpkQgG+bdEsKEW8i1AYZgxns6NVSfdOVEB2Ue1pTMtIEYfUyqUE+O2amisRrfaC3Pw4EvjtTmVaoetfeg==} engines: {node: '>=16'} hasBin: true - wrangler@3.51.2: - resolution: {integrity: sha512-8TRUwzPHj6+uPDzY0hBJ9/YwniEF9pqMGe5qbqLP/XsHTCWxIFib5go374zyCkmuVh23AwV7NuTA6gUtSqZ8pQ==} + wrangler@3.53.0: + resolution: {integrity: sha512-JxkvCQekL9j8Mu4CEKM/HEVyDnymWzKQuMUuJH0yum1AilutD5HAP9kVVYmvu7BvwlRyRUAj8TI5OUxXnLCEpQ==} engines: {node: '>=16.17.0'} hasBin: true peerDependencies: - '@cloudflare/workers-types': ^4.20240405.0 + '@cloudflare/workers-types': ^4.20240419.0 peerDependenciesMeta: '@cloudflare/workers-types': optional: true @@ -3858,6 +3844,18 @@ packages: utf-8-validate: optional: true + ws@8.17.0: + resolution: {integrity: sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + xxhash-wasm@1.0.2: resolution: {integrity: sha512-ibF0Or+FivM9lNrg+HGJfVX8WJqgo+kCLDc4vx6xMeTce7Aj+DLttKbxxRR/gNLSAelRc1omAPlJ77N/Jem07A==} @@ -3912,8 +3910,8 @@ packages: youch@3.3.3: resolution: {integrity: sha512-qSFXUk3UZBLfggAW3dJKg0BMblG5biqSF8M34E06o5CSsZtH92u9Hqmj2RzGiHDi64fhe83+4tENFP2DB6t6ZA==} - zod@3.22.5: - resolution: {integrity: sha512-HqnGsCdVZ2xc0qWPLdO25WnseXThh0kEYKIdV5F/hTHO75hNZFp8thxSeHhiPrHZKrFTo1SOgkAj9po5bexZlw==} + zod@3.23.5: + resolution: {integrity: sha512-fkwiq0VIQTksNNA131rDOsVJcns0pfVUjHzLrNBiF/O/Xxb5lQyEXkhZWcJ7npWsYlvs+h0jFWXXy4X46Em1JA==} snapshots: @@ -4459,7 +4457,7 @@ snapshots: dependencies: react: 18.3.1 - '@cloudflare/kv-asset-handler@0.3.1': + '@cloudflare/kv-asset-handler@0.3.2': dependencies: mime: 3.0.0 @@ -4474,19 +4472,19 @@ snapshots: fp-ts: 2.16.5 io-ts: 2.2.21(fp-ts@2.16.5) - '@cloudflare/workerd-darwin-64@1.20240405.0': + '@cloudflare/workerd-darwin-64@1.20240419.0': optional: true - '@cloudflare/workerd-darwin-arm64@1.20240405.0': + '@cloudflare/workerd-darwin-arm64@1.20240419.0': optional: true - '@cloudflare/workerd-linux-64@1.20240405.0': + '@cloudflare/workerd-linux-64@1.20240419.0': optional: true - '@cloudflare/workerd-linux-arm64@1.20240405.0': + '@cloudflare/workerd-linux-arm64@1.20240419.0': optional: true - '@cloudflare/workerd-windows-64@1.20240405.0': + '@cloudflare/workerd-windows-64@1.20240419.0': optional: true '@cspotcode/source-map-support@0.8.1': @@ -5294,13 +5292,13 @@ snapshots: '@octokit/graphql': 8.1.1 '@octokit/request': 9.1.1 '@octokit/request-error': 6.1.1 - '@octokit/types': 13.4.1 + '@octokit/types': 13.5.0 before-after-hook: 3.0.2 universal-user-agent: 7.0.2 '@octokit/endpoint@10.1.1': dependencies: - '@octokit/types': 13.4.1 + '@octokit/types': 13.5.0 universal-user-agent: 7.0.2 '@octokit/graphql-schema@15.13.0': @@ -5311,11 +5309,13 @@ snapshots: '@octokit/graphql@8.1.1': dependencies: '@octokit/request': 9.1.1 - '@octokit/types': 13.4.1 + '@octokit/types': 13.5.0 universal-user-agent: 7.0.2 '@octokit/openapi-types@22.1.0': {} + '@octokit/openapi-types@22.2.0': {} + '@octokit/plugin-paginate-rest@11.2.0(@octokit/core@6.1.2)': dependencies: '@octokit/core': 6.1.2 @@ -5323,19 +5323,23 @@ snapshots: '@octokit/request-error@6.1.1': dependencies: - '@octokit/types': 13.4.1 + '@octokit/types': 13.5.0 '@octokit/request@9.1.1': dependencies: '@octokit/endpoint': 10.1.1 '@octokit/request-error': 6.1.1 - '@octokit/types': 13.4.1 + '@octokit/types': 13.5.0 universal-user-agent: 7.0.2 '@octokit/types@13.4.1': dependencies: '@octokit/openapi-types': 22.1.0 + '@octokit/types@13.5.0': + dependencies: + '@octokit/openapi-types': 22.2.0 + '@octokit/webhooks-schemas@7.5.1': {} '@octokit/webhooks-types@7.5.1': {} @@ -5953,8 +5957,6 @@ snapshots: colorette@2.0.20: {} - commander@12.0.0: {} - common-tags@1.8.2: {} concat-map@0.0.1: {} @@ -6584,14 +6586,6 @@ snapshots: once: 1.4.0 path-is-absolute: 1.0.1 - glob@8.1.0: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 5.1.6 - once: 1.4.0 - globals@11.12.0: {} globals@13.24.0: @@ -7103,7 +7097,7 @@ snapshots: min-indent@1.0.1: {} - miniflare@3.20240405.2: + miniflare@3.20240419.0: dependencies: '@cspotcode/source-map-support': 0.8.1 acorn: 8.11.3 @@ -7113,10 +7107,10 @@ snapshots: glob-to-regexp: 0.4.1 stoppable: 1.1.0 undici: 5.28.4 - workerd: 1.20240405.0 - ws: 8.16.0 + workerd: 1.20240419.0 + ws: 8.17.0 youch: 3.3.3 - zod: 3.22.5 + zod: 3.23.5 transitivePeerDependencies: - bufferutil - supports-color @@ -7130,10 +7124,6 @@ snapshots: dependencies: brace-expansion: 1.1.11 - minimatch@5.1.6: - dependencies: - brace-expansion: 2.0.1 - minimatch@9.0.4: dependencies: brace-expansion: 2.0.1 @@ -7571,8 +7561,6 @@ snapshots: es-errors: 1.3.0 is-regex: 1.1.4 - safe-stable-stringify@2.4.3: {} - safer-buffer@2.1.2: {} scuid@1.1.0: {} @@ -7838,16 +7826,6 @@ snapshots: dependencies: typescript: 5.4.3 - ts-json-schema-generator@1.5.1: - dependencies: - '@types/json-schema': 7.0.15 - commander: 12.0.0 - glob: 8.1.0 - json5: 2.2.3 - normalize-path: 3.0.0 - safe-stable-stringify: 2.4.3 - typescript: 5.4.3 - ts-log@2.2.5: {} tslib@2.6.2: {} @@ -8101,30 +8079,29 @@ snapshots: siginfo: 2.0.0 stackback: 0.0.2 - workerd@1.20240405.0: + workerd@1.20240419.0: optionalDependencies: - '@cloudflare/workerd-darwin-64': 1.20240405.0 - '@cloudflare/workerd-darwin-arm64': 1.20240405.0 - '@cloudflare/workerd-linux-64': 1.20240405.0 - '@cloudflare/workerd-linux-arm64': 1.20240405.0 - '@cloudflare/workerd-windows-64': 1.20240405.0 + '@cloudflare/workerd-darwin-64': 1.20240419.0 + '@cloudflare/workerd-darwin-arm64': 1.20240419.0 + '@cloudflare/workerd-linux-64': 1.20240419.0 + '@cloudflare/workerd-linux-arm64': 1.20240419.0 + '@cloudflare/workerd-windows-64': 1.20240419.0 - wrangler@3.51.2: + wrangler@3.53.0: dependencies: - '@cloudflare/kv-asset-handler': 0.3.1 + '@cloudflare/kv-asset-handler': 0.3.2 '@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 esbuild: 0.17.19 - miniflare: 3.20240405.2 + miniflare: 3.20240419.0 nanoid: 3.3.7 path-to-regexp: 6.2.2 resolve: 1.22.8 resolve.exports: 2.0.2 selfsigned: 2.4.1 source-map: 0.6.1 - ts-json-schema-generator: 1.5.1 xxhash-wasm: 1.0.2 optionalDependencies: fsevents: 2.3.3 @@ -8149,6 +8126,8 @@ snapshots: ws@8.16.0: {} + ws@8.17.0: {} + xxhash-wasm@1.0.2: {} y18n@4.0.3: {} @@ -8206,4 +8185,4 @@ snapshots: mustache: 4.2.0 stacktracey: 2.1.8 - zod@3.22.5: {} + zod@3.23.5: {}