You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
I'm using the current version 0.8.1 of tplink-cloud-api.
Further information:
$ node -v
v14.18.2
$ npm -v
8.3.0
Running npm audit shows me a warning because of 2 high severity vulnerabilities:
$ npm audit
# npm audit report
axios <=0.21.1
Severity: high
Incorrect Comparison in axios - https://github.com/advisories/GHSA-cph5-m8f7-6c5x
Server-Side Request Forgery in Axios - https://github.com/advisories/GHSA-4w2v-q235-vp99
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/axios
tplink-cloud-api >=0.2.0
Depends on vulnerable versions of axios
node_modules/tplink-cloud-api
2 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Obviously I won't run npm audit fix --force because I don't want to downgrade tplink-cloud-api to 0.1.4.
I too ran into this problem today while exploring this useful library. I lifted the login and switch code and was able to get things working directly in my app using native fetch(). @adumont if you are interested, I could look into replacing axios for fetch in a PR.
Hi, sure I would welcome that happily. Unfortunately I don't have time now
to maintain this repo but if people send me PR I'll try to merge them and
publish the npm when I get the time. Thanks in advance.
El sáb., 18 dic. 2021 2:32, Ed Pfromer ***@***.***> escribió:
I updated all packages and stuck with axios since this repo doesn't necessarily work within DOM and have access to DOM fetch(). I also added an example app which I used to test the library. All original tests pass.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi guys,
so this is my package.json:
I'm using the current version
0.8.1
oftplink-cloud-api
.Further information:
Running
npm audit
shows me a warning because of 2 high severity vulnerabilities:Obviously I won't run
npm audit fix --force
because I don't want to downgradetplink-cloud-api
to0.1.4
."axios": "^0.18.1"
tplink-cloud-api/package.json
Line 51 in 0143634
<= 0.21.1
0.21.2
< 0.21.1
0.21.1
0.21.2
Can you fix that, please?
The text was updated successfully, but these errors were encountered: