Skip to content

fix: update compare-versions imports for v6.x API#1567

Merged
chagong merged 3 commits intodependabot/npm_and_yarn/compare-versions-6.1.1from
copilot/sub-pr-1566
Feb 12, 2026
Merged

fix: update compare-versions imports for v6.x API#1567
chagong merged 3 commits intodependabot/npm_and_yarn/compare-versions-6.1.1from
copilot/sub-pr-1566

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

  • Bump compare-versions from 3.6.0 to 6.1.1 in package.json
  • Update import statements in src/project-settings/projectSettingsView.ts to use named import compareVersions
  • Update import statements in src/formatter-settings/index.ts to use named import compareVersions
  • Update package-lock.json
  • Verify the build passes after changes
  • Run code review
  • Run CodeQL security check

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Update compare-versions dependency from 3.6.0 to 6.1.1 fix: update compare-versions imports for v6.x API Feb 12, 2026
Copilot AI requested a review from chagong February 12, 2026 01:34
@chagong
Copy link
Contributor

chagong commented Feb 12, 2026

@copilot bump up 'compare-version' package version to '6.1.1' in this PR.

Copy link
Contributor Author

Copilot AI commented Feb 12, 2026

@copilot bump up 'compare-version' package version to '6.1.1' in this PR.

The package.json already contains "compare-versions": "^6.1.1" from the base dependabot branch. This PR is stacked on top of dependabot/npm_and_yarn/compare-versions-6.1.1 which includes the version bump. The PR includes:

  1. The dependency bump to 6.1.1 (from base branch)
  2. Import fixes for the new v6.x API (commits 6713cc1 and 3746827)
  3. Updated package-lock.json

The version bump is already part of this PR's changes. Would you like me to restructure the commits differently?

Copilot AI requested a review from chagong February 12, 2026 01:40
@chagong chagong marked this pull request as ready for review February 12, 2026 01:41
@chagong chagong merged commit 55e60df into dependabot/npm_and_yarn/compare-versions-6.1.1 Feb 12, 2026
2 checks passed
@chagong chagong deleted the copilot/sub-pr-1566 branch February 12, 2026 01:46
wenytang-ms pushed a commit that referenced this pull request Feb 12, 2026
* build(deps): bump compare-versions from 3.6.0 to 6.1.1

Bumps [compare-versions](https://github.com/omichelsen/compare-versions) from 3.6.0 to 6.1.1.
- [Changelog](https://github.com/omichelsen/compare-versions/blob/main/CHANGELOG.md)
- [Commits](omichelsen/compare-versions@v3.6.0...v6.1.1)

---
updated-dependencies:
- dependency-name: compare-versions
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: update compare-versions imports for v6.x API (#1567)

* Initial plan

* Initial plan for fixing compare-versions build error

Co-authored-by: chagong <[email protected]>

* Fix compare-versions import for v6.x compatibility

Co-authored-by: chagong <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: chagong <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: chagong <[email protected]>
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