-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recently added "fs" module to read config.json is not defined. #135
Comments
Thanks, not sure how i missed that, i guess that's what i get for gracefully handling errors during my tests. |
billchurch
added a commit
that referenced
this issue
Jun 13, 2019
…s/135) - Missing require('fs') in `server/app.js` See issue [#135](../../issues/135) - Patched read-config to mitigate vulnerability in js-yaml - issue not exploitable on webssh2 implementation - patched anyway - sending my patch upstream to read-config, webssh2 package.json points to patched version in my repository https://github.com/billchurch/nodejs-read-config - See nodeca/js-yaml#475 for more detail
hktalent
pushed a commit
to hktalent/webssh2
that referenced
this issue
Jun 3, 2022
that was embarassing... fixes billchurch#135
hktalent
pushed a commit
to hktalent/webssh2
that referenced
this issue
Jun 3, 2022
…./..billchurch/issues/135) - Missing require('fs') in `server/app.js` See issue [billchurch#135](../..billchurch/issues/135) - Patched read-config to mitigate vulnerability in js-yaml - issue not exploitable on webssh2 implementation - patched anyway - sending my patch upstream to read-config, webssh2 package.json points to patched version in my repository https://github.com/billchurch/nodejs-read-config - See nodeca/js-yaml#475 for more detail
hktalent
pushed a commit
to hktalent/webssh2
that referenced
this issue
Jun 3, 2022
that was embarassing... fixes billchurch#135
hktalent
pushed a commit
to hktalent/webssh2
that referenced
this issue
Jun 3, 2022
…./..billchurch/issues/135) - Missing require('fs') in `server/app.js` See issue [billchurch#135](../..billchurch/issues/135) - Patched read-config to mitigate vulnerability in js-yaml - issue not exploitable on webssh2 implementation - patched anyway - sending my patch upstream to read-config, webssh2 package.json points to patched version in my repository https://github.com/billchurch/nodejs-read-config - See nodeca/js-yaml#475 for more detail
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like the fs module needs to be 'require'-ed in server/app.js. Otherwise it fails to read the config and says "fs is not defined"
The text was updated successfully, but these errors were encountered: