Skip to content

Commit 6d67c6c

Browse files
committed
Bump version 4.2.1
1 parent 0b24262 commit 6d67c6c

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## master (unreleased)
22

3+
## 4.2.1
4+
5+
- Prevent error when clicking a link to an anchor that does not exist. Thanks to @SBRK contribution
6+
37
## 4.2.0
48

59
- Implemented animation using `requestAnimationFrame`. Thanks to @kambing86 PR

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ _afterAnimate = () => {
167167
### contributors
168168
* Jean Chung <> [@jeanchung](https://github.com/jeanchung)
169169
* Chua Kang Ming <> [@kambing86](https://github.com/kambing86)
170+
* Benjamin MICHEL <> [@SBRK](https://github.com/SBRK)
170171
171172
## Contributing
172173

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scrollchor",
3-
"version": "4.2.0",
3+
"version": "4.2.1",
44
"description": "A React component for scroll to #hash links with smooth animations",
55
"files": [
66
"lib"
@@ -33,6 +33,9 @@
3333
"react": ">=15.0.0",
3434
"fbjs": "*"
3535
},
36+
"dependencies": {
37+
"requestanimationframe-timer": "^1.0.2"
38+
},
3639
"devDependencies": {
3740
"babel-cli": "6.x.x",
3841
"babel-eslint": "7.x.x",
@@ -54,8 +57,5 @@
5457
"parser": "babel-eslint"
5558
},
5659
"author": "bySabi Files",
57-
"license": "ISC",
58-
"dependencies": {
59-
"requestanimationframe-timer": "^1.0.2"
60-
}
60+
"license": "ISC"
6161
}

0 commit comments

Comments
 (0)