vue-i18n-routing
Advanced tools
Comparing version 0.1.5 to 0.1.6-a68d071
@@ -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) { | ||
@@ -1003,3 +1003,3 @@ for (const [key, descriptor] of Object.entries(property)) { | ||
} | ||
const VERSION = "0.1.5"; | ||
const VERSION = "0.1.6"; | ||
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL; | ||
@@ -1006,0 +1006,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION; |
@@ -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) { | ||
@@ -1006,3 +1006,3 @@ for (const [key, descriptor] of Object.entries(property)) { | ||
} | ||
const VERSION = "0.1.5"; | ||
const VERSION = "0.1.6"; | ||
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL; | ||
@@ -1009,0 +1009,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION; |
{ | ||
"name": "vue-i18n-routing", | ||
"description": "The i18n routing with using vue-i18n", | ||
"version": "0.1.5", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"typecheck": "tsc -p . --noEmit", | ||
"switch:2": "vue-demi-switch 2 vue2 && vue-router-switch 3 vue-router3 && vue-i18n-switch 8 vue-i18n-legacy", | ||
"switch:3": "vue-demi-switch 3 && vue-router-switch 4 && vue-i18n-switch 9", | ||
"test": "vitest run", | ||
"test:watch": "vitest", | ||
"test:cover": "vitest --coverage", | ||
"build:docs": "api-docs-gen ./temp/vue-i18n-routing.api.json -c ./docsgen.config.js -o ./ -g noprefix" | ||
}, | ||
"version": "0.1.6-a68d071", | ||
"dependencies": { | ||
@@ -118,3 +107,14 @@ "@intlify/shared": "next", | ||
}, | ||
"sideEffects": false | ||
} | ||
"sideEffects": false, | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"typecheck": "tsc -p . --noEmit", | ||
"switch:2": "vue-demi-switch 2 vue2 && vue-router-switch 3 vue-router3 && vue-i18n-switch 8 vue-i18n-legacy", | ||
"switch:3": "vue-demi-switch 3 && vue-router-switch 4 && vue-i18n-switch 9", | ||
"test": "vitest run", | ||
"test:watch": "vitest", | ||
"test:cover": "vitest --coverage", | ||
"build:docs": "api-docs-gen ./temp/vue-i18n-routing.api.json -c ./docsgen.config.js -o ./ -g noprefix" | ||
} | ||
} |
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