Socket
Socket
Sign inDemoInstall

nodebb-plugin-freelog

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-freelog - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

7

index.js
const plugin = {};
plugin.topicReplyHandler = async function(data) {
console.log('freelog-', JSON.stringify(data));
console.log('freelog-topicReplyHandler', JSON.stringify(data));
};
plugin.loadHandler = async function(params) {
console.log('freelog-loadHandler', JSON.stringify(params));
return params;
};
module.exports = plugin;

2

package.json

@@ -5,3 +5,3 @@ {

"description": "NodeBB Forum",
"version": "0.0.2",
"version": "0.0.3",
"homepage": "http://www.nodebb.org",

@@ -8,0 +8,0 @@ "repository": {

{
"id": "nodebb-plugin-freelog",
"name": "freelog-nodebb-plugin",
"name": "nodebb-plugin-freelog",
"description": "",

@@ -9,2 +9,6 @@ "url": "",

{
"hook": "static:app.load",
"method": "loadHandler"
},
{
"hook": "action:topic.reply",

@@ -11,0 +15,0 @@ "method": "topicReplyHandler"

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