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

revalidate

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

revalidate - npm Package Compare versions

Comparing version

to
0.2.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## v0.2.1
* Fix import bug in `matchesField` validator.
## v0.2.0

@@ -2,0 +6,0 @@

6

lib/validators/matchesField.js

@@ -6,5 +6,5 @@ 'use strict';

var _get = require('lodash/get');
var _lodash = require('lodash.get');
var _get2 = _interopRequireDefault(_get);
var _lodash2 = _interopRequireDefault(_lodash);

@@ -20,3 +20,3 @@ var _createValidator = require('../createValidator');

return function (value, allValues) {
var otherValue = (0, _get2.default)(allValues, otherField);
var otherValue = (0, _lodash2.default)(allValues, otherField);

@@ -23,0 +23,0 @@ if (!allValues || value !== otherValue) {

{
"name": "revalidate",
"version": "0.2.0",
"version": "0.2.1",
"description": "Composable form value validations",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -1,2 +0,2 @@

import get from 'lodash/get';
import get from 'lodash.get';
import createValidator from '../createValidator';

@@ -3,0 +3,0 @@