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.8 to 2.2.9

8

index.js

@@ -102,6 +102,10 @@ const { isBrowser, getGlobalseoOptions, SPECIAL_API_KEYS } = require('./utils/configs.js');

createLanguageSelect(window, optsArgs).then(() => {
if (nodes.length) startTranslationCycle(window, window.document.body, apiKey, debounceDuration).catch(console.log)
if (nodes.length) startTranslationCycle(window, window.document.body, apiKey, debounceDuration)
.catch(console.log)
.finally(() => renderSelectorState(window))
});
} else {
if (nodes.length) startTranslationCycle(window, window.document.body, apiKey, debounceDuration).catch(console.log)
if (nodes.length) startTranslationCycle(window, window.document.body, apiKey, debounceDuration)
.catch(console.log)
.finally(() => renderSelectorState(window))
}

@@ -108,0 +112,0 @@ });

{
"name": "globalseo",
"version": "2.2.8",
"version": "2.2.9",
"description": "Translate your React.js or Next.js app with AI",

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

@@ -100,3 +100,3 @@ const { getGlobalseoActiveLang, getGlobalseoOptions } = require("../configs");

|| (!delay && !window.isTranslationRunOnce)
// || (window.activeSubdomain && window.translationCache?.[window.location.pathname]?.[window.activeSubdomain])
|| (window.activeSubdomain && window.translationCache?.[window.location.pathname]?.[window.activeSubdomain])
) {

@@ -103,0 +103,0 @@ // console.log("RUN FIRST")

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