Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-swipeable

Package Overview
Dependencies
Maintainers
31
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-swipeable - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# v6.1.1
* Maintenance
* dependabot security updates
* Migrate to github actions, remove travis, update badges
* Update examples and provide link via codesandbox
# v6.1.0

@@ -2,0 +8,0 @@ * Add new event handler prop `onSwipeStart`

9

package.json
{
"name": "react-swipeable",
"version": "6.1.0",
"version": "6.1.1",
"description": "React Swipe event handler hook",

@@ -17,4 +17,5 @@ "main": "./dist/react-swipeable.js",

"build": "microbundle --no-compress --name swipeable --output dist",
"build:examples": "webpack -p --config ./examples/webpack.config.min.js",
"build:examples": "cd ./examples && yarn && yarn build",
"build:publish:examples": "yarn run build:examples && rimraf examples/node_modules && gh-pages -d examples",
"check:ci": "yarn run prettier && yarn run lint && yarn run test:unit",
"clean": "rimraf dist",

@@ -27,4 +28,5 @@ "prettier": "prettier --check src __tests__",

"pretest": "yarn run prettier && yarn run lint",
"preversion": "yarn test",
"size": "size-limit",
"start:examples": "cd ./examples && webpack-dev-server",
"start:examples": "cd ./examples && yarn && yarn start",
"test": "yarn run test:unit && yarn run build && yarn run size",

@@ -93,3 +95,2 @@ "test:unit": "jest",

"react-dom": "^17.0.1",
"react-scroll-up": "^1.3.3",
"rimraf": "^3.0.2",

@@ -96,0 +97,0 @@ "rollup": "^1.1.2",

@@ -5,7 +5,7 @@ # React Swipeable

[![build status](https://img.shields.io/travis/FormidableLabs/react-swipeable/master.svg?style=flat-square)](https://travis-ci.org/FormidableLabs/react-swipeable) [![Coverage Status](https://img.shields.io/coveralls/FormidableLabs/react-swipeable/master.svg?style=flat-square)](https://coveralls.io/github/FormidableLabs/react-swipeable?branch=master) [![npm version](https://img.shields.io/npm/v/react-swipeable.svg?style=flat-square)](https://www.npmjs.com/package/react-swipeable) [![npm downloads](https://img.shields.io/npm/dm/react-swipeable.svg?style=flat-square)](https://www.npmjs.com/package/react-swipeable) [![gzip size](https://flat.badgen.net/bundlephobia/minzip/react-swipeable)](https://bundlephobia.com/result?p=react-swipeable)
[![npm downloads](https://img.shields.io/npm/dm/react-swipeable.svg)](https://www.npmjs.com/package/react-swipeable) [![npm version](https://img.shields.io/npm/v/react-swipeable.svg)](https://www.npmjs.com/package/react-swipeable) [![build status](https://github.com/FormidableLabs/victory/actions/workflows/ci.yml/badge.svg)](https://travis-ci.org/FormidableLabs/react-swipeable) [![Coverage Status](https://img.shields.io/coveralls/FormidableLabs/react-swipeable/main.svg)](https://coveralls.io/github/FormidableLabs/react-swipeable?branch=main) [![gzip size](https://badgen.net/bundlephobia/minzip/react-swipeable)](https://bundlephobia.com/result?p=react-swipeable) [![maintenance status](https://img.shields.io/badge/maintenance-active-green.svg)](https://github.com/FormidableLabs/react-swipeable#maintenance-status)
[![Edit react-swipeable image carousel](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-swipeable-image-carousel-hben8?file=/src/Carousel.js)
[![Edit react-swipeable image carousel](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/FormidableLabs/react-swipeable/tree/main/examples?file=/app/SimpleCarousel/Carousel.tsx)
[Github Pages Demo](http://formidablelabs.github.io/react-swipeable/)
### [Github Pages Demo](http://formidablelabs.github.io/react-swipeable/)

@@ -179,21 +179,15 @@ ### Api

## Local Development
## License
Initial install & setup, with **node 10+** & **yarn v1**, run `yarn`.
[MIT]((./LICENSE))
Make changes/updates to the `src/index.ts` file.
## Contributing
**_Please add/update tests if PR adds/changes functionality._**
Please see our [contributions guide](./CONTRIBUTING.md).
#### Verify updates with the examples
### Maintainers
[Project Maintenance](./CONTRIBUTING.md#project-maintainers)
Build, run, and test examples locally:
`yarn run start:examples`
## Maintenance Status
After the server starts you can then view the examples page with your changes at `http://localhost:3000`.
You can now make updates/changes to `src/index.ts` and webpack will rebuild, then reload the page so you can test your changes!
## License
MIT
**Active:** Formidable is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.
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