@rtorcato/js-common 5.0.0 → 6.0.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/AGENTS.md +6 -5
- package/README.md +19 -20
- package/dist/cli/index.mjs +7 -10
- package/dist/currency/currencies.d.ts.map +1 -1
- package/dist/currency/index.d.ts.map +1 -1
- package/dist/env/index.d.ts +1 -1
- package/dist/env/index.d.ts.map +1 -1
- package/dist/logger/index.d.ts.map +1 -1
- package/dist/mime-types/db.d.ts +1839 -1839
- package/dist/mime-types/db.d.ts.map +1 -1
- package/dist/mime-types/index.d.ts +1 -1
- package/dist/node/index.d.ts.map +1 -1
- package/dist/sleep/index.d.ts.map +1 -1
- package/dist/uuid/index.d.ts.map +1 -1
- package/package.json +59 -37
- package/CHANGELOG.md +0 -258
package/CHANGELOG.md
DELETED
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
# Changelog — frozen at 2.8.2
|
|
2
|
-
|
|
3
|
-
**This file stops at 2.8.2 and will not be updated again. It is not the place to
|
|
4
|
-
look for what shipped.**
|
|
5
|
-
|
|
6
|
-
[**GitHub Releases**](https://github.com/rtorcato/js-common/releases) is the
|
|
7
|
-
canonical record, and the [changelog page on the docs
|
|
8
|
-
site](https://rtorcato.github.io/js-common/docs/changelog) is built from it.
|
|
9
|
-
|
|
10
|
-
Why: `@semantic-release/git` is dropped from this repo's plugin list because the
|
|
11
|
-
`code-scanning-main` ruleset rejects the release commit with `GH013` — a commit
|
|
12
|
-
created seconds earlier can never have CodeQL results (see
|
|
13
|
-
[#153](https://github.com/rtorcato/js-common/issues/153) and
|
|
14
|
-
[#211](https://github.com/rtorcato/js-common/issues/211)). Nothing commits this
|
|
15
|
-
file back to `main`, so it holds whatever the last release with that plugin
|
|
16
|
-
wrote. The same applies to the `version` field in `package.json`.
|
|
17
|
-
|
|
18
|
-
Kept in the repo rather than deleted because GitHub Releases only go back to
|
|
19
|
-
v1.2.0 — the hand-written `1.0.0` section at the bottom is the only record of
|
|
20
|
-
that release, which is also why this file carries two formats.
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## [2.8.2](https://github.com/rtorcato/js-common/compare/v2.8.1...v2.8.2) (2026-07-23)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### Bug Fixes
|
|
28
|
-
|
|
29
|
-
* **release:** upgrade npm for OIDC trusted publishing ([#110](https://github.com/rtorcato/js-common/issues/110)) ([93db8b5](https://github.com/rtorcato/js-common/commit/93db8b56041e916c63c1e250312e8527df931cc4))
|
|
30
|
-
|
|
31
|
-
## [2.8.1](https://github.com/rtorcato/js-common/compare/v2.8.0...v2.8.1) (2026-06-12)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### Bug Fixes
|
|
35
|
-
|
|
36
|
-
* **docs:** broken links + sidebar + module summaries ([#70](https://github.com/rtorcato/js-common/issues/70)) ([539923a](https://github.com/rtorcato/js-common/commit/539923addefa80c7564facce87d3664226d9fb75)), closes [#0a0e16](https://github.com/rtorcato/js-common/issues/0a0e16)
|
|
37
|
-
|
|
38
|
-
# [2.8.0](https://github.com/rtorcato/js-common/compare/v2.7.0...v2.8.0) (2026-06-12)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### Features
|
|
42
|
-
|
|
43
|
-
* **docs:** landing + footer design handoff ([#69](https://github.com/rtorcato/js-common/issues/69)) ([1e5a0d3](https://github.com/rtorcato/js-common/commit/1e5a0d3642033390c5c67cbf0df4a8116e40df76)), closes [#0a0e16](https://github.com/rtorcato/js-common/issues/0a0e16)
|
|
44
|
-
|
|
45
|
-
# [2.7.0](https://github.com/rtorcato/js-common/compare/v2.6.0...v2.7.0) (2026-06-12)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### Features
|
|
49
|
-
|
|
50
|
-
* **docs:** v3 redesign — wordmark, install tabs, hardened dark surfaces ([#66](https://github.com/rtorcato/js-common/issues/66)) ([d44e1aa](https://github.com/rtorcato/js-common/commit/d44e1aaa709f7ebb490ff3963b8d6bfe4c6f880c)), closes [#0b101](https://github.com/rtorcato/js-common/issues/0b101)
|
|
51
|
-
|
|
52
|
-
# [2.6.0](https://github.com/rtorcato/js-common/compare/v2.5.0...v2.6.0) (2026-06-11)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Features
|
|
56
|
-
|
|
57
|
-
* **docs:** v3 — wordmark logo + shell ([#65](https://github.com/rtorcato/js-common/issues/65)) ([5f29b1a](https://github.com/rtorcato/js-common/commit/5f29b1a93408e5816fc7f465f2560aa8ca2ed9a1)), closes [#0b101](https://github.com/rtorcato/js-common/issues/0b101)
|
|
58
|
-
|
|
59
|
-
# [2.5.0](https://github.com/rtorcato/js-common/compare/v2.4.0...v2.5.0) (2026-06-11)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
### Features
|
|
63
|
-
|
|
64
|
-
* **docs:** wordmark, icons, install tabs ([#64](https://github.com/rtorcato/js-common/issues/64)) ([2b01b58](https://github.com/rtorcato/js-common/commit/2b01b58a7c7404069d9ad1da4d2e17d933365136)), closes [#62](https://github.com/rtorcato/js-common/issues/62)
|
|
65
|
-
|
|
66
|
-
# [2.4.0](https://github.com/rtorcato/js-common/compare/v2.3.0...v2.4.0) (2026-06-11)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### Features
|
|
70
|
-
|
|
71
|
-
* **docs:** v2 polish — favicon + button + slug ([#63](https://github.com/rtorcato/js-common/issues/63)) ([3b23a0b](https://github.com/rtorcato/js-common/commit/3b23a0bab493366d1b17601403d5bfe29c5176b0))
|
|
72
|
-
|
|
73
|
-
# [2.3.0](https://github.com/rtorcato/js-common/compare/v2.2.0...v2.3.0) (2026-06-11)
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
### Features
|
|
77
|
-
|
|
78
|
-
* **docs:** apply dark + gold theme redesign ([#62](https://github.com/rtorcato/js-common/issues/62)) ([47b2aeb](https://github.com/rtorcato/js-common/commit/47b2aeb32a6723698336a9756d9c0028a5941f25))
|
|
79
|
-
|
|
80
|
-
# [2.2.0](https://github.com/rtorcato/js-common/compare/v2.1.0...v2.2.0) (2026-06-11)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### Features
|
|
84
|
-
|
|
85
|
-
* **docs:** search, changelog page, CI guardrail ([fd95637](https://github.com/rtorcato/js-common/commit/fd9563767e962116dc0e5bb9ad9a95c5f5ce4d8f))
|
|
86
|
-
|
|
87
|
-
# [2.1.0](https://github.com/rtorcato/js-common/compare/v2.0.1...v2.1.0) (2026-06-11)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
### Features
|
|
91
|
-
|
|
92
|
-
* **docs:** full API reference via TypeDoc ([337eb2c](https://github.com/rtorcato/js-common/commit/337eb2c43122685a5fa8321865112800e67c404c))
|
|
93
|
-
|
|
94
|
-
## [2.0.1](https://github.com/rtorcato/js-common/compare/v2.0.0...v2.0.1) (2026-06-10)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
### Bug Fixes
|
|
98
|
-
|
|
99
|
-
* **build:** ship .d.ts files in published tarball ([946cd8a](https://github.com/rtorcato/js-common/commit/946cd8a27ba52923cbcf857d996f52590d9008d5))
|
|
100
|
-
|
|
101
|
-
# [2.0.0](https://github.com/rtorcato/js-common/compare/v1.8.1...v2.0.0) (2026-06-01)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
* refactor!: maintenance sweep + rename errors.tryCatch ([#47](https://github.com/rtorcato/js-common/issues/47)) ([9bd28a6](https://github.com/rtorcato/js-common/commit/9bd28a68b7566806169812ffed5ccb649d30e6c3))
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
### Bug Fixes
|
|
108
|
-
|
|
109
|
-
* **ci:** env-var commit message in check-skip ([#48](https://github.com/rtorcato/js-common/issues/48)) ([1037b0c](https://github.com/rtorcato/js-common/commit/1037b0c31c377bbc80eda57cbe3e411579437685)), closes [#47](https://github.com/rtorcato/js-common/issues/47)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### BREAKING CHANGES
|
|
113
|
-
|
|
114
|
-
* `tryCatch` from `@rtorcato/js-common/errors` is
|
|
115
|
-
renamed to `tryWithFallback`. For Result-pattern error handling,
|
|
116
|
-
import `tryCatch` from `@rtorcato/js-common/try` instead.
|
|
117
|
-
|
|
118
|
-
## [1.8.1](https://github.com/rtorcato/js-common/compare/v1.8.0...v1.8.1) (2026-05-29)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
### Bug Fixes
|
|
122
|
-
|
|
123
|
-
* **deps:** move CLI deps to optionalDependencies ([52d1e9f](https://github.com/rtorcato/js-common/commit/52d1e9feda9ae86dc705f103678024cfb9772c68))
|
|
124
|
-
* publishing bugs and dead-code cleanup ([30b8d69](https://github.com/rtorcato/js-common/commit/30b8d693d6dfcdc4b6044438318f7d5cbaca0e86))
|
|
125
|
-
|
|
126
|
-
# [1.8.0](https://github.com/rtorcato/js-common/compare/v1.7.1...v1.8.0) (2026-05-29)
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
### Features
|
|
130
|
-
|
|
131
|
-
* **docs:** Astro Starlight site on GitHub Pages ([5139f6d](https://github.com/rtorcato/js-common/commit/5139f6d0d6652e54b3e6daa5ed77dcd67d7e59dc))
|
|
132
|
-
|
|
133
|
-
## [1.7.1](https://github.com/rtorcato/js-common/compare/v1.7.0...v1.7.1) (2026-05-29)
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
### Bug Fixes
|
|
137
|
-
|
|
138
|
-
* **deps:** migrate to short-uuid v6 and inquirer v13 ([#38](https://github.com/rtorcato/js-common/issues/38)) ([cceae68](https://github.com/rtorcato/js-common/commit/cceae68f08a8e88e0511879b800516046ed27a88))
|
|
139
|
-
* resolve bugs, remove duplicates, and add missing utilities ([43dfc85](https://github.com/rtorcato/js-common/commit/43dfc850e105490279cdca746b53be1dbbfe6355))
|
|
140
|
-
|
|
141
|
-
# [1.7.0](https://github.com/rtorcato/js-common/compare/v1.6.0...v1.7.0) (2026-01-16)
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
### Features
|
|
145
|
-
|
|
146
|
-
* **strings:** add 12 new string utility functions ([03df6fc](https://github.com/rtorcato/js-common/commit/03df6fc4168c1343be47434a2b4c842be394f61c))
|
|
147
|
-
|
|
148
|
-
# [1.6.0](https://github.com/rtorcato/js-common/compare/v1.5.0...v1.6.0) (2026-01-16)
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
### Bug Fixes
|
|
152
|
-
|
|
153
|
-
* added dev branch to CI ([751f124](https://github.com/rtorcato/js-common/commit/751f124d48e40452c43f70ce05239f220bd30c63))
|
|
154
|
-
* update packages and add fix for biome sorting ([0ed384c](https://github.com/rtorcato/js-common/commit/0ed384cfed2e4b285752a8e22f59aebd8ccb19c9))
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
### Features
|
|
158
|
-
|
|
159
|
-
* **uuid:** add v7, version detection, and short UUID conversion ([d304168](https://github.com/rtorcato/js-common/commit/d304168206152b125ffb2269c1c0cc448f266d76))
|
|
160
|
-
|
|
161
|
-
# [1.5.0](https://github.com/rtorcato/js-common/compare/v1.4.2...v1.5.0) (2026-01-16)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
### Features
|
|
165
|
-
|
|
166
|
-
* **currency:** add lazy loading and new features ([e9369a8](https://github.com/rtorcato/js-common/commit/e9369a8af5355cea9d348c94776037158680f30d))
|
|
167
|
-
|
|
168
|
-
## [1.4.2](https://github.com/rtorcato/js-common/compare/v1.4.1...v1.4.2) (2026-01-16)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
### Bug Fixes
|
|
172
|
-
|
|
173
|
-
* update benchmark imports to use correct module paths ([0713f23](https://github.com/rtorcato/js-common/commit/0713f23f03826546718f6d7667aea09bf14b26ce))
|
|
174
|
-
|
|
175
|
-
## [1.4.1](https://github.com/rtorcato/js-common/compare/v1.4.0...v1.4.1) (2026-01-16)
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
### Bug Fixes
|
|
179
|
-
|
|
180
|
-
* add build step to performance benchmarks job ([e3a9020](https://github.com/rtorcato/js-common/commit/e3a9020d17d6cf00feb95055c7d483cd190ca30d))
|
|
181
|
-
* add vitest coverage-istanbul dependency ([498b6fb](https://github.com/rtorcato/js-common/commit/498b6fbd41bc262ea00bb42d0bc2c97e4393f13c))
|
|
182
|
-
|
|
183
|
-
# [1.4.0](https://github.com/rtorcato/js-common/compare/v1.3.1...v1.4.0) (2026-01-16)
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
### Bug Fixes
|
|
187
|
-
|
|
188
|
-
* resolve lint errors for unused variables and isNaN usage ([e47b644](https://github.com/rtorcato/js-common/commit/e47b644d4e15b134aaeb2583bc8d97ea1e51e6bb))
|
|
189
|
-
* trigger release for lint and template fixes ([51888fd](https://github.com/rtorcato/js-common/commit/51888fdf6d0d063a6e605e248e214d895125ce2b))
|
|
190
|
-
* update CodeQL workflow to v4 and fix invalid query pack ([15c4868](https://github.com/rtorcato/js-common/commit/15c4868e4f1d23eaaf79cd5fc3c427ed81193c72))
|
|
191
|
-
* update performance workflow with correct pnpm setup order ([908fb60](https://github.com/rtorcato/js-common/commit/908fb60e25f4416b91f0bad4dc77ae66ce81894f))
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
### Features
|
|
195
|
-
|
|
196
|
-
* Enable TypeScript type definitions for package consumers ([70eb162](https://github.com/rtorcato/js-common/commit/70eb162bb556164432762f382470ff28a3ec0251))
|
|
197
|
-
|
|
198
|
-
# [1.4.0](https://github.com/rtorcato/js-common/compare/v1.3.1...v1.4.0) (2026-01-16)
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
### Bug Fixes
|
|
202
|
-
|
|
203
|
-
* resolve lint errors for unused variables and isNaN usage ([e47b644](https://github.com/rtorcato/js-common/commit/e47b644d4e15b134aaeb2583bc8d97ea1e51e6bb))
|
|
204
|
-
* trigger release for lint and template fixes ([51888fd](https://github.com/rtorcato/js-common/commit/51888fdf6d0d063a6e605e248e214d895125ce2b))
|
|
205
|
-
* update CodeQL workflow to v4 and fix invalid query pack ([15c4868](https://github.com/rtorcato/js-common/commit/15c4868e4f1d23eaaf79cd5fc3c427ed81193c72))
|
|
206
|
-
* update performance workflow with correct pnpm setup order ([908fb60](https://github.com/rtorcato/js-common/commit/908fb60e25f4416b91f0bad4dc77ae66ce81894f))
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
### Features
|
|
210
|
-
|
|
211
|
-
* Enable TypeScript type definitions for package consumers ([70eb162](https://github.com/rtorcato/js-common/commit/70eb162bb556164432762f382470ff28a3ec0251))
|
|
212
|
-
|
|
213
|
-
## [1.3.1](https://github.com/rtorcato/js-common/compare/v1.3.0...v1.3.1) (2025-10-24)
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
### Bug Fixes
|
|
217
|
-
|
|
218
|
-
* Correct import paths in CLI for proper TypeScript compilation ([24221d5](https://github.com/rtorcato/js-common/commit/24221d5622fa70dabe78166c7266c825686466ab))
|
|
219
|
-
|
|
220
|
-
# [1.3.0](https://github.com/rtorcato/js-common/compare/v1.2.0...v1.3.0) (2025-10-24)
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
### Features
|
|
224
|
-
|
|
225
|
-
* Add modern interactive CLI with developer integration ([8ffb144](https://github.com/rtorcato/js-common/commit/8ffb144dfb9b1c13a6a40df7c2dee98623c8a936))
|
|
226
|
-
|
|
227
|
-
# [1.2.0](https://github.com/rtorcato/js-common/compare/v1.1.0...v1.2.0) (2025-10-24)
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
### Bug Fixes
|
|
231
|
-
|
|
232
|
-
* remove commitlint dependency from release job ([dbf2795](https://github.com/rtorcato/js-common/commit/dbf27956698b40d68c29dcaba62c5498b8bb7f52))
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
### Features
|
|
236
|
-
|
|
237
|
-
* modernize CI/CD workflow with js-tooling structure ([a46b6bf](https://github.com/rtorcato/js-common/commit/a46b6bf73696def0be74136d872ece3a0447ce2d))
|
|
238
|
-
|
|
239
|
-
# Changelog
|
|
240
|
-
|
|
241
|
-
All notable changes to this project will be documented in this file.
|
|
242
|
-
|
|
243
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
244
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
245
|
-
|
|
246
|
-
## [1.0.0] - 2025-10-24
|
|
247
|
-
|
|
248
|
-
### Added
|
|
249
|
-
- Initial public release on GitHub and npm
|
|
250
|
-
- Comprehensive JavaScript/TypeScript utilities library
|
|
251
|
-
- Support for arrays, strings, dates, validation, crypto, and more
|
|
252
|
-
- Full TypeScript support with type definitions
|
|
253
|
-
- Modular imports for tree-shaking optimization
|
|
254
|
-
|
|
255
|
-
### Changed
|
|
256
|
-
- Migrated from GitLab to GitHub
|
|
257
|
-
- Changed from private to public package
|
|
258
|
-
- Updated to MIT license
|