Skip to content

Commit

Permalink
Update VIntl Unplugin to 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brawaru committed Oct 10, 2023
1 parent eee372b commit a9fdc59
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 365 deletions.
7 changes: 7 additions & 0 deletions .changeset/lovely-doors-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@vintl/nuxt': minor
---

Add support for parsing the messages in the error handlers

With [update to `@vintl/unplugin`](https://github.com/vintl-dev/unplugin/releases/tag/v1.5.0), it's now possible to use `parseMessage` from the error handler's context to parse custom messages or re-parse the current message with any modified options.
2 changes: 1 addition & 1 deletion packages/vintl-nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@formatjs/intl": "^2.9.3",
"@formatjs/intl-localematcher": "^0.4.2",
"@nuxt/kit": "^3.7.4",
"@vintl/unplugin": "^1.4.1",
"@vintl/unplugin": "^1.5.0",
"@vintl/vintl": "^4.2.3",
"astring": "^1.8.6",
"consola": "^3.2.3",
Expand Down
Loading

0 comments on commit a9fdc59

Please sign in to comment.