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
127
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 2.2.20 to 2.2.21

4

extractOptionsFromScript.js

@@ -34,3 +34,2 @@ const { isBrowser, BRAND } = require("./utils/configs");

const hostnameWithoutWWW = hostname.replace("www.", "");
console.log("DOMAIN", domainFromServer, hostnameWithoutWWW)
if (domainFromServer == hostnameWithoutWWW) {

@@ -194,4 +193,2 @@ tag.setAttribute("href", url.href);

}
console.log("DOC LANG", activeLang)

@@ -278,3 +275,2 @@ if (activeLang && (window.document.documentElement.lang != activeLang)) {

const subdirectoryHref = `${window.location.protocol}//${domain}${originalPathname}`
console.log("PATHNM2", activeSubdirectory, cleanPathname, originalPathname, subdirectoryHref, translationMode)
// append prefix to the original lang because the subdomain will be accessed without the prefix (dont append if subdirectory mode)

@@ -281,0 +277,0 @@ alternateLinkTag.href = translationMode == "subdirectory" ? subdirectoryHref : `${window.location.protocol}//${domain}${getPrefixedPathname(window, domainSourcePrefix, window.location.pathname)}`;

2

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

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

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

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

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