New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.3 to 0.1.0

23

library.js

@@ -10,2 +10,3 @@ (function (module) {

user = module.parent.require('./user'),
plugin = {};

@@ -28,8 +29,8 @@

profileInfo.profile.push({ joindate: moment(data.joindate).format('MMM YYYY') });
if (data.location)
profileInfo.profile.push({ location: data.location });
var joindateISO = Date.prototype.toISOString ? new Date(parseInt(data.joindate, 10)).toISOString() : data.joindate;
profileInfo.profile.push({ joindate: moment(joindateISO).format('MMM YYYY') });
callback(err, profileInfo);
});
});
};

@@ -80,3 +81,3 @@

* y setea el booleano isHot en la respuesta de la API
function isHot(topic, callback) {

@@ -90,3 +91,3 @@ topic.isHot = (topic.postcount >= 15 || topic.viewcount >= 150 ? true : false);

* y setea el pagesCount con el número de páginas del hilo
function setPagesCount(topic, uid) {

@@ -102,10 +103,10 @@ user.getSettings(uid, function(err, settings) {

*/
/**
* Comprueba el número de posts por página del usuario logeado
* y setea el pagesCount con el número de páginas del hilo
function setPagesCount(topic, uid) {
user.getUserData(uid, function(err, userData) {
});

@@ -116,2 +117,2 @@ };

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

@@ -17,3 +17,3 @@ "main": "library.js",

"author": {
"name": "Korrosivo"
"name": "Korrosivo and exomarty"
},

@@ -29,3 +29,3 @@ "license": "BSD-2-Clause",

"nbbpm": {
"compatibility": "^0.9.0"
"compatibility": "^1.0.0"
},

@@ -32,0 +32,0 @@ "scripts": {

@@ -1,1 +0,1 @@

ON DEVELOPMENT
Adds user joindate to posts on theme-exodus

Sorry, the diff of this file is not supported yet

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