Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@refinitiv-ui/i18n

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@refinitiv-ui/i18n - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

11

CHANGELOG.md

@@ -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 @@

2

lib/types.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc