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

ezobjects

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ezobjects - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

6

index.js

@@ -27,3 +27,3 @@ /**

/** Loop through each field in the obj */
/** Loop through each property in the obj */
obj.properties.forEach((col) => {

@@ -53,3 +53,3 @@ /** Initialize 'int' and 'float' types to zero */

/** Loop through each field in the obj */
/** Loop through each property in the obj */
obj.properties.forEach((col) => {

@@ -156,3 +156,3 @@ /** For 'int' type properties */

/** For all other field types */
/** For all other property types */
else {

@@ -159,0 +159,0 @@ parent[obj.name].prototype[col.name] = function (arg) {

{
"name": "ezobjects",
"version": "0.6.5",
"version": "0.6.6",
"description": "Easy dynamic object generation with strict typing and set chaining",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

# EZ Objects v0.6.5
# EZ Objects v0.6.6

@@ -14,6 +14,6 @@ Under development, but completely useable.

Each field in the array is an object that can have the following keys:
Each property in the properties array is an object that can have the following keys:
* name - The name of the field (required)
* type - The type of the field (required, can be string, int, float, boolean, Array, or any other object name)
* name - The name of the property (required)
* type - The type of the property (required, can be string, int, float, boolean, Array, or any other object name)
* default - The default initialized value (optional)

@@ -20,0 +20,0 @@

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