Socket
Socket
Sign inDemoInstall

jason-react-form

Package Overview
Dependencies
Maintainers
11
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jason-react-form - npm Package Compare versions

Comparing version 3.4.0 to 3.5.0

build/precache-manifest.a6bc270ccdd9e44084f390e1ee7cb284.js

2

build/asset-manifest.json
{
"main.js": "/static/js/main.js",
"index.html": "/index.html",
"precache-manifest.755c030512739e94e3e291cacd4f84ec.js": "/precache-manifest.755c030512739e94e3e291cacd4f84ec.js",
"precache-manifest.a6bc270ccdd9e44084f390e1ee7cb284.js": "/precache-manifest.a6bc270ccdd9e44084f390e1ee7cb284.js",
"service-worker.js": "/service-worker.js"
}

@@ -17,3 +17,3 @@ /**

importScripts(
"/precache-manifest.755c030512739e94e3e291cacd4f84ec.js"
"/precache-manifest.a6bc270ccdd9e44084f390e1ee7cb284.js"
);

@@ -20,0 +20,0 @@

{
"name": "jason-react-form",
"version": "3.4.0",
"version": "3.5.0",
"main": "build/static/js/main.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -141,3 +141,3 @@ import React from 'react';

expect(errorCallback).toHaveBeenCalledWith({ ...component.instance().state, error: { data: {} } });
expect(component.instance().onZipcodeError).toHaveBeenCalledWith('04707060');
expect(component.instance().onZipcodeError).toHaveBeenCalled();
});

@@ -144,0 +144,0 @@ });

@@ -97,3 +97,3 @@ import axios from 'axios';

} catch (error) {
this.onZipcodeError(zipcode);
this.onZipcodeError();

@@ -118,6 +118,9 @@ errorCallback({ ...this.state, error });

onZipcodeError() {
const { value, zipcodeInvalid } = this.state;
this.setState({ fullAddress: '', fetching: false, zipcodeInvalid: true });
this.props.onFieldBlur({ ...this.props, fetchCompleted: false, value: zipcodeInvalid ? '' : value });
this.props.onFieldBlur({
...this.props,
fetchCompleted: false,
value: '',
});
}

@@ -124,0 +127,0 @@

Sorry, the diff of this file is too big to display

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