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

react-validatables

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-validatables - npm Package Compare versions

Comparing version 1.0.0-alpha.6 to 1.0.0-alpha.7

lib/validation-checkers/always.d.ts

2

lib/index.d.ts

@@ -7,3 +7,3 @@ export * from './consts/exports';

export * from './validator/exports';
export * from './validators/exports';
export * from './validation-checkers/exports';
//# sourceMappingURL=index.d.ts.map

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

__exportStar(require("./validator/exports"), exports);
__exportStar(require("./validators/exports"), exports);
__exportStar(require("./validation-checkers/exports"), exports);
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.change = void 0;
const check_all_of_1 = require("../../validators/generic/logical/check-all-of");
const check_all_of_1 = require("../../validation-checkers/generic/logical/check-all-of");
/** Runs the specified transform function on the value and then calls the specified checker on the transformed value */

@@ -6,0 +6,0 @@ const change = (transform, checker) => (value, args) => (0, check_all_of_1.checkValidity)(checker, transform(value), args);

@@ -6,4 +6,4 @@ "use strict";

const default_validation_error_1 = require("../../consts/default-validation-error");
const always_1 = require("../../validators/always");
const check_all_of_1 = require("../../validators/generic/logical/check-all-of");
const always_1 = require("../../validation-checkers/always");
const check_all_of_1 = require("../../validation-checkers/generic/logical/check-all-of");
/** Results in "validity" for `null` or any value that satisfies the specified checker */

@@ -10,0 +10,0 @@ const allowNull = (checker = always_1.alwaysValid) => (value, args) => value === null ? basic_validation_results_1.validState : (0, check_all_of_1.checkValidity)(checker, value, args);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.selectValue = void 0;
const check_all_of_1 = require("../../validators/generic/logical/check-all-of");
const check_all_of_1 = require("../../validation-checkers/generic/logical/check-all-of");
/** Selects a different value to continue validation with */

@@ -6,0 +6,0 @@ const selectValue = (selectedValue, checker) => (_value, args) => (0, check_all_of_1.checkValidity)(checker, selectedValue, args);

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

const array_like_1 = require("../internal-utils/array-like");
const check_all_of_1 = require("../validators/generic/logical/check-all-of");
const check_all_of_1 = require("../validation-checkers/generic/logical/check-all-of");
const are_any_bindings_falsey_1 = require("./internal/are-any-bindings-falsey");

@@ -21,0 +21,0 @@ const are_any_bindings_truthy_1 = require("./internal/are-any-bindings-truthy");

@@ -6,3 +6,3 @@ import { InferBindingValueTypes } from 'react-bindings';

import type { ValidationResult } from '../validator/types/validation-result';
import { Validator } from '../validator/types/validator';
import type { Validator } from '../validator/types/validator';
export interface FinalizeValidationOptions<FieldBindingsT extends MutableBindingDependencies = Record<string, never>, AdditionalDependenciesT extends WaitableDependencies = Record<string, never>> {

@@ -9,0 +9,0 @@ /** Bindings that, when unmodfied, cause validators to be disabled. Usually individual field bindings. */

{
"name": "react-validatables",
"version": "1.0.0-alpha.6",
"version": "1.0.0-alpha.7",
"description": "Validation tools for React built on react-waitables",

@@ -5,0 +5,0 @@ "keywords": [

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

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

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

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