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

use-intl

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-intl - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1-alpha.0

LICENSE

26

CHANGELOG.md
# Changelog
## 1.3.0
- Feat: Add a global fallback for the `now` parameter of `formatRelativeTime`.
- Feat: Add `useNow` hook, which can be used in conjunction with `formatRelativeTime` to continuously update the result.
- Fix: Allow `messages` to be optional on the provider.
## 1.2.0
- Feat: Added specific types for `DateTimeFormatOptions`.
## 1.1.0
- Feat: Added support for handling time zones.
## 1.0.0
This library is now considered production ready. There are no changes from the previous version.
## 0.3.2
- Fix: Export `IntlErrorCode` for JavaScript users.
## 0.3.1
- Fix: Return a stable function reference for `t`.
See [next-intl changelog](https://github.com/amannn/next-intl/blob/main/CHANGELOG.md).
{
"name": "use-intl",
"version": "1.3.0",
"version": "1.3.1-alpha.0+63e3d67",
"sideEffects": false,

@@ -36,2 +36,3 @@ "author": "Jan Amann <jan@amann.me>",

"@types/react": "^16.9.56",
"date-fns": "^2.16.1",
"eslint": "7.4.0",

@@ -47,3 +48,4 @@ "eslint-config-molindo": "5.0.1",

"node": ">=10"
}
},
"gitHead": "63e3d67b4c3191c45c21660f0e46e5565f3b5a77"
}

@@ -67,2 +67,2 @@ # use-intl 🌐

Please refer to the docs of [`next-intl`](https://github.com/amannn/next-intl#usage).
Please refer to the docs of [`next-intl`](https://github.com/amannn/next-intl#docs).
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