Skip to content

Commit

Permalink
chore: Release v1.4.7 - See CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Feb 29, 2024
1 parent 83b4d76 commit d51ac93
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

### 1.4.7 (February 29th, 2024)

- add null check

### 1.4.6 (February 29th, 2024)

- update deps
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@restorecommerce/resource-base-interface",
"version": "1.4.6",
"version": "1.4.7",
"description": "Restorecommerce Resource Base Interface",
"main": "lib/index.js",
"author": "n-fuse GmbH",
Expand Down
2 changes: 1 addition & 1 deletion src/core/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const setNestedPath = (object: any, fieldPath: string, fieldHandlerType: string)
}
if (prefix && suffix) {
let array = _.get(object, prefix);
array.forEach((obj: any) => {
array?.forEach((obj: any) => {
let fieldExists = _.get(obj, suffix);
if (fieldExists) {
updateObject(obj, suffix, fieldExists, fieldHandlerType);
Expand Down

0 comments on commit d51ac93

Please sign in to comment.