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

express-user

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-user - npm Package Compare versions

Comparing version 0.0.1-alpha.14 to 0.0.1-alpha.15

4

lib/ExpressUser.js

@@ -304,7 +304,7 @@ //Copyright (c) 2015 Eric Vallee <eric_vallee2003@yahoo.ca>

Router.patch('/User/Self', MainRoutes.UserPATCH(UserStore));
Router.post('/User/Self/:SetField', MainRoutes.UserPATCH(UserStore));
Router.post('/User/Self/Recovery/:SetField', MainRoutes.UserPATCH(UserStore));
Router.delete('/User/Self', MainRoutes.UserDELETE(UserStore));
Router.get('/User/Self', MainRoutes.UserGET(UserStore));
Router.get('/Users/:Field/:ID/Count', MainRoutes.UsersCountGET(UserStore));
Router.post('/User/:Field/:ID/:SetField', MainRoutes.UserPATCH(UserStore));
Router.post('/User/:Field/:ID/Recovery/:SetField', MainRoutes.UserPATCH(UserStore));

@@ -311,0 +311,0 @@ Router.put('/User/Self/Memberships/:Membership', MainRoutes.UserMembershipsPUT(UserStore));

{
"name": "express-user",
"version": "0.0.1-alpha.14",
"version": "0.0.1-alpha.15",
"description": "Ressource Oriented Express Middleware to Manage Users.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -35,4 +35,4 @@ Express-User

- DELETE /User/Self/Memberships/:Membership -> Remove Membership to the list of an account's memberships (using session to identify the account)
- POST /User/Self/:SetField -> Generate a value (probably random) for the field designed by SetField for the logged in user.
- POST /User/:Field/:ID/:SetField -> Generate a value (probably random) for the field designed by SetField for the user identified with the value ID of Field. Useful to recover password or email token.
- POST /User/Self/Recovery/:SetField -> Internally behaves like PATCH /User/Self, but gives validator a recognisable route to perform recovery behavior and validation (including access control) on the 'SetField' field.
- POST /User/:Field/:ID/Recovery/:SetField -> Internally behaves like PATCH /User/:Field/:ID (minus the admin access restriction), but gives validator a recognisable route to perform recovery behavior and validation (including access control) on the 'SetField' field.

@@ -272,1 +272,6 @@ 2) Admin URLs:

- Removed GetSerializer and CountSerialized constructor options. Moved them to Responder.
0.0.1-alpha.15
--------------
- Changed POST /User/Self/:SetField and POST /User/:Field/:ID/:SetField routes to more semantically meaningful POST /User/Self/Recovery/:SetField and POST /User/:Field/:ID/Recovery/:SetField

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