@strapi/utils 4.25.7 → 4.25.8

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/dist/index.js CHANGED
@@ -1068,16 +1068,6 @@ const providerFactory = (options = {}) => {
1068
1068
  get(key2) {
1069
1069
  return state.registry.get(key2);
1070
1070
  },
1071
- getWhere(filters2 = {}) {
1072
- const items = this.values();
1073
- const filtersEntries = Object.entries(filters2);
1074
- if (filtersEntries.length === 0) {
1075
- return items;
1076
- }
1077
- return items.filter((item) => {
1078
- return filtersEntries.every(([key2, value2]) => item[key2] === value2);
1079
- });
1080
- },
1081
1071
  values() {
1082
1072
  return Array.from(state.registry.values());
1083
1073
  },