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

nodebb-theme-harmony

Package Overview
Dependencies
Maintainers
2
Versions
441
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-theme-harmony - npm Package Compare versions

Comparing version 1.0.0-beta.74 to 1.0.0-beta.75

19

library.js

@@ -141,21 +141,2 @@ 'use strict';

library.addUserToTopic = async function (hookData) {
const { enableQuickReply } = await loadThemeConfig(hookData.req.uid);
if (enableQuickReply) {
if (hookData.req.user) {
const userData = await user.getUserData(hookData.req.uid);
hookData.templateData.loggedInUser = userData;
} else {
hookData.templateData.loggedInUser = {
uid: 0,
username: '[[global:guest]]',
picture: user.getDefaultAvatar(),
'icon:text': '?',
'icon:bgColor': '#aaa',
};
}
}
return hookData;
};
library.filterMiddlewareRenderHeader = async function (hookData) {

@@ -162,0 +143,0 @@ const userSettings = await user.getSettings(hookData.req.uid);

2

package.json
{
"name": "nodebb-theme-harmony",
"version": "1.0.0-beta.74",
"version": "1.0.0-beta.75",
"nbbpm": {

@@ -5,0 +5,0 @@ "compatibility": "^3.0.0"

@@ -11,3 +11,2 @@ {

{ "hook": "filter:user.profileMenu", "method": "addProfileItem" },
{ "hook": "filter:topic.build", "method": "addUserToTopic" },
{ "hook": "filter:middleware.renderHeader", "method": "filterMiddlewareRenderHeader" },

@@ -14,0 +13,0 @@ { "hook": "filter:middleware.render", "method": "removeFinalBreadcrumb" }

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