Socket
Socket
Sign inDemoInstall

hoodie-plugin-users

Package Overview
Dependencies
Maintainers
7
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoodie-plugin-users - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

bower.json

@@ -5,3 +5,3 @@ {

"url": "https://github.com/hoodiehq/hoodie-plugin-users/",
"version": "2.1.0",
"version": "2.1.1",
"dependencies": {

@@ -8,0 +8,0 @@ "backbone": "~0.9",

@@ -0,1 +1,10 @@

<a name="2.1.0"></a>
## 2.1.0 (2014-10-08)
#### Bug Fixes
* when upgrading from anonymous, remove correct old user doc ([f8d89ec6](https://github.com/hoodiehq/hoodie-plugin-users/commit/f8d89ec6ae3544ff0c71e64ffaad341bb6c53564))
<a name="2.0.0"></a>

@@ -2,0 +11,0 @@ ## 2.0.0 (2014-09-09)

@@ -20,3 +20,3 @@ var utils = require('./utils');

exports.success = function (hoodie, doc, callback) {
return hoodie.account.remove('user', doc.id, callback);
return hoodie.account.remove(doc.type, doc.id, callback);
};

@@ -30,3 +30,3 @@

exports.fail = _.curry(function (props, hoodie, doc, callback) {
return hoodie.account.update('user', doc.id, {
return hoodie.account.update(doc.type, doc.id, {
$newUsername: undefined,

@@ -33,0 +33,0 @@ $error: props

{
"name": "hoodie-plugin-users",
"version": "2.1.0",
"version": "2.1.1",
"description": "Hoodie plugin for handling user accounts and dbs",

@@ -50,3 +50,3 @@ "repository": {

},
"codename": "stylish-gnat"
"codename": "wicked-wombat"
}

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