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.2 to 0.13.0

18

dist/vue-i18n-routing.iife.js

@@ -816,3 +816,10 @@ var VueI18nRouting = function(exports, VueRouter3, vueDemi, vueI18nBridge) {

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);

@@ -865,3 +872,3 @@ addAlternateOgLocales(locales, currentLocaleIso, metaObject.meta, identifierAttribute);

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

@@ -898,2 +905,7 @@ const currentRoute = localeRoute.call(this, {

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

@@ -1123,3 +1135,3 @@ }

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

@@ -1126,0 +1138,0 @@ exports.DEFAULT_DETECTION_DIRECTION = DEFAULT_DETECTION_DIRECTION;

@@ -819,3 +819,10 @@ "use strict";

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);

@@ -868,3 +875,3 @@ addAlternateOgLocales(locales, currentLocaleIso, metaObject.meta, identifierAttribute);

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

@@ -901,2 +908,7 @@ const currentRoute = localeRoute.call(this, {

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

@@ -1126,3 +1138,3 @@ }

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

@@ -1129,0 +1141,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.2",
"version": "0.13.0",
"scripts": {

@@ -6,0 +6,0 @@ "dev": "vite",

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