react-ui-validations
Advanced tools
Comparing version
@@ -14,3 +14,2 @@ 'use strict'; | ||
/* eslint-disable import/no-dynamic-require, prefer-template */ | ||
// $FlowFixMe we use define plugin | ||
function localInteropDefault(obj) { | ||
@@ -21,2 +20,3 @@ // $FlowFixMe default is a same module | ||
// $FlowFixMe we use define plugin | ||
var DatePicker = localInteropDefault(require("retail-ui/components/DatePicker")); | ||
@@ -726,3 +726,3 @@ // $FlowFixMe we use define plugin | ||
case 5: | ||
if (typeof this.child.focus === "function") { | ||
if (this.child != null && typeof this.child.focus === "function") { | ||
this.child.focus(); | ||
@@ -729,0 +729,0 @@ } |
{ | ||
"name": "react-ui-validations", | ||
"version": "0.2.14-alpha10", | ||
"version": "0.2.14-alpha11", | ||
"description": "Validations for retail-ui", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
85470
81.59%13
333.33%1974
89.81%1
-50%51
Infinity%0
-100%3
200%