vanilla-intlayer 9.0.0-canary.2 → 9.0.0-canary.4

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.
@@ -5,6 +5,7 @@ const require_client_useDictionaryDynamic = require('./useDictionaryDynamic.cjs'
5
5
  const require_client_useIntlayer = require('./useIntlayer.cjs');
6
6
  const require_client_useLocaleStorage = require('./useLocaleStorage.cjs');
7
7
  const require_client_useLocale = require('./useLocale.cjs');
8
+ const require_client_usePathname = require('./usePathname.cjs');
8
9
  const require_client_useRewriteURL = require('./useRewriteURL.cjs');
9
10
 
10
11
  exports.IntlayerClient = require_client_installIntlayer.IntlayerClient;
@@ -21,4 +22,5 @@ exports.useIntlayer = require_client_useIntlayer.useIntlayer;
21
22
  exports.useLocale = require_client_useLocale.useLocale;
22
23
  exports.useLocaleCookie = require_client_useLocaleStorage.useLocaleCookie;
23
24
  exports.useLocaleStorage = require_client_useLocaleStorage.useLocaleStorage;
25
+ exports.usePathname = require_client_usePathname.usePathname;
24
26
  exports.useRewriteURL = require_client_useRewriteURL.useRewriteURL;
@@ -0,0 +1,41 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
+ const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
3
+ let _intlayer_core_localization = require("@intlayer/core/localization");
4
+
5
+ //#region src/client/usePathname.ts
6
+ /**
7
+ * Returns the current pathname with the locale segment removed, plus a
8
+ * `subscribe` function to react to browser navigation changes.
9
+ *
10
+ * Falls back to an empty string during server-side rendering.
11
+ *
12
+ * @returns An object with the current pathname and a subscribe function.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * import { usePathname } from 'vanilla-intlayer';
17
+ *
18
+ * const { pathname, subscribe } = usePathname();
19
+ *
20
+ * const unsubscribe = subscribe((newPathname) => {
21
+ * document.querySelector('.active')?.classList.remove('active');
22
+ * document.querySelector(`[href="${newPathname}"]`)?.classList.add('active');
23
+ * });
24
+ * ```
25
+ */
26
+ const usePathname = () => {
27
+ const getPathname = () => typeof window !== "undefined" ? (0, _intlayer_core_localization.getPathWithoutLocale)(window.location.pathname) : "";
28
+ const subscribe = (callback) => {
29
+ const handleLocationChange = () => callback(getPathname());
30
+ window.addEventListener("popstate", handleLocationChange);
31
+ return () => window.removeEventListener("popstate", handleLocationChange);
32
+ };
33
+ return {
34
+ pathname: getPathname(),
35
+ subscribe
36
+ };
37
+ };
38
+
39
+ //#endregion
40
+ exports.usePathname = usePathname;
41
+ //# sourceMappingURL=usePathname.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePathname.cjs","names":[],"sources":["../../../src/client/usePathname.ts"],"sourcesContent":["import { getPathWithoutLocale } from '@intlayer/core/localization';\n\nexport type UsePathnameResult = {\n /** Current pathname without the locale prefix. */\n pathname: string;\n /**\n * Subscribe to pathname changes triggered by browser navigation.\n *\n * @param callback - Called with the new pathname on every `popstate` event.\n * @returns A cleanup function that removes the event listener.\n */\n subscribe: (callback: (pathname: string) => void) => () => void;\n};\n\n/**\n * Returns the current pathname with the locale segment removed, plus a\n * `subscribe` function to react to browser navigation changes.\n *\n * Falls back to an empty string during server-side rendering.\n *\n * @returns An object with the current pathname and a subscribe function.\n *\n * @example\n * ```ts\n * import { usePathname } from 'vanilla-intlayer';\n *\n * const { pathname, subscribe } = usePathname();\n *\n * const unsubscribe = subscribe((newPathname) => {\n * document.querySelector('.active')?.classList.remove('active');\n * document.querySelector(`[href=\"${newPathname}\"]`)?.classList.add('active');\n * });\n * ```\n */\nexport const usePathname = (): UsePathnameResult => {\n const getPathname = (): string =>\n typeof window !== 'undefined'\n ? getPathWithoutLocale(window.location.pathname)\n : '';\n\n const subscribe = (callback: (pathname: string) => void): (() => void) => {\n const handleLocationChange = (): void => callback(getPathname());\n window.addEventListener('popstate', handleLocationChange);\n return () => window.removeEventListener('popstate', handleLocationChange);\n };\n\n return {\n pathname: getPathname(),\n subscribe,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,MAAa,oBAAuC;CAClD,MAAM,oBACJ,OAAO,WAAW,oEACO,OAAO,SAAS,SAAS,GAC9C;CAEN,MAAM,aAAa,aAAuD;EACxE,MAAM,6BAAmC,SAAS,aAAa,CAAC;AAChE,SAAO,iBAAiB,YAAY,qBAAqB;AACzD,eAAa,OAAO,oBAAoB,YAAY,qBAAqB;;AAG3E,QAAO;EACL,UAAU,aAAa;EACvB;EACD"}
@@ -9,6 +9,7 @@ const require_client_useDictionaryDynamic = require('./client/useDictionaryDynam
9
9
  const require_client_useIntlayer = require('./client/useIntlayer.cjs');
10
10
  const require_client_useLocaleStorage = require('./client/useLocaleStorage.cjs');
11
11
  const require_client_useLocale = require('./client/useLocale.cjs');
12
+ const require_client_usePathname = require('./client/usePathname.cjs');
12
13
  const require_client_useRewriteURL = require('./client/useRewriteURL.cjs');
13
14
 
14
15
  exports.IntlayerClient = require_client_installIntlayer.IntlayerClient;
@@ -34,4 +35,5 @@ exports.useIntlayer = require_client_useIntlayer.useIntlayer;
34
35
  exports.useLocale = require_client_useLocale.useLocale;
35
36
  exports.useLocaleCookie = require_client_useLocaleStorage.useLocaleCookie;
36
37
  exports.useLocaleStorage = require_client_useLocaleStorage.useLocaleStorage;
38
+ exports.usePathname = require_client_usePathname.usePathname;
37
39
  exports.useRewriteURL = require_client_useRewriteURL.useRewriteURL;
@@ -4,6 +4,7 @@ import { useDictionaryDynamic } from "./useDictionaryDynamic.mjs";
4
4
  import { useIntlayer } from "./useIntlayer.mjs";
5
5
  import { localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useLocaleCookie, useLocaleStorage } from "./useLocaleStorage.mjs";
6
6
  import { useLocale } from "./useLocale.mjs";
7
+ import { usePathname } from "./usePathname.mjs";
7
8
  import { useRewriteURL } from "./useRewriteURL.mjs";
8
9
 
9
- export { IntlayerClient, createIntlayerClient, getIntlayerClient, installIntlayer, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useDictionary, useDictionaryDynamic, useIntlayer, useLocale, useLocaleCookie, useLocaleStorage, useRewriteURL };
10
+ export { IntlayerClient, createIntlayerClient, getIntlayerClient, installIntlayer, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useDictionary, useDictionaryDynamic, useIntlayer, useLocale, useLocaleCookie, useLocaleStorage, usePathname, useRewriteURL };
@@ -0,0 +1,39 @@
1
+ import { getPathWithoutLocale } from "@intlayer/core/localization";
2
+
3
+ //#region src/client/usePathname.ts
4
+ /**
5
+ * Returns the current pathname with the locale segment removed, plus a
6
+ * `subscribe` function to react to browser navigation changes.
7
+ *
8
+ * Falls back to an empty string during server-side rendering.
9
+ *
10
+ * @returns An object with the current pathname and a subscribe function.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import { usePathname } from 'vanilla-intlayer';
15
+ *
16
+ * const { pathname, subscribe } = usePathname();
17
+ *
18
+ * const unsubscribe = subscribe((newPathname) => {
19
+ * document.querySelector('.active')?.classList.remove('active');
20
+ * document.querySelector(`[href="${newPathname}"]`)?.classList.add('active');
21
+ * });
22
+ * ```
23
+ */
24
+ const usePathname = () => {
25
+ const getPathname = () => typeof window !== "undefined" ? getPathWithoutLocale(window.location.pathname) : "";
26
+ const subscribe = (callback) => {
27
+ const handleLocationChange = () => callback(getPathname());
28
+ window.addEventListener("popstate", handleLocationChange);
29
+ return () => window.removeEventListener("popstate", handleLocationChange);
30
+ };
31
+ return {
32
+ pathname: getPathname(),
33
+ subscribe
34
+ };
35
+ };
36
+
37
+ //#endregion
38
+ export { usePathname };
39
+ //# sourceMappingURL=usePathname.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePathname.mjs","names":[],"sources":["../../../src/client/usePathname.ts"],"sourcesContent":["import { getPathWithoutLocale } from '@intlayer/core/localization';\n\nexport type UsePathnameResult = {\n /** Current pathname without the locale prefix. */\n pathname: string;\n /**\n * Subscribe to pathname changes triggered by browser navigation.\n *\n * @param callback - Called with the new pathname on every `popstate` event.\n * @returns A cleanup function that removes the event listener.\n */\n subscribe: (callback: (pathname: string) => void) => () => void;\n};\n\n/**\n * Returns the current pathname with the locale segment removed, plus a\n * `subscribe` function to react to browser navigation changes.\n *\n * Falls back to an empty string during server-side rendering.\n *\n * @returns An object with the current pathname and a subscribe function.\n *\n * @example\n * ```ts\n * import { usePathname } from 'vanilla-intlayer';\n *\n * const { pathname, subscribe } = usePathname();\n *\n * const unsubscribe = subscribe((newPathname) => {\n * document.querySelector('.active')?.classList.remove('active');\n * document.querySelector(`[href=\"${newPathname}\"]`)?.classList.add('active');\n * });\n * ```\n */\nexport const usePathname = (): UsePathnameResult => {\n const getPathname = (): string =>\n typeof window !== 'undefined'\n ? getPathWithoutLocale(window.location.pathname)\n : '';\n\n const subscribe = (callback: (pathname: string) => void): (() => void) => {\n const handleLocationChange = (): void => callback(getPathname());\n window.addEventListener('popstate', handleLocationChange);\n return () => window.removeEventListener('popstate', handleLocationChange);\n };\n\n return {\n pathname: getPathname(),\n subscribe,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAkCA,MAAa,oBAAuC;CAClD,MAAM,oBACJ,OAAO,WAAW,cACd,qBAAqB,OAAO,SAAS,SAAS,GAC9C;CAEN,MAAM,aAAa,aAAuD;EACxE,MAAM,6BAAmC,SAAS,aAAa,CAAC;AAChE,SAAO,iBAAiB,YAAY,qBAAqB;AACzD,eAAa,OAAO,oBAAoB,YAAY,qBAAqB;;AAG3E,QAAO;EACL,UAAU,aAAa;EACvB;EACD"}
@@ -8,6 +8,7 @@ import { useDictionaryDynamic } from "./client/useDictionaryDynamic.mjs";
8
8
  import { useIntlayer } from "./client/useIntlayer.mjs";
9
9
  import { localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useLocaleCookie, useLocaleStorage } from "./client/useLocaleStorage.mjs";
10
10
  import { useLocale } from "./client/useLocale.mjs";
11
+ import { usePathname } from "./client/usePathname.mjs";
11
12
  import { useRewriteURL } from "./client/useRewriteURL.mjs";
12
13
 
13
- export { IntlayerClient, createIntlayerClient, getDictionary, getIntlayer, getIntlayerClient, getPlugins, htmlPlugin, insertionPlugin, installIntlayer, intlayerNodePlugins, localeCookie, localeInStorage, markdownPlugin, markdownStringPlugin, setLocaleCookie, setLocaleInStorage, useDictionary, useDictionaryDynamic, useEditor, useIntlayer, useLocale, useLocaleCookie, useLocaleStorage, useRewriteURL };
14
+ export { IntlayerClient, createIntlayerClient, getDictionary, getIntlayer, getIntlayerClient, getPlugins, htmlPlugin, insertionPlugin, installIntlayer, intlayerNodePlugins, localeCookie, localeInStorage, markdownPlugin, markdownStringPlugin, setLocaleCookie, setLocaleInStorage, useDictionary, useDictionaryDynamic, useEditor, useIntlayer, useLocale, useLocaleCookie, useLocaleStorage, usePathname, useRewriteURL };
@@ -4,5 +4,6 @@ import { useDictionaryDynamic } from "./useDictionaryDynamic.js";
4
4
  import { useIntlayer } from "./useIntlayer.js";
5
5
  import { UseLocaleProps, UseLocaleResult, useLocale } from "./useLocale.js";
6
6
  import { localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useLocaleCookie, useLocaleStorage } from "./useLocaleStorage.js";
7
+ import { UsePathnameResult, usePathname } from "./usePathname.js";
7
8
  import { useRewriteURL } from "./useRewriteURL.js";
8
- export { IntlayerClient, UseLocaleProps, UseLocaleResult, WithOnChange, createIntlayerClient, getIntlayerClient, installIntlayer, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useDictionary, useDictionaryDynamic, useIntlayer, useLocale, useLocaleCookie, useLocaleStorage, useRewriteURL };
9
+ export { IntlayerClient, UseLocaleProps, UseLocaleResult, UsePathnameResult, WithOnChange, createIntlayerClient, getIntlayerClient, installIntlayer, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useDictionary, useDictionaryDynamic, useIntlayer, useLocale, useLocaleCookie, useLocaleStorage, usePathname, useRewriteURL };
@@ -1,15 +1,15 @@
1
1
  import { LocalesValues } from "@intlayer/types/module_augmentation";
2
- import * as _$intlayer from "intlayer";
2
+ import * as _$_intlayer_types0 from "@intlayer/types";
3
3
 
4
4
  //#region src/client/useLocaleStorage.d.ts
5
5
  /**
6
6
  * Get the current locale from storage (cookie or localStorage).
7
7
  */
8
- declare const localeInStorage: _$intlayer.Locale;
8
+ declare const localeInStorage: _$_intlayer_types0.Locale;
9
9
  /**
10
10
  * @deprecated Use localeInStorage instead.
11
11
  */
12
- declare const localeCookie: _$intlayer.Locale;
12
+ declare const localeCookie: _$_intlayer_types0.Locale;
13
13
  /**
14
14
  * Persist the locale to storage (cookie and/or localStorage).
15
15
  */
@@ -22,14 +22,14 @@ declare const setLocaleCookie: (locale: LocalesValues, isCookieEnabled: boolean)
22
22
  * Returns the current locale from storage and a setter.
23
23
  */
24
24
  declare const useLocaleStorage: (isCookieEnabled?: boolean) => {
25
- localeStorage: _$intlayer.Locale;
25
+ localeStorage: _$_intlayer_types0.Locale;
26
26
  setLocaleStorage: (locale: LocalesValues) => void;
27
27
  };
28
28
  /**
29
29
  * @deprecated Use useLocaleStorage instead.
30
30
  */
31
31
  declare const useLocaleCookie: (isCookieEnabled?: boolean) => {
32
- localeStorage: _$intlayer.Locale;
32
+ localeStorage: _$_intlayer_types0.Locale;
33
33
  setLocaleStorage: (locale: LocalesValues) => void;
34
34
  };
35
35
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;cAWa,eAAA,EAAkE,UAAA,CAAnD,MAAA;;;;cAKf,YAAA,EAA8B,UAAA,CAAlB,MAAA;AAAzB;;;AAAA,cAKa,kBAAA,GACX,MAAA,EAAQ,aAAA,EACR,eAAA;;AAFF;;cAYa,eAAA,GAAe,MAAA,EAXlB,aAAA,EAAa,eAAA;;;;cAgBV,gBAAA,GAAoB,eAAA;iBAUhC,UAAA,CAAA,MAAA;6BAAA,aAAA;AAAA;;;;cAKY,eAAA,GAAe,eAAA;iBAAmB,UAAA,CAAA,MAAA;6BAAA,aAAA;AAAA"}
1
+ {"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;cAWa,eAAA,EAAkE,kBAAA,CAAnD,MAAA;;;;cAKf,YAAA,EAA8B,kBAAA,CAAlB,MAAA;AAAzB;;;AAAA,cAKa,kBAAA,GACX,MAAA,EAAQ,aAAA,EACR,eAAA;;AAFF;;cAYa,eAAA,GAAe,MAAA,EAXlB,aAAA,EAAa,eAAA;;;;cAgBV,gBAAA,GAAoB,eAAA;iBAUhC,kBAAA,CAAA,MAAA;6BAAA,aAAA;AAAA;;;;cAKY,eAAA,GAAe,eAAA;iBAAmB,kBAAA,CAAA,MAAA;6BAAA,aAAA;AAAA"}
@@ -0,0 +1,35 @@
1
+ //#region src/client/usePathname.d.ts
2
+ type UsePathnameResult = {
3
+ /** Current pathname without the locale prefix. */pathname: string;
4
+ /**
5
+ * Subscribe to pathname changes triggered by browser navigation.
6
+ *
7
+ * @param callback - Called with the new pathname on every `popstate` event.
8
+ * @returns A cleanup function that removes the event listener.
9
+ */
10
+ subscribe: (callback: (pathname: string) => void) => () => void;
11
+ };
12
+ /**
13
+ * Returns the current pathname with the locale segment removed, plus a
14
+ * `subscribe` function to react to browser navigation changes.
15
+ *
16
+ * Falls back to an empty string during server-side rendering.
17
+ *
18
+ * @returns An object with the current pathname and a subscribe function.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * import { usePathname } from 'vanilla-intlayer';
23
+ *
24
+ * const { pathname, subscribe } = usePathname();
25
+ *
26
+ * const unsubscribe = subscribe((newPathname) => {
27
+ * document.querySelector('.active')?.classList.remove('active');
28
+ * document.querySelector(`[href="${newPathname}"]`)?.classList.add('active');
29
+ * });
30
+ * ```
31
+ */
32
+ declare const usePathname: () => UsePathnameResult;
33
+ //#endregion
34
+ export { UsePathnameResult, usePathname };
35
+ //# sourceMappingURL=usePathname.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePathname.d.ts","names":[],"sources":["../../../src/client/usePathname.ts"],"mappings":";KAEY,iBAAA;EAAA,kDAEV,QAAA;;;;;;;EAOA,SAAA,GAAY,QAAA,GAAW,QAAA;AAAA;AAuBzB;;;;;;;;;;;;;;;;;;;;AAAA,cAAa,WAAA,QAAkB,iBAAA"}
@@ -5,6 +5,7 @@ import { useDictionaryDynamic } from "./client/useDictionaryDynamic.js";
5
5
  import { useIntlayer } from "./client/useIntlayer.js";
6
6
  import { UseLocaleProps, UseLocaleResult, useLocale } from "./client/useLocale.js";
7
7
  import { localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useLocaleCookie, useLocaleStorage } from "./client/useLocaleStorage.js";
8
+ import { UsePathnameResult, usePathname } from "./client/usePathname.js";
8
9
  import { useRewriteURL } from "./client/useRewriteURL.js";
9
10
  import { useEditor } from "./editor/useEditor.js";
10
11
  import { getDictionary } from "./getDictionary.js";
@@ -16,5 +17,5 @@ declare module '@intlayer/core/interpreter' {
16
17
  interface IInterpreterPlugin<T, S, L extends LocalesValues> extends IInterpreterPluginVanilla<T, S, L> {}
17
18
  }
18
19
  //#endregion
19
- export { DeepTransformContent, HTMLPluginCond, IInterpreterPluginState, IInterpreterPluginVanilla, InsertionCond, IntlayerClient, IntlayerNode, IntlayerNodeCond, MarkdownCond, MarkdownStringCond, UseLocaleProps, UseLocaleResult, WithOnChange, createIntlayerClient, getDictionary, getIntlayer, getIntlayerClient, getPlugins, htmlPlugin, insertionPlugin, installIntlayer, intlayerNodePlugins, localeCookie, localeInStorage, markdownPlugin, markdownStringPlugin, setLocaleCookie, setLocaleInStorage, useDictionary, useDictionaryDynamic, useEditor, useIntlayer, useLocale, useLocaleCookie, useLocaleStorage, useRewriteURL };
20
+ export { DeepTransformContent, HTMLPluginCond, IInterpreterPluginState, IInterpreterPluginVanilla, InsertionCond, IntlayerClient, IntlayerNode, IntlayerNodeCond, MarkdownCond, MarkdownStringCond, UseLocaleProps, UseLocaleResult, UsePathnameResult, WithOnChange, createIntlayerClient, getDictionary, getIntlayer, getIntlayerClient, getPlugins, htmlPlugin, insertionPlugin, installIntlayer, intlayerNodePlugins, localeCookie, localeInStorage, markdownPlugin, markdownStringPlugin, setLocaleCookie, setLocaleInStorage, useDictionary, useDictionaryDynamic, useEditor, useIntlayer, useLocale, useLocaleCookie, useLocaleStorage, usePathname, useRewriteURL };
20
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;;;;;;;YAIY,kBAAA,iBAAmC,aAAA,UACnC,yBAAA,CAA0B,CAAA,EAAG,CAAA,EAAG,CAAA;AAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;;;;;;;;YAIY,kBAAA,iBAAmC,aAAA,UACnC,yBAAA,CAA0B,CAAA,EAAG,CAAA,EAAG,CAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-intlayer",
3
- "version": "9.0.0-canary.2",
3
+ "version": "9.0.0-canary.4",
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,14 +101,14 @@
101
101
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
102
102
  },
103
103
  "dependencies": {
104
- "@intlayer/api": "9.0.0-canary.2",
105
- "@intlayer/config": "9.0.0-canary.2",
106
- "@intlayer/core": "9.0.0-canary.2",
107
- "@intlayer/editor": "9.0.0-canary.2",
108
- "@intlayer/types": "9.0.0-canary.2"
104
+ "@intlayer/api": "9.0.0-canary.4",
105
+ "@intlayer/config": "9.0.0-canary.4",
106
+ "@intlayer/core": "9.0.0-canary.4",
107
+ "@intlayer/editor": "9.0.0-canary.4",
108
+ "@intlayer/types": "9.0.0-canary.4"
109
109
  },
110
110
  "devDependencies": {
111
- "@types/node": "25.9.3",
111
+ "@types/node": "25.9.4",
112
112
  "@utils/ts-config": "1.0.4",
113
113
  "@utils/ts-config-types": "1.0.4",
114
114
  "@utils/tsdown-config": "1.0.4",
@@ -118,7 +118,7 @@
118
118
  "vitest": "4.1.9"
119
119
  },
120
120
  "peerDependencies": {
121
- "intlayer": "9.0.0-canary.2"
121
+ "intlayer": "9.0.0-canary.4"
122
122
  },
123
123
  "peerDependenciesMeta": {
124
124
  "intlayer": {