You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
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

to
1.0.0-pre-69

3

dist/DryvObjectValidator.js

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

import { createValidator, isDryvArrayValidator, isDryvObjectValidator, isDryvFieldValidator } from './';
import { dryvEditingObject, dryvValidationObject, observableObjectProxy } from './internal';
import { annotateValidator, dryvEditingObject, dryvValidationObject, observableObjectProxy } from './internal';
import { DryvComplexValidator } from './DryvComplexValidator';

@@ -60,2 +60,3 @@ export class DryvObjectValidator extends DryvComplexValidator {

this.updateHierarchy(true);
annotateValidator(this, this.session.ruleSet);
return proxy;

@@ -62,0 +63,0 @@ }

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

switch (this.options.validationTrigger) {
case 'off':
return false;
case 'auto':

@@ -89,0 +87,0 @@ break;

export class DryvEditingFieldProxyHandler {
get(target, prop) {
var _a;
if (prop === "$dryv") {
if (prop === '$dryv') {
return target;
}
const value = Reflect.get(target, prop);
return target.referenceField &&
target.reference &&
!target.hasOwnProperty(prop)
return target.referenceField && target.reference && !target.hasOwnProperty(prop)
? (_a = target.reference[prop]) !== null && _a !== void 0 ? _a : value

@@ -12,0 +10,0 @@ : value;

{
"name": "dryvjs",
"version": "1.0.0-pre-68",
"version": "1.0.0-pre-69",
"main": "dist/index.js",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet