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.25 to 2.2.26

2

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

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

@@ -23,4 +23,11 @@ const { getGlobalseoOptions, OLD_EXCLUDE_CLASS } = require("../configs");

return globalseoOptions.excludePaths.length && globalseoOptions.excludePaths.some(excludePath => excludePath && path.startsWith(excludePath))
return globalseoOptions.excludePaths.length && globalseoOptions.excludePaths.some(excludePath => {
if (!excludePath) return false;
const isEndedWithStar = excludePath.endsWith('/*');
if (isEndedWithStar) return path.startsWith(excludePath.slice(0, -1));
const isEndedWithSlash = excludePath.endsWith('/');
const withoutSlashPath = isEndedWithSlash ? excludePath.slice(0, -1) : excludePath;
return (path === excludePath) || (path == withoutSlashPath);
})
}
exports.isExcludedPath = isExcludedPath;

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