@vueuse/i18n
Advanced tools
Comparing version 3.0.29 to 3.0.31
@@ -34,3 +34,3 @@ 'use strict'; | ||
var version = '3.0.29'; | ||
var version = '3.0.31'; | ||
@@ -37,0 +37,0 @@ exports.createI18n = createI18n; |
@@ -58,4 +58,4 @@ import { Ref } from '@vue/reactivity'; | ||
declare const version = "3.0.29"; | ||
declare const version = "3.0.31"; | ||
export { createI18n, useI18n, version }; |
@@ -28,4 +28,4 @@ import VueI18n from 'vue-i18n'; | ||
var version = '3.0.29'; | ||
var version = '3.0.31'; | ||
export { createI18n, useI18n, version }; |
@@ -33,3 +33,3 @@ (function (global, factory) { | ||
var version = '3.0.29'; | ||
var version = '3.0.31'; | ||
@@ -36,0 +36,0 @@ exports.createI18n = createI18n; |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue-i18n"),require("vue"),require("@vue/runtime-dom")):"function"==typeof define&&define.amd?define(["exports","vue-i18n","vue","@vue/runtime-dom"],t):t((e=e||self).VueUse={},e.VueI18n,e.Vue,e.Vue)}(this,function(e,r,o,i){"use strict";function t(e){o.use(r);var t=new r(e),n=new o({i18n:t}),u=i.ref(t.locale);return i.watch(u,function(){t.locale=u.value}),function(){return{locale:u,t:n.$t.bind(n),tc:n.$tc.bind(n),d:n.$d.bind(n),te:n.$te.bind(n)}}}r=r&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,o=o&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;e.createI18n=t,e.useI18n=function(e){return t(e)()},e.version="3.0.29",Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue-i18n"),require("vue"),require("@vue/runtime-dom")):"function"==typeof define&&define.amd?define(["exports","vue-i18n","vue","@vue/runtime-dom"],t):t((e=e||self).VueUse={},e.VueI18n,e.Vue,e.Vue)}(this,function(e,r,o,i){"use strict";function t(e){o.use(r);var t=new r(e),n=new o({i18n:t}),u=i.ref(t.locale);return i.watch(u,function(){t.locale=u.value}),function(){return{locale:u,t:n.$t.bind(n),tc:n.$tc.bind(n),d:n.$d.bind(n),te:n.$te.bind(n)}}}r=r&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,o=o&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;e.createI18n=t,e.useI18n=function(e){return t(e)()},e.version="3.0.31",Object.defineProperty(e,"__esModule",{value:!0})}); |
{ | ||
"name": "@vueuse/i18n", | ||
"description": "Collection of essential Vue Composition API", | ||
"version": "3.0.29", | ||
"version": "3.0.31", | ||
"main": "index.cjs.js", | ||
@@ -6,0 +6,0 @@ "typings": "index.d.ts", |
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