Skip to content

feat: allowed deprecated versions#4864

Merged
zkochan merged 3 commits intomainfrom
allowed-deprecated-versions
Jun 8, 2022
Merged

feat: allowed deprecated versions#4864
zkochan merged 3 commits intomainfrom
allowed-deprecated-versions

Conversation

@zkochan
Copy link
Copy Markdown
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