Socket
Socket
Sign inDemoInstall

bs-react-intl

Package Overview
Dependencies
27
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bs-react-intl

BuckleScript bindings to react-intl


Version published
Weekly downloads
115
decreased by-33.91%
Maintainers
2
Install size
20.5 kB
Created
Weekly downloads
 

Changelog

Source

2.0.0

  • [ BREAKING ] bs-platform >=7.2.2.
  • [ BREAKING ] react-intl >=4.0.0:
    • Added Intl.timeZone
    • Added FormattedList, Intl.formatList & Intl.formatListWithOptions
    • Added FormattedDisplayName, Intl.formatDisplayName & Intl.formatDisplayNameWithOptions
    • Added FormattedDateParts, Intl.formatDateToParts & Intl.formatDateToPartsWithOptions
    • Added FormattedTimeParts, Intl.formatTimeToParts & Intl.formatTimeToPartsWithOptions
    • Added FormattedNumberParts, Intl.formatNumberToParts & Intl.formatNumberToPartsWithOptions
    • Removed FormattedHTMLMessage, Intl.formatHTMLMessage & Intl.formatHtmlMessageWithValues
    • Removed Intl.now
    • FormattedRelative has been renamed to FormattedRelativeTime and its API has been changed as well
    • Intl.formatRelative has been renamed to Intl.formatRelativeTime and its API has been changed as well
  • [ BREAKING ] Changed ReactIntl.message to record type.
  • [ BREAKING ] Removed ReactIntl.translation.
  • [ BREAKING ] Removed ReactIntlCompat.

Readme

Source

bs-react-intl

NPM

BuckleScript bindings to react-intl.

To extract messages from Reason source files for localization, use bs-react-intl-extractor.

Installation

# yarn
yarn add bs-react-intl

# or npm
npm install --save bs-react-intl

Examples

Clone this repo.

yarn install
yarn start

Status

bs-react-intl should cover all of the react-intl 3.0.0 API. If you find anything missing, please file an issue.

Usage

See examples folder.

Keywords

FAQs

Last updated on 23 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc