oak-domain 5.0.14 → 5.0.15

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.
@@ -907,11 +907,11 @@ exports.judgeValueRelation = judgeValueRelation;
907
907
  function judgeFilterSingleAttrRelation(entity, schema, attr, filter, compared, contained) {
908
908
  const comparedFilterAttrValue = compared[attr];
909
909
  const orDeducedFilters = [];
910
- if (attr === 'entityId') {
910
+ /* if (attr === 'entityId') {
911
911
  // entityId不可能作为查询条件单独存在
912
- (0, assert_1.default)(compared.hasOwnProperty('entity'));
912
+ assert(compared.hasOwnProperty('entity'));
913
913
  return;
914
- }
914
+ } */
915
915
  for (const attr2 in filter) {
916
916
  if (['$and', '$or', '$not'].includes(attr2)) {
917
917
  switch (attr2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oak-domain",
3
- "version": "5.0.14",
3
+ "version": "5.0.15",
4
4
  "author": {
5
5
  "name": "XuChang"
6
6
  },