@strapi/utils 5.0.0-rc.1 → 5.0.0-rc.11

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
@@ -544,16 +544,6 @@ const providerFactory = (options = {}) => {
544
544
  get(key) {
545
545
  return state.registry.get(key);
546
546
  },
547
- getWhere(filters2 = {}) {
548
- const items = this.values();
549
- const filtersEntries = Object.entries(filters2);
550
- if (filtersEntries.length === 0) {
551
- return items;
552
- }
553
- return items.filter((item) => {
554
- return filtersEntries.every(([key, value]) => item[key] === value);
555
- });
556
- },
557
547
  values() {
558
548
  return Array.from(state.registry.values());
559
549
  },