New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

globalseo

Package Overview
Dependencies
Maintainers
0
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globalseo - npm Package Compare versions

Comparing version

to
2.2.2

2

package.json
{
"name": "globalseo",
"version": "2.2.1",
"version": "2.2.2",
"description": "Translate your React.js or Next.js app with AI",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,3 +15,3 @@ const getUnprefixedPathname = require("./utils/translation-mode/getUnprefixedPathname");

// assign full url if it's relative path
if (!anchor.href.startsWith("http")) {
if (!anchor.href.startsWith("http") && (anchor.getAttribute("href") != "#")) {
const currentUrl = new URL(window.location.href);

@@ -18,0 +18,0 @@ const fullHref = `${currentUrl.protocol}//${currentUrl.hostname}${anchor.href}`;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display