Skip to content
Source
Sign inSign up
pingdotgg/t3code

chore(deps): upgrade @pierre/diffs to 1.5.2 and @pierre/trees to beta.6 #16644

Mergedjuliusmarmingemerged 1 commit intomain fromrefs/pull/16644/headmerged by juliusmarminge View on GitHub

Showing 22 changed files with 4 additions and 5 deletions (loading 18).

x
0 of 22 viewed, 22 left
2 additions and 3 deletionsapps/mobile/src/features/review/reviewModel.tsModified
View file
@@ -2,7 +2,6 @@
import type { ChangeTypes, FileDiffMetadata } from "@pierre/diffs/types";
import type { ThreadCheckpointSummary } from "@t3tools/client-runtime/state/thread-checkpoints";
import type { ReviewDiffPreviewSource } from "@t3tools/contracts";
-import { unquoteGitPatchPath } from "@t3tools/shared/gitPatchPath";
import * as Arr from "effect/Array";
import { pipe } from "effect/Function";
import * as Order from "effect/Order";
@@ -374,8 +373,8 @@
​
function mapRenderableFile(file: FileDiffMetadata): ReviewRenderableFile {
- const path = unquoteGitPatchPath(file.name || file.prevName || "");
- const previousPath = file.prevName ? unquoteGitPatchPath(file.prevName) : null;
+ const path = file.name || file.prevName || "";
+ const previousPath = file.prevName || null;
const additions = file.hunks.reduce((total, hunk) => total + hunk.additionLines, 0);
const deletions = file.hunks.reduce((total, hunk) => total + hunk.deletionLines, 0);
const cacheKey = file.cacheKey ?? `${previousPath ?? "none"}:${path}:${file.type}`;
1 addition and 1 deletionapps/mobile/package.jsonModified
View file
@@ -131,7 +131,7 @@
"devDependencies": {
"@effect/vitest": "catalog:",
- "@pierre/trees": "1.0.0-beta.4",
+ "@pierre/trees": "1.0.0-beta.6",