util-helpers 5.4.0 → 5.4.1

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.
@@ -1782,7 +1782,7 @@
1782
1782
  ];
1783
1783
  function getMimeType(fileName) {
1784
1784
  var _a;
1785
- var ext = getExtname(fileName).slice(1);
1785
+ var ext = getExtname(fileName).slice(1).toLowerCase();
1786
1786
  return ext ? (_a = mimeTypes.find(function (item) { return item[1].includes(ext); })) === null || _a === void 0 ? void 0 : _a[0] : nativeUndefined;
1787
1787
  }
1788
1788
 
@@ -2152,7 +2152,7 @@
2152
2152
  return internalFindTreeSelect(tree, predicate, childrenField);
2153
2153
  }
2154
2154
 
2155
- var VERSION = "5.4.0";
2155
+ var VERSION = "5.4.1";
2156
2156
 
2157
2157
  /**
2158
2158
  * 事件触发器,支持浏览器端和 node 端。