@skyra/i18next-backend
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -5,2 +5,8 @@ # Changelog | ||
# [@skyra/i18next-backend@0.1.2](https://github.com/skyra-project/archid-components/compare/@skyra/i18next-backend@0.1.1...@skyra/i18next-backend@0.1.2) - (2022-04-27) | ||
## Bug Fixes | ||
- Resolved i18n loader bugs (#61) ([a7d2806](https://github.com/skyra-project/archid-components/commit/a7d28063c705a3e0cf6111140a63622f4a104055)) | ||
# [@skyra/i18next-backend@0.1.1](https://github.com/skyra-project/archid-components/compare/@skyra/i18next-backend@0.1.0...@skyra/i18next-backend@0.1.1) - (2022-04-24) | ||
@@ -7,0 +13,0 @@ |
@@ -84,3 +84,3 @@ "use strict"; | ||
path = (0, node_url_1.fileURLToPath)(path); | ||
return path.replace(/\{\{(?:lng|ns)\}\}/, (match) => (match === '{{lng}}' ? language : namespace)); | ||
return path.replaceAll(/\{\{(?:lng|ns)\}\}/g, (match) => (match === '{{lng}}' ? language : namespace)); | ||
} | ||
@@ -87,0 +87,0 @@ } |
{ | ||
"name": "@skyra/i18next-backend", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A filesystem-based backend for i18next", | ||
@@ -5,0 +5,0 @@ "author": "@skyra", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
18129
6