Skip to content

Update js-yaml dependency to ^4.2.0#11081

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/update-js-yaml-dependency
Open

Update js-yaml dependency to ^4.2.0#11081
Copilot wants to merge 2 commits into
mainfrom
copilot/update-js-yaml-dependency

Conversation

Copilot AI commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

@mikeharder
js-yaml has a security fix in 4.2.0. But since http-client-python only floated ~4.1.0 instead of ^4.2.0, consumers are prevented from updating. We should always float with ^ instead of ~, unless we have a strong reason (eg some packages allow breaking changes in minors).

@copilot
Bumps the js-yaml dependency to ^4.2.0 in the http-client-python and http-client-java packages, widening the range to allow patch and minor updates within the 4.x line.

Changes

  • packages/http-client-python/package.json: ~4.1.0^4.2.0
  • packages/http-client-java/package.json: ~4.2.0^4.2.0
  • Lock files: refreshed js-yaml resolution in both package-lock.json files (now 4.2.0)
  • Changelog: added a chronus dependencies entry covering both packages

…ient-java

Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
Copilot AI requested a review from mikeharder June 24, 2026 18:19
@microsoft-github-policy-service microsoft-github-policy-service Bot added emitter:client:java Issue for the Java client emitter: @typespec/http-client-java emitter:client:python Issue for the Python client emitter: @typespec/http-client-python labels Jun 24, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-python@11081

commit: a8f2e42

@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client-java
  • @typespec/http-client-python
Show changes

@typespec/http-client-python - dependencies ✏️

Update js-yaml dependency to ^4.2.0

@typespec/http-client-java - dependencies ✏️

Update js-yaml dependency to ^4.2.0

@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

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

Labels

emitter:client:java Issue for the Java client emitter: @typespec/http-client-java emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants