@monolith-forensics/monolith-ui 1.2.57 → 1.2.58

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.
@@ -125,9 +125,10 @@ const StyledInnerContainer = styled.div.attrs({
125
125
  }
126
126
  `;
127
127
  const resolveViewerType = (file) => {
128
- let ext = file.ext;
128
+ var _a, _b;
129
+ let ext = (_a = file === null || file === void 0 ? void 0 : file.ext) === null || _a === void 0 ? void 0 : _a.toLowerCase();
129
130
  if (!ext) {
130
- ext = file.name.split(".").pop();
131
+ ext = (_b = file.name.split(".").pop()) === null || _b === void 0 ? void 0 : _b.toLowerCase();
131
132
  }
132
133
  if (!ext) {
133
134
  return ViewerTypes.Code;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.2.57",
3
+ "version": "1.2.58",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",