@shopify/cli
Version:
A CLI tool to build for the Shopify platform
2 lines (1 loc) • 489 B
JavaScript
import{g as r}from"./chunk-VPRTJUIN.js";r();import t from"crypto";function o(e){return t.createHash("sha1").update(e).digest("hex")}function c(e){return t.createHash("md5").update(e).digest("hex")}function d(){return t.randomUUID()}function p(e){return t.createHash("sha1").update(Buffer.from("6ba7b810-9dad-11d1-80b4-00c04fd430c8".replace(/-/g,""),"hex")).update(e).digest().toString("hex").replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/,"$1-$2-$3-$4-$5")}export{o as a,c as b,d as c,p as d};