Socket
Socket
Sign inDemoInstall

model-types

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

model-types - npm Package Compare versions

Comparing version 1.6.0 to 1.8.0

LICENSE

12

dist/index.js

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

if (schema[i]) {
if (state[i] instanceof Object) {
if (state[i] instanceof Object && !(state[i] instanceof Array) && !(state[i] instanceof Date) && !(state[i] instanceof RegExp)) {
parsed[i] = _parse(schema[i], state[i]);

@@ -662,2 +662,12 @@ } else {

var Model = function () {
createClass(Model, [{
key: 'state',
get: function get$$1() {
return this.getState();
},
set: function set$$1(state) {
this.setState(state);
}
}]);
function Model(schema) {

@@ -664,0 +674,0 @@ classCallCheck(this, Model);

2

package.json
{
"name": "model-types",
"version": "1.6.0",
"version": "1.8.0",
"description": "Javascript library for typed object modeling.",

@@ -5,0 +5,0 @@ "main": "dist",

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