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

schema-llama

Package Overview
Dependencies
Maintainers
2
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.1.2 to 0.1.3

7

dist/index.js

@@ -182,2 +182,5 @@ 'use strict';

}
if (value.constructor.name == '__SLC__') {
break;
}
value = new (classFactory(schemaItem)(options))(value);

@@ -215,3 +218,3 @@ break;

const Class = ParentClass ? class extends ParentClass {
const Class = ParentClass ? class __SLC__ extends ParentClass {
constructor(...args) {

@@ -221,3 +224,3 @@ super(...args);

}
} : class {
} : class __SLC__ {
constructor(...args) {

@@ -224,0 +227,0 @@ constructorHelper.call(this, ...args);

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

@@ -167,2 +167,5 @@ import { TypeError, ValidationError, Error } from './errors';

}
if(value.constructor.name == '__SLC__') {
break;
}
value = new (classFactory(schemaItem)(options))(value);

@@ -200,3 +203,3 @@ break;

const Class = ParentClass ? (
class extends ParentClass {
class __SLC__ extends ParentClass {
constructor(...args) {

@@ -208,3 +211,3 @@ super(...args);

) : (
class {
class __SLC__ {
constructor(...args) {

@@ -211,0 +214,0 @@ constructorHelper.call(this, ...args);

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