@resolveio/server-lib 4.5.11 → 4.5.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "4.5.11",
3
+ "version": "4.5.12",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -164,7 +164,8 @@ function throwErr(err, lkp, lookupNode, newPropertyName) {
164
164
  exports.throwErr = throwErr;
165
165
  function buildTree(current_root, schemaTree, lookup) {
166
166
  var res = [];
167
- Object.keys(schemaTree).filter(function (a) { return a !== '_id' && a !== '__v' && !a.startsWith('id_') && a !== 'id' && !a.match(/.*\.id_/); }).forEach(function (key) {
167
+ // Object.keys(schemaTree).filter(a => a !== '_id' && a !== '__v' && !a.startsWith('id_') && a !== 'id' && !a.match(/.*\.id_/)).forEach(key => {
168
+ Object.keys(schemaTree).filter(function (a) { return a !== '__v'; }).forEach(function (key) {
168
169
  if (!lookup || (lookup && !schemaTree[key].lookup_collection)) {
169
170
  var treeItemSplit = key.split('.');
170
171
  if (treeItemSplit.length === 1) {