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

backk-frontend-utils

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backk-frontend-utils - npm Package Compare versions

Comparing version 1.0.83 to 1.0.84

7

lib/utils/getInputType.js

@@ -19,3 +19,6 @@ import { getMetadataStorage } from 'cv-pksilen';

.filter((validationMetadata) => validationMetadata.propertyName === propertyName);
if (hasValidationMetadata(validationMetadatas, 'isString')) {
if (hasValidationMetadata(validationMetadatas, 'isStringOrObjectId')) {
return 'text';
}
else if (hasValidationMetadata(validationMetadatas, 'isString')) {
if (hasValidationMetadata(validationMetadatas, 'isEmail')) {

@@ -82,4 +85,4 @@ return 'email';

}
throw new Error(ArgumentClass + '.' + propertyName + ': There is not any input type for this property type.');
throw new Error(ArgumentClass.name + '.' + propertyName + ': There is not any input type for this property type.');
}
//# sourceMappingURL=getInputType.js.map
{
"name": "backk-frontend-utils",
"version": "1.0.83",
"version": "1.0.84",
"description": "Web frontend utils for Backk microservices",

@@ -5,0 +5,0 @@ "author": {

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