Skip to content

Commit 3192ad4

Browse files
committed
chore: v2.1.0
1 parent b864600 commit 3192ad4

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v2.1.0
4+
5+
- Upgraded TypeScript to `4.6.4`.
6+
- Improved typing of `Object.property.hasOwnProperty` and `Object.hasOwn`. (https://github.com/uhyo/better-typescript-lib/issues/4)
7+
- Fixed typing of `JSON.stringify` so that its return type includes `undefined` when possible. (https://github.com/uhyo/better-typescript-lib/issues/6)
8+
- Tightened typing of Array higher-order functions. Predicates passed to `filter`, `every` and `some` now must return a value of `boolean` type. (https://github.com/uhyo/better-typescript-lib/issues/7)
9+
310
## v2.0.0
411

512
- Upgraded TypeScript to `4.5.2`.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Starting from TypeScript 4.5, the TypeScript compiler detects existence of `@typ
3232

3333
| better-typescript-lib | TypeScript |
3434
| --------------------- | --------------- |
35+
| 2.1.0 | TS 4.6 or later |
3536
| 2.0.0 | TS 4.5 or later |
3637

3738
[If you are using TypeScript 4.4 or prior, see the v1 branch.](https://github.com/uhyo/better-typescript-lib/tree/v1)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "better-typescript-lib",
33
"private": true,
4-
"version": "2.0.0",
4+
"version": "2.1.0",
55
"description": "Better TypeScript standard library",
66
"main": "index.js",
77
"devDependencies": {
@@ -27,4 +27,4 @@
2727
"types": []
2828
}
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)