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

dryvjs

Package Overview
Dependencies
Maintainers
0
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dryvjs - npm Package Compare versions

Comparing version 1.0.0-pre-80-r to 1.0.0-pre-81

7

dist/DryvFieldValidator.js

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

import { DryvValidator } from './';
import { getMemberByPath } from './internal';
export class DryvFieldValidator extends DryvValidator {

@@ -51,9 +50,9 @@ constructor(model, session, parent, options, field) {

setValidationResult(response) {
var _a, _b;
var _a, _b, _c;
const messages = typeof (response === null || response === void 0 ? void 0 : response.success) === 'boolean' ? response.messages : response;
const message = getMemberByPath(messages, this.path);
const message = messages[this.path];
if (message && message.type !== 'success') {
this.text = (_a = message.text) !== null && _a !== void 0 ? _a : '';
this.group = (_b = message.group) !== null && _b !== void 0 ? _b : '';
this.type = message.type;
this.type = (_c = message.type) !== null && _c !== void 0 ? _c : null;
}

@@ -60,0 +59,0 @@ else {

{
"name": "dryvjs",
"version": "1.0.0-pre-80-r",
"version": "1.0.0-pre-81",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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