Socket
Socket
Sign inDemoInstall

datumo

Package Overview
Dependencies
3
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.1.0

4

lib/index.js

@@ -192,8 +192,4 @@ 'use strict';

}
validate() {
return this.constructor.validate(this);
}
}
exports.Model = Model;

2

package.json
{
"name": "datumo",
"version": "0.0.4",
"version": "0.1.0",
"description": "Lightweight data modelling for Node.js",

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

@@ -39,3 +39,3 @@ # datumo

amanda.validate().valid === true
Person.validate(amanda).valid === true
```

@@ -91,3 +91,3 @@

})
let validationResults = jeff.validate()
let validationResults = Person.validate(jeff)

@@ -94,0 +94,0 @@ validationResults.valid === false

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc