Skip to content

Commit

Permalink
Minor version bump, Security fix
Browse files Browse the repository at this point in the history
- corrects advisories 55 & 532

moment/moment#4163
moment/moment#4326

Update package.json and readme with this repo.
  • Loading branch information
justbill2020 committed Feb 8, 2021
1 parent bcd8305 commit b94fdb0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
12 changes: 9 additions & 3 deletions README.md
Expand Up @@ -5,7 +5,7 @@
---

## Synopsis
This is a Moment.js plugin that allows the use of timers, which offer much more control than the native JavaScript timers. It's basically a rewrite of JavaScripts own setInterval and setTimeout. For an example, see the example folder or read the Usage section below.
This is a Moment.js plugin that allows the use of timers originally written by @SeverinDK, which offer much more control than the native JavaScript timers. It's basically a rewrite of JavaScripts own setInterval and setTimeout. For an example, see the example folder or read the Usage section below. The repo is not longer maintained therefore I have forked his repo and am maintaining this plug-in for my own use. I also will be offering to continue maintaining in the main repo if @SeverinDK would like.

---

Expand Down Expand Up @@ -149,6 +149,9 @@ Feel free to [open a new issue](https://github.com/SeverinDK/moment-timer/issues
---
## Changelog
#### v1.3.1
Added nodejs example and increased minimum version of moment. See https://github.com/SeverinDK/moment-timer/issues/26
#### v1.3.0
Fixed issue where .stop() would not stop the timer. See https://github.com/SeverinDK/moment-timer/issues/20
#### v1.2.3
Expand Down Expand Up @@ -181,13 +184,16 @@ Initial Release.
You are always welcome to contribute to this repository. Create your own branch, make the changes you wish to see and create a pull request that we can have a look at. If the changes make sense and the quality of code is good enough, then it will be merged into the master branch so other people can use it.
A full list of contributers for moment-timer.js can be found [here.](https://github.com/SeverinDK/moment-timer/graphs/contributors)
A full list of contributers for moment-timer.js prior to v1.3.1 can be found [here.](https://github.com/SeverinDK/moment-timer/graphs/contributors)
A list of contributers for moment-timer.js after v1.3.1 can be found [here.](https://github.com/justbill2020/moment-timer/graphs/contributors)
---
## License
Moment-timer.js is freely distributable under the terms of the [MIT license](https://github.com/SeverinDK/moment-timer/blob/master/LICENSE).
Moment-timer.js is freely distributable under the terms of the [MIT license](https://github.com/justbill2020/moment-timer/blob/main/LICENSE).
---
Expand Down
11 changes: 6 additions & 5 deletions package.json
@@ -1,17 +1,18 @@
{
"name": "moment-timer",
"version": "1.3.0",
"version": "1.3.1",
"description": "A moment.js plugin for timers setInterval & setTimeout.",
"main": "lib/moment-timer.js",
"repository": {
"type": "git",
"url": "https://github.com/SeverinDK/moment-timer"
"url": "https://github.com/justbill2020/moment-timer"
},
"dependencies": {
"moment": ">= 1.6.0"
"moment": ">= 2.19.3"
},
"authors": [
"Søren Ernst <some12thing@gmail.com>"
"Søren Ernst <some12thing@gmail.com> {No Longer Maintained}",
"Bill Martin <justbill2020@gmail.com>"
],
"keywords": [
"setInterval",
Expand All @@ -23,6 +24,6 @@
],
"license": "MIT",
"bugs": {
"url": "https://github.com/SeverinDK/moment-timer/issues"
"url": "https://github.com/justbill2020/moment-timer/issues"
}
}

0 comments on commit b94fdb0

Please sign in to comment.