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
1
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 0.0.1 to 1.0.1

2

lib/controllers.js

@@ -50,3 +50,3 @@ 'use strict';

});
await hideDuplicateUids(eventData);
hideDuplicateUids(eventData);
await hideExistingUids(eventData);

@@ -53,0 +53,0 @@ await addContentCounts(eventData);

@@ -19,4 +19,4 @@ 'use strict';

plugin.init = async (params) => {
const { router, middleware } = params;
routeHelpers.setupAdminPageRoute(router, `/admin/plugins/${PLUGIN_ID}`, middleware, [], controllers.renderAdminPage);
const { router } = params;
routeHelpers.setupAdminPageRoute(router, `/admin/plugins/${PLUGIN_ID}`, controllers.renderAdminPage);
};

@@ -23,0 +23,0 @@

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

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

"nbbpm": {
"compatibility": "^1.15.0"
"compatibility": "^3.0.0"
},

@@ -42,0 +42,0 @@ "devDependencies": {

@@ -10,12 +10,6 @@ {

],
"staticDirs": {
"static": "./static"
"modules": {
"../admin/plugins/undelete-users.js": "static/lib/admin.js"
},
"less": [
"static/style.less"
],
"acpScripts": [
"static/lib/admin.js"
],
"templates": "static/templates"
}

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

define('admin/plugins/undelete-users', ['api', 'bootbox'], function (api, bootbox) {
define('admin/plugins/undelete-users', [
'api', 'bootbox', 'alerts'
], function (api, bootbox, alerts) {
const ACP = {};

@@ -34,4 +36,4 @@ const PLUGIN_ID = 'undelete-users';

});
app.alertSuccess('User restored. To make changes effective, you may need to restart your NodeBB instance.');
}).catch(app.alertError);
alerts.success('User restored. To make changes effective, you may need to restart your NodeBB instance.');
}).catch(alerts.error);
});

@@ -58,3 +60,3 @@ }

} catch (err) {
app.alertError(err);
alerts.error(err);
}

@@ -61,0 +63,0 @@ }

Sorry, the diff of this file is not supported yet

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