projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17564: Change file size unit base from 1000 to 1024
[arvados-workbench2.git]
/
src
/
common
/
objects.ts
diff --git
a/src/common/objects.ts
b/src/common/objects.ts
index 0a01ed626c5d352eaf58b9943bff1a73f24b062b..12dd004b7e887bf13a22527ebf18f783cde27cb3 100644
(file)
--- a/
src/common/objects.ts
+++ b/
src/common/objects.ts
@@
-1,11
+1,11
@@
// Copyright (C) The Arvados Authors. All rights reserved.
//
// SPDX-License-Identifier: AGPL-3.0
// Copyright (C) The Arvados Authors. All rights reserved.
//
// SPDX-License-Identifier: AGPL-3.0
-import
* as _
from "lodash";
+import
{ union, keys as keys_1, filter }
from "lodash";
export function getModifiedKeys(a: any, b: any) {
export function getModifiedKeys(a: any, b: any) {
- const keys =
_.union(_.keys(a), _.keys
(b));
- return
_.
filter(keys, key => a[key] !== b[key]);
+ const keys =
union(keys_1(a), keys_1
(b));
+ return filter(keys, key => a[key] !== b[key]);
}
export function getModifiedKeysValues(a: any, b: any) {
}
export function getModifiedKeysValues(a: any, b: any) {