Skip to content

Commit db89857

Browse files
committed
Version 5.4.0
1 parent ca31f85 commit db89857

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased][unreleased]
44

5+
## [5.4.0][] - 2025-09-15
6+
7+
- Added firstKey: returns the first key in an object that starts with a letter
8+
- Added isInstanceOf: checks if an object is an instance of a constructor
9+
- Updated dependencies
10+
- Fixed deprecated `NodeJS.Timer` type to `NodeJS.Timeout`
11+
- Updated Node.js engine requirement to `>=18`
12+
513
## [5.3.0][] - 2025-07-28
614

715
- Added `fileExists` and `exists`
@@ -322,8 +330,11 @@
322330
See this link for 2.2.0 and all previous versions:
323331
https://github.com/metarhia/common/blob/master/CHANGELOG.md
324332

325-
[unreleased]: https://github.com/metarhia/metautil/compare/v5.2.4....HEAD
326-
[5.2.4]: https://github.com/metarhia/metautil/compare/v5.2.4...v5.2.4
333+
[unreleased]: https://github.com/metarhia/metautil/compare/v5.4.0...HEAD
334+
[5.4.0]: https://github.com/metarhia/metautil/compare/v5.3.0...v5.4.0
335+
[5.3.0]: https://github.com/metarhia/metautil/compare/v5.2.5...v5.3.0
336+
[5.2.5]: https://github.com/metarhia/metautil/compare/v5.2.4...v5.2.5
337+
[5.2.4]: https://github.com/metarhia/metautil/compare/v5.2.3...v5.2.4
327338
[5.2.3]: https://github.com/metarhia/metautil/compare/v5.2.2...v5.2.3
328339
[5.2.2]: https://github.com/metarhia/metautil/compare/v5.2.1...v5.2.2
329340
[5.2.1]: https://github.com/metarhia/metautil/compare/v5.2.0...v5.2.1

metautil.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export function isInstanceOf(obj: unknown, constrName: string): boolean;
159159

160160
export interface QueueElement {
161161
resolve: Function;
162-
timer: NodeJS.Timer;
162+
timer: NodeJS.Timeout;
163163
}
164164

165165
export class Pool {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metautil",
3-
"version": "5.3.0",
3+
"version": "5.4.0",
44
"author": "Timur Shemsedinov <[email protected]>",
55
"license": "MIT",
66
"description": "Metarhia utilities",

0 commit comments

Comments
 (0)