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

@shopify/react-form-state

Package Overview
Dependencies
Maintainers
13
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-form-state - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

4

dist/FormState.js

@@ -191,3 +191,5 @@ "use strict";

var field = fields[fieldPath];
var newValue = typeof value === 'function' ? value(field.value) : value;
var newValue = typeof value === 'function'
? value(field.value)
: value;
var dirty = !utilities_1.isEqual(newValue, field.initialValue);

@@ -194,0 +196,0 @@ var updatedField = _this.getUpdatedField({

{
"name": "@shopify/react-form-state",
"version": "0.10.1",
"version": "0.10.2",
"license": "MIT",

@@ -33,8 +33,8 @@ "description": "Manage react forms tersely and type-safe with no magic.",

"devDependencies": {
"@shopify/enzyme-utilities": "^2.0.1",
"@shopify/enzyme-utilities": "^2.0.2",
"@types/enzyme": "^3.1.10",
"faker": "^4.1.0",
"typescript": "~3.0.1"
"typescript": "~3.1.6"
},
"sideEffects": false
}

@@ -278,3 +278,6 @@ /* eslint-disable no-case-declarations */

const newValue = typeof value === 'function' ? value(field.value) : value;
const newValue =
typeof value === 'function'
? (value as ValueMapper<Fields[Key]>)(field.value)
: value;

@@ -281,0 +284,0 @@ const dirty = !isEqual(newValue, field.initialValue);

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