New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

schema-llama

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-llama - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

14

dist/index.js

@@ -62,11 +62,11 @@ 'use strict';

// Object.defineProperty(this, 'valueOf', {
// enumerable: false,
// configurable: false,
// value: toJSON
// });
Object.defineProperty(this, 'valueOf', {
enumerable: false,
configurable: true,
value: toJSON
});
Object.defineProperty(this, 'toJSON', {
enumerable: false,
configurable: false,
configurable: true,
value: toJSON

@@ -153,3 +153,3 @@ });

if (!Primitive && !schemaItem.prototype && value.constructor !== schemaItem) {
value = schemaItem(value);
value = schemaItem(value, key);
}

@@ -156,0 +156,0 @@ if (!Primitive && schemaItem.prototype && value.constructor !== schemaItem) {

{
"name": "schema-llama",
"version": "0.0.7",
"version": "0.0.8",
"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",

@@ -55,11 +55,11 @@ import { TypeError, ValidationError, Error } from './errors';

// Object.defineProperty(this, 'valueOf', {
// enumerable: false,
// configurable: false,
// value: toJSON
// });
Object.defineProperty(this, 'valueOf', {
enumerable: false,
configurable: true,
value: toJSON
});
Object.defineProperty(this, 'toJSON', {
enumerable: false,
configurable: false,
configurable: true,
value: toJSON

@@ -139,3 +139,3 @@ });

if(!Primitive && !schemaItem.prototype && value.constructor !== schemaItem) {
value = schemaItem(value);
value = schemaItem(value, key);
}

@@ -142,0 +142,0 @@ if(!Primitive && schemaItem.prototype && value.constructor !== schemaItem) {

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