Closed classicmike closed 11 months ago
Would it be possible to make localtunnel
an optionalDependancy, it appears to be abandoned and I don't believe that many users/developers require the capabilities it enables?
Note that you mean an optional peer dependency - optionalDependencies
is for dependencies that are OS dependent, so they'll still be installed by default if possible.
@G-Rath you are right, thanks for the clarification (to be honest I have only read about them and never used them in anger so...)
optional peer dependancies would work here - thanks to @G-Rath for correcting my understanding here
Note my fork of browsersync highlightsa lot of potential security issues (dependabot) but none that I haven't already addressed in my own repositories
In related news: Somebody has created a PR to patch the Axios package which can be found here: https://github.com/localtunnel/localtunnel/pull/633. I have sort of tried the upgrade and browser-sync doesn't seem to break. The only thing is that this PR hasn't been merged or doesn't seem to have a bump up to new version yet.
@classicmike I don't think localtunnel is actively being maintained :(
Hello there..
Browser-sync - package has AXIOS vulnerability; is that addressed in the upcoming release? Link - Axios Vulnerability Report
yeah it's time to drop localtunnel, I'll do a 3.0 with it moved
Thankyou - I was about to make my own patched version of localtunnel (just planning on how I'd deploy it to npm) and then use overrides
to swap it out
Yeah I was considering other ways, but since I assume this has very low usage I'd rather just prune the dep altogether. 👍🏻
Thanks @shakyShane for the bump! :)
For anyone wanting to still use localtunnel
I have created a patched version and pushed it to npmjs
If you want to use it as a direct replacement for localtunnel
and still use the --tunnel
switch with browser-sync then you can add the following to your devDependancies
"devDependencies" : {
...,
"localtunnel": "https://registry.npmjs.org/@security-patched/localtunnel/-/localtunnel-2.0.2-secpatched.3.tgz",
...,
}
Issue details
Just ran an
npm audit
and it's listing a couple of vulnerabilities related to Browsersync and its dependencies, namelylocaltunnel
which depends on a version ofaxios
which has apparently got some vulerabilities.Here is the link the the vulnerability report: Axios Vulnerability Report
Axios had a fix which updated in the last few days.
Normally, this would be a straight forward task by upgrading
localtunnel
, which if it is still actively maintained would've got a version to fix. However it doesn't seem like it's being actively maintained.A few questions:
Thanks.
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
If CLI, please paste the entire command below
npm audit or npm audit --fix