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

ajgenesisnode-entity

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajgenesisnode-entity - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

16

addproperty.js

@@ -26,12 +26,12 @@ var path = require('path'),

var model = require(path.resolve(filename));
// quick hack
model.entities = [ model.entities[0] ];
model.entities.forEach(function (entity) {
if (entity.name != entityname)
return;
var entity = model.entities[0];
if (!entity.properties)
entity.properties = [];
if (!entity.properties)
entity.properties = [];
entity.properties.push(property);
});
entity.properties.push(property);

@@ -38,0 +38,0 @@ var text = JSON.stringify(model, null, 4);

{ "name": "ajgenesisnode-entity"
, "description": "AjGenesis for Node, Entity tasks and templates"
, "keywords": [ "codegeneration", "nodejs", "ajgenesis" ]
, "version": "0.0.3"
, "version": "0.0.4"
, "author": "Angel 'Java' Lopez <webmaster@ajlopez.com> (http://www.ajlopez.com)"

@@ -6,0 +6,0 @@ , "repository": { "type": "git", "url": "git://github.com/ajlopez/AjGenesisNode-Entity.git" }

@@ -40,2 +40,3 @@ # AjGenesisNode Entity

- 0.0.3: Published. add and addproperty process parameters.
- 0.0.4: Published. Fixing add property bug, using a hack.

@@ -42,0 +43,0 @@ ## Contribution

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