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

nodebb-plugin-undelete-users

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-undelete-users - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

lib/controllers.js

@@ -71,5 +71,5 @@ 'use strict';

function filterEvent(event, { username, uid, email }) {
return (username && event.data.username.toLowerCase().indexOf(username) === -1) ||
return (username && event.data.username && !event.data.username.toLowerCase().includes(username)) ||
(uid && parseInt(event.data.targetUid, 10) !== parseInt(uid, 10)) ||
(email && event.data.email.toLowerCase().indexOf(email) === -1);
(email && event.data.email && !event.data.email.toLowerCase().includes(email));
}

@@ -76,0 +76,0 @@

{
"name": "nodebb-plugin-undelete-users",
"version": "1.0.1",
"version": "1.0.2",
"description": "A NodeBB plugin to re-associate deleted users with their content that are not removed.",

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

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