You've already forked objdiff-web
mirror of
https://github.com/encounter/objdiff-web.git
synced 2026-07-10 12:18:37 -07:00
Update to objdiff v3.1.0
This commit is contained in:
+2
-2
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user