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

node-ajax-seo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ajax-seo - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

lib/node-ajax-seo.js

@@ -9,3 +9,3 @@

var fragment = req.query._escaped_fragment_;
var crawlers=['facebookexternalhit','Twitterbot','Pinterest'];
var crawlers = ['FacebookExternalHit', 'Twitterbot', 'Pinterest', 'Baiduspider', 'LinkedInBot'];

@@ -18,3 +18,3 @@ // google crawler checking

crawlers.forEach(function(c){
var patt = new RegExp(c);
var patt = new RegExp(c,"i");
isCrawler = isCrawler || (patt.test(req.headers['user-agent'])) ;

@@ -21,0 +21,0 @@ });

{
"name": "node-ajax-seo",
"version": "1.0.0",
"version": "1.0.1",
"description": "It deals with the most popular crawlers, redirecting them to static directory and serving fresh pages to human users.",

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

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