From cda3cda6820f6893b742fb2f1ab96bb95857187b Mon Sep 17 00:00:00 2001 From: "shopify-build-cli[bot]" <145388831+shopify-build-cli[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 18:18:22 +0000 Subject: [PATCH] Update from World (5.0.0) Published by the World mirror. World-Commit: fda94407fe38d5e0c135b5315b543dfbf562b868 --- bin/create-homebrew-pr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/create-homebrew-pr.js b/bin/create-homebrew-pr.js index 2092aef7521..398249fe5e0 100755 --- a/bin/create-homebrew-pr.js +++ b/bin/create-homebrew-pr.js @@ -5,9 +5,9 @@ process.removeAllListeners('warning'); import {findUp} from "find-up" import {createHash} from 'node:crypto' import {createRequire} from 'module' +import {Readable} from 'node:stream' import {fileURLToPath} from "node:url" import * as path from "pathe" -import fetch from 'node-fetch' import glob from 'fast-glob'; import {Liquid} from 'liquidjs' @@ -160,7 +160,7 @@ async function getTarballForPackage(pkg, cliVersion) { async function getSha256ForTarball(url) { const hash = createHash('sha256').setEncoding('hex') const response = await fetch(url) - const stream = response.body.pipe(hash) + const stream = Readable.fromWeb(response.body).pipe(hash) await new Promise((resolve) => stream.on('finish', resolve)) return hash.read() }