Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.1k stars 1.21k forks source link

Dependency package @rollup/plugin-commonjs has a new version available #29973

Open azure-sdk opened 5 months ago

azure-sdk commented 5 months ago

We have identified a dependency on version 25.0.8 of @rollup/plugin-commonjs. A new version (28.0.1) is available for upgrade.

Following are the steps to upgrade package dependency.

  1. Understand the breaking changes between the version being used and the version you want to upgrade to.

  2. Identify all packages that take a dependency on this package.

  3. Go to the root folder for each such package (/sdk/service-name/package-name) and update package.json to have the new version.

  4. Run rush update to ensure the new version is pulled in.

  5. Make relevant changes to absorb the breaking changes.

  6. Repeat steps 3 to 5 for each of the packages that have a dependency on this package.

jeremymeng commented 1 month ago

v28 causing rush update error:

 ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

. └─┬ @rush-temp/dev-tool 0.0.0 └─┬ @rollup/plugin-commonjs 28.0.0 └─┬ fdir 6.4.0 └── ✕ unmet peer picomatch@"^3 || ^4": found 2.3.1

Looks that karma is pulling in picomatch v2.3.1