vue3-gettext
Advanced tools
Comparing version 2.2.0-alpha.1 to 2.2.0
@@ -96,3 +96,3 @@ 'use strict'; | ||
} | ||
if (evaluated === undefined) { | ||
if (evaluated === undefined || evaluated === null) { | ||
if (parent) { | ||
@@ -99,0 +99,0 @@ // Recursively climb the parent chain to allow evaluation inside nested components, see #23 and #24. |
@@ -157,3 +157,3 @@ import * as vue from 'vue'; | ||
} | ||
declare module "@vue/runtime-core" { | ||
declare module "vue" { | ||
interface ComponentCustomProperties extends Pick<Language, "$gettext" | "$pgettext" | "$ngettext" | "$npgettext"> { | ||
@@ -160,0 +160,0 @@ $gettextInterpolate: Language["interpolate"]; |
{ | ||
"name": "vue3-gettext", | ||
"version": "2.2.0-alpha.1", | ||
"version": "2.2.0", | ||
"description": "Translate Vue 3 applications with gettext", | ||
@@ -12,2 +12,12 @@ "homepage": "https://jshmrtn.github.io/vue3-gettext/", | ||
}, | ||
"keywords": [ | ||
"gettext", | ||
"vue", | ||
"vue3", | ||
"internationalization", | ||
"i18n", | ||
"translation", | ||
"l10n", | ||
"typescript" | ||
], | ||
"publishConfig": { | ||
@@ -14,0 +24,0 @@ "registry": "https://registry.npmjs.org" |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
95616
0