@dhyasama/totem-merge 6.9.0 → 6.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/helpers.js +1 -0
- package/package.json +5 -8
package/lib/helpers.js
CHANGED
|
@@ -22,6 +22,7 @@ var createSnapshot = module.exports.createSnapshot = function createSnapshot(con
|
|
|
22
22
|
var mergeObjects = function mergeObjects(target, source, doNotMergeKeys) {
|
|
23
23
|
|
|
24
24
|
if (source == 'undefined') return;
|
|
25
|
+
else if (source == 'MongooseDocument { undefined }') return;
|
|
25
26
|
|
|
26
27
|
var jsonSource = JSON.parse(JSON.stringify(source));
|
|
27
28
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhyasama/totem-merge",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.10.0",
|
|
4
4
|
"description": "Org and person merging package",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"engines": {
|
|
7
|
-
"node": "12.13.1"
|
|
8
|
-
},
|
|
9
6
|
"scripts": {
|
|
10
7
|
"prestart": "node ./lib/changeBSON",
|
|
11
8
|
"start": "NODE_ENV=test node ./cli",
|
|
@@ -16,16 +13,16 @@
|
|
|
16
13
|
},
|
|
17
14
|
"author": "Jason Reynolds",
|
|
18
15
|
"dependencies": {
|
|
19
|
-
"@dhyasama/totem-logger": "^2.0
|
|
20
|
-
"@dhyasama/totem-utilities": "^3.0.
|
|
16
|
+
"@dhyasama/totem-logger": "^2.1.0",
|
|
17
|
+
"@dhyasama/totem-utilities": "^3.0.5",
|
|
21
18
|
"async": "^2.6.4",
|
|
22
19
|
"commander": "^2.20.3",
|
|
23
20
|
"mongoose": "~4.5.7",
|
|
24
21
|
"phone-formatter": "0.0.2",
|
|
25
|
-
"underscore": "^1.13.
|
|
22
|
+
"underscore": "^1.13.6"
|
|
26
23
|
},
|
|
27
24
|
"devDependencies": {
|
|
28
|
-
"@dhyasama/totem-models": "^9.
|
|
25
|
+
"@dhyasama/totem-models": "^9.128.1",
|
|
29
26
|
"mocha": "^5.2.0",
|
|
30
27
|
"mocha-mongoose": "^1.1.1",
|
|
31
28
|
"should": "^8.2.2"
|