@tspro/ts-utils-lib 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +4 -4
- package/dist/index.d.mts +718 -261
- package/dist/index.d.ts +718 -261
- package/dist/index.js +1662 -748
- package/dist/index.mjs +1659 -748
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.18.0] - 2025-10-24
|
|
4
|
+
### Changed
|
|
5
|
+
- Deprecated `DivRect` properties `centerX` and `centerY`, replaced with `anchorX` and `anchorY`.
|
|
6
|
+
Added getters and setters for `centerX` and `centerY`.
|
|
7
|
+
- isIntegerXxx() compareTo argument from number to unknown.
|
|
8
|
+
- Reorganise folder structure.
|
|
9
|
+
- Deprecate Utils.Is, added Guard to use instead.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- Utils.Is.isIntegerBetweenExclusive().
|
|
13
|
+
- Assert.int_between_exclusive().
|
|
14
|
+
- More Vec operations.
|
|
15
|
+
|
|
16
|
+
## [1.17.0] - 2025-10-21
|
|
17
|
+
### Added
|
|
18
|
+
- Vec class.
|
|
19
|
+
- DivRect class.
|
|
20
|
+
- Map1, Map2 and Map3 into own files.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- Map1, Map2 and Map3.reduce without init value.
|
|
24
|
+
- Improved filter functions.
|
|
25
|
+
|
|
26
|
+
|
|
3
27
|
## [1.16.0] - 2025-10-20
|
|
4
28
|
### Added
|
|
5
29
|
- Add isEmpty() to interface and containers.
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# TS Utils Lib
|
|
2
2
|
|
|
3
3
|
## About
|
|
4
4
|
A small collection of TypeScript functions, containers, etc. used in my personal projects.
|
|
5
5
|
|
|
6
6
|
## Links
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[Homepage](https://pahkasoft.github.io/)
|
|
7
|
+
[Repository](https://github.com/pahkasoft/ts-utils-lib) |
|
|
8
|
+
[Package](https://www.npmjs.com/package/@tspro/ts-utils-lib) |
|
|
9
|
+
[Homepage](https://pahkasoft.github.io/ts-utils-lib)
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
`npm i @tspro/ts-utils-lib`
|