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

medici

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

medici - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

14

lib/entry.js

@@ -21,6 +21,6 @@ var Entry, Q, mongoose, _;

function Entry(book, memo, date, original_journal) {
var journalClass;
var journalModel;
this.book = book;
journalClass = this.book.journalClass;
this.journal = new journalClass();
journalModel = this.book.journalModel;
this.journal = new journalModel();
this.journal.memo = memo;

@@ -62,3 +62,3 @@ if (original_journal) {

};
keys = _.keys(this.book.transactionClass.schema.paths);
keys = _.keys(this.book.transactionModel.schema.paths);
meta = {};

@@ -101,3 +101,3 @@ for (key in extra) {

};
keys = _.keys(this.book.transactionClass.schema.paths);
keys = _.keys(this.book.transactionModel.schema.paths);
meta = {};

@@ -120,3 +120,3 @@ for (key in extra) {

d = Q.defer();
modelClass = this.book.transactionClass;
modelClass = this.book.transactionModel;
model = new modelClass(transaction);

@@ -161,3 +161,3 @@ this.journal._transactions.push(model._id);

if (err) {
_this.book.transactionClass.remove({
_this.book.transactionModel.remove({
_journal: _this.journal._id

@@ -164,0 +164,0 @@ });

{
"name": "medici",
"version": "0.9.1",
"version": "0.9.2",
"description": "Simple double-entry accounting for Node + Mongoose",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha"
},

@@ -9,0 +9,0 @@ "repository": {

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