Comparing version 1.3.0 to 1.3.1-alpha.0
# 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). |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
154163
37
10
3
1