is-language-code 5.2.0 → 5.2.2
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 +14 -1
- package/README.md +3 -1
- package/dist/is-language-code.esm.js +2 -2
- package/dist/is-language-code.umd.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 5.2.1 (2026-09-01)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- clarify invalid language subtags ([a2ddf70](https://github.com/codsen/codsen/commit/a2ddf704ec4b8c396aa0cf4fe1f57571470ab6df))
|
|
11
|
+
- set input arg type back to string and obligatory one at that ([636bf2f](https://github.com/codsen/codsen/commit/636bf2f20baa2e853e1d288c02ea3720c9631605))
|
|
12
|
+
- type defensive language validation ([0f5123e](https://github.com/codsen/codsen/commit/0f5123e1ce72d3854071b5e481e76ed5fa8d6c57))
|
|
13
|
+
|
|
14
|
+
### Performance Improvements
|
|
15
|
+
|
|
16
|
+
- optimise package hot paths and JSON editing ([f3112bd](https://github.com/codsen/codsen/commit/f3112bd7fc0d7c9bc09312d3744c950691d72ca5))
|
|
17
|
+
- reduce complete tag lookups ([682371a](https://github.com/codsen/codsen/commit/682371a329d57281aea5eb34972b50efd83776a9))
|
|
18
|
+
|
|
6
19
|
## 5.2.0 (2026-08-19)
|
|
7
20
|
|
|
8
21
|
### Bug Fixes
|
|
9
22
|
|
|
10
|
-
- resolve review findings
|
|
23
|
+
- resolve various review findings ([b60e9ee](https://github.com/codsen/codsen/commit/b60e9eeb499af94685cfb87b4970fe025be1fc10))
|
|
11
24
|
- retire direct publish aliases ([f98e31e](https://github.com/codsen/codsen/commit/f98e31eb89bc185471225664e610b55f34fbf648))
|
|
12
25
|
|
|
13
26
|
### Features
|
package/README.md
CHANGED
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
<a href="https://codsen.com/os/is-language-code/play"><img src="https://img.shields.io/badge/playground-here-brightgreen?style=flat-square" alt="playground"></a>
|
|
23
23
|
</p>
|
|
24
24
|
|
|
25
|
+
**No dependencies whatsoever.** This package declares no dependencies or devDependencies.
|
|
26
|
+
|
|
25
27
|
## Install
|
|
26
28
|
|
|
27
29
|
This package is [pure ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). If you're not ready yet, install an older version of this program, 3.1.0 (`npm i is-language-code@3.1.0`).
|
|
@@ -46,7 +48,7 @@ assert.deepEqual(isLangCode("sr-Latn"), {
|
|
|
46
48
|
|
|
47
49
|
## Documentation
|
|
48
50
|
|
|
49
|
-
Please [visit codsen.com](https://codsen.com/os/is-language-code/) for a full description of the API.
|
|
51
|
+
Please [visit codsen.com](https://codsen.com/os/is-language-code/) for a full description of the API. For **Changelog**, see [raw md on GitHub](https://github.com/codsen/codsen/blob/main/packages/is-language-code/CHANGELOG.md) or [the website](https://codsen.com/os/is-language-code/changelog). Also, try the [GUI playground](https://codsen.com/os/is-language-code/play).
|
|
50
52
|
|
|
51
53
|
## Contributing
|
|
52
54
|
|