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-9686ab3

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;

28

package.json
{
"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-9686ab3",
"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