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.28 to 1.0.29

2

lib/validation/validateServiceFunctionArgumentOrThrow.d.ts
import { ServiceFunctionType } from '../callRemoteService';
export default function validateServiceFunctionArgumentOrThrow(serviceFunctionArgument: object, ArgumentClass: new () => any, serviceFunctionType: ServiceFunctionType): Promise<void>;
export default function validateServiceFunctionArgumentOrThrow(serviceFunctionArgument: object, ArgumentClass: new () => any, serviceFunctionType: ServiceFunctionType, propertyName?: string): Promise<void>;

@@ -54,3 +54,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
export default function validateServiceFunctionArgumentOrThrow(serviceFunctionArgument, ArgumentClass, serviceFunctionType) {
export default function validateServiceFunctionArgumentOrThrow(serviceFunctionArgument, ArgumentClass, serviceFunctionType, propertyName) {
return __awaiter(this, void 0, void 0, function* () {

@@ -77,3 +77,6 @@ try {

}
throw new Error(getValidationErrors(validationErrors));
const finalValidationErrors = propertyName
? validationErrors.filter((validationError) => validationError.property === propertyName)
: validationErrors;
throw new Error(getValidationErrors(finalValidationErrors));
}

@@ -80,0 +83,0 @@ });

{
"name": "backk-frontend-utils",
"version": "1.0.28",
"version": "1.0.29",
"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