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

@intelligo.ai/object-to-schema

Package Overview
Dependencies
Maintainers
0
Versions
77
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 2.3.0 to 2.3.1

dist/utils/isValueExists.d.ts

5

dist/mapper.js

@@ -41,2 +41,3 @@ "use strict";

var predefinedTransformations_1 = require("./utils/predefinedTransformations");
var isValueExists_1 = __importDefault(require("./utils/isValueExists"));
function mapObject(originalObj, transformations) {

@@ -85,5 +86,5 @@ if (!transformations || transformations.length == 0) {

while (!transform.done
&& ((object_path_1.default.has(originalObj, (0, stringUtil_1.unUnidotify)(transform.value.source)) == undefined && object_path_1.default.has(originalObj, (0, stringUtil_1.unUnidotify)(transform.value.source)) == null)
&& !(object_path_1.default.has(originalObj, (0, stringUtil_1.unUnidotify)(transform.value.source))
&& (!((_a = transform.value.target.predefinedTransformations) === null || _a === void 0 ? void 0 : _a.length)
|| getValueAfterTransformations(transform.value.target, valueToSet)))
|| (0, isValueExists_1.default)(getValueAfterTransformations(transform.value.target, valueToSet))))
&& !transform.value.target.defaultValue) {

@@ -90,0 +91,0 @@ transform = transformGenerator.next();

2

package.json
{
"name": "@intelligo.ai/object-to-schema",
"version": "2.3.0",
"version": "2.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