Skip to content

chore: remove and replace deprecated transitive packages#267

Open
devarsh10 wants to merge 4 commits intomojaloop:mainfrom
devarsh10:chore/remove-deprecations-pi26
Open

chore: remove and replace deprecated transitive packages#267
devarsh10 wants to merge 4 commits intomojaloop:mainfrom
devarsh10:chore/remove-deprecations-pi26

Conversation

@devarsh10
Copy link
Copy Markdown
Contributor

@devarsh10 devarsh10 commented Mar 4, 2025

This PR solve issue number: #4037 from mojaloop/project

In this please, consider the commit after 4th of March. As I have picked up wrong approach, in which I have used patch-package to resolve the deprecation issue. So, I backtracked first and tried to solve the issue from the roots.

Packages I have solved
0. tap-spec -> replaced it with tap-mocha-reporter. Because of deprecated trim package

  1. q -> Just removed it
  2. mkdirp-promise -> replace it with mkdirp
  3. stringify-package -> @npmcli/package-json
  4. har-validator -> partially -> httpsnippet's version 1.25.0 was using har-validator -> but it's latest version was not using har-validator -> So overriden it.
    4.1 But, mockgoose -> mongodb-prebuilt -> mongodb-download -> request -> har-validator -> Not resolved

Before:
image

After:
image

@devarsh10 devarsh10 reopened this Mar 4, 2025
@elnyry-sam-k elnyry-sam-k reopened this Mar 7, 2025
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 7, 2025

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants