vanilla-intlayer 9.5.2 → 9.5.3
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
CHANGED
|
@@ -328,4 +328,4 @@ Contribute on [GitHub](https://github.com/aymericzip/intlayer), [GitLab](https:/
|
|
|
328
328
|
|
|
329
329
|
If you like Intlayer, give us a ⭐ on GitHub. It helps others discover the project! [See why GitHub Stars matter](https://github.com/aymericzip/intlayer/blob/main/CONTRIBUTING.md#why-github-stars-matter-).
|
|
330
330
|
|
|
331
|
-
[](https://
|
|
331
|
+
[](https://star-history.com/#aymericzip/intlayer&Date)
|
|
@@ -3,11 +3,11 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
|
3
3
|
/**
|
|
4
4
|
* Get the current locale from storage (cookie or localStorage).
|
|
5
5
|
*/
|
|
6
|
-
export declare const localeInStorage: import("intlayer").Locale;
|
|
6
|
+
export declare const localeInStorage: import("@intlayer/types").Locale;
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Use localeInStorage instead.
|
|
9
9
|
*/
|
|
10
|
-
export declare const localeCookie: import("intlayer").Locale;
|
|
10
|
+
export declare const localeCookie: import("@intlayer/types").Locale;
|
|
11
11
|
/**
|
|
12
12
|
* Persist the locale to storage (cookie and/or localStorage).
|
|
13
13
|
*/
|
|
@@ -20,7 +20,7 @@ export declare const setLocaleCookie: typeof setLocaleInStorage;
|
|
|
20
20
|
* Returns the current locale from storage and a setter.
|
|
21
21
|
*/
|
|
22
22
|
export declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
|
|
23
|
-
localeStorage: import("intlayer").Locale;
|
|
23
|
+
localeStorage: import("@intlayer/types").Locale;
|
|
24
24
|
setLocaleStorage: (locale: LocalesValues) => void;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;qBAWa,
|
|
1
|
+
{"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;qBAWa,2CAAe;;;;qBAKf,wCAAY;;;;qBAKZ,qBAAkB,QACrB,eAAa;;;;qBAWV,wBAAe;;;;qBAKf,mBAAgB;EAOzB,yCAAa;EACb,mBAAgB,QAAA;;;;;qBAOP,wBAAe"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vanilla-intlayer",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Vanilla JS, HTML, and PHP applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@intlayer/api": "9.5.
|
|
105
|
-
"@intlayer/config": "9.5.
|
|
106
|
-
"@intlayer/core": "9.5.
|
|
107
|
-
"@intlayer/editor": "9.5.
|
|
108
|
-
"@intlayer/types": "9.5.
|
|
104
|
+
"@intlayer/api": "9.5.3",
|
|
105
|
+
"@intlayer/config": "9.5.3",
|
|
106
|
+
"@intlayer/core": "9.5.3",
|
|
107
|
+
"@intlayer/editor": "9.5.3",
|
|
108
|
+
"@intlayer/types": "9.5.3"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
111
|
"@types/node": "^22",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"vitest": "5.0.0"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
|
-
"intlayer": "9.5.
|
|
121
|
+
"intlayer": "9.5.3"
|
|
122
122
|
},
|
|
123
123
|
"peerDependenciesMeta": {
|
|
124
124
|
"intlayer": {
|