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.1.16 to 2.1.17

3

browser.js
const { getTranslations, isBrowser } = require("./index.js");
const { BRAND } = require("./utils/configs.js");
const { BRAND, PREV_SCRIPT_VERSION } = require("./utils/configs.js");
// const { checkPage } = require("./utils/translation/checkPage.js");

@@ -7,2 +7,3 @@

window.translationScriptTag = document.currentScript;
window.translationScriptPrevVersion = PREV_SCRIPT_VERSION // called prev version because it will bumped after published to npm

@@ -9,0 +10,0 @@ // REQUIRED ATTRIBUTES

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

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

@@ -15,2 +15,3 @@ const detectRobot = require("./detectRobot")

const BRAND = process.env.BRAND || "globalseo";
const PREV_SCRIPT_VERSION = process.env.PREV_SCRIPT_VERSION || "0.0.0";

@@ -140,3 +141,4 @@ /** Translation Options */

MERGE_PREFIX,
BRAND
BRAND,
PREV_SCRIPT_VERSION
}

@@ -22,5 +22,6 @@ const { compressToArrayBuffer, decompressArrayBuffer, isCompressionSupported } = require("../compressions");

url: window.location.pathname,
scriptPrevVersion: window.translationScriptPrevVersion
};
console.log("weploy payload:", finalPayload)
console.log("globalseo payload:", finalPayload)

@@ -27,0 +28,0 @@ const stringifiedPayload = JSON.stringify(finalPayload);

@@ -7,2 +7,4 @@ const path = require('path');

const webpack = require('webpack');
const packageJson = require('./package.json');
const prevVersion = packageJson.version;

@@ -78,2 +80,3 @@ module.exports = (env, argv) => {

CSS_PATH_RAW: JSON.stringify('../../globalseo.css?raw'),
PREV_SCRIPT_VERSION: JSON.stringify(prevVersion),
},

@@ -80,0 +83,0 @@ }),

@@ -7,2 +7,4 @@ const path = require('path');

const webpack = require('webpack');
const packageJson = require('./package.json');
const prevVersion = packageJson.version;

@@ -78,2 +80,3 @@ module.exports = (env, argv) => {

CSS_PATH_RAW: JSON.stringify('../../globalseo.css?raw'),
PREV_SCRIPT_VERSION: JSON.stringify(prevVersion),
},

@@ -80,0 +83,0 @@ }),

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