next-intl 4.3.11 → 4.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,7 +22,7 @@ Internationalization (i18n) is an essential part of the user experience, therefo
22
22
  - ✅ **Type-safe**: Speed up development with autocompletion for message keys and catch typos early with compile-time checks.
23
23
  - 💡 **Hooks-based API**: Learn a single API that can be used across your code base to turn translations into plain strings or rich text.
24
24
  - 🚀 **Next.js-native and performance-obsessed**: App Router, Server Components, static rendering—pick the right tool for the right job, next-intl works everywhere.
25
- - ⚔️ **Internationalized routing**: Provide unique pathnames per language and optionally localize pathnames for search engine optimization.
25
+ - 🌍 **Internationalized routing**: Provide unique pathnames per language and optionally localize pathnames for search engine optimization.
26
26
 
27
27
  ## What does it look like?
28
28
 
@@ -1,4 +1,4 @@
1
- import type { Locale } from 'use-intl';
1
+ import type { Locale, Timezone } from 'use-intl';
2
2
  export default function getTimeZone(opts?: {
3
3
  locale?: Locale;
4
- }): Promise<Locale>;
4
+ }): Promise<Timezone>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intl",
3
- "version": "4.3.11",
3
+ "version": "4.3.12",
4
4
  "sideEffects": false,
5
5
  "author": "Jan Amann <jan@amann.work>",
6
6
  "funding": [
@@ -112,7 +112,7 @@
112
112
  "dependencies": {
113
113
  "@formatjs/intl-localematcher": "^0.5.4",
114
114
  "negotiator": "^1.0.0",
115
- "use-intl": "^4.3.11"
115
+ "use-intl": "^4.3.12"
116
116
  },
117
117
  "peerDependencies": {
118
118
  "next": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
@@ -124,5 +124,5 @@
124
124
  "optional": true
125
125
  }
126
126
  },
127
- "gitHead": "14b2c6a067b19ed33e9604147b449d4ddec3514f"
127
+ "gitHead": "4c39a4b6422a80d944eb6a8352318cdf4913ee8a"
128
128
  }