schema-llama
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -28,3 +28,3 @@ 'use strict'; | ||
const constructorHelper = function (props, ...args) { | ||
if (!props || props.constructor !== Object) { | ||
if (!props || typeof props != 'object') { | ||
return; | ||
@@ -31,0 +31,0 @@ } |
{ | ||
"name": "schema-llama", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "A more purely javascript es6 class generator. Takes the work out of validation, type checking, and more.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
# Schema-Llama | ||
``` | ||
npm install --save schema-llama@0.0.9 | ||
npm install --save schema-llama@0.0.8 | ||
``` | ||
@@ -5,0 +5,0 @@ ## TOC |
@@ -22,3 +22,3 @@ import { TypeError, ValidationError, Error } from './errors'; | ||
const constructorHelper = function(props, ...args) { | ||
if(!props || props.constructor !== Object) { return; } | ||
if(!props || typeof props != 'object') { return; } | ||
const propKeys = Object.keys(props); | ||
@@ -25,0 +25,0 @@ for(const key of propKeys) { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35713
10
1