Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

akashacms-blog-podcast

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akashacms-blog-podcast - npm Package Compare versions

Comparing version 0.6.6 to 0.6.7

14

index.js

@@ -274,3 +274,3 @@ /**

get elementName() { return "blog-news-index"; }
process($element, metadata, dirty) {
async process($element, metadata, dirty) {
var blogtag = $element.attr("blogtag");

@@ -282,7 +282,7 @@ if (!blogtag) {

error("NO BLOG TAG in blog-news-index"+ metadata.document.path);
throw new Error("NO BLOG TAG in blog-news-index"+ metadata.document.path);
throw new Error("NO BLOG TAG in blog-news-index "+ metadata.document.path);
}
var blogcfg = metadata.config.pluginData(pluginName).bloglist[blogtag];
if (!blogcfg) return done(new Error('No blog configuration found for blogtag '+ blogtag));
if (!blogcfg) throw new Error('No blog configuration found for blogtag '+ blogtag);

@@ -292,6 +292,4 @@ var template = $element.attr("template");

return findBlogIndexes(metadata.config, metadata, blogcfg)
.then(indexDocuments => {
return akasha.partial(metadata.config, template, { indexDocuments });
});
let indexDocuments = await findBlogIndexes(metadata.config, metadata, blogcfg);
return akasha.partial(metadata.config, template, { indexDocuments });
}

@@ -340,3 +338,3 @@ }

// console.log(`blog-next-prev findBlogDocs blogtag ${util.inspect(metadata.blogtag)} found ${document.basedir} ${document.docpath} ${document.docfullpath} ${document.renderpath} MATCHES? ${docpathNoSlash} ${metadata.document.path}`);
if (path.normalize(document.docpath) === path.normalize(docpathNoSlash)) {
if (path.normalize(document.docdestpath) === path.normalize(docpathNoSlash)) {
docIndex = j;

@@ -343,0 +341,0 @@ }

@@ -14,3 +14,3 @@ {

},
"version": "0.6.6",
"version": "0.6.7",
"engines": {

@@ -17,0 +17,0 @@ "node": ">=8.4"

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