Skip to content
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

feat: allowed deprecated versions #4864

Merged
merged 3 commits into from Jun 8, 2022
Merged

Conversation

zkochan
Copy link
Member

@zkochan zkochan commented Jun 6, 2022

close #4306

A new setting is supported for ignoring specific deprecation messages: pnpm.allowedDeprecatedVersions. The setting should be provided in the pnpm section of the root package.json file. The below example will mute any deprecation warnings about the request package and warnings about express v1:

{
  "pnpm": {
    "allowedDeprecatedVersions": {
      "request": "*",
      "express": "1"
    }
  }
}

@zkochan zkochan force-pushed the allowed-deprecated-versions branch from 4f93c8e to d75a096 Compare June 6, 2022 23:50
@zkochan zkochan marked this pull request as ready for review June 7, 2022 00:14
@zkochan zkochan requested a review from a team June 7, 2022 00:20
@zkochan zkochan merged commit 4d39e4a into main Jun 8, 2022
@zkochan zkochan deleted the allowed-deprecated-versions branch June 8, 2022 12:19
@zkochan zkochan added this to the v7.2 milestone Jun 10, 2022
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.

Preventing pnpm from displaying too many deprecation warnings
3 participants