New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2 to 0.13.0-03a7f9a

24

dist/vue-i18n-routing.iife.js

@@ -641,5 +641,5 @@ var VueI18nRouting = function(exports, VueRouter3, vueDemi, vueI18nBridge) {

} else {
const _resolevableRoute = assign({}, _route);
_resolevableRoute.path = targetPath;
return router.resolve(_resolevableRoute);
const _resolvableRoute = assign({}, route, _route);
_resolvableRoute.path = targetPath;
return router.resolve(_resolvableRoute);
}

@@ -817,3 +817,10 @@ } else {

addHreflangLinks.call(this, locales, vueDemi.unref(i18n.baseUrl), metaObject.link, identifierAttribute);
addCanonicalLinks.call(this, vueDemi.unref(i18n.baseUrl), metaObject.link, identifierAttribute, addSeoAttributes);
addCanonicalLinksAndOgUrl.call(
this,
vueDemi.unref(i18n.baseUrl),
metaObject.link,
metaObject.meta,
identifierAttribute,
addSeoAttributes
);
addCurrentOgLocale(currentLocale, currentLocaleIso, metaObject.meta, identifierAttribute);

@@ -866,3 +873,3 @@ addAlternateOgLocales(locales, currentLocaleIso, metaObject.meta, identifierAttribute);

}
function addCanonicalLinks(baseUrl, link, identifierAttribute, seoAttributesOptions) {
function addCanonicalLinksAndOgUrl(baseUrl, link, meta, identifierAttribute, seoAttributesOptions) {
const route = this.route;

@@ -899,2 +906,7 @@ const currentRoute = localeRoute.call(this, {

});
meta.push({
[identifierAttribute]: "i18n-og-url",
property: "og:url",
content: href
});
}

@@ -1124,3 +1136,3 @@ }

}
const VERSION = "0.12.2";
const VERSION = "0.13.0";
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL;

@@ -1127,0 +1139,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION;

@@ -644,5 +644,5 @@ "use strict";

} else {
const _resolevableRoute = assign({}, _route);
_resolevableRoute.path = targetPath;
return router.resolve(_resolevableRoute);
const _resolvableRoute = assign({}, route, _route);
_resolvableRoute.path = targetPath;
return router.resolve(_resolvableRoute);
}

@@ -820,3 +820,10 @@ } else {

addHreflangLinks.call(this, locales, vueDemi.unref(i18n.baseUrl), metaObject.link, identifierAttribute);
addCanonicalLinks.call(this, vueDemi.unref(i18n.baseUrl), metaObject.link, identifierAttribute, addSeoAttributes);
addCanonicalLinksAndOgUrl.call(
this,
vueDemi.unref(i18n.baseUrl),
metaObject.link,
metaObject.meta,
identifierAttribute,
addSeoAttributes
);
addCurrentOgLocale(currentLocale, currentLocaleIso, metaObject.meta, identifierAttribute);

@@ -869,3 +876,3 @@ addAlternateOgLocales(locales, currentLocaleIso, metaObject.meta, identifierAttribute);

}
function addCanonicalLinks(baseUrl, link, identifierAttribute, seoAttributesOptions) {
function addCanonicalLinksAndOgUrl(baseUrl, link, meta, identifierAttribute, seoAttributesOptions) {
const route = this.route;

@@ -902,2 +909,7 @@ const currentRoute = localeRoute.call(this, {

});
meta.push({
[identifierAttribute]: "i18n-og-url",
property: "og:url",
content: href
});
}

@@ -1127,3 +1139,3 @@ }

}
const VERSION = "0.12.2";
const VERSION = "0.13.0";
exports.DEFAULT_BASE_URL = DEFAULT_BASE_URL;

@@ -1130,0 +1142,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION;

{
"name": "vue-i18n-routing",
"description": "The i18n routing with using vue-i18n",
"version": "0.12.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.13.0-03a7f9a",
"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

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