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
6
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 2.0.8 to 2.0.9

2

dist/utils/predefinedTransformations.d.ts
declare function fromTracerDate(tracerDate: number): string | undefined;
declare function tracerPropertyDocumentType(documentType: string): any;
declare function tracerPropertyTransferType(documentType: string): any;
declare function companyAddressType(addressType: string): any;
export declare const strategies: {

@@ -15,2 +16,3 @@ predefinedTransformations: {

tracerPropertyTransferType: typeof tracerPropertyTransferType;
companyAddressType: typeof companyAddressType;
};

@@ -17,0 +19,0 @@ };

@@ -65,2 +65,22 @@ "use strict";

}
function companyAddressType(addressType) {
var value;
switch (addressType) {
case 'HQ': {
value = 'HEADQUARTERS';
break;
}
case 'SAGENT ADDRESS': {
value = 'OFFICER';
break;
}
default: {
value = addressType.toLowerCase().includes('officer') ?
'OFFICER' :
'OTHER';
break;
}
}
return value;
}
exports.strategies = {

@@ -76,5 +96,6 @@ predefinedTransformations: {

tracerPropertyDocumentType: tracerPropertyDocumentType,
tracerPropertyTransferType: tracerPropertyTransferType
tracerPropertyTransferType: tracerPropertyTransferType,
companyAddressType: companyAddressType
}
};
//# sourceMappingURL=predefinedTransformations.js.map

2

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