@refinitiv-ui/i18n
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [5.1.0](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/i18n@5.0.0...@refinitiv-ui/i18n@5.1.0) (2021-07-30) | ||
### Features | ||
* use latest FormatJS polyfills and ICU parser ([b7855e4](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/commits/b7855e409d10d9c8b9f31a34953470549295a8ab)) | ||
# [5.0.0](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/i18n@5.0.0-beta.3...@refinitiv-ui/i18n@5.0.0) (2021-07-16) | ||
@@ -8,0 +19,0 @@ |
import { Formats, Options } from 'intl-messageformat'; | ||
import { MessageFormatElement } from 'intl-messageformat-parser'; | ||
import { MessageFormatElement } from '@formatjs/icu-messageformat-parser'; | ||
declare type TranslateOptions = { | ||
@@ -4,0 +4,0 @@ [key: string]: unknown; |
{ | ||
"name": "@refinitiv-ui/i18n", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "i18n support for Web Components", | ||
@@ -23,6 +23,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@formatjs/icu-messageformat-parser": "^2.0.7", | ||
"@formatjs/intl-utils": "^3.8.4", | ||
"@refinitiv-ui/phrasebook": "^5.0.0", | ||
"@refinitiv-ui/phrasebook": "^5.1.0", | ||
"intl-format-cache": "^4.3.1", | ||
"intl-messageformat": "~9.4.0" | ||
"intl-messageformat": "^9.7.1" | ||
}, | ||
@@ -35,3 +36,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "e88fb2e7f1297ba26ca2911502f90cde91efbe44" | ||
"gitHead": "c4e786372cb32df0022afc286fff1299e106a17c" | ||
} |
# I18N | ||
`@refinitiv-ui/i18n` provides wrappers and APIs around formatjs [IntlMessageFormat](https://formatjs.io/docs/intl-messageformat/) and `@refinitiv-ui/phrasebook`. In addition it provides tools to observe `lang` attribute changes. | ||
`@refinitiv-ui/i18n` provides wrappers and APIs around formatjs [IntlMessageFormat](https://formatjs.io/docs/intl-messageformat/) and `@refinitiv-ui/phrasebook`. In addition, it provides tools to observe `lang` attribute changes. | ||
@@ -150,3 +150,3 @@ ## Usage | ||
Note that you cannot provide more than one list of unicode extensions. Therefore if extensions are provided via html and JavaScript, the list is merged. | ||
Note that you cannot provide more than one list of unicode extensions. Therefore, if extensions are provided via html and JavaScript, the list is merged. | ||
@@ -153,0 +153,0 @@ ## References |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34204
5
+ Added@formatjs/ecma402-abstract@1.11.42.2.3(transitive)
+ Added@formatjs/fast-memoize@1.2.12.2.3(transitive)
+ Added@formatjs/icu-messageformat-parser@2.1.02.9.3(transitive)
+ Added@formatjs/icu-skeleton-parser@1.3.61.8.7(transitive)
+ Added@formatjs/intl-localematcher@0.2.250.5.7(transitive)
+ Addedintl-messageformat@9.13.0(transitive)
- Removed@formatjs/ecma402-abstract@1.5.4(transitive)
- Removedfast-memoize@2.5.2(transitive)
- Removedintl-messageformat@9.4.9(transitive)
- Removedintl-messageformat-parser@6.3.4(transitive)
Updatedintl-messageformat@^9.7.1