Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 24, 2025

🎉 Thanks for submitting a pull request! 🎉

Summary

Fixes #6883

@netlify/zip-it-and-ship-it pinned @babel/types to exact version 7.28.5, preventing package managers from deduplicating with other compatible versions in the dependency tree.

Changed "@babel/types": "7.28.5" to "@babel/types": "^7.28.5" to use semver range, consistent with @babel/parser (^7.22.5).


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures
    we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or
    something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures
    your code follows our style guide and passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

🦆

Original prompt

This section details on the original issue you should resolve

<issue_title>@netlify/zip-it-and-ship-it: don't depend on exact @babel/types version</issue_title>
<issue_description>### Describe the bug

@netlify/zip-it-and-ship-it has a non-dev dependency on "@babel/types": "7.28.5". This prevents package managers from deduplicating this version with any other versions of @babel/types that may be present in the transitive dependencies of a package that depends on @netlify/zip-it-and-ship-it. Please use a semver range instead.

Steps to reproduce

CLI command and flags

Configuration

No response

CLI output

Environment

-</issue_description>

<agent_instructions>don't forget to run npm i to update the lockfile</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: serhalp <1377702+serhalp@users.noreply.github.com>
Copilot AI changed the title [WIP] Update @netlify/zip-it-and-ship-it dependency version Use semver range for @babel/types dependency in @netlify/zip-it-and-ship-it Nov 24, 2025
Copilot AI requested a review from serhalp November 24, 2025 17:25
Copilot finished work on behalf of serhalp November 24, 2025 17:25
@serhalp serhalp changed the title Use semver range for @babel/types dependency in @netlify/zip-it-and-ship-it fix(deps): unpin @babel/types to allow dep deduping Nov 24, 2025
@serhalp serhalp marked this pull request as ready for review November 24, 2025 18:13
@serhalp serhalp requested a review from a team as a code owner November 24, 2025 18:13
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.

@netlify/zip-it-and-ship-it: don't depend on exact @babel/types version

2 participants