@strapi/utils 5.0.0-rc.7 → 5.0.0-rc.9

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.mjs CHANGED
@@ -517,16 +517,6 @@ const providerFactory = (options = {}) => {
517
517
  get(key) {
518
518
  return state.registry.get(key);
519
519
  },
520
- getWhere(filters2 = {}) {
521
- const items = this.values();
522
- const filtersEntries = Object.entries(filters2);
523
- if (filtersEntries.length === 0) {
524
- return items;
525
- }
526
- return items.filter((item) => {
527
- return filtersEntries.every(([key, value]) => item[key] === value);
528
- });
529
- },
530
520
  values() {
531
521
  return Array.from(state.registry.values());
532
522
  },