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.2.2 to 0.2.3

1

adaptors/sequelize.adp.js

@@ -166,3 +166,2 @@ /**

var seqSchema = this.Model.rawAttributes;
this._schema = [];

@@ -169,0 +168,0 @@ __.forIn(seqSchema, function(seqSchemaItem, path) {

2

package.json
{
"name": "node-entity",
"description": "The MVCe implementation for Node.js",
"version": "0.2.2",
"version": "0.2.3",
"homepage": "https://github.com/thanpolas/entity",

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

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

## Release History
- **v0.2.3**, *17 Feb 2014*
- Fixed bug on Sequelize adaptor that returned wrong type of value with `getSchema()`.
- **v0.2.2**, *17 Feb 2014*

@@ -460,0 +462,0 @@ - Upgraded all package dependencies to latest.

@@ -32,4 +32,9 @@ /**

test(majNum + '.9.1 Look for expected keys in Schema', function() {
test(majNum + '.9.1 Look for expected getSchema() return value type', function() {
var schema = ent.getSchema();
assert.notOk(Array.isArray(schema));
assert.isObject(schema);
});
test(majNum + '.9.2 Look for expected keys in Schema', function() {
var schema = ent.getSchema();
assert.property(schema, 'name');

@@ -36,0 +41,0 @@ assert.property(schema, '_isActive');

@@ -106,2 +106,3 @@ /**

var schema = ent.getSchema();
assert.notOk(Array.isArray(schema), 'schema should not be an array');
assert.isObject(schema);

@@ -108,0 +109,0 @@ assert.deepPropertyVal(schema, 'firstName.name', 'firstName');

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