react-stepzilla
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -74,3 +74,3 @@ "use strict"; | ||
// if HOCValidation is used for the step then mark it as "requires to be validated. i.e. false" | ||
i.validated = typeof i.component.type === 'undefined' || typeof i.component.type.prototype.isValidated === 'undefined' && !_this2.isStepAtIndexHOCValidationBased(idx) ? true : false; | ||
i.validated = i.component.type && i.component.type.prototype && i.component.type.prototype.isValidated && _this2.isStepAtIndexHOCValidationBased(idx) ? false : true; | ||
} | ||
@@ -77,0 +77,0 @@ |
@@ -74,3 +74,3 @@ "use strict"; | ||
// if HOCValidation is used for the step then mark it as "requires to be validated. i.e. false" | ||
i.validated = typeof i.component.type === 'undefined' || typeof i.component.type.prototype.isValidated === 'undefined' && !_this2.isStepAtIndexHOCValidationBased(idx) ? true : false; | ||
i.validated = i.component.type && i.component.type.prototype && i.component.type.prototype.isValidated && _this2.isStepAtIndexHOCValidationBased(idx) ? false : true; | ||
} | ||
@@ -77,0 +77,0 @@ |
{ | ||
"name": "react-stepzilla", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "A react multi-step, wizard component for managing data collection via forms and sub components", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main.js", |
@@ -6,2 +6,3 @@ # react stepzilla [![npm version](https://badge.fury.io/js/react-stepzilla.svg)](https://badge.fury.io/js/react-stepzilla) | ||
``` | ||
v6.0.0: dev tools updated to latest versions for security and stability (webpack, gulp, babel, node env) | ||
v5.0.0: ported to react and react-dom 16.4.1. Redux demo implementation (finally!) | ||
@@ -8,0 +9,0 @@ v4.8.0: multiple examples. includes a cool demo of i18n - Internationalization and localization (tnx @tomtoxx) |
@@ -32,5 +32,3 @@ import React, { Component } from 'react'; | ||
// if HOCValidation is used for the step then mark it as "requires to be validated. i.e. false" | ||
i.validated = (typeof i.component.type === 'undefined' | ||
|| (typeof i.component.type.prototype.isValidated === 'undefined' | ||
&& !this.isStepAtIndexHOCValidationBased(idx))) ? true : false; | ||
i.validated = i.component.type && i.component.type.prototype && i.component.type.prototype.isValidated && this.isStepAtIndexHOCValidationBased(idx) ? false : true; | ||
} | ||
@@ -37,0 +35,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
3426968
44
27349
190
0