vue-i18n-routing
Advanced tools
Comparing version 0.1.5-57be896 to 0.1.5-cc756a1
@@ -360,3 +360,3 @@ var VueI18nRouting = function(exports, vueDemi, VueRouter3, vueI18nBridge) { | ||
} | ||
function extendExportedGlobal(exported, global, hook) { | ||
function extendExportedGlobal(exported, g, hook) { | ||
const properties = [ | ||
@@ -366,3 +366,3 @@ { | ||
get() { | ||
return global.locales.value; | ||
return g.locales.value; | ||
} | ||
@@ -372,3 +372,3 @@ }, | ||
get() { | ||
return global.localeCodes.value; | ||
return g.localeCodes.value; | ||
} | ||
@@ -378,3 +378,3 @@ }, | ||
get() { | ||
return global.__baseUrl; | ||
return g.__baseUrl; | ||
} | ||
@@ -384,3 +384,3 @@ } | ||
]; | ||
hook && properties.push(hook(global)); | ||
hook && properties.push(hook(g)); | ||
for (const property of properties) { | ||
@@ -387,0 +387,0 @@ for (const [key, descriptor] of Object.entries(property)) { |
@@ -363,3 +363,3 @@ "use strict"; | ||
} | ||
function extendExportedGlobal(exported, global, hook) { | ||
function extendExportedGlobal(exported, g, hook) { | ||
const properties = [ | ||
@@ -369,3 +369,3 @@ { | ||
get() { | ||
return global.locales.value; | ||
return g.locales.value; | ||
} | ||
@@ -375,3 +375,3 @@ }, | ||
get() { | ||
return global.localeCodes.value; | ||
return g.localeCodes.value; | ||
} | ||
@@ -381,3 +381,3 @@ }, | ||
get() { | ||
return global.__baseUrl; | ||
return g.__baseUrl; | ||
} | ||
@@ -387,3 +387,3 @@ } | ||
]; | ||
hook && properties.push(hook(global)); | ||
hook && properties.push(hook(g)); | ||
for (const property of properties) { | ||
@@ -390,0 +390,0 @@ for (const [key, descriptor] of Object.entries(property)) { |
{ | ||
"name": "vue-i18n-routing", | ||
"description": "The i18n routing with using vue-i18n", | ||
"version": "0.1.5-57be896", | ||
"version": "0.1.5-cc756a1", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "@intlify/shared": "next", |
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
138136