Add packages/artifacts: the RepoHost port and its memory adapter
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- RepoHost is the one door to Artifacts, shaped by S1: reads resolve a short branch or a commit id only (Revision), so custom refs such as refs/asked/landed are listed by `refs` but unreadable by name; a push is a compare-and-swap per ref with no atomicity across refs, each ref coming back Updated or Stale with the tip it met; forks take the default branch as it stands. Errors: RepoNotFound, RepoExists, ForkInProgress, HostBusy. - /memory runs isomorphic-git 1.43.0 over an in-memory fs. A push copies objects from the pusher's repo, children first, rewriting each from its parsed form and dying if an id would change. isomorphic-git probes an fs by calling `readFile()` with no path, so that call must reject. - A contract suite (describeRepoHost) states the port once, for /memory now and /binding at S2: reads at a branch and at a commit, first-parent log, per-ref CAS, fork isolation, custom refs, tokens, removal. - Lint fits Effect: typescript/promise-function-async is off, since Effect's asyncFunction diagnostic bans `async`.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
12 files+1349 added−0 removed
- tests:+418 added−0 removed
- other:+931 added−0 removed
Provenance
- Commit
ee6ebff- Tree
b545fbd- Author
oscabriel <oscarhernandeziv@gmail.com>- Committer
oscabriel <oscarhernandeziv@gmail.com>- Parent
f5cf847
12 files changed+1349 added−0 removed
added:packages/artifacts/src/repo-host/memory-fs.ts+208 added
1+/**2+ * An in-memory file system: the part of `fs.promises` that isomorphic-git3+ * calls (`docs/fs.md` in isomorphic-git), with node's error codes.4+ */5+6+type ReadOptions = string | { readonly encoding?: string } | undefined;7+8+interface Stats {9+ readonly mode: number;10+ readonly size: number;11+ readonly ino: number;12+ readonly uid: number;13+ readonly gid: number;14+ readonly dev: number;15+ readonly mtimeMs: number;16+ readonly ctimeMs: number;17+ readonly isFile: () => boolean;18+ readonly isDirectory: () => boolean;19+ readonly isSymbolicLink: () => boolean;20+}21+22+const failure = (code: string, path: string) =>23+ Promise.reject(Object.assign(new Error(`${code}: ${path}`), { code }));24+25+const normalize = (path: string) =>26+ `/${path27+ .split("/")28+ .filter((part) => part !== "")29+ .join("/")}`;30+31+const parentOf = (path: string) => {32+ const cut = path.lastIndexOf("/");33+34+ return cut <= 0 ? "/" : path.slice(0, cut);35+};36+37+// isomorphic-git asks for text as "utf8", alone or as `{ encoding }`.38+const UTF8 = /^utf-?8$/iu;39+40+const wantsText = (options: ReadOptions) =>41+ options instanceof Object42+ ? UTF8.test(options.encoding ?? "")43+ : UTF8.test(options ?? "");44+45+const stats = (kind: "file" | "dir", size: number): Stats => ({46+ ctimeMs: 0,47+ dev: 1,48+ gid: 1,49+ ino: 0,50+ isDirectory: () => kind === "dir",51+ isFile: () => kind === "file",52+ isSymbolicLink: () => false,53+ mode: kind === "dir" ? 0o4_0000 : 0o10_0644,54+ mtimeMs: 0,55+ size,56+ uid: 1,57+});58+59+// Repos here hold no symlinks, but isomorphic-git binds both methods.60+const readlink = (raw: string) => failure("EINVAL", normalize(raw));61+62+const symlink = (_target: string, raw: string) =>63+ failure("ENOSYS", normalize(raw));64+65+export const memoryFs = () => {66+ const files = new Map<string, Uint8Array>();67+ const dirs = new Set<string>(["/"]);68+69+ const childrenOf = (dir: string) => {70+ const prefix = dir === "/" ? "/" : `${dir}/`;71+ const names = new Set<string>();72+73+ for (const path of [...files.keys(), ...dirs]) {74+ if (path !== dir && path.startsWith(prefix)) {75+ names.add(path.slice(prefix.length).split("/")[0] ?? "");76+ }77+ }78+79+ return [...names];80+ };81+82+ // isomorphic-git calls `readFile()` with no path to learn whether this fs83+ // returns promises, so that call must answer with a rejected promise.84+ const readFile = (raw?: string, options?: ReadOptions) => {85+ const path = normalize(raw ?? "");86+ const content = files.get(path);87+88+ if (content === undefined) {89+ return failure(dirs.has(path) ? "EISDIR" : "ENOENT", path);90+ }91+92+ return Promise.resolve(93+ wantsText(options) ? new TextDecoder().decode(content) : content94+ );95+ };96+97+ const writeFile = (raw: string, data: string | Uint8Array) => {98+ const path = normalize(raw);99+100+ if (!dirs.has(parentOf(path))) {101+ return failure("ENOENT", path);102+ }103+104+ files.set(105+ path,106+ data instanceof Uint8Array107+ ? Uint8Array.from(data)108+ : new TextEncoder().encode(data)109+ );110+111+ return Promise.resolve();112+ };113+114+ const unlink = (raw: string) => {115+ const path = normalize(raw);116+117+ return files.delete(path) ? Promise.resolve() : failure("ENOENT", path);118+ };119+120+ const readdir = (raw: string) => {121+ const path = normalize(raw);122+123+ if (files.has(path)) {124+ return failure("ENOTDIR", path);125+ }126+127+ return dirs.has(path)128+ ? Promise.resolve(childrenOf(path))129+ : failure("ENOENT", path);130+ };131+132+ const mkdir = (raw: string) => {133+ const path = normalize(raw);134+135+ if (dirs.has(path) || files.has(path)) {136+ return failure("EEXIST", path);137+ }138+139+ if (!dirs.has(parentOf(path))) {140+ return failure("ENOENT", path);141+ }142+143+ dirs.add(path);144+145+ return Promise.resolve();146+ };147+148+ const rmdir = (raw: string) => {149+ const path = normalize(raw);150+151+ if (!dirs.has(path)) {152+ return failure("ENOENT", path);153+ }154+155+ if (childrenOf(path).length > 0) {156+ return failure("ENOTEMPTY", path);157+ }158+159+ dirs.delete(path);160+161+ return Promise.resolve();162+ };163+164+ const stat = (raw: string) => {165+ const path = normalize(raw);166+ const content = files.get(path);167+168+ if (content !== undefined) {169+ return Promise.resolve(stats("file", content.byteLength));170+ }171+172+ return dirs.has(path)173+ ? Promise.resolve(stats("dir", 0))174+ : failure("ENOENT", path);175+ };176+177+ /** Deletes a directory and everything under it; not part of `fs`. */178+ const removeTree = (raw: string) => {179+ const root = normalize(raw);180+181+ const inside = (path: string) =>182+ path === root || path.startsWith(`${root}/`);183+184+ for (const path of [...files.keys()].filter(inside)) {185+ files.delete(path);186+ }187+188+ for (const path of [...dirs].filter(inside)) {189+ dirs.delete(path);190+ }191+ };192+193+ return {194+ promises: {195+ lstat: stat,196+ mkdir,197+ readFile,198+ readdir,199+ readlink,200+ rmdir,201+ stat,202+ symlink,203+ unlink,204+ writeFile,205+ },206+ removeTree,207+ };208+};added:packages/artifacts/src/repo-host/memory.ts+378 added
1+import { CommitSha } from "@repo/protocol/ids";2+import {3+ Array,4+ Data,5+ DateTime,6+ Effect,7+ Equal,8+ Layer,9+ Match,10+ Option,11+ Redacted,12+ Semaphore,13+} from "effect";14+import {15+ Errors,16+ init,17+ listRefs,18+ readBlob,19+ readCommit,20+ readTree,21+ resolveRef,22+ writeBlob,23+ writeCommit,24+ writeRef,25+ writeTree,26+} from "isomorphic-git";27+28+import {29+ ObjectId,30+ RefName,31+ RefOutcome,32+ RepoExists,33+ RepoHost,34+ RepoNotFound,35+ Revision,36+} from "../repo-host.ts";37+import type { Commit, PushSource, RefUpdate, RepoName } from "../repo-host.ts";38+import { memoryFs } from "./memory-fs.ts";39+40+class GitFailure extends Data.TaggedError("GitFailure")<{41+ readonly cause: unknown;42+}> {}43+44+const git = <A>(run: () => Promise<A>) =>45+ Effect.tryPromise({ catch: (cause) => new GitFailure({ cause }), try: run });46+47+/** `None` where isomorphic-git finds no such object, ref or file. */48+const unlessMissing = <A>(49+ run: () => Promise<A>50+): Effect.Effect<Option.Option<A>> =>51+ git(run).pipe(52+ Effect.asSome,53+ Effect.catchIf(54+ (failure) =>55+ failure.cause instanceof Errors.NotFoundError ||56+ failure.cause instanceof Errors.ObjectTypeError,57+ () => Effect.succeedNone58+ ),59+ Effect.orDie60+ );61+62+// Each object is rewritten from its parsed form; a changed id would mean the63+// copy is not the object the pusher sent.64+const keep = (oid: string, write: () => Promise<string>) =>65+ git(write).pipe(66+ Effect.orDie,67+ Effect.flatMap((written) =>68+ written === oid69+ ? Effect.void70+ : Effect.die(`copying ${oid} produced ${written}`)71+ )72+ );73+74+const mainRef = "refs/heads/main";75+76+const remoteOf = (name: RepoName) => `memory://${name}.git`;77+78+interface Repo {79+ readonly gitdir: string;80+ readonly lock: Semaphore.Semaphore;81+ /** Token ids still live; the memory store authenticates nothing. */82+ readonly tokens: Set<string>;83+}84+85+/**86+ * Artifacts in memory, as S1 found it: each repo a bare git directory, a push87+ * a compare-and-swap per ref with no atomicity across refs, and reads that88+ * resolve short branch names and commit ids only.89+ */90+const make = () => {91+ const fs = memoryFs();92+ const repos = new Map<RepoName, Repo>();93+ let minted = 0;94+95+ const known = (name: RepoName): Effect.Effect<Repo, RepoNotFound> => {96+ const repo = repos.get(name);97+98+ return repo === undefined99+ ? Effect.fail(new RepoNotFound({ name }))100+ : Effect.succeed(repo);101+ };102+103+ const tipOf = (repo: Repo, ref: string) =>104+ unlessMissing(() => resolveRef({ fs, gitdir: repo.gitdir, ref })).pipe(105+ Effect.map(Option.map((sha) => CommitSha.make(sha)))106+ );107+108+ // The copies write children before parents, so every object in a repo has109+ // everything it points to.110+ const copyBlob = (source: PushSource, repo: Repo, oid: string) =>111+ Effect.gen(function* () {112+ const present = yield* unlessMissing(() =>113+ readBlob({ fs, gitdir: repo.gitdir, oid })114+ );115+116+ if (Option.isSome(present)) {117+ return;118+ }119+120+ const { blob } = yield* git(() => readBlob({ ...source, oid })).pipe(121+ Effect.orDie122+ );123+124+ yield* keep(oid, () => writeBlob({ blob, fs, gitdir: repo.gitdir }));125+ });126+127+ const copyTree = (128+ source: PushSource,129+ repo: Repo,130+ oid: string131+ ): Effect.Effect<void> =>132+ Effect.gen(function* () {133+ const present = yield* unlessMissing(() =>134+ readTree({ fs, gitdir: repo.gitdir, oid })135+ );136+137+ if (Option.isSome(present)) {138+ return;139+ }140+141+ const { tree } = yield* git(() => readTree({ ...source, oid })).pipe(142+ Effect.orDie143+ );144+145+ // Submodule entries ("commit") point outside the repo; git copies none.146+ yield* Effect.forEach(tree, (entry) =>147+ Match.value(entry.type).pipe(148+ Match.when("blob", () => copyBlob(source, repo, entry.oid)),149+ Match.when("tree", () => copyTree(source, repo, entry.oid)),150+ Match.when("commit", () => Effect.void),151+ Match.exhaustive152+ )153+ );154+ yield* keep(oid, () => writeTree({ fs, gitdir: repo.gitdir, tree }));155+ });156+157+ const copyCommit = (158+ source: PushSource,159+ repo: Repo,160+ oid: string161+ ): Effect.Effect<void> =>162+ Effect.gen(function* () {163+ const present = yield* unlessMissing(() =>164+ readCommit({ fs, gitdir: repo.gitdir, oid })165+ );166+167+ if (Option.isSome(present)) {168+ return;169+ }170+171+ const { commit } = yield* git(() => readCommit({ ...source, oid })).pipe(172+ Effect.orDie173+ );174+175+ yield* copyTree(source, repo, commit.tree);176+ yield* Effect.forEach(commit.parent, (parent) =>177+ copyCommit(source, repo, parent)178+ );179+ yield* keep(oid, () => writeCommit({ commit, fs, gitdir: repo.gitdir }));180+ });181+182+ const apply = (repo: Repo, source: PushSource, update: RefUpdate) =>183+ Effect.gen(function* () {184+ const tip = yield* tipOf(repo, update.ref);185+186+ if (!Equal.equals(tip, update.from)) {187+ return RefOutcome.Stale({ ref: update.ref, tip });188+ }189+190+ yield* copyCommit(source, repo, update.to);191+ yield* git(() =>192+ writeRef({193+ force: true,194+ fs,195+ gitdir: repo.gitdir,196+ ref: update.ref,197+ value: update.to,198+ })199+ ).pipe(Effect.orDie);200+201+ return RefOutcome.Updated({ ref: update.ref });202+ });203+204+ const resolve = (repo: Repo, at: Revision) =>205+ Revision.$match(at, {206+ Branch: ({ name }) => tipOf(repo, `refs/heads/${name}`),207+ Commit: ({ sha }) => Effect.succeedSome(sha),208+ });209+210+ // Artifacts drops one trailing newline from a commit message.211+ const commitAt = (repo: Repo, sha: CommitSha) =>212+ unlessMissing(() => readCommit({ fs, gitdir: repo.gitdir, oid: sha })).pipe(213+ Effect.map(214+ Option.map(({ commit, oid }): Commit => ({215+ author: { email: commit.author.email, name: commit.author.name },216+ committer: {217+ email: commit.committer.email,218+ name: commit.committer.name,219+ },220+ message: commit.message.replace(/\n$/u, ""),221+ parents: commit.parent.map((parent) => CommitSha.make(parent)),222+ sha: CommitSha.make(oid),223+ tree: ObjectId.make(commit.tree),224+ }))225+ )226+ );227+228+ const open = (name: RepoName) =>229+ Effect.gen(function* () {230+ if (repos.has(name)) {231+ return yield* new RepoExists({ name });232+ }233+234+ const repo: Repo = {235+ gitdir: `/${name}.git`,236+ lock: Semaphore.makeUnsafe(1),237+ tokens: new Set(),238+ };239+240+ repos.set(name, repo);241+ yield* git(() =>242+ init({ bare: true, defaultBranch: "main", fs, gitdir: repo.gitdir })243+ ).pipe(Effect.orDie);244+245+ return { name, remote: remoteOf(name) };246+ });247+248+ return RepoHost.of({249+ create: (name) => open(name),250+ // The default branch only, copied as it stands: later pushes to the base251+ // or to a sibling never reach this fork.252+ fork: (base, name) =>253+ Effect.gen(function* () {254+ const from = yield* known(base);255+ const tip = yield* tipOf(from, mainRef);256+ const created = yield* open(name);257+ const repo = yield* known(name);258+259+ if (Option.isSome(tip)) {260+ yield* copyCommit({ fs, gitdir: from.gitdir }, repo, tip.value);261+ yield* git(() =>262+ writeRef({263+ fs,264+ gitdir: repo.gitdir,265+ ref: mainRef,266+ value: tip.value,267+ })268+ ).pipe(Effect.orDie);269+ }270+271+ return created;272+ }),273+ log: (name, at, limit) =>274+ Effect.gen(function* () {275+ const repo = yield* known(name);276+ const commits: Commit[] = [];277+ let next = yield* resolve(repo, at);278+279+ while (Option.isSome(next) && commits.length < limit) {280+ const commit = yield* commitAt(repo, next.value);281+282+ if (Option.isNone(commit)) {283+ break;284+ }285+286+ commits.push(commit.value);287+ next = Option.fromNullishOr(commit.value.parents[0]);288+ }289+290+ return commits;291+ }),292+ mintToken: (name, scope, ttl) =>293+ Effect.gen(function* () {294+ const repo = yield* known(name);295+ const now = yield* DateTime.now;296+297+ minted += 1;298+299+ const id = `token-${minted}`;300+301+ repo.tokens.add(id);302+303+ return {304+ expiresAt: DateTime.addDuration(now, ttl),305+ id,306+ scope,307+ secret: Redacted.make(`memory-${id}`),308+ };309+ }),310+ push: (name, source, updates) =>311+ Effect.gen(function* () {312+ const repo = yield* known(name);313+314+ return yield* repo.lock.withPermit(315+ Effect.forEach(updates, (update) => apply(repo, source, update))316+ );317+ }),318+ readCommit: (name, sha) =>319+ known(name).pipe(Effect.flatMap((repo) => commitAt(repo, sha))),320+ readFile: (name, at, path) =>321+ Effect.gen(function* () {322+ const repo = yield* known(name);323+ const sha = yield* resolve(repo, at);324+325+ if (Option.isNone(sha)) {326+ return Option.none();327+ }328+329+ const blob = yield* unlessMissing(() =>330+ readBlob({331+ filepath: path,332+ fs,333+ gitdir: repo.gitdir,334+ oid: sha.value,335+ })336+ );337+338+ return Option.map(blob, ({ blob: bytes }) => bytes);339+ }),340+ refs: (name) =>341+ Effect.gen(function* () {342+ const repo = yield* known(name);343+344+ const names = yield* git(() =>345+ listRefs({ filepath: "refs", fs, gitdir: repo.gitdir })346+ ).pipe(Effect.orDie);347+348+ const listed = yield* Effect.forEach(names, (relative) =>349+ Effect.gen(function* () {350+ const ref = RefName.make(`refs/${relative}`);351+ const tip = yield* tipOf(repo, ref);352+353+ return Option.map(tip, (sha) => [ref, sha] as const);354+ })355+ );356+357+ return new Map(Array.getSomes(listed));358+ }),359+ remote: (name) => known(name).pipe(Effect.as(remoteOf(name))),360+ remove: (name) =>361+ Effect.sync(() => {362+ const repo = repos.get(name);363+364+ if (repo === undefined) {365+ return false;366+ }367+368+ fs.removeTree(repo.gitdir);369+370+ return repos.delete(name);371+ }),372+ revokeToken: (name, id) =>373+ known(name).pipe(Effect.map((repo) => repo.tokens.delete(id))),374+ });375+};376+377+/** A fresh, empty store each time the layer is built. */378+export const RepoHostMemory = Layer.sync(RepoHost, make);added:packages/artifacts/src/repo-host.ts+184 added
1+import { CommitSha } from "@repo/protocol/ids";2+import type { RepoPath } from "@repo/protocol/ids";3+import { Context, Data, Schema } from "effect";4+import type {5+ Array,6+ DateTime,7+ Duration,8+ Effect,9+ Option,10+ Redacted,11+} from "effect";12+import type { FsClient } from "isomorphic-git";13+14+/** A repo's name in its namespace: letters, digits, dots, dashes, underscores. */15+export const RepoName = Schema.String.pipe(16+ Schema.check(Schema.isPattern(/^[A-Za-z0-9._-]+$/u)),17+ Schema.brand("RepoName")18+);19+20+export type RepoName = typeof RepoName.Type;21+22+/** A short branch name such as `main` or `feature/x`, never `refs/…`. */23+export const BranchName = Schema.String.pipe(24+ Schema.check(25+ Schema.isPattern(26+ /^(?!refs\/)(?!.*\.\.)[A-Za-z0-9._-]+(?:\/[A-Za-z0-9._-]+)*$/u27+ )28+ ),29+ Schema.brand("BranchName")30+);31+32+export type BranchName = typeof BranchName.Type;33+34+/** A full ref name: `refs/heads/main`, `refs/asked/landed`, `refs/notes/commits`. */35+export const RefName = Schema.String.pipe(36+ Schema.check(37+ Schema.isPattern(/^refs\/(?!.*\.\.)[A-Za-z0-9._-]+(?:\/[A-Za-z0-9._-]+)+$/u)38+ ),39+ Schema.brand("RefName")40+);41+42+export type RefName = typeof RefName.Type;43+44+/** A git object id: 40 lowercase hex digits. */45+export const ObjectId = Schema.String.pipe(46+ Schema.check(Schema.isPattern(/^[0-9a-f]{40}$/u)),47+ Schema.brand("ObjectId")48+);49+50+export type ObjectId = typeof ObjectId.Type;51+52+/**53+ * Where a read starts. Artifacts' binding resolves short branch names and54+ * commit ids only (S1 #20), so these are the only two kinds.55+ */56+export type Revision = Data.TaggedEnum<{57+ Branch: { readonly name: BranchName };58+ Commit: { readonly sha: CommitSha };59+}>;60+61+export const Revision = Data.taggedEnum<Revision>();62+63+const Person = Schema.Struct({ email: Schema.String, name: Schema.String });64+65+export const Commit = Schema.Struct({66+ author: Person,67+ committer: Person,68+ message: Schema.String,69+ parents: Schema.Array(CommitSha),70+ sha: CommitSha,71+ tree: ObjectId,72+});73+74+export type Commit = typeof Commit.Type;75+76+export type TokenScope = "read" | "write";77+78+export interface RepoToken {79+ readonly id: string;80+ readonly secret: Redacted.Redacted;81+ readonly scope: TokenScope;82+ readonly expiresAt: DateTime.Utc;83+}84+85+export interface RepoCreated {86+ readonly name: RepoName;87+ readonly remote: string;88+}89+90+/** A local git repo, read through isomorphic-git, that a push takes objects from. */91+export interface PushSource {92+ readonly fs: FsClient;93+ readonly gitdir: string;94+}95+96+/**97+ * One ref's compare-and-swap. `from` is the tip the pusher expects; `None`98+ * means the ref must not exist yet.99+ */100+export interface RefUpdate {101+ readonly ref: RefName;102+ readonly from: Option.Option<CommitSha>;103+ readonly to: CommitSha;104+}105+106+/** What one ref in a push came to. A push is never atomic across refs (S1 #6). */107+export type RefOutcome = Data.TaggedEnum<{108+ Updated: { readonly ref: RefName };109+ Stale: { readonly ref: RefName; readonly tip: Option.Option<CommitSha> };110+}>;111+112+export const RefOutcome = Data.taggedEnum<RefOutcome>();113+114+export class RepoNotFound extends Schema.TaggedError<RepoNotFound>()(115+ "RepoNotFound",116+ { name: RepoName }117+) {}118+119+export class RepoExists extends Schema.TaggedError<RepoExists>()("RepoExists", {120+ name: RepoName,121+}) {}122+123+/** Artifacts is still forking this repo; retry. */124+export class ForkInProgress extends Schema.TaggedError<ForkInProgress>()(125+ "ForkInProgress",126+ { name: RepoName }127+) {}128+129+/** The store refused a whole push while busy with another (S1 #5); retry. */130+export class HostBusy extends Schema.TaggedError<HostBusy>()("HostBusy", {131+ name: RepoName,132+}) {}133+134+/**135+ * The git store the platform keeps repos in. The only way to Artifacts: every136+ * other package reaches it through this port.137+ */138+export class RepoHost extends Context.Service<139+ RepoHost,140+ {141+ readonly create: (name: RepoName) => Effect.Effect<RepoCreated, RepoExists>;142+ /** Forks the default branch only, as Artifacts does by default. */143+ readonly fork: (144+ base: RepoName,145+ name: RepoName146+ ) => Effect.Effect<RepoCreated, RepoNotFound | RepoExists | ForkInProgress>;147+ readonly remove: (name: RepoName) => Effect.Effect<boolean>;148+ readonly mintToken: (149+ name: RepoName,150+ scope: TokenScope,151+ ttl: Duration.Duration152+ ) => Effect.Effect<RepoToken, RepoNotFound>;153+ readonly revokeToken: (154+ name: RepoName,155+ id: string156+ ) => Effect.Effect<boolean, RepoNotFound>;157+ /** The git URL that pushes and fetches go to. */158+ readonly remote: (name: RepoName) => Effect.Effect<string, RepoNotFound>;159+ readonly readFile: (160+ name: RepoName,161+ at: Revision,162+ path: RepoPath163+ ) => Effect.Effect<Option.Option<Uint8Array>, RepoNotFound>;164+ readonly readCommit: (165+ name: RepoName,166+ sha: CommitSha167+ ) => Effect.Effect<Option.Option<Commit>, RepoNotFound>;168+ /** First parents from `at`, newest first. */169+ readonly log: (170+ name: RepoName,171+ at: Revision,172+ limit: number173+ ) => Effect.Effect<readonly Commit[], RepoNotFound>;174+ /** Every ref, as `ls-remote` lists them, custom refs included. */175+ readonly refs: (176+ name: RepoName177+ ) => Effect.Effect<ReadonlyMap<RefName, CommitSha>, RepoNotFound>;178+ readonly push: (179+ name: RepoName,180+ source: PushSource,181+ updates: Array.NonEmptyReadonlyArray<RefUpdate>182+ ) => Effect.Effect<readonly RefOutcome[], RepoNotFound | HostBusy>;183+ }184+>()("artifacts/RepoHost") {}added:packages/artifacts/test/git-client.ts+86 added
1+import { CommitSha } from "@repo/protocol/ids";2+import { Effect } from "effect";3+import { init, writeBlob, writeCommit, writeTree } from "isomorphic-git";4+import type { TreeEntry } from "isomorphic-git";5+6+import type { PushSource } from "../src/repo-host.ts";7+import { memoryFs } from "../src/repo-host/memory-fs.ts";8+9+/** Paths and their text, such as `[["src/a.ts", "v1"]]`. */10+export type Files = readonly (readonly [path: string, content: string])[];11+12+// Fixed, so the same files and parents always make the same commit id.13+const signature = {14+ email: "answerer@example.com",15+ name: "Answerer",16+ timestamp: 1_791_300_000,17+ timezoneOffset: 0,18+};19+20+/** A local bare repo that tests build commits in and push from. */21+export const gitClient = Effect.gen(function* () {22+ const source: PushSource = { fs: memoryFs(), gitdir: "/client.git" };23+24+ yield* Effect.promise(() =>25+ init({ ...source, bare: true, defaultBranch: "main" })26+ );27+28+ const tree = (files: Files): Effect.Effect<string> =>29+ Effect.gen(function* () {30+ const entries: TreeEntry[] = [];31+ const nested = new Map<string, [string, string][]>();32+33+ for (const [path, content] of files) {34+ const [head = path, ...rest] = path.split("/");35+36+ if (rest.length === 0) {37+ const oid = yield* Effect.promise(() =>38+ writeBlob({ ...source, blob: new TextEncoder().encode(content) })39+ );40+41+ entries.push({ mode: "100644", oid, path: head, type: "blob" });42+ } else {43+ nested.set(head, [44+ ...(nested.get(head) ?? []),45+ [rest.join("/"), content],46+ ]);47+ }48+ }49+50+ for (const [path, inner] of nested) {51+ const oid = yield* tree(inner);52+53+ entries.push({ mode: "040000", oid, path, type: "tree" });54+ }55+56+ return yield* Effect.promise(() =>57+ writeTree({ ...source, tree: entries })58+ );59+ });60+61+ const commit = (62+ message: string,63+ files: Files,64+ parents: readonly CommitSha[] = []65+ ) =>66+ Effect.gen(function* () {67+ const root = yield* tree(files);68+69+ const oid = yield* Effect.promise(() =>70+ writeCommit({71+ ...source,72+ commit: {73+ author: signature,74+ committer: signature,75+ message: `${message}\n`,76+ parent: [...parents],77+ tree: root,78+ },79+ })80+ );81+82+ return CommitSha.make(oid);83+ });84+85+ return { commit, source };86+});added:packages/artifacts/test/memory.test.ts+4 added
1234import { RepoHostMemory } from "../src/repo-host/memory.ts";import { describeRepoHost } from "./repo-host-contract.ts";
describeRepoHost("memory", RepoHostMemory);added:packages/artifacts/test/repo-host-contract.ts+309 added
1+import { describe, expect, it } from "@effect/vitest";2+import { RepoPath } from "@repo/protocol/ids";3+import { DateTime, Duration, Effect, Option, Redacted } from "effect";4+import type { Layer } from "effect";5+6+import {7+ BranchName,8+ RefName,9+ RefOutcome,10+ RepoExists,11+ RepoHost,12+ RepoName,13+ RepoNotFound,14+ Revision,15+} from "../src/repo-host.ts";16+import { gitClient } from "./git-client.ts";17+18+const main = RefName.make("refs/heads/main");19+20+const landed = RefName.make("refs/asked/landed");21+22+const notes = RefName.make("refs/notes/commits");23+24+const path = RepoPath.make("src/a.ts");25+26+const text = (bytes: Uint8Array) => new TextDecoder().decode(bytes);27+28+/**29+ * What every RepoHost adapter must do, written against the port. `/memory`30+ * runs it on every `verify`; `/binding` runs it against live Artifacts.31+ */32+export const describeRepoHost = (33+ adapter: string,34+ host: Layer.Layer<RepoHost>35+) => {36+ describe(`RepoHost over ${adapter}`, () => {37+ it.effect("reads a file at a branch and at an older commit", () =>38+ Effect.gen(function* () {39+ const repos = yield* RepoHost;40+ const client = yield* gitClient;41+ const first = yield* client.commit("v1", [["src/a.ts", "v1"]]);42+43+ const second = yield* client.commit(44+ "v2",45+ [["src/a.ts", "v2"]],46+ [first]47+ );48+49+ const name = RepoName.make("reads");50+51+ yield* repos.create(name);52+ yield* repos.push(name, client.source, [53+ { from: Option.none(), ref: main, to: second },54+ ]);55+56+ const at = (revision: Revision) =>57+ repos58+ .readFile(name, revision, path)59+ .pipe(Effect.map(Option.map(text)));60+61+ expect(62+ yield* at(Revision.Branch({ name: BranchName.make("main") }))63+ ).toStrictEqual(Option.some("v2"));64+ expect(yield* at(Revision.Commit({ sha: first }))).toStrictEqual(65+ Option.some("v1")66+ );67+ expect(68+ yield* at(Revision.Branch({ name: BranchName.make("absent") }))69+ ).toStrictEqual(Option.none());70+ }).pipe(Effect.provide(host))71+ );72+73+ it.effect("logs first parents from a revision, newest first", () =>74+ Effect.gen(function* () {75+ const repos = yield* RepoHost;76+ const client = yield* gitClient;77+ const first = yield* client.commit("first", [["a", "1"]]);78+ const side = yield* client.commit("side", [["b", "1"]]);79+80+ const merge = yield* client.commit(81+ "merge",82+ [["a", "2"]],83+ [first, side]84+ );85+86+ const name = RepoName.make("history");87+88+ yield* repos.create(name);89+ yield* repos.push(name, client.source, [90+ { from: Option.none(), ref: main, to: merge },91+ ]);92+93+ const messages = (at: Revision, limit: number) =>94+ repos95+ .log(name, at, limit)96+ .pipe(97+ Effect.map((commits) => commits.map((commit) => commit.message))98+ );99+100+ const tip = Revision.Branch({ name: BranchName.make("main") });101+102+ expect(yield* messages(tip, 10)).toStrictEqual(["merge", "first"]);103+ expect(yield* messages(tip, 1)).toStrictEqual(["merge"]);104+ expect(105+ yield* messages(Revision.Commit({ sha: side }), 10)106+ ).toStrictEqual(["side"]);107+ expect(108+ yield* messages(109+ Revision.Branch({ name: BranchName.make("absent") }),110+ 10111+ )112+ ).toStrictEqual([]);113+ }).pipe(Effect.provide(host))114+ );115+116+ // S1 #6: Artifacts refuses `--atomic`, so landing pushes main by itself and117+ // treats each ref's outcome on its own.118+ it.effect("applies each ref's compare-and-swap on its own", () =>119+ Effect.gen(function* () {120+ const repos = yield* RepoHost;121+ const client = yield* gitClient;122+ const first = yield* client.commit("first", [["a", "1"]]);123+ const second = yield* client.commit("second", [["a", "2"]], [first]);124+ const name = RepoName.make("compare-and-swap");125+126+ yield* repos.create(name);127+ yield* repos.push(name, client.source, [128+ { from: Option.none(), ref: main, to: first },129+ { from: Option.none(), ref: landed, to: first },130+ ]);131+132+ const outcomes = yield* repos.push(name, client.source, [133+ { from: Option.some(first), ref: main, to: second },134+ { from: Option.some(second), ref: landed, to: second },135+ ]);136+137+ expect(outcomes).toStrictEqual([138+ RefOutcome.Updated({ ref: main }),139+ RefOutcome.Stale({ ref: landed, tip: Option.some(first) }),140+ ]);141+ expect(142+ yield* repos.log(143+ name,144+ Revision.Branch({ name: BranchName.make("main") }),145+ 1146+ )147+ ).toMatchObject([{ sha: second }]);148+ }).pipe(Effect.provide(host))149+ );150+151+ it.effect("refuses to create a ref that already exists", () =>152+ Effect.gen(function* () {153+ const repos = yield* RepoHost;154+ const client = yield* gitClient;155+ const first = yield* client.commit("first", [["a", "1"]]);156+ const other = yield* client.commit("other", [["a", "x"]]);157+ const name = RepoName.make("create-only");158+159+ yield* repos.create(name);160+ yield* repos.push(name, client.source, [161+ { from: Option.none(), ref: main, to: first },162+ ]);163+164+ expect(165+ yield* repos.push(name, client.source, [166+ { from: Option.none(), ref: main, to: other },167+ ])168+ ).toStrictEqual([169+ RefOutcome.Stale({ ref: main, tip: Option.some(first) }),170+ ]);171+ }).pipe(Effect.provide(host))172+ );173+174+ // S1 #10 and #19: a fork shares what it inherited and nothing a sibling175+ // adds later.176+ it.effect("keeps each fork's own commits to itself", () =>177+ Effect.gen(function* () {178+ const repos = yield* RepoHost;179+ const client = yield* gitClient;180+ const first = yield* client.commit("first", [["a", "1"]]);181+ const onlyA = yield* client.commit("only in a", [["a", "a"]], [first]);182+ const base = RepoName.make("fork-base");183+ const forkA = RepoName.make("fork-a");184+ const forkB = RepoName.make("fork-b");185+186+ yield* repos.create(base);187+ yield* repos.push(base, client.source, [188+ { from: Option.none(), ref: main, to: first },189+ ]);190+ yield* repos.fork(base, forkA);191+ yield* repos.fork(base, forkB);192+ yield* repos.push(forkA, client.source, [193+ { from: Option.some(first), ref: main, to: onlyA },194+ ]);195+196+ const has = (name: RepoName, sha: typeof first) =>197+ repos.readCommit(name, sha).pipe(Effect.map(Option.isSome));198+199+ expect(yield* has(forkA, onlyA)).toBeTruthy();200+ expect(yield* has(forkB, onlyA)).toBeFalsy();201+ expect(yield* has(base, onlyA)).toBeFalsy();202+ expect(yield* has(forkB, first)).toBeTruthy();203+ expect(204+ yield* repos.log(205+ forkB,206+ Revision.Branch({ name: BranchName.make("main") }),207+ 10208+ )209+ ).toMatchObject([{ sha: first }]);210+ }).pipe(Effect.provide(host))211+ );212+213+ // S1 #7 and #20: custom refs are kept and listed, but the binding's reads214+ // resolve branch names only, so the platform reads them from this list.215+ it.effect("lists custom refs that no read can name", () =>216+ Effect.gen(function* () {217+ const repos = yield* RepoHost;218+ const client = yield* gitClient;219+ const first = yield* client.commit("first", [["a", "1"]]);220+ const name = RepoName.make("custom-refs");221+222+ yield* repos.create(name);223+ yield* repos.push(name, client.source, [224+ { from: Option.none(), ref: main, to: first },225+ { from: Option.none(), ref: landed, to: first },226+ { from: Option.none(), ref: notes, to: first },227+ ]);228+229+ expect(yield* repos.refs(name)).toStrictEqual(230+ new Map([231+ [landed, first],232+ [main, first],233+ [notes, first],234+ ])235+ );236+ expect(237+ yield* repos.readFile(238+ name,239+ Revision.Branch({ name: BranchName.make("asked/landed") }),240+ RepoPath.make("a")241+ )242+ ).toStrictEqual(Option.none());243+ }).pipe(Effect.provide(host))244+ );245+246+ it.effect("names the repo it could not find or could not create", () =>247+ Effect.gen(function* () {248+ const repos = yield* RepoHost;249+ const taken = RepoName.make("taken");250+ const missing = RepoName.make("missing");251+252+ yield* repos.create(taken);253+254+ expect(yield* Effect.flip(repos.create(taken))).toStrictEqual(255+ new RepoExists({ name: taken })256+ );257+ expect(yield* Effect.flip(repos.fork(missing, taken))).toStrictEqual(258+ new RepoNotFound({ name: missing })259+ );260+ expect(yield* Effect.flip(repos.fork(taken, taken))).toStrictEqual(261+ new RepoExists({ name: taken })262+ );263+ expect(yield* Effect.flip(repos.refs(missing))).toStrictEqual(264+ new RepoNotFound({ name: missing })265+ );266+ }).pipe(Effect.provide(host))267+ );268+269+ it.effect(270+ "mints a token that expires after its ttl, and revokes it once",271+ () =>272+ Effect.gen(function* () {273+ const repos = yield* RepoHost;274+ const name = RepoName.make("tokens");275+276+ yield* repos.create(name);277+278+ const now = yield* DateTime.now;279+ const token = yield* repos.mintToken(name, "read", Duration.hours(1));280+281+ expect(token.scope).toBe("read");282+ expect(Redacted.value(token.secret)).not.toBe("");283+ expect(token.expiresAt).toStrictEqual(284+ DateTime.add(now, { hours: 1 })285+ );286+ expect(yield* repos.revokeToken(name, token.id)).toBeTruthy();287+ expect(yield* repos.revokeToken(name, token.id)).toBeFalsy();288+ }).pipe(Effect.provide(host))289+ );290+291+ it.effect("removes a repo once, freeing its name", () =>292+ Effect.gen(function* () {293+ const repos = yield* RepoHost;294+ const name = RepoName.make("removed");295+296+ yield* repos.create(name);297+ expect(yield* repos.remote(name)).not.toBe("");298+ expect(yield* repos.remove(name)).toBeTruthy();299+ expect(yield* repos.remove(name)).toBeFalsy();300+ expect(yield* Effect.flip(repos.remote(name))).toStrictEqual(301+ new RepoNotFound({ name })302+ );303+ expect(304+ yield* repos.refs((yield* repos.create(name)).name)305+ ).toStrictEqual(new Map());306+ }).pipe(Effect.provide(host))307+ );308+ });309+};added:packages/artifacts/test/revision.test.ts+19 added
12345678910111213141516171819import { describe, expect, it } from "@effect/vitest";import { Schema } from "effect";
import { BranchName } from "../src/repo-host.ts";
// Artifacts' binding resolves short branch names and commit ids only (S1 #20),// so a full ref name cannot be a revision.describe("a branch revision", () => { it.each(["main", "feature/parser", "asked-landed"])("takes %s", (name) => { expect(Schema.is(BranchName)(name)).toBeTruthy(); });
it.each(["refs/heads/main", "refs/asked/landed", "refs/notes/commits", ""])( "refuses %j", (name) => { expect(Schema.is(BranchName)(name)).toBeFalsy(); } );});added:packages/artifacts/package.json+24 added
123456789101112131415161718192021222324{ "name": "@repo/artifacts", "private": true, "type": "module", "exports": { "./repo-host": "./src/repo-host.ts", "./repo-host/memory": "./src/repo-host/memory.ts" }, "scripts": { "typecheck": "tsc --noEmit -p tsconfig.json", "test": "vitest run" }, "dependencies": { "@repo/protocol": "workspace:*", "effect": "catalog:", "isomorphic-git": "1.43.0" }, "devDependencies": { "@effect/vitest": "catalog:", "@repo/config": "workspace:*", "typescript": "catalog:", "vitest": "catalog:" }}added:packages/artifacts/tsconfig.json+7 added
1234567{ "extends": "../../tsconfig.base.json", "compilerOptions": { "allowImportingTsExtensions": true }, "include": ["src/**/*.ts", "test/**/*.ts", "*.config.ts"]}added:packages/artifacts/vitest.config.ts+1 added
1export { preset as default } from "@repo/config/vitest";modified:bun.lock+126 added
18 unmodified lines19 "ultracite": "7.12.4",20 "varlock": "1.21.1",21 },22 },23+ "packages/artifacts": {24+ "name": "@repo/artifacts",25+ "dependencies": {26+ "@repo/protocol": "workspace:*",27+ "effect": "catalog:",28+ "isomorphic-git": "1.43.0",29+ },30+ "devDependencies": {31+ "@effect/vitest": "catalog:",32+ "@repo/config": "workspace:*",33+ "typescript": "catalog:",34+ "vitest": "catalog:",35+ },36+ },37 "packages/brand": {38 "name": "@repo/brand",39 "dependencies": {40 "effect": "catalog:",253 unmodified lines294 "@poppinss/dumper": ["@poppinss/dumper@0.6.5", "", { "dependencies": { "@poppinss/colors": "^4.1.5", "@sindresorhus/is": "^7.0.2", "supports-color": "^10.0.0" } }, "sha512-NBdYIb90J7LfOI32dOewKI1r7wnkiH6m920puQ3qHUeZkxNkQiFnXVWoE6YtFSv6QOiPPf7ys6i+HWWecDz7sw=="],295 296 "@poppinss/exception": ["@poppinss/exception@1.2.3", "", {}, "sha512-dCED+QRChTVatE9ibtoaxc+WkdzOSjYTKi/+uacHWIsfodVfpsueo3+DKpgU5Px8qXjgmXkSvhXvSCz3fnP9lw=="],297 298+ "@repo/artifacts": ["@repo/artifacts@workspace:packages/artifacts"],299+300 "@repo/brand": ["@repo/brand@workspace:packages/brand"],301 302 "@repo/config": ["@repo/config@workspace:packages/config"],303 112 unmodified lines416 "@vitest/mocker": ["@vitest/mocker@5.0.3", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.31", "@vitest/spy": "5.0.3", "estree-walker": "^3.0.3", "magic-string": "^1.2.3" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["msw", "vite"] }, "sha512-T8sWAIbkSyAjkwTcaEc3Iu0o9A27X1/kdXrizhZkGuSKScRQtRzclfAMpOTcGdXCsqxeWlpGy3XjqaW8CpLORg=="],417 418 "@vitest/spy": ["@vitest/spy@5.0.3", "", {}, "sha512-XhFysQTB8AZ+P4gMi+Lpo99vg2AZi0qKpaB9yXQl37+CaMEAPO3iH/wGVnSyL5MPERiLezpqTVtrR6UZH5GCXg=="],419 420+ "abort-controller": ["abort-controller@3.0.0", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="],421+422 "acorn": ["acorn@8.18.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ=="],423 424 "ansi-escapes": ["ansi-escapes@7.3.0", "", { "dependencies": { "environment": "^1.0.0" } }, "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg=="],425 2 unmodified lines428 "ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="],429 430 "assertion-error": ["assertion-error@2.0.1", "", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="],431 432+ "async-lock": ["async-lock@1.4.1", "", {}, "sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ=="],433+434+ "available-typed-arrays": ["available-typed-arrays@1.0.7", "", { "dependencies": { "possible-typed-array-names": "^1.0.0" } }, "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ=="],435+436+ "base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="],437+438 "blake3-wasm": ["blake3-wasm@2.1.5", "", {}, "sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g=="],439 440 "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="],441 442+ "buffer": ["buffer@6.0.3", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" } }, "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA=="],443+444+ "call-bind": ["call-bind@1.0.9", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "get-intrinsic": "^1.3.0", "set-function-length": "^1.2.2" } }, "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ=="],445+446+ "call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],447+448+ "call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],449+450 "cf": ["cf@1.0.0-beta.12", "", { "dependencies": { "@cloudflare/build-output-utils": "0.8.5", "@cloudflare/codemods": "0.4.0", "@cloudflare/config": "0.23.0", "@cloudflare/runtime-types": "0.1.7", "blake3-wasm": "2.1.5", "miniflare": "5.20260930.0-alpha", "minisearch": "7.2.0" }, "bin": { "cf": "./bin/cf", "cloudflare": "./bin/cf" } }, "sha512-tyQ+Jpnw+4NDwDtl7ZNteXBm7N0TeJ6gYww79kkabpcYoCEXkUUpmt9BlDUKH8ub17tjAeiuyqa9NQzH0vp2Aw=="],451 452 "chai": ["chai@6.3.0", "", {}, "sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg=="],453 454 "citty": ["citty@0.2.2", "", {}, "sha512-+6vJA3L98yv+IdfKGZHBNiGW5KHn22e/JwID0Strsz8h4S/csAu/OuICwxrg44k5MRiZHWIo8XXuJgQTriRP4w=="],455 456+ "clean-git-ref": ["clean-git-ref@2.0.1", "", {}, "sha512-bLSptAy2P0s6hU4PzuIMKmMJJSE6gLXGH1cntDu7bWJUksvuM+7ReOK61mozULErYvP6a15rnYl0zFDef+pyPw=="],457+458 "cli-cursor": ["cli-cursor@5.0.0", "", { "dependencies": { "restore-cursor": "^5.0.0" } }, "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw=="],459 460 "cli-truncate": ["cli-truncate@6.1.1", "", { "dependencies": { "slice-ansi": "^9.0.0", "string-width": "^8.2.0" } }, "sha512-06p9vyLahLa4zkGcgsGxU6iEkSOiuI4fhCH6Emhe2lPAcoUv73n72DnODsnHA+5wwXGnV0n9M9/qOQJSjYhFhw=="],461 2 unmodified lines464 "confbox": ["confbox@0.1.8", "", {}, "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w=="],465 466 "cookie": ["cookie@1.1.1", "", {}, "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ=="],467 468+ "crc-32": ["crc-32@1.2.2", "", { "bin": { "crc32": "bin/crc32.njs" } }, "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="],469+470+ "decompress-response": ["decompress-response@6.0.0", "", { "dependencies": { "mimic-response": "^3.1.0" } }, "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ=="],471+472 "deepmerge": ["deepmerge@4.3.1", "", {}, "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A=="],473 474+ "define-data-property": ["define-data-property@1.1.4", "", { "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", "gopd": "^1.0.1" } }, "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A=="],475+476 "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="],477 478+ "diff3": ["diff3@0.0.3", "", {}, "sha512-iSq8ngPOt0K53A6eVr4d5Kn6GNrM2nQZtC740pzIriHtn4pOQ2lyzEXQMBeVcWERN0ye7fhBsk9PbLLQOnUx/g=="],479+480+ "dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],481+482 "effect": ["effect@4.0.1", "", {}, "sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw=="],483 484 "empathic": ["empathic@2.1.0", "", {}, "sha512-AnfC1ATldl49/cvZdLPDjBfrRNwbDO05aibiOtzQu3qtlbJtomNLhF30HEtn/7iBz50dlMECqATo3fG0LrdEgw=="],485 486 "environment": ["environment@1.1.0", "", {}, "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q=="],487 488 "error-stack-parser-es": ["error-stack-parser-es@1.0.5", "", {}, "sha512-5qucVt2XcuGMcEGgWI7i+yZpmpByQ8J1lHhcL7PwqCwu9FPP3VUXzT4ltHe5i2z9dePwEHcDVOAfSnHsOlCXRA=="],489 490+ "es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],491+492+ "es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],493+494 "es-module-lexer": ["es-module-lexer@2.3.2", "", {}, "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw=="],495 496+ "es-object-atoms": ["es-object-atoms@1.1.2", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw=="],497+498 "estree-walker": ["estree-walker@3.0.3", "", { "dependencies": { "@types/estree": "^1.0.0" } }, "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g=="],499 500+ "event-target-shim": ["event-target-shim@5.0.1", "", {}, "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="],501+502+ "events": ["events@3.3.0", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="],503+504 "execa": ["execa@10.0.1", "", { "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", "figures": "^6.1.0", "get-stream": "^9.0.1", "human-signals": "^8.0.1", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^6.0.0", "pretty-ms": "^9.3.0", "signal-exit": "^4.1.0", "strip-final-newline": "^4.0.0", "which-command": "^0.1.0", "yoctocolors": "^2.1.2" } }, "sha512-ge98qjkRK4IB7tL7Ju/6qmm5LHoH1eEMt5FNZrz3f4UIYhF28lggX20z3FaX1sgc67msLEn0N0BscOs29iuwyw=="],505 506 "expect-type": ["expect-type@1.4.0", "", {}, "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA=="],507 14 unmodified lines522 "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="],523 524 "find-workspaces": ["find-workspaces@0.3.1", "", { "dependencies": { "fast-glob": "^3.3.2", "pkg-types": "^1.0.3", "yaml": "^2.3.4" } }, "sha512-UDkGILGJSA1LN5Aa7McxCid4sqW3/e+UYsVwyxki3dDT0F8+ym0rAfnCkEfkL0rO7M+8/mvkim4t/s3IPHmg+w=="],525 526+ "for-each": ["for-each@0.3.5", "", { "dependencies": { "is-callable": "^1.2.7" } }, "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg=="],527+528 "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],529 530+ "function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],531+532 "get-east-asian-width": ["get-east-asian-width@1.7.0", "", {}, "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q=="],533 534+ "get-intrinsic": ["get-intrinsic@1.3.0", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],535+536+ "get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],537+538 "get-stream": ["get-stream@9.0.1", "", { "dependencies": { "@sec-ant/readable-stream": "^0.4.1", "is-stream": "^4.0.1" } }, "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA=="],539 540 "glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],541 542+ "gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],543+544+ "has-property-descriptors": ["has-property-descriptors@1.0.2", "", { "dependencies": { "es-define-property": "^1.0.0" } }, "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg=="],545+546+ "has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],547+548+ "has-tostringtag": ["has-tostringtag@1.0.2", "", { "dependencies": { "has-symbols": "^1.0.3" } }, "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw=="],549+550+ "hasown": ["hasown@2.0.4", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="],551+552 "human-signals": ["human-signals@8.0.1", "", {}, "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ=="],553 554+ "ieee754": ["ieee754@1.2.1", "", {}, "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="],555+556+ "ignore": ["ignore@5.3.2", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="],557+558+ "inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],559+560+ "is-callable": ["is-callable@1.2.7", "", {}, "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA=="],561+562 "is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="],563 564 "is-fullwidth-code-point": ["is-fullwidth-code-point@5.1.0", "", { "dependencies": { "get-east-asian-width": "^1.3.1" } }, "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ=="],565 4 unmodified lines570 "is-plain-obj": ["is-plain-obj@4.1.0", "", {}, "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg=="],571 572 "is-stream": ["is-stream@4.0.1", "", {}, "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A=="],573 574+ "is-typed-array": ["is-typed-array@1.1.15", "", { "dependencies": { "which-typed-array": "^1.1.16" } }, "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ=="],575+576 "is-unicode-supported": ["is-unicode-supported@2.1.0", "", {}, "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ=="],577 578+ "isarray": ["isarray@2.0.5", "", {}, "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="],579+580+ "isomorphic-git": ["isomorphic-git@1.43.0", "", { "dependencies": { "async-lock": "^1.4.1", "clean-git-ref": "^2.0.1", "crc-32": "^1.2.0", "diff3": "0.0.3", "ignore": "^5.1.4", "minimisted": "^2.0.0", "pako": "^1.0.10", "pify": "^4.0.1", "readable-stream": "^4.0.0", "sha.js": "^2.4.12", "simple-get": "^4.0.1" }, "bin": { "isogit": "cli.cjs" } }, "sha512-QhJ97lDzpcsV9++LLDs3GcSsY6JwbV7aWbB53gfxNXDDve30Uf3T9G1IzIL2TXfPCvx2rOcbrf5X31oSoPaX/w=="],581+582 "jsonc-parser": ["jsonc-parser@3.3.1", "", {}, "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ=="],583 584 "kleur": ["kleur@4.1.5", "", {}, "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ=="],585 26 unmodified lines612 "magic-string": ["magic-string@1.4.3", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0" } }, "sha512-z12OxmaPGE0F4xlpGdjuAUckipLpQlTAuAmyGhNoD7ODpYUzvDfvtxUbjM/jwznyP178oju/KDdyi220wNJ0RQ=="],613 614 "magicast": ["magicast@0.5.5", "", { "dependencies": { "@babel/parser": "^7.29.7", "@babel/types": "^7.29.7", "source-map-js": "^1.2.1" } }, "sha512-UicdXN8zQ3JHlxVq+28afMXPr1z7WNY6+7EJnzTdQWkTAlMLF5fNCCKxJHBQwGaNGR11581EiQmQzx73+MvszA=="],615 616+ "math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],617+618 "merge2": ["merge2@1.4.1", "", {}, "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="],619 620 "micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="],621 622 "mimic-function": ["mimic-function@5.0.1", "", {}, "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA=="],623 624+ "mimic-response": ["mimic-response@3.1.0", "", {}, "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ=="],625+626 "miniflare": ["miniflare@5.20260930.0-alpha", "", { "dependencies": { "@cspotcode/source-map-support": "0.8.1", "sharp": "0.35.4", "undici": "7.29.1", "workerd": "1.20260930.2", "ws": "8.21.0", "youch": "4.1.0-beta.10" } }, "sha512-vZljfRtOEeynbhJtuvYsnCU8t6zF5wIUm9ql4YFHB7zvYw2+F2tpT0BzXjzaa++eiUIml1gsODCf02qShBmJdg=="],627 628+ "minimist": ["minimist@1.2.8", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="],629+630+ "minimisted": ["minimisted@2.0.1", "", { "dependencies": { "minimist": "^1.2.5" } }, "sha512-1oPjfuLQa2caorJUM8HV8lGgWCc0qqAO1MNv/k05G4qslmsndV/5WdNZrqCiyqiz3wohia2Ij2B7w2Dr7/IyrA=="],631+632 "minisearch": ["minisearch@7.2.0", "", {}, "sha512-dqT2XBYUOZOiC5t2HRnwADjhNS2cecp9u+TJRiJ1Qp/f5qjkeT5APcGPjHw+bz89Ms8Jp+cG4AlE+QZ/QnDglg=="],633 634 "mlly": ["mlly@1.8.2", "", { "dependencies": { "acorn": "^8.16.0", "pathe": "^2.0.3", "pkg-types": "^1.3.1", "ufo": "^1.6.3" } }, "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA=="],635 4 unmodified lines640 "nypm": ["nypm@0.6.10", "", { "dependencies": { "citty": "^0.2.2", "pathe": "^2.0.3", "tinyexec": "^1.3.1" }, "bin": { "nypm": "./dist/cli.mjs" } }, "sha512-W72Hrj1petq+b3Hk2aAC+9zswetlIFTnDW4s5djseZh2nYqBbyQLOtj472HwcbcWykPBUW1WpWpjOd4nK6gMRw=="],641 642 "obug": ["obug@2.2.1", "", {}, "sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q=="],643 644+ "once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],645+646 "onetime": ["onetime@7.0.0", "", { "dependencies": { "mimic-function": "^5.0.0" } }, "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ=="],647 648 "oxfmt": ["oxfmt@0.72.0", "", { "dependencies": { "tinypool": "2.2.0" }, "optionalDependencies": { "@oxfmt/binding-android-arm-eabi": "0.72.0", "@oxfmt/binding-android-arm64": "0.72.0", "@oxfmt/binding-darwin-arm64": "0.72.0", "@oxfmt/binding-darwin-x64": "0.72.0", "@oxfmt/binding-freebsd-x64": "0.72.0", "@oxfmt/binding-linux-arm-gnueabihf": "0.72.0", "@oxfmt/binding-linux-arm-musleabihf": "0.72.0", "@oxfmt/binding-linux-arm64-gnu": "0.72.0", "@oxfmt/binding-linux-arm64-musl": "0.72.0", "@oxfmt/binding-linux-ppc64-gnu": "0.72.0", "@oxfmt/binding-linux-riscv64-gnu": "0.72.0", "@oxfmt/binding-linux-riscv64-musl": "0.72.0", "@oxfmt/binding-linux-s390x-gnu": "0.72.0", "@oxfmt/binding-linux-x64-gnu": "0.72.0", "@oxfmt/binding-linux-x64-musl": "0.72.0", "@oxfmt/binding-openharmony-arm64": "0.72.0", "@oxfmt/binding-win32-arm64-msvc": "0.72.0", "@oxfmt/binding-win32-ia32-msvc": "0.72.0", "@oxfmt/binding-win32-x64-msvc": "0.72.0" }, "peerDependencies": { "svelte": "^5.0.0", "vite-plus": "*" }, "optionalPeers": ["svelte", "vite-plus"], "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-16OQeL0uhPZbfmT9S9WWM0Nv9+BmVi8Ra1uTYaSKj/qSCs6FB30KOhz9JoNYw6thT+K5bVxsk/tSEOu497i34g=="],649 650 "oxlint": ["oxlint@1.87.0", "", { "optionalDependencies": { "@oxlint/binding-android-arm-eabi": "1.87.0", "@oxlint/binding-android-arm64": "1.87.0", "@oxlint/binding-darwin-arm64": "1.87.0", "@oxlint/binding-darwin-x64": "1.87.0", "@oxlint/binding-freebsd-x64": "1.87.0", "@oxlint/binding-linux-arm-gnueabihf": "1.87.0", "@oxlint/binding-linux-arm-musleabihf": "1.87.0", "@oxlint/binding-linux-arm64-gnu": "1.87.0", "@oxlint/binding-linux-arm64-musl": "1.87.0", "@oxlint/binding-linux-ppc64-gnu": "1.87.0", "@oxlint/binding-linux-riscv64-gnu": "1.87.0", "@oxlint/binding-linux-riscv64-musl": "1.87.0", "@oxlint/binding-linux-s390x-gnu": "1.87.0", "@oxlint/binding-linux-x64-gnu": "1.87.0", "@oxlint/binding-linux-x64-musl": "1.87.0", "@oxlint/binding-openharmony-arm64": "1.87.0", "@oxlint/binding-win32-arm64-msvc": "1.87.0", "@oxlint/binding-win32-ia32-msvc": "1.87.0", "@oxlint/binding-win32-x64-msvc": "1.87.0" }, "peerDependencies": { "oxlint-tsgolint": ">=7.0.2003", "vite-plus": "*" }, "optionalPeers": ["oxlint-tsgolint", "vite-plus"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-drxVlaW7Oqq7wSy1CN25znRu00aRq8n57Q2wniJRxCmtYVz07ufCm7EVDPQFZURrTgQIjzKrVEHAD/HcvJXObg=="],651 652 "oxlint-tsgolint": ["oxlint-tsgolint@7.0.2003", "", { "optionalDependencies": { "@oxlint-tsgolint/darwin-arm64": "7.0.2003", "@oxlint-tsgolint/darwin-x64": "7.0.2003", "@oxlint-tsgolint/linux-arm64": "7.0.2003", "@oxlint-tsgolint/linux-x64": "7.0.2003", "@oxlint-tsgolint/win32-arm64": "7.0.2003", "@oxlint-tsgolint/win32-x64": "7.0.2003" }, "bin": { "tsgolint": "./bin/tsgolint.js" } }, "sha512-VnK4zlqgmgq/7ZcjzCk/WpN8kKFsYGcB85Io9qT3wL4K8Un3RKmJkp793crNETieMusPMKOA4a+Mw2wbteI6TQ=="],653 654+ "pako": ["pako@1.0.11", "", {}, "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw=="],655+656 "parse-ms": ["parse-ms@4.0.0", "", {}, "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw=="],657 658 "path-key": ["path-key@4.0.0", "", {}, "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ=="],659 2 unmodified lines662 "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],663 664 "picomatch": ["picomatch@4.0.7", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="],665 666+ "pify": ["pify@4.0.1", "", {}, "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="],667+668 "pkg-types": ["pkg-types@1.3.1", "", { "dependencies": { "confbox": "^0.1.8", "mlly": "^1.7.4", "pathe": "^2.0.1" } }, "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ=="],669 670+ "possible-typed-array-names": ["possible-typed-array-names@1.1.0", "", {}, "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg=="],671+672 "postcss": ["postcss@8.5.29", "", { "dependencies": { "nanoid": "^3.3.19", "picocolors": "^1.1.1", "source-map-js": "^1.2.2" } }, "sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ=="],673 674 "pretty-ms": ["pretty-ms@9.3.1", "", { "dependencies": { "parse-ms": "^4.0.0" } }, "sha512-HzMy3Geq23nVALD/M2LliU+F+M+gVNsvkQWWqeBZ8HDiCgzo6YPJ/Omrmtq24EFrIsk0a3EkQGEd7bDOo+IhGA=="],675 676+ "process": ["process@0.11.10", "", {}, "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A=="],677+678 "queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="],679 680+ "readable-stream": ["readable-stream@4.7.0", "", { "dependencies": { "abort-controller": "^3.0.0", "buffer": "^6.0.3", "events": "^3.3.0", "process": "^0.11.10", "string_decoder": "^1.3.0" } }, "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg=="],681+682 "resolve.exports": ["resolve.exports@2.0.3", "", {}, "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A=="],683 684 "restore-cursor": ["restore-cursor@5.1.0", "", { "dependencies": { "onetime": "^7.0.0", "signal-exit": "^4.1.0" } }, "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA=="],685 2 unmodified lines688 "rolldown": ["rolldown@1.2.12", "", { "dependencies": { "@oxc-project/types": "=0.152.0", "@rolldown/pluginutils": "^1.0.0" }, "optionalDependencies": { "@rolldown/binding-android-arm-eabi": "1.2.12", "@rolldown/binding-android-arm64": "1.2.12", "@rolldown/binding-darwin-arm64": "1.2.12", "@rolldown/binding-darwin-x64": "1.2.12", "@rolldown/binding-freebsd-x64": "1.2.12", "@rolldown/binding-linux-arm-gnueabihf": "1.2.12", "@rolldown/binding-linux-arm64-gnu": "1.2.12", "@rolldown/binding-linux-arm64-musl": "1.2.12", "@rolldown/binding-linux-ppc64-gnu": "1.2.12", "@rolldown/binding-linux-s390x-gnu": "1.2.12", "@rolldown/binding-linux-x64-gnu": "1.2.12", "@rolldown/binding-linux-x64-musl": "1.2.12", "@rolldown/binding-openharmony-arm64": "1.2.12", "@rolldown/binding-win32-arm64-msvc": "1.2.12", "@rolldown/binding-win32-x64-msvc": "1.2.12" }, "bin": { "rolldown": "./bin/cli.mjs" } }, "sha512-8wafseiaG80xmXSfqidUNqZcylTlhmPZZt+za2m+js2sFZ8dTNlhIOV2WcbIPx2hgwPBJpEUGFAMZ9bgBBLTSQ=="],689 690 "run-parallel": ["run-parallel@1.2.0", "", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="],691 692+ "safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="],693+694 "semver": ["semver@7.8.5", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="],695 696+ "set-function-length": ["set-function-length@1.2.2", "", { "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.2" } }, "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg=="],697+698+ "sha.js": ["sha.js@2.4.12", "", { "dependencies": { "inherits": "^2.0.4", "safe-buffer": "^5.2.1", "to-buffer": "^1.2.0" }, "bin": { "sha.js": "bin.js" } }, "sha512-8LzC5+bvI45BjpfXU8V5fdU2mfeKiQe1D1gIMn7XUlF3OTUrpdJpPPH4EMAnF0DsHHdSZqCdSss5qCmJKuiO3w=="],699+700 "sharp": ["sharp@0.35.4", "", { "dependencies": { "@img/colour": "^1.1.0", "detect-libc": "^2.1.2", "semver": "^7.8.5" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.35.4", "@img/sharp-darwin-x64": "0.35.4", "@img/sharp-freebsd-wasm32": "0.35.4", "@img/sharp-libvips-darwin-arm64": "1.3.3", "@img/sharp-libvips-darwin-x64": "1.3.3", "@img/sharp-libvips-linux-arm": "1.3.3", "@img/sharp-libvips-linux-arm64": "1.3.3", "@img/sharp-libvips-linux-ppc64": "1.3.3", "@img/sharp-libvips-linux-riscv64": "1.3.3", "@img/sharp-libvips-linux-s390x": "1.3.3", "@img/sharp-libvips-linux-x64": "1.3.3", "@img/sharp-libvips-linuxmusl-arm64": "1.3.3", "@img/sharp-libvips-linuxmusl-x64": "1.3.3", "@img/sharp-linux-arm": "0.35.4", "@img/sharp-linux-arm64": "0.35.4", "@img/sharp-linux-ppc64": "0.35.4", "@img/sharp-linux-riscv64": "0.35.4", "@img/sharp-linux-s390x": "0.35.4", "@img/sharp-linux-x64": "0.35.4", "@img/sharp-linuxmusl-arm64": "0.35.4", "@img/sharp-linuxmusl-x64": "0.35.4", "@img/sharp-webcontainers-wasm32": "0.35.4", "@img/sharp-win32-arm64": "0.35.4", "@img/sharp-win32-ia32": "0.35.4", "@img/sharp-win32-x64": "0.35.4" }, "peerDependencies": { "@types/node": "*" }, "optionalPeers": ["@types/node"] }, "sha512-n++8XWcj+jCOr2IOl7h8LbKnGBDY4aPbmprMONBNFdn0ImXqpGVv5zliDs0V9HbmbCQLpbuo2ej9rAoOQTvMDA=="],701 702 "signal-exit": ["signal-exit@4.1.0", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],703 704+ "simple-concat": ["simple-concat@1.0.1", "", {}, "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q=="],705+706+ "simple-get": ["simple-get@4.0.1", "", { "dependencies": { "decompress-response": "^6.0.0", "once": "^1.3.1", "simple-concat": "^1.0.0" } }, "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA=="],707+708 "sisteransi": ["sisteransi@1.0.5", "", {}, "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="],709 710 "slice-ansi": ["slice-ansi@9.0.1", "", { "dependencies": { "ansi-styles": "^6.2.3", "is-fullwidth-code-point": "^5.1.0" } }, "sha512-aBY19bn/XA+hKOKX0qL7Z0UfdBsbQvc9hn993U8ALUjzxCvDcuZqLoRXjGJrUARWAlwMnsRVD9sw2AFNOYvalA=="],711 2 unmodified lines714 "std-env": ["std-env@4.3.0", "", {}, "sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag=="],715 716 "string-width": ["string-width@8.3.0", "", { "dependencies": { "get-east-asian-width": "^1.5.0", "strip-ansi": "^7.1.2" } }, "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ=="],717 718+ "string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="],719+720 "strip-ansi": ["strip-ansi@7.2.0", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="],721 722 "strip-final-newline": ["strip-final-newline@4.0.0", "", {}, "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw=="],723 6 unmodified lines730 "tinyglobby": ["tinyglobby@0.2.17", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="],731 732 "tinypool": ["tinypool@2.2.0", "", {}, "sha512-jBrmx4lYmaC9k/mgPbylxs7kBUxHtD8256up+HjLaDFfXScKJQyil+SWXSvhAtT7XHo+yTVlpB81PGmHP8oLSQ=="],733 734+ "to-buffer": ["to-buffer@1.2.2", "", { "dependencies": { "isarray": "^2.0.5", "safe-buffer": "^5.2.1", "typed-array-buffer": "^1.0.3" } }, "sha512-db0E3UJjcFhpDhAF4tLo03oli3pwl3dbnzXOUIlRKrp+ldk/VUxzpWYZENsw2SZiuBjHAk7DfB0VU7NKdpb6sw=="],735+736 "to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="],737 738 "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],739 740 "turbo": ["turbo@2.11.7", "", { "optionalDependencies": { "@turbo/darwin-64": "2.11.7", "@turbo/darwin-arm64": "2.11.7", "@turbo/linux-64": "2.11.7", "@turbo/linux-arm64": "2.11.7", "@turbo/windows-64": "2.11.7", "@turbo/windows-arm64": "2.11.7" }, "bin": { "turbo": "bin/turbo" } }, "sha512-RhXHbqfvY6o3xt/zSHCwSNwLrZlXiqHzewi4eAj9PtZ1T1CqgMJ2yIDb7SKPTG9IikTm925mfzL6hldQVdyNWw=="],741 742+ "typed-array-buffer": ["typed-array-buffer@1.0.3", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "is-typed-array": "^1.1.14" } }, "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw=="],743+744 "typescript": ["typescript@7.0.2", "", { "optionalDependencies": { "@typescript/typescript-aix-ppc64": "7.0.2", "@typescript/typescript-darwin-arm64": "7.0.2", "@typescript/typescript-darwin-x64": "7.0.2", "@typescript/typescript-freebsd-arm64": "7.0.2", "@typescript/typescript-freebsd-x64": "7.0.2", "@typescript/typescript-linux-arm": "7.0.2", "@typescript/typescript-linux-arm64": "7.0.2", "@typescript/typescript-linux-loong64": "7.0.2", "@typescript/typescript-linux-mips64el": "7.0.2", "@typescript/typescript-linux-ppc64": "7.0.2", "@typescript/typescript-linux-riscv64": "7.0.2", "@typescript/typescript-linux-s390x": "7.0.2", "@typescript/typescript-linux-x64": "7.0.2", "@typescript/typescript-netbsd-arm64": "7.0.2", "@typescript/typescript-netbsd-x64": "7.0.2", "@typescript/typescript-openbsd-arm64": "7.0.2", "@typescript/typescript-openbsd-x64": "7.0.2", "@typescript/typescript-sunos-x64": "7.0.2", "@typescript/typescript-win32-arm64": "7.0.2", "@typescript/typescript-win32-x64": "7.0.2" }, "bin": { "tsc": "bin/tsc" } }, "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA=="],745 746 "ufo": ["ufo@1.6.4", "", {}, "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA=="],747 12 unmodified lines760 "vitest": ["vitest@5.0.3", "", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/mocker": "5.0.3", "chai": "^6.2.2", "es-module-lexer": "^2.3.2", "expect-type": "^1.4.0", "magic-string": "^1.2.3", "obug": "^2.1.4", "picomatch": "^4.0.7", "std-env": "^4.2.0", "tinybench": "^6.1.4", "tinyexec": "^1.3.0", "tinyglobby": "^0.2.17", "why-is-node-running": "3.2.1" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "5.0.3", "@vitest/browser-preview": "5.0.3", "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", "@vitest/coverage-istanbul": "5.0.3", "@vitest/coverage-v8": "5.0.3", "@vitest/ui": "5.0.3", "happy-dom": "*", "jsdom": "*", "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/coverage-istanbul", "@vitest/coverage-v8", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "./vitest.mjs" } }, "sha512-xMw97S3rjdtj5dkVat7jCsqWBpvchs3RlpQctUqwJD0KkERk40vz2fJ77lDwW/Vzh/pk18eItYAzkodhSes3jQ=="],761 762 "which-command": ["which-command@0.1.0", "", { "bin": { "which-command": "cli.js" } }, "sha512-XZyoF5/5hZtXitIwzrU4NKK+Wtbb9aB9CezUEw2Q0wlYK8NUYQxC1rRXgNueYLtBAJwXIb+/tFVk4dozciNJMA=="],763 764+ "which-typed-array": ["which-typed-array@1.1.24", "", { "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.9", "call-bound": "^1.0.4", "for-each": "^0.3.5", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-tostringtag": "^1.0.2" } }, "sha512-wk4Mf4pR5mRP7eYuuTBCIQ9d0ud2Fv2jRLQpfgnRjbOxAFHmjKFValgTpitVKzJJS8ajnYQV2Du1SZ8j6b/EUQ=="],765+766 "why-is-node-running": ["why-is-node-running@3.2.1", "", { "bin": { "why-is-node-running": "cli.js" } }, "sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ=="],767 768 "workerd": ["workerd@1.20261001.1", "", { "optionalDependencies": { "@cloudflare/workerd-darwin-64": "1.20261001.1", "@cloudflare/workerd-darwin-arm64": "1.20261001.1", "@cloudflare/workerd-linux-64": "1.20261001.1", "@cloudflare/workerd-linux-arm64": "1.20261001.1", "@cloudflare/workerd-windows-64": "1.20261001.1" }, "bin": { "workerd": "bin/workerd" } }, "sha512-d/SIYHFO0PT/wiFZg8in4NpRIxYuFwslX1HdylOtWkBIIUmSpkGFhK820cV84XACFylwJ48xuRoWW/8DWDPsPQ=="],769 770 "wrap-ansi": ["wrap-ansi@10.0.2", "", { "dependencies": { "ansi-styles": "^6.2.3", "string-width": "^8.2.0" } }, "sha512-6OLRNZqRntVGBm26ghZ5eZhCuWWyOkRCSn8XsOIuq5stpCE/tjLbdozd93naILZig0lmD8ANfRwnhn0DLeXGlg=="],771 772+ "wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],773+774 "ws": ["ws@8.22.0", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg=="],775 776 "yaml": ["yaml@2.9.1", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw=="],777 33 unmodified linesmodified:oxlint.config.ts+3 added
114 unmodified linesExpand all1151161171181191201211221231241252 unmodified lines114 unmodified linesExpand all ], }, ], "oxc/no-accumulating-spread": "error", // Effect: its `asyncFunction` diagnostic bans `async`; promises appear only // where a library takes them, as plain promise-returning functions. "typescript/promise-function-async": "off", // Effect: `Effect.forEach(xs, f, { concurrency })` is not a `thisArg`. "unicorn/no-array-method-this-argument": "off", // Effect: `Schema.TaggedError<X>()(…)` returns a class, not an error. "unicorn/throw-new-error": "off",2 unmodified lines