@intlayer/react-intl 9.5.9-canary.0 → 9.5.9

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.
@@ -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.9-canary.0",
3
+ "version": "9.5.9",
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.8",
79
- "@intlayer/core": "9.5.8",
80
- "@intlayer/dictionaries-entry": "9.5.8",
81
- "@intlayer/engine": "9.5.8",
82
- "@intlayer/types": "9.5.8",
83
- "react-intlayer": "9.5.8",
84
- "vite-intlayer": "9.5.8"
78
+ "@intlayer/config": "9.5.9",
79
+ "@intlayer/core": "9.5.9",
80
+ "@intlayer/dictionaries-entry": "9.5.9",
81
+ "@intlayer/engine": "9.5.9",
82
+ "@intlayer/types": "9.5.9",
83
+ "react-intlayer": "9.5.9",
84
+ "vite-intlayer": "9.5.9"
85
85
  },
86
86
  "devDependencies": {
87
87
  "@types/node": "^22",