@zelgadis87/utils-core 5.1.0 → 5.1.2

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/esbuild/index.mjs CHANGED
@@ -933,9 +933,13 @@ function dictToEntries(obj) {
933
933
  function entriesToDict(entries) {
934
934
  return Object.fromEntries(entries);
935
935
  }
936
- function mapEntries(dict, mapper) {
936
+ function entriesToEntries(dict, mapper) {
937
937
  return entriesToDict(dictToEntries(dict).map((entry) => mapper(entry)));
938
938
  }
939
+ var mapEntries = entriesToEntries;
940
+ function entriesToList(dict, mapper) {
941
+ return dictToEntries(dict).map((entry) => mapper(entry));
942
+ }
939
943
 
940
944
  // src/utils/records.ts
941
945
  function dictToList(obj) {
@@ -2747,6 +2751,8 @@ export {
2747
2751
  ensurePositiveNumber,
2748
2752
  ensureReadableArray,
2749
2753
  entriesToDict,
2754
+ entriesToEntries,
2755
+ entriesToList,
2750
2756
  extendArray,
2751
2757
  extendArrayWith,
2752
2758
  fill,