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

@intelligo.ai/object-to-schema

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intelligo.ai/object-to-schema - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

8

dist/schemaCreator.js

@@ -6,5 +6,7 @@ "use strict";

if (schema === void 0) { schema = {}; }
return Object
.keys(obj)
.reduce(function (schema, key) { return resolveOperation(schema, obj, key); }, schema);
return obj
? Object
.keys(obj)
.reduce(function (schema, key) { return resolveOperation(schema, obj, key); }, schema)
: {};
}

@@ -11,0 +13,0 @@ exports.mapObjectToSchema = mapObjectToSchema;

{
"name": "@intelligo.ai/object-to-schema",
"version": "1.3.0",
"version": "1.3.1",
"description": "",

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

Sorry, the diff of this file is not supported yet

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