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

node-entity

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-entity - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

16

adaptors/mongoose.adp.js

@@ -12,4 +12,2 @@ /**

function noop() {}
/**

@@ -36,5 +34,2 @@ * The Mongoose CRUD implementation.

this._schemaOpts.expandPaths = true;
// stub internal methods, all should be private to instance
this._mongRemove = noop;
});

@@ -60,10 +55,5 @@

this._defineMethods();
this._readSchema();
};
MongooseAdapter.prototype._defineMethods = function() {
this._mongRemove = Promise.promisify(this.Model.remove, this.Model);
};
/**

@@ -243,3 +233,3 @@ * Create an entity item.

return this._mongRemove(query);
return Promise.resolve(this.Model.remove(query));
};

@@ -275,3 +265,3 @@

this.addSchema(path, type);
}, this);
}.bind(this));
};

@@ -357,3 +347,3 @@

__.forIn(selectors, function(item, key) {
var pair = __.pairs(item);
var pair = __.toPairs(item);
var selector = pair[0][0];

@@ -360,0 +350,0 @@ var value = pair[0][1];

2

adaptors/sequelize.adp.js

@@ -190,3 +190,3 @@ /**

this.addSchema(schemaItem);
}, this);
}.bind(this));
};

@@ -193,0 +193,0 @@

{
"name": "node-entity",
"description": "The MVCe implementation for Node.js",
"version": "0.5.4",
"version": "0.5.5",
"homepage": "https://github.com/thanpolas/entity",

@@ -6,0 +6,0 @@ "author": {

@@ -601,2 +601,4 @@ # Entity

- **v0.5.5**, *16 Jan 2016*
- Fixed issues caused by upgrading the dependencies.
- **v0.5.4**, *16 Jan 2016*

@@ -603,0 +605,0 @@ - Upgraded all dependencies to latest.

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