Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-i18n-routing

Package Overview
Dependencies
Maintainers
1
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-i18n-routing - npm Package Compare versions

Comparing version 0.12.0 to 0.12.1-19ad418

dist/vue-i18n.d.ts

32

dist/vue-i18n-routing.d.ts

@@ -922,1 +922,33 @@ import type { Composer } from '@intlify/vue-i18n-bridge';

export { }
import type { ComputedRef } from 'vue-demi'
export interface ComposerCustomProperties {
/**
* List of locales
*
* @remarks
* Can either be an array of string codes (e.g. `['en', 'fr']`) or an array of {@link LocaleObject} for more complex configurations
*/
locales: ComputedRef<string[] | LocaleObject[]>
/**
* List of locale codes
*/
localeCodes: ComputedRef<string[]>
/**
* Base URL that is used in generating canonical links
*/
baseUrl: ComputedRef<string>
}
declare module 'vue-i18n' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ComposerCustom extends ComposerCustomProperties {}
}
declare module 'vue-i18n-bridge' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ComposerCustom extends ComposerCustomProperties {}
}
declare module '@intlify/vue-i18n-bridge' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ComposerCustom extends ComposerCustomProperties {}
}

5

dist/vue-i18n-routing.iife.js

@@ -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.0";
const VERSION = "0.12.1";
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.0";
const VERSION = "0.12.1";
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL;

@@ -1129,0 +1128,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION;

2

package.json
{
"name": "vue-i18n-routing",
"description": "The i18n routing with using vue-i18n",
"version": "0.12.0",
"version": "0.12.1-19ad418",
"dependencies": {

@@ -6,0 +6,0 @@ "@intlify/shared": "next",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc