@lingui/detect-locale 4.14.0 → 5.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/README.md +26 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[![License][badge-license]][license]
|
|
2
|
+
[![Version][badge-version]][package]
|
|
3
|
+
[![Downloads][badge-downloads]][package]
|
|
4
|
+
|
|
5
|
+
# @lingui/detect-locale
|
|
6
|
+
|
|
7
|
+
> Detect the user's locale based on different strategies
|
|
8
|
+
|
|
9
|
+
`@lingui/detect-locale` is part of [LinguiJS][linguijs]. See the [documentation][documentation] for all information, tutorials and examples.
|
|
10
|
+
|
|
11
|
+
## Installation & Usage
|
|
12
|
+
|
|
13
|
+
See the [reference][reference] documentation.
|
|
14
|
+
|
|
15
|
+
## License
|
|
16
|
+
|
|
17
|
+
This package is licensed under [MIT][license] license.
|
|
18
|
+
|
|
19
|
+
[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
|
|
20
|
+
[linguijs]: https://github.com/lingui/js-lingui
|
|
21
|
+
[documentation]: https://lingui.dev
|
|
22
|
+
[reference]: https://lingui.dev/ref/locale-detector
|
|
23
|
+
[package]: https://www.npmjs.com/package/@lingui/detect-locale
|
|
24
|
+
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/detect-locale.svg
|
|
25
|
+
[badge-version]: https://img.shields.io/npm/v/@lingui/detect-locale.svg
|
|
26
|
+
[badge-license]: https://img.shields.io/npm/l/@lingui/detect-locale.svg
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/detect-locale",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "@Lingui package to help you find the correct browser/server locale",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"url": "https://github.com/lingui/js-lingui/issues"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
35
|
-
"node": ">=
|
|
35
|
+
"node": ">=20.0.0"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
38
|
".": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"jsdom": "^16.4.0",
|
|
57
57
|
"unbuild": "2.0.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "14fa4d76eb6ff9df8600e23f2ea8fc989a750195"
|
|
60
60
|
}
|