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

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.5.0 to 1.6.0

20

dist/index.js

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

if (args.default || args.default === null) {
if (args.default !== undefined) {
if (typeof args.default === 'string' || args.default === null) {

@@ -224,3 +224,3 @@ _this._default = args.default;

if (args.default || args.default === null) {
if (args.default !== undefined) {
if (typeof args.default === 'number' || args.default === null) {

@@ -272,3 +272,3 @@ _this2._default = args.default;

if (args.default || args.default === null) {
if (args.default !== undefined) {
if (args.default === null || args.default === false || args.default === true) {

@@ -330,3 +330,3 @@ _this3._default = args.default;

if (args.default || args.default === null) {
if (args.default !== undefined) {
if (args.default instanceof Array || args.default === null) {

@@ -376,3 +376,5 @@ _this4._default = _this4.parse(args.default);

_this5._default = _this5.parse(args.default);
if (args.default !== undefined) {
_this5._default = _this5.parse(args.default);
}

@@ -423,3 +425,5 @@ _this5._value = _this5._default;

_this6._default = _this6.parse(args.default);
if (args.default !== undefined) {
_this6._default = _this6.parse(args.default);
}

@@ -471,3 +475,5 @@ _this6._value = _this6._default;

_this7._default = _this7.parse(args.default);
if (args.default !== undefined) {
_this7._default = _this7.parse(args.default);
}

@@ -474,0 +480,0 @@ _this7._value = _this7._default;

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

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

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