vue-i18n-routing
Advanced tools
Comparing version 0.12.1 to 0.12.2-ac2ae4d
@@ -29,3 +29,2 @@ var VueI18nRouting = function(exports, VueRouter3, vueDemi, vueI18nBridge) { | ||
const isString = (val) => typeof val === "string"; | ||
const isBoolean = (val) => typeof val === "boolean"; | ||
const isSymbol = (val) => typeof val === "symbol"; | ||
@@ -472,3 +471,3 @@ const isObject = (val) => val !== null && typeof val === "object"; | ||
function isPluginOptions(options) { | ||
return isObject(options) && ("inject" in options || "__composerExtend" in options || "__vueI18nExtend" in options) && isBoolean(options.inject); | ||
return isObject(options) && ("inject" in options || "__composerExtend" in options || "__vueI18nExtend" in options); | ||
} | ||
@@ -1123,3 +1122,3 @@ const GlobalOptionsRegistory = makeSymbol("vue-i18n-routing-gor"); | ||
} | ||
const VERSION = "0.12.1"; | ||
const VERSION = "0.12.2"; | ||
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL; | ||
@@ -1126,0 +1125,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION; |
@@ -32,3 +32,2 @@ "use strict"; | ||
const isString = (val) => typeof val === "string"; | ||
const isBoolean = (val) => typeof val === "boolean"; | ||
const isSymbol = (val) => typeof val === "symbol"; | ||
@@ -475,3 +474,3 @@ const isObject = (val) => val !== null && typeof val === "object"; | ||
function isPluginOptions(options) { | ||
return isObject(options) && ("inject" in options || "__composerExtend" in options || "__vueI18nExtend" in options) && isBoolean(options.inject); | ||
return isObject(options) && ("inject" in options || "__composerExtend" in options || "__vueI18nExtend" in options); | ||
} | ||
@@ -1126,3 +1125,3 @@ const GlobalOptionsRegistory = makeSymbol("vue-i18n-routing-gor"); | ||
} | ||
const VERSION = "0.12.1"; | ||
const VERSION = "0.12.2"; | ||
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL; | ||
@@ -1129,0 +1128,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION; |
{ | ||
"name": "vue-i18n-routing", | ||
"description": "The i18n routing with using vue-i18n", | ||
"version": "0.12.1", | ||
"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.12.2-ac2ae4d", | ||
"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
163084
4474