@opentiny/vue-locale
Advanced tools
Comparing version 2.20.0 to 2.21.0
@@ -5,4 +5,3 @@ function _extends() { | ||
var t2 = arguments[e]; | ||
for (var r in t2) | ||
({}).hasOwnProperty.call(t2, r) && (n[r] = t2[r]); | ||
for (var r in t2) ({}).hasOwnProperty.call(t2, r) && (n[r] = t2[r]); | ||
} | ||
@@ -1050,3 +1049,3 @@ return n; | ||
second: "second", | ||
to: "", | ||
to: "-", | ||
yearMonth: "{month} {year}", | ||
@@ -1755,6 +1754,4 @@ yearMonthDay: "{month} {day}, {year}" | ||
message = current[property] || ""; | ||
if (pos === len - 1) | ||
return format(message, options); | ||
if (!message) | ||
return ""; | ||
if (pos === len - 1) return format(message, options); | ||
if (!message) return ""; | ||
current = message; | ||
@@ -1970,3 +1967,3 @@ } | ||
} | ||
var version = "2.20.0"; | ||
var version = "2.21.0"; | ||
var use = vue.use, t = vue.t, i18n = vue.i18n, initI18n = vue.initI18n, extend = vue.extend, zhCN = vue.zhCN, enUS = vue.enUS, language = vue.language; | ||
@@ -1973,0 +1970,0 @@ var globalization = /* @__PURE__ */ glob(t); |
{ | ||
"name": "@opentiny/vue-locale", | ||
"version": "2.20.0", | ||
"version": "2.21.0", | ||
"description": "", | ||
@@ -10,5 +10,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.20.0", | ||
"@opentiny/vue-theme": "~3.20.0", | ||
"@opentiny/vue-theme-mobile": "~3.20.0" | ||
"@opentiny/vue-renderless": "~3.21.0", | ||
"@opentiny/vue-theme": "~3.21.0", | ||
"@opentiny/vue-theme-mobile": "~3.21.0" | ||
}, | ||
@@ -15,0 +15,0 @@ "module": "./lib/index.js", |
@@ -13,2 +13,3 @@ import zhCN from '../lang/zh-CN'; | ||
i18n?: { | ||
legacy: boolean; | ||
locale: string; | ||
@@ -15,0 +16,0 @@ }; |
70320
2244
+ Added@opentiny/utils@1.0.0(transitive)
+ Added@opentiny/vue-renderless@3.21.1(transitive)
+ Added@opentiny/vue-theme@3.21.2(transitive)
+ Added@opentiny/vue-theme-mobile@3.21.0(transitive)
+ Addedxss@1.0.14(transitive)
- Removed@opentiny/vue-renderless@3.20.3(transitive)
- Removed@opentiny/vue-theme@3.20.2(transitive)
- Removed@opentiny/vue-theme-mobile@3.20.0(transitive)
- Removedxss@1.0.11(transitive)
Updated@opentiny/vue-theme@~3.21.0