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

nodebb-plugin-exodo-tweaks

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-exodo-tweaks - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

24

library.js
(function (module) {
"use strict";
var spawn = require('child_process').spawn;
var nconf = module.parent.require('nconf');
var _ = module.parent.require('underscore'),
async = module.parent.require('async'),
moment = require('./tweaks/client/moment.min.js'),
topics = module.parent.require('./topics'),
Posts = module.parent.require('./posts'),
user = module.parent.require('./user'),
async = module.parent.require('async'),
moment = require('./tweaks/client/moment.min.js'),
topics = module.parent.require('./topics'),
Posts = module.parent.require('./posts'),
user = module.parent.require('./user'),
plugin = {};
plugin = {};
/*plugin.categoryTopicsGet = function (data, callback) {

@@ -21,2 +22,10 @@ async.each(data.topics, function(topic, next) {

*/
plugin.init = function(data, callback) {
spawn('./watchdog.bash', [nconf.get('port')], {
stdio: 'inherit'
}).unref();
callback();
};
plugin.addProfileInfo = function(profileInfo, callback) {

@@ -113,1 +122,2 @@ moment.locale('es', { monthsShort : "Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Sep_Oct_Nov_Dic".split("_") });

}(module));
{
"name": "nodebb-plugin-exodo-tweaks",
"version": "0.1.2",
"version": "0.1.3",
"description": "exo.do tweaks",

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

@@ -8,2 +8,3 @@ {

"hooks": [
{ "hook": "static:app.load", "method": "init"},
{ "hook": "filter:category.topics.get", "method": "categoryTopicsGet" },

@@ -10,0 +11,0 @@ { "hook": "action:topic.edit", "method": "topicTitleNoEdit" },

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