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 5.3.4 to 5.4.0

2

generate-docs.js
const docket = require(`docket-parser`);
docket.title(`EZ Objects v5.3.4`);
docket.title(`EZ Objects v5.4.0`);
docket.linkClass(`text-success`);
docket.parseFiles([`index.js`]);
docket.generateDocs(`docs`);

@@ -24,3 +24,3 @@ /**

throw new TypeError(`${property.className}.${property.name}(): Non-numeric value passed to '${property.type}' setter.`);
else if ( x && property.ezobjectType.jsType == 'string' && typeof x !== 'string' )
else if ( x && property.ezobjectType.jsType == 'string' && typeof x !== 'string' && typeof x !== 'number' )
throw new TypeError(`${property.className}.${property.name}(): Non-string value passed to '${property.type}' setter.`);

@@ -48,2 +48,4 @@ else if ( x && property.ezobjectType.jsType == 'boolean' && typeof x !== 'boolean' )

return x === null ? null : (x ? true : false);
else if ( property.ezobjectType.jsType == 'string' )
return x === null ? null : x.toString();
else

@@ -50,0 +52,0 @@ return x === null ? null : x;

{
"name": "ezobjects",
"version": "5.3.4",
"version": "5.4.0",
"description": "Easy Auto-Generated Strictly-Typed JavaScript Class Objects",

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

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

# EZ Objects v5.3.4
# EZ Objects v5.4.0

@@ -3,0 +3,0 @@ EZ Objects is a Node.js module (that can also be usefully browserify'd) that aims to save you lots of time

Sorry, the diff of this file is not supported yet

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