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.7.1 to 0.7.2

16

index.js

@@ -41,3 +41,3 @@ /**

config.addMahabhuta(module.exports.mahabhutaArray(options));
config.pluginData(pluginName).bloglist = [];
options.bloglist = [];
}

@@ -54,3 +54,3 @@

isLegitLocalHref(config, href) {
// console.log(`isLegitLocalHref ${util.inspect(config.pluginData(pluginName).bloglist)} === ${href}?`);
// console.log(`isLegitLocalHref ${util.inspect(this.options.bloglist)} === ${href}?`);
for (var blogkey in this.options.bloglist) {

@@ -67,10 +67,2 @@ var blogcfg = this.options.bloglist[blogkey];

async onSiteRendered(config) {
/* console.log(`blog-podcast onSiteRendered ${util.inspect(config.pluginData(pluginName).bloglist)}`);
console.log(` Object.keys ${util.inspect(Object.keys(config.pluginData(pluginName).bloglist))}`);
for (let key in config.pluginData(pluginName).bloglist) {
console.log(`blog-podcast in ${key} hasOwnProperty ${config.pluginData(pluginName).bloglist.hasOwnProperty(key)}`);
if (config.pluginData(pluginName).bloglist.hasOwnProperty(key)) {
console.log(` OBJECT ${config.pluginData(pluginName).bloglist[key]}`);
}
} */
const tasks = [];

@@ -155,3 +147,3 @@ for (var blogkey in this.options.bloglist) {

ret.addMahafunc(new BlogNextPrevElement());
ret.addMahabhuta(new BlogNewsIndexElement());
ret.addMahafunc(new BlogNewsIndexElement());
return ret;

@@ -258,3 +250,3 @@ };

var blogcfg = this.array.options.config.pluginData(pluginName).bloglist[blogtag];
var blogcfg = this.array.options.bloglist[blogtag];
if (!blogcfg) throw new Error('No blog configuration found for blogtag '+ blogtag);

@@ -261,0 +253,0 @@

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

},
"version": "0.7.1",
"version": "0.7.2",
"engines": {

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

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