@hestia-earth/pipeline-utils 0.9.2 → 0.9.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.9.3](https://gitlab.com/hestia-earth/hestia-pipeline-utils/compare/v0.9.2...v0.9.3) (2023-04-28)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **find node:** allow null values on extend ([cf95e93](https://gitlab.com/hestia-earth/hestia-pipeline-utils/commit/cf95e93378e5e75af1a9321a40c9f0474887306b))
11
+
5
12
  ### [0.9.2](https://gitlab.com/hestia-earth/hestia-pipeline-utils/compare/v0.9.1...v0.9.2) (2023-04-27)
6
13
 
7
14
 
@@ -178,7 +178,7 @@ const findNodes = async (schemas, node, top = false, findChildren = true) => {
178
178
  ...data,
179
179
  ...values.reduce((prev, value) => ({ ...prev, ...value }), {})
180
180
  };
181
- return (0, utils_1.reduceUndefinedValues)(existingNode || { id, type, ...fullData }, null);
181
+ return (0, utils_1.reduceUndefinedValues)(existingNode || { id, type, ...fullData }, true);
182
182
  };
183
183
  exports.findNodes = findNodes;
184
184
  //# sourceMappingURL=find-nodes.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/pipeline-utils",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "Utilities for running pipelines",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
package/src/find-nodes.ts CHANGED
@@ -242,5 +242,5 @@ export const findNodes = async (
242
242
  ...data,
243
243
  ...values.reduce((prev, value) => ({ ...prev, ...value }), {})
244
244
  };
245
- return reduceUndefinedValues<HestiaJson<SchemaType>>(existingNode || { id, type, ...fullData }, null);
245
+ return reduceUndefinedValues<HestiaJson<SchemaType>>(existingNode || { id, type, ...fullData }, true);
246
246
  };