react-swipeable-list
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -22,2 +22,6 @@ 'use strict'; | ||
return React__default["default"].Children.map(children, function (child, index) { | ||
if (! /*#__PURE__*/React__default["default"].isValidElement(child)) { | ||
return child; | ||
} | ||
return /*#__PURE__*/React__default["default"].cloneElement(child, { | ||
@@ -1170,2 +1174,6 @@ leading: true, | ||
return React__default["default"].Children.map(children, function (child, index) { | ||
if (! /*#__PURE__*/React__default["default"].isValidElement(child)) { | ||
return child; | ||
} | ||
return /*#__PURE__*/React__default["default"].cloneElement(child, { | ||
@@ -1172,0 +1180,0 @@ main: index === children.length - 1, |
@@ -13,2 +13,6 @@ import React, { PureComponent } from 'react'; | ||
return React.Children.map(children, function (child, index) { | ||
if (! /*#__PURE__*/React.isValidElement(child)) { | ||
return child; | ||
} | ||
return /*#__PURE__*/React.cloneElement(child, { | ||
@@ -1161,2 +1165,6 @@ leading: true, | ||
return React.Children.map(children, function (child, index) { | ||
if (! /*#__PURE__*/React.isValidElement(child)) { | ||
return child; | ||
} | ||
return /*#__PURE__*/React.cloneElement(child, { | ||
@@ -1163,0 +1171,0 @@ main: index === children.length - 1, |
@@ -21,2 +21,6 @@ (function (global, factory) { | ||
return React__default["default"].Children.map(children, function (child, index) { | ||
if (! /*#__PURE__*/React__default["default"].isValidElement(child)) { | ||
return child; | ||
} | ||
return /*#__PURE__*/React__default["default"].cloneElement(child, { | ||
@@ -1169,2 +1173,6 @@ leading: true, | ||
return React__default["default"].Children.map(children, function (child, index) { | ||
if (! /*#__PURE__*/React__default["default"].isValidElement(child)) { | ||
return child; | ||
} | ||
return /*#__PURE__*/React__default["default"].cloneElement(child, { | ||
@@ -1171,0 +1179,0 @@ main: index === children.length - 1, |
{ | ||
"name": "react-swipeable-list", | ||
"description": "Swipeable list component for React", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Marek Rozmus", |
@@ -16,2 +16,7 @@ <h1 align="center">react-swipeable-list</h1> | ||
You like it? | ||
[Buy me a coffee :)](https://www.buymeacoffee.com/froostrat) or a 🍺 | ||
<hr /> | ||
[![Actions Status](https://github.com/marekrozmus/react-swipeable-list/workflows/Node.js%20CI/badge.svg)](https://github.com/marekrozmus/react-swipeable-list/actions) | ||
@@ -23,3 +28,3 @@ [![codecov](https://codecov.io/gh/marekrozmus/react-swipeable-list/branch/main/graph/badge.svg?token=8P4356I2J0)](https://codecov.io/gh/marekrozmus/react-swipeable-list) | ||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-) | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-) | ||
<!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
@@ -288,10 +293,13 @@ <!-- prettier-ignore-end --> | ||
<tr> | ||
<td align="center"><a href="https://marek-rozmus.medium.com/"><img src="https://avatars.githubusercontent.com/u/26272040?v=4?s=100" width="100px;" alt="Marek Rozmus"/><br /><sub><b>Marek Rozmus</b></sub></a><br /><a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=marekrozmus" title="Code">💻</a> <a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=marekrozmus" title="Documentation">📖</a> <a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=marekrozmus" title="Tests">⚠️</a> <a href="#example-marekrozmus" title="Examples">💡</a> <a href="#ideas-marekrozmus" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-marekrozmus" title="Maintenance">🚧</a> <a href="#design-marekrozmus" title="Design">🎨</a></td> | ||
<td align="center"><a href="https://adamlaycock.ca"><img src="https://avatars.githubusercontent.com/u/894797?v=4?s=100" width="100px;" alt="Adam Laycock"/><br /><sub><b>Adam Laycock</b></sub></a><br /><a href="https://github.com/marekrozmus/react-swipeable-list/issues?q=author%3Aalaycock" title="Bug reports">🐛</a></td> | ||
<td align="center"><a href="https://www.rathes.me"><img src="https://avatars.githubusercontent.com/u/6367520?v=4?s=100" width="100px;" alt="Rathes Sachchithananthan"/><br /><sub><b>Rathes Sachchithananthan</b></sub></a><br /><a href="#ideas-rathesDot" title="Ideas, Planning, & Feedback">🤔</a></td> | ||
<td align="center"><a href="https://nielssegers.be"><img src="https://avatars.githubusercontent.com/u/10974647?v=4?s=100" width="100px;" alt="Niels"/><br /><sub><b>Niels</b></sub></a><br /><a href="#ideas-segersniels" title="Ideas, Planning, & Feedback">🤔</a></td> | ||
<td align="center"><a href="https://github.com/harrisgca"><img src="https://avatars.githubusercontent.com/u/5953554?v=4?s=100" width="100px;" alt="Glenn Harris"/><br /><sub><b>Glenn Harris</b></sub></a><br /><a href="#maintenance-harrisgca" title="Maintenance">🚧</a></td> | ||
<td align="center"><a href="https://github.com/v-zdorovcev"><img src="https://avatars.githubusercontent.com/u/72477415?v=4?s=100" width="100px;" alt="Zdorovtsev Viktor"/><br /><sub><b>Zdorovtsev Viktor</b></sub></a><br /><a href="#ideas-v-zdorovcev" title="Ideas, Planning, & Feedback">🤔</a></td> | ||
<td align="center"><a href="https://github.com/elmesaoudee"><img src="https://avatars.githubusercontent.com/u/18504843?v=4?s=100" width="100px;" alt="Zakaria EL Mesaoudi"/><br /><sub><b>Zakaria EL Mesaoudi</b></sub></a><br /><a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=elmesaoudee" title="Code">💻</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://marek-rozmus.medium.com/"><img src="https://avatars.githubusercontent.com/u/26272040?v=4?s=100" width="100px;" alt="Marek Rozmus"/><br /><sub><b>Marek Rozmus</b></sub></a><br /><a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=marekrozmus" title="Code">💻</a> <a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=marekrozmus" title="Documentation">📖</a> <a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=marekrozmus" title="Tests">⚠️</a> <a href="#example-marekrozmus" title="Examples">💡</a> <a href="#ideas-marekrozmus" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-marekrozmus" title="Maintenance">🚧</a> <a href="#design-marekrozmus" title="Design">🎨</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://adamlaycock.ca"><img src="https://avatars.githubusercontent.com/u/894797?v=4?s=100" width="100px;" alt="Adam Laycock"/><br /><sub><b>Adam Laycock</b></sub></a><br /><a href="https://github.com/marekrozmus/react-swipeable-list/issues?q=author%3Aalaycock" title="Bug reports">🐛</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://www.rathes.me"><img src="https://avatars.githubusercontent.com/u/6367520?v=4?s=100" width="100px;" alt="Rathes Sachchithananthan"/><br /><sub><b>Rathes Sachchithananthan</b></sub></a><br /><a href="#ideas-rathesDot" title="Ideas, Planning, & Feedback">🤔</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://nielssegers.be"><img src="https://avatars.githubusercontent.com/u/10974647?v=4?s=100" width="100px;" alt="Niels"/><br /><sub><b>Niels</b></sub></a><br /><a href="#ideas-segersniels" title="Ideas, Planning, & Feedback">🤔</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/harrisgca"><img src="https://avatars.githubusercontent.com/u/5953554?v=4?s=100" width="100px;" alt="Glenn Harris"/><br /><sub><b>Glenn Harris</b></sub></a><br /><a href="#maintenance-harrisgca" title="Maintenance">🚧</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/v-zdorovcev"><img src="https://avatars.githubusercontent.com/u/72477415?v=4?s=100" width="100px;" alt="Zdorovtsev Viktor"/><br /><sub><b>Zdorovtsev Viktor</b></sub></a><br /><a href="#ideas-v-zdorovcev" title="Ideas, Planning, & Feedback">🤔</a></td> | ||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/elmesaoudee"><img src="https://avatars.githubusercontent.com/u/18504843?v=4?s=100" width="100px;" alt="Zakaria EL Mesaoudi"/><br /><sub><b>Zakaria EL Mesaoudi</b></sub></a><br /><a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=elmesaoudee" title="Code">💻</a></td> | ||
</tr> | ||
<tr> | ||
<td align="center" valign="top" width="14.28%"><a href="https://aron.codes"><img src="https://avatars.githubusercontent.com/u/7697?v=4?s=100" width="100px;" alt="Aron Rotteveel"/><br /><sub><b>Aron Rotteveel</b></sub></a><br /><a href="https://github.com/marekrozmus/react-swipeable-list/commits?author=ArondeParon" title="Code">💻</a></td> | ||
</tr> | ||
</tbody> | ||
@@ -298,0 +306,0 @@ </table> |
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
148136
3336
311