Open augustogoncalves opened 5 years ago
I'm running into some issues related to vulnerabilities as well:
npm audit fix
resolves 8 of them (4 moderate, 4 high)npm audit fix --force
resolves additional 4, still leaving 4 vulnerabilities (1 low, 2 moderate, 1 high), but it breaks the webpack buildIn my opinion, this project is cluttered with many unnecessary dependencies that will only make the ongoing maintenance more difficult.
For example, consider the packages rmdir and rimraf - both are used in this project, both are doing pretty much the same thing, and unless you need any special permission handling, they can be implemented with a few lines of code using standard node.js modules.
Another example, node-zip, archiver, adm-zip (and perhaps even compression) packages that are also all used in this project.
This is not a good practice imho. And also, if I were looking for just a Forge/React/Redux boilerplate code, seeing all these dependencies (incl. things like jquery
or socket.io
?) would probably drive me away. So I guess the question is: is this boilerplate code useful to our customers? If so, we will need to scrub the dependencies that aren't needed, and fix the vulnerabilities in the remaining ones. It's probably doable, but it'll take a significant amount of effort.
agree that a template sample should be as simple as possible, without any unnecessary dependencies, so removing them is a good idea.
looking at the number of stars/forks, seems like somehow used...
thinking about it, would it make sense to have a react UI for the learnforge instead of having this repo as a separate sample? that would leave us with a common basic server-side. what do you think?
I like that idea 👍 taking the learnforge sample, leaving the server side as-is, and only adding a React-based frontend as an alternative to the jQuery/jTree one.
Known moderate severity security vulnerability detected in bootstrap >= 3.0.0, < 3.4.1 defined in package.json.
package.json update suggested: bootstrap ~> 3.4.1.