Comparing version 4.0.8 to 4.0.9
@@ -48,3 +48,4 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
latestDisabled = _forceAlignPropsRef$c.disabled, | ||
latestTarget = _forceAlignPropsRef$c.target; | ||
latestTarget = _forceAlignPropsRef$c.target, | ||
latestOnAlign = _forceAlignPropsRef$c.onAlign; | ||
@@ -71,4 +72,4 @@ if (!latestDisabled && latestTarget) { | ||
if (onAlign && result) { | ||
onAlign(source, result); | ||
if (latestOnAlign && result) { | ||
latestOnAlign(source, result); | ||
} | ||
@@ -75,0 +76,0 @@ |
@@ -69,3 +69,4 @@ "use strict"; | ||
latestDisabled = _forceAlignPropsRef$c.disabled, | ||
latestTarget = _forceAlignPropsRef$c.target; | ||
latestTarget = _forceAlignPropsRef$c.target, | ||
latestOnAlign = _forceAlignPropsRef$c.onAlign; | ||
@@ -92,4 +93,4 @@ if (!latestDisabled && latestTarget) { | ||
if (onAlign && result) { | ||
onAlign(source, result); | ||
if (latestOnAlign && result) { | ||
latestOnAlign(source, result); | ||
} | ||
@@ -96,0 +97,0 @@ |
{ | ||
"name": "rc-align", | ||
"version": "4.0.8", | ||
"version": "4.0.9", | ||
"description": "align ui component for react", | ||
@@ -38,4 +38,4 @@ "keywords": [ | ||
"peerDependencies": { | ||
"react": "*", | ||
"react-dom": "*" | ||
"react": ">=16.9.0", | ||
"react-dom": ">=16.9.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "dependencies": { |
@@ -7,3 +7,3 @@ # rc-align | ||
[![NPM version][npm-image]][npm-url] | ||
[![build status][travis-image]][travis-url] | ||
[![build status][github-actions-image]][github-actions-url] | ||
[![Codecov][codecov-image]][codecov-url] | ||
@@ -16,4 +16,4 @@ [![gemnasium deps][gemnasium-image]][gemnasium-url] | ||
[npm-url]: http://npmjs.org/package/rc-align | ||
[travis-image]: https://img.shields.io/travis/react-component/align.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/react-component/align | ||
[github-actions-image]: https://github.com/react-component/align/workflows/CI/badge.svg | ||
[github-actions-url]: https://github.com/react-component/align/actions | ||
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/align/master.svg?style=flat-square | ||
@@ -20,0 +20,0 @@ [codecov-url]: https://codecov.io/gh/react-component/align/branch/master |
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
29454
635