@smakss/react-scroll-direction 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Readme.md +3 -1
  2. package/package.json +2 -2
package/Readme.md CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  ![npm](https://img.shields.io/npm/v/@smakss/react-scroll-direction) ![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/@smakss/react-scroll-direction) ![NPM](https://img.shields.io/npm/l/@smakss/react-scroll-direction) ![npm](https://img.shields.io/npm/dt/@smakss/react-scroll-direction) ![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@smakss/react-scroll-direction)
4
4
 
5
- This is a custom hook for react which is useful to detect scroll direction in react applications with a efficient way and custom threshold.
5
+ This is a custom hook for react which is useful to detect scroll direction in React applications in an efficient way with a custom threshold.
6
+
7
+ This package is created on behalf of a [StackOverflow answer](https://stackoverflow.com/a/62497293/11908502) which draws some attention to itself, so if someone just wants something to work with right away, they can access it easily here.
6
8
 
7
9
  ## How it works?
8
10
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "description": "Detect scroll direction in react applications.",
7
7
  "devDependencies": {
8
- "@rollup/plugin-commonjs": "^23.0.2",
8
+ "@rollup/plugin-commonjs": "^24.0.0",
9
9
  "@rollup/plugin-node-resolve": "^15.0.1",
10
10
  "prop-types": "^15.8.1",
11
11
  "rollup": "^3.2.3"
@@ -46,5 +46,5 @@
46
46
  "generate": "rollup -c"
47
47
  },
48
48
  "type": "module",
49
- "version": "1.0.0"
49
+ "version": "1.0.2"
50
50
  }