Update to objdiff v3.1.0

This commit is contained in:
Luke Street
2025-09-03 20:24:20 -06:00
parent 556f251237
commit e2dd650869
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ export const useDiff = ({
try {
left =
leftObject?.byteLength && leftStatus?.success
? diff.Object.parse(new Uint8Array(leftObject), diffConfig)
? diff.Object.parse(new Uint8Array(leftObject), diffConfig, 'target')
: undefined;
} catch (e) {
leftStatus = {
@@ -50,7 +50,7 @@ export const useDiff = ({
try {
right =
rightObject?.byteLength && rightStatus?.success
? diff.Object.parse(new Uint8Array(rightObject), diffConfig)
? diff.Object.parse(new Uint8Array(rightObject), diffConfig, 'base')
: undefined;
} catch (e) {
rightStatus = {