fix(core): Update dependencies and optimize type imports

This commit is contained in:
2024-11-18 15:03:40 +01:00
parent df607902d9
commit e9fc108432
5 changed files with 3758 additions and 405 deletions

View File

@ -1,8 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
* autocreated commitinfo by @push.rocks/commitinfo
*/
export const commitinfo = {
name: '@push.rocks/smartmime',
version: '2.0.2',
version: '2.0.3',
description: 'A module for detecting MIME types with support for binary and text file distinctions.'
}

View File

@ -3,6 +3,8 @@ import * as plugins from './smartmime.plugins.js';
import { binaryMimeTypes } from './binary.js';
export type IFileTypeResult = plugins.fileType.FileTypeResult;
// TODO: evaluate where this is actually used
export const supportedFileTypes = ['json', 'html', 'svg', 'jpg', 'ts', 'js'];