Socket
Socket
Sign inDemoInstall

arpeggio

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arpeggio - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

17

lib/baseModels/SingleModel.js

@@ -250,3 +250,3 @@ 'use strict';

case 0:
data = this.format();
data = this.getCurrentData();
_context4.prev = 1;

@@ -316,4 +316,4 @@ validated = void 0;

}, {
key: 'format',
value: function format() {
key: 'getCurrentData',
value: function getCurrentData() {
return this.data;

@@ -331,3 +331,3 @@ }

rules = this.rules;
data = this.format();
data = this.getCurrentData();
options = {

@@ -485,4 +485,4 @@ abortEarly: false

}, {
key: 'toJSON',
value: function toJSON() {
key: 'format',
value: function format() {
var _this2 = this;

@@ -533,2 +533,7 @@

}
}, {
key: 'toJSON',
value: function toJSON() {
return this.format();
}
}]);

@@ -535,0 +540,0 @@

{
"name": "arpeggio",
"version": "0.0.3",
"version": "0.0.4",
"description": "extremely opinionated ORM/ODM",

@@ -5,0 +5,0 @@ "main": "lib/arpeggio.js",

@@ -108,3 +108,3 @@ /**

async save(...args) {
let data = this.format()
let data = this.getCurrentData()

@@ -133,3 +133,3 @@ try {

format() {
getCurrentData() {
return this.data

@@ -140,3 +140,3 @@ }

let rules = this.rules
let data = this.format()
let data = this.getCurrentData()
let options = {

@@ -218,3 +218,3 @@ abortEarly: false

toJSON() {
format() {
let _id = this.getKey()

@@ -261,2 +261,6 @@ let currentData = Object.assign({

toJSON() {
return this.format()
}
}
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