@intlayer/react-intl 9.5.5 → 9.5.7

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
@@ -201,7 +201,6 @@ Explore our comprehensive documentation to get started with Intlayer and learn h
201
201
  <li><a href="https://intlayer.org/doc/environment/astro/vue" rel=''>Vue</a></li>
202
202
  <li><a href="https://intlayer.org/doc/environment/astro/svelte" rel=''>Svelte</a></li>
203
203
  <li><a href="https://intlayer.org/doc/environment/astro/solid" rel=''>Solid</a></li>
204
- <li><a href="https://intlayer.org/doc/environment/astro/vanilla" rel=''>Vanilla JS</a></li>
205
204
  <li><a href="https://intlayer.org/doc/environment/astro/lit" rel=''>Lit</a></li>
206
205
  </ul>
207
206
  </li>
@@ -2,12 +2,12 @@
2
2
 
3
3
  import { IntlContext } from "./context.mjs";
4
4
  import { createIntlObject } from "./createIntlObject.mjs";
5
- import { log } from "@intlayer/config/built";
6
- import { CYAN } from "@intlayer/config/colors";
7
- import { colorize, getAppLogger } from "@intlayer/config/logger";
8
5
  import { useMemo } from "react";
9
6
  import { IntlayerProvider } from "react-intlayer";
10
7
  import { jsx } from "react/jsx-runtime";
8
+ import { log } from "@intlayer/config/built";
9
+ import { CYAN } from "@intlayer/config/colors";
10
+ import { colorize, getAppLogger } from "@intlayer/config/logger";
11
11
 
12
12
  //#region src/IntlProvider.tsx
13
13
  /**
@@ -1,14 +1,14 @@
1
1
  'use client';
2
2
 
3
- import { InvalidConfigError, MessageFormatError, MissingDataError, MissingTranslationError, ReactIntlError, ReactIntlErrorCode, UnsupportedFormatterError } from "./errors.mjs";
4
3
  import { IntlContext, RawIntlProvider } from "./context.mjs";
5
- import { IntlProvider } from "./IntlProvider.mjs";
6
4
  import { useIntl } from "./useIntl.mjs";
7
- import { FormattedDate, FormattedDateParts, FormattedDateTimeRange, FormattedDisplayName, FormattedList, FormattedListParts, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts } from "./FormattedComponents.mjs";
8
- import { createIntl, createIntlCache } from "./createIntl.mjs";
9
- import { defineMessage, defineMessages } from "./defineMessages.mjs";
10
5
  import { FormattedMessage } from "./FormattedMessage.mjs";
6
+ import { defineMessage, defineMessages } from "./defineMessages.mjs";
11
7
  import { useDictionary } from "./useDictionary.mjs";
12
8
  import { useDictionaryDynamic } from "./useDictionaryDynamic.mjs";
9
+ import { createIntl, createIntlCache } from "./createIntl.mjs";
10
+ import { InvalidConfigError, MessageFormatError, MissingDataError, MissingTranslationError, ReactIntlError, ReactIntlErrorCode, UnsupportedFormatterError } from "./errors.mjs";
11
+ import { FormattedDate, FormattedDateParts, FormattedDateTimeRange, FormattedDisplayName, FormattedList, FormattedListParts, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts } from "./FormattedComponents.mjs";
12
+ import { IntlProvider } from "./IntlProvider.mjs";
13
13
 
14
14
  export { FormattedDate, FormattedDateParts, FormattedDateTimeRange, FormattedDisplayName, FormattedList, FormattedListParts, FormattedMessage, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts, IntlContext, IntlProvider, InvalidConfigError, MessageFormatError, MissingDataError, MissingTranslationError, RawIntlProvider, ReactIntlError, ReactIntlErrorCode, UnsupportedFormatterError, createIntl, createIntlCache, defineMessage, defineMessages, useDictionary, useDictionaryDynamic, useIntl };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/react-intl",
3
- "version": "9.5.5",
3
+ "version": "9.5.7",
4
4
  "private": false,
5
5
  "description": "react-intl API adapter for intlayer — drop-in compatibility layer",
6
6
  "keywords": [
@@ -75,13 +75,13 @@
75
75
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
76
76
  },
77
77
  "dependencies": {
78
- "@intlayer/config": "9.5.5",
79
- "@intlayer/core": "9.5.5",
80
- "@intlayer/dictionaries-entry": "9.5.5",
81
- "@intlayer/engine": "9.5.5",
82
- "@intlayer/types": "9.5.5",
83
- "react-intlayer": "9.5.5",
84
- "vite-intlayer": "9.5.5"
78
+ "@intlayer/config": "9.5.6",
79
+ "@intlayer/core": "9.5.6",
80
+ "@intlayer/dictionaries-entry": "9.5.6",
81
+ "@intlayer/engine": "9.5.6",
82
+ "@intlayer/types": "9.5.6",
83
+ "react-intlayer": "9.5.7",
84
+ "vite-intlayer": "9.5.6"
85
85
  },
86
86
  "devDependencies": {
87
87
  "@types/node": "^22",