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

@overturebio-stack/lectern-client

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@overturebio-stack/lectern-client - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

6

lib/schema-functions.js

@@ -270,3 +270,3 @@ "use strict";

if (invalidValues.length !== 0) {
const info = Object.assign({}, range);
const info = Object.assign({ value: invalidValues }, range);
return buildError(schema_entities_1.SchemaValidationErrorTypes.INVALID_BY_RANGE, field.name, index, info);

@@ -286,2 +286,3 @@ }

message: scriptResult.message,
value: rec[field.name]
});

@@ -318,4 +319,5 @@ }

const invalidValues = recordFieldValues.filter(v => validation.isInvalidFieldType(field.valueType, v));
const info = { value: invalidValues };
if (invalidValues.length !== 0) {
return buildError(schema_entities_1.SchemaValidationErrorTypes.INVALID_FIELD_VALUE_TYPE, field.name, index);
return buildError(schema_entities_1.SchemaValidationErrorTypes.INVALID_FIELD_VALUE_TYPE, field.name, index, info);
}

@@ -322,0 +324,0 @@ return undefined;

{
"name": "@overturebio-stack/lectern-client",
"version": "1.3.0",
"version": "1.4.0",
"files": [

@@ -5,0 +5,0 @@ "lib/**/*"

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