@fourlights/strapi-plugin-deep-populate 1.10.0 → 1.11.0

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.
@@ -18518,7 +18518,7 @@ const register = async ({ strapi: strapi2 }) => {
18518
18518
  return result;
18519
18519
  });
18520
18520
  };
18521
- const version = "1.10.0";
18521
+ const version = "1.11.0";
18522
18522
  const sanitizeObject = (obj) => {
18523
18523
  if (obj === null || typeof obj !== "object") return obj;
18524
18524
  const dangerousProps = ["__proto__", "constructor", "prototype"];
@@ -18805,7 +18805,7 @@ async function _populate({
18805
18805
  continue;
18806
18806
  }
18807
18807
  if (__deny?.relations?.includes(attr.target)) {
18808
- newPopulate[attrName] = false;
18808
+ newPopulate[attrName] = true;
18809
18809
  continue;
18810
18810
  }
18811
18811
  }
@@ -18815,7 +18815,7 @@ async function _populate({
18815
18815
  continue;
18816
18816
  }
18817
18817
  if (__deny?.components?.includes(attr.component)) {
18818
- newPopulate[attrName] = false;
18818
+ newPopulate[attrName] = true;
18819
18819
  continue;
18820
18820
  }
18821
18821
  }
@@ -18490,7 +18490,7 @@ const register = async ({ strapi: strapi2 }) => {
18490
18490
  return result;
18491
18491
  });
18492
18492
  };
18493
- const version = "1.10.0";
18493
+ const version = "1.11.0";
18494
18494
  const sanitizeObject = (obj) => {
18495
18495
  if (obj === null || typeof obj !== "object") return obj;
18496
18496
  const dangerousProps = ["__proto__", "constructor", "prototype"];
@@ -18777,7 +18777,7 @@ async function _populate({
18777
18777
  continue;
18778
18778
  }
18779
18779
  if (__deny?.relations?.includes(attr.target)) {
18780
- newPopulate[attrName] = false;
18780
+ newPopulate[attrName] = true;
18781
18781
  continue;
18782
18782
  }
18783
18783
  }
@@ -18787,7 +18787,7 @@ async function _populate({
18787
18787
  continue;
18788
18788
  }
18789
18789
  if (__deny?.components?.includes(attr.component)) {
18790
- newPopulate[attrName] = false;
18790
+ newPopulate[attrName] = true;
18791
18791
  continue;
18792
18792
  }
18793
18793
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.10.0",
2
+ "version": "1.11.0",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "strapi-plugin",