Socket
Socket
Sign inDemoInstall

hexo-generator-feed

Package Overview
Dependencies
2
Maintainers
8
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

2

lib/autodiscovery.js

@@ -12,3 +12,3 @@ 'use strict';

if (data.match(/type=['|"]?application\/(atom|rss)\+xml['|"]?/i)) return;
if (data.match(/type=['|"]?application\/(atom|rss)\+xml['|"]?/i) || feed.autodiscovery === false) return;

@@ -15,0 +15,0 @@ type.forEach((feedType, i) => {

@@ -32,2 +32,7 @@ 'use strict';

if (posts.length <= 0) {
feedConfig.autodiscovery = false;
return;
}
if (feedConfig.limit) posts = posts.limit(feedConfig.limit);

@@ -34,0 +39,0 @@

{
"name": "hexo-generator-feed",
"version": "2.1.0",
"version": "2.1.1",
"description": "Feed generator plugin for Hexo",

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

@@ -15,2 +15,3 @@ # hexo-generator-feed

- Hexo 4: 2.x
- Hexo 3: 1.x

@@ -17,0 +18,0 @@ - Hexo 2: 0.x

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc