**chore(deps): update dependencies and Node.js version requirements**
- Updated Node.js version requirement to `>=24.3.0` in `README.md` and `package-lock.json`. - Upgraded `TypeScript` to version `5.4.5` and synced references. - Updated multiple dependencies, including: - `@aws-sdk/client-s3` to `^3.540.0`. - `uuid` to `^9.0.1`. - Development tools such as `eslint` to `^8.57.0`, `typescript-eslint` plugins to `^7.4.0`, and more. - Refreshed transitive dependencies with up-to-date versions for consistency and performance. This update ensures compatibility with the latest Node.js features, aligns TypeScript references, and keeps the project dependencies up-to-date for improved stability and functionality.
This commit is contained in:
parent
457feeccda
commit
20c114dd3e
8 changed files with 593 additions and 788 deletions
|
|
@ -60,8 +60,8 @@ export async function areWorkerThreadsAvailable(): Promise<boolean> {
|
|||
export function areWorkerThreadsAvailableSync(): boolean {
|
||||
if (!isNode()) return false
|
||||
|
||||
// In Node.js 12+, worker_threads is available without requiring a flag
|
||||
return parseInt(process.versions.node.split('.')[0]) >= 12
|
||||
// In Node.js 24.3.0+, worker_threads is always available
|
||||
return parseInt(process.versions.node.split('.')[0]) >= 24
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue