nodebb-plugin-undelete-users
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19602
1