fix(core): Update dependencies and optimize type imports

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

36
changelog.md Normal file
View File

@ -0,0 +1,36 @@
# Changelog
## 2024-11-18 - 2.0.3 - fix(core)
Update dependencies and optimize type imports
- Updated devDependencies: '@git.zone/tsbuild', '@git.zone/tsrun', '@push.rocks/tapbundle', and '@types/node'.
- Updated dependencies: 'file-type' and 'mime'.
- Optimized import for IFileTypeResult type from plugins.fileType.
## 2024-05-29 - 2.0.2 - Documentation Update
Improvements in project documentation details.
- Updated project description for better clarity.
## 2024-05-21 - 2.0.0 to 2.0.1 - Core Updates and Fixes
Updates in core functionalities and maintenance fixes.
- Fixed issues within core components through multiple updates.
- Addressed breaking change in core functionality, necessitating updates across dependent modules.
## 2023-07-11 - 1.0.5 to 1.0.6 - Organizational and Configuration Changes
Switched to a new organizational scheme and updated configurations.
- Implemented switch to a new organizational scheme.
- Updated npmextra.json configuration for githost.
- Updated tsconfig to reflect changes in project setup.
## 2021-08-10 - 1.0.4 and 1.0.3 - Core Updates
Necessary modifications to core components.
- Applied fixes in core components spanning multiple versions.
## 2020-03-04 - 1.0.1 to 1.0.2 - Core Component Fixes
Initial fixes in core modules.
- Resolved initial bugs and issues present in core functionalities of the system.

View File

@ -13,16 +13,16 @@
"buildDocs": "tsdoc"
},
"devDependencies": {
"@git.zone/tsbuild": "^2.1.66",
"@git.zone/tsrun": "^1.2.44",
"@git.zone/tsbuild": "^2.2.0",
"@git.zone/tsrun": "^1.3.3",
"@git.zone/tstest": "^1.0.77",
"@push.rocks/tapbundle": "^5.0.8",
"@types/node": "^20.12.12"
"@push.rocks/tapbundle": "^5.5.0",
"@types/node": "^22.9.0"
},
"dependencies": {
"@types/mime-types": "^2.1.4",
"file-type": "^19.0.0",
"mime": "^4.0.3"
"file-type": "^19.6.0",
"mime": "^4.0.4"
},
"files": [
"ts/**/*",

4109
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

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'];