question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Deps: replace "forever" to get rid of "timespan" security warning?

See original GitHub issue

openwhyd.org is an open-source music platform used daily by thousands of users to create playlists of songs from the web (Youtube, Soundcloud, etcā€¦), and discover musical gems from similar users.

Tech stack: Node.js, MongoDB, Docker, Mocka, Webdriver.io, jQuery, Electron + iOS app


Goal

We have been using forever to run Openwhyd on our production server, and restart it automatically when it ever crashes.

The problem is that this npm module is not maintained anymore, and it depends on other npm modules on which security vulnerabilities were detected. (cf https://github.com/foreverjs/forever/pull/956)

=> Your PR should replace the forever dependency (from package.json) by one of its forks (or another similar npm module) that donā€™t rely on unsafe dependencies.


Howto

In order to solve this issue, you are invited to fork this GitHub repository, makes changes to it, and then create a Pull Request so we can merge your changes back to this repository.

First, you may want to read about:

  • How to install, setup and run Openwhyd on your computer: INSTALL.md
  • How to propose a valuable contribution to this repo: CONTRIBUTING.md

I will be happy to assist you at any stage, if you want to try to solve this issue! If you have any question, just leave a comment below. Beginners are also welcome! šŸ¤—

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

2reactions
uLan08commented, Oct 11, 2018

Maybe you could put in some non js code and you should get some syntax error or insert process.exit(1) somewhere in the code.

1reaction
Brawrdoncommented, Oct 15, 2018

Iā€™ll look to work on this soon! Got a busy week ahead of me šŸ˜

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add --skipIgnoreFile argument by ww9 Ā· Pull Request #1025 ...
This patch adds a --skipIgnoreFile command-line argument to skip trying to read .foreverignore file and thus generating no error: forever --skipIgnoreFileĀ ...
Read more >
forever | Yarn - Package Manager
Version npm npm Downloads Build Status Dependencies Inline docs. NPM. A simple CLI tool for ensuring that a given script runs continuously (i.e....
Read more >
SharePoint Online: Change Idle Session Timeout Settings
To enable idle session timeout in SharePoint Online, follow these steps: Login to SharePoint Online Admin Center; Click on ā€œPoliciesā€ >> AccessĀ ...
Read more >
Deps and CLI Reference - Clojure
Command line tools ( clojure and clj ) that enable users to make use of this capability at the terminal to declare dependencies,...
Read more >
Parent and Educator Resource Guide to Section 504 in Public ...
To facilitate efforts to eliminate discrimination against students with disabilities, OCR offers this resource guide to provide answers toĀ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found