vue-i18n-routing
Advanced tools
Comparing version 0.10.2 to 0.10.3-54dbe14
@@ -603,2 +603,10 @@ import type { Composer } from '@intlify/vue-i18n-bridge'; | ||
/** | ||
* Returns path of the current route for specified locale | ||
* | ||
* @param this - A {@link RoutingProxy} instance | ||
* @param locale - A locale | ||
* | ||
* @returns A path of the current route | ||
*/ | ||
export declare function switchLocalePath(this: RoutingProxy, locale: Locale): string; | ||
@@ -644,3 +652,3 @@ | ||
* | ||
* @param options - An options, see about details {@link I18nRoutingOptions} | ||
* @param options - An options, see about details {@link I18nCommonRoutingOptionsWithComposable} | ||
* | ||
@@ -654,3 +662,3 @@ * @returns Returns a {@link LocaleLocationFunction} | ||
* | ||
* @param options - An options, see about details {@link I18nRoutingOptions} | ||
* @param options - An options, see about details {@link I18nCommonRoutingOptionsWithComposable} | ||
* | ||
@@ -664,3 +672,3 @@ * @returns Returns a {@link LocalePathFunction} | ||
* | ||
* @param options - An options, see about details {@link I18nRoutingOptions} | ||
* @param options - An options, see about details {@link I18nCommonRoutingOptionsWithComposable} | ||
* | ||
@@ -675,3 +683,3 @@ * @returns Returns a {@link LocaleRouteFunction} | ||
* @param givenRoute - A route object, if not provided, the route is returned with `useRoute` will be used | ||
* @param options - An options, see about details {@link I18nRoutingOptions} | ||
* @param options - An options, see about details {@link I18nCommonRoutingOptionsWithComposable} | ||
* | ||
@@ -685,3 +693,3 @@ * @returns The route base name, if route name is not defined, return null | ||
* | ||
* @param options - An options, see about details {@link I18nRoutingOptions} | ||
* @param options - An options, see about details {@link I18nCommonRoutingOptionsWithComposable} | ||
* | ||
@@ -688,0 +696,0 @@ * @returns Returns a {@link SwitchLocalePathFunction} |
@@ -1115,3 +1115,3 @@ var VueI18nRouting = function(exports, VueRouter3, vueDemi, vueI18nBridge) { | ||
} | ||
const VERSION = "0.10.2"; | ||
const VERSION = "0.10.3"; | ||
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL; | ||
@@ -1118,0 +1118,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION; |
@@ -1118,3 +1118,3 @@ "use strict"; | ||
} | ||
const VERSION = "0.10.2"; | ||
const VERSION = "0.10.3"; | ||
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL; | ||
@@ -1121,0 +1121,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION; |
{ | ||
"name": "vue-i18n-routing", | ||
"description": "The i18n routing with using vue-i18n", | ||
"version": "0.10.2", | ||
"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.10.3-54dbe14", | ||
"dependencies": { | ||
@@ -120,3 +109,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
158336
4269