@contentstack/datasync-manager 2.0.6 → 2.0.7

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.
@@ -95,7 +95,11 @@ const update = (parent, reference, entry) => {
95
95
  }
96
96
  }
97
97
  else {
98
- entry = entry[parent[j]];
98
+ const key = parent[j];
99
+ const tempEntry = Object.create(null);
100
+ _.merge(tempEntry, entry);
101
+ entry = tempEntry[key];
102
+ // entry = entry[parent[j]]
99
103
  const keys = cloneDeep(parent).splice((j + 1), len);
100
104
  if (Array.isArray(entry)) {
101
105
  for (let i = 0, l = entry.length; i < l; i++) {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@contentstack/datasync-manager",
3
3
  "author": "Contentstack LLC <support@contentstack.com>",
4
- "version": "2.0.6",
4
+ "version": "2.0.7",
5
5
  "description": "The primary module of Contentstack DataSync. Syncs Contentstack data with your server using Contentstack Sync API",
6
6
  "main": "dist/index.js",
7
7
  "dependencies": {
8
- "@braintree/sanitize-url": "^6.0.4",
9
- "debug": "^4.3.7",
8
+ "@braintree/sanitize-url": "^7.1.1",
9
+ "debug": "^4.4.0",
10
10
  "dns-socket": "^4.2.2",
11
11
  "lodash": "^4.17.21",
12
12
  "marked": "^4.3.0",
@@ -19,11 +19,11 @@
19
19
  "@semantic-release/release-notes-generator": "^10.0.3",
20
20
  "@types/debug": "0.0.31",
21
21
  "@types/jest": "23.3.14",
22
- "@types/lodash": "4.14.202",
22
+ "@types/lodash": "4.17.15",
23
23
  "@types/marked": "^4.3.2",
24
24
  "@types/mkdirp": "0.5.2",
25
25
  "@types/nock": "9.3.1",
26
- "@types/node": "10.12.30",
26
+ "@types/node": "10.17.60",
27
27
  "@types/rimraf": "2.0.5",
28
28
  "@types/write-file-atomic": "2.1.2",
29
29
  "eslint": "^8.57.1",
@@ -32,7 +32,7 @@
32
32
  "mkdirp": "^1.0.4",
33
33
  "nock": "^10.0.6",
34
34
  "rimraf": "^2.7.1",
35
- "semantic-release": "^24.1.2",
35
+ "semantic-release": "^24.2.1",
36
36
  "ts-jest": "^29.2.5",
37
37
  "tslint": "^5.20.1",
38
38
  "typescript": "^4.9.5"