fix: Resolve npm security vulnerabilities#452
Conversation
|
Hi @darwintantuco. Thank you for taking a look at this. |
1607ed9 to
8c8217f
Compare
Sheape
left a comment
There was a problem hiding this comment.
Looks good to me for the most part. I guess the only thing to fix left are these:
npm warn deprecated mkdirp@0.3.0: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm warn deprecated @types/react-leaflet@3.0.0: This is a stub types definition. react-leaflet provides its own type definitions, so you do not need this installed.
Do you also intend to fix them in this PR or we can just leave it as it is since these are just soft warnings?
| "@babel/template": "^7.27.2", | ||
| "@babel/traverse": "^7.28.4", | ||
| "@babel/types": "^7.28.4", | ||
| "@jridgewell/remapping": "^2.3.5", |
There was a problem hiding this comment.
Ahh turns out this is the new maintained package instead of @ampproject/remapping.
There was a problem hiding this comment.
probably better to fix warnings here, will take a look soon
There was a problem hiding this comment.
Dont worry about it. It was just a comment, since this is the only one that changes from package A to package B instead of updating.
Serves as a reference for other reviewers/maintainers in case they want to check if it's malicious in npmjs.
There was a problem hiding this comment.
hi @Sheape
I think I was able to fix npm warn deprecated @types/react-leaflet@3.0.0: This is a stub types definition. react-leaflet provides its own type definitions, so you do not need this installed.
see recent commit, seems react-leaflet v5 includes its own TypeScript definitions, making the separate @types package redundant
for mkdirp, I agree, I think we can leave it as is for now, as it's a transitive dependency from hogan.js → instantsearch.js → react-instantsearch and seems even latest versions still use the old hogan.js with mkdirp@0.3.0
|
@niculistana I'll mark this as |
react-leaflet v5 includes its own TypeScript definitions
27f9456 to
9f1c6dd
Compare
|
Stale pull request message |

Summary
npm audit fixto resolve security vulnerabilitiesContext
Project seems to have few security vulnerabilities reported by
npm audit. Runningnpm audit fixautomatically updates dependencies to their latest secure versions within semver ranges. The main fixes include:All updates are non-breaking changes within the existing semver ranges.
Test plan
npm auditand verify vulnerabilities are reducednpm installand verify no errors