Skip to content

chore: restore typeVersions for old ts config #3872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged

Conversation

dreamorosi
Copy link
Contributor

Summary

Changes

Please provide a summary of what's being changed

This PR restores the typeVersions field in the package.json files of Parser and adds it for the first time to the Validation and Event Handler utilities.

This field, while functionally equivalent to the new exports syntax used in these three packages, is required for older tsconfig.json configuration that default to modeResolution: "Node".

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #3865


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@dreamorosi dreamorosi self-assigned this Apr 29, 2025
@boring-cyborg boring-cyborg bot added the dependencies Changes that touch dependencies, e.g. Dependabot, etc. label Apr 29, 2025
@pull-request-size pull-request-size bot added the size/M PR between 30-99 LOC label Apr 29, 2025
Copy link

@dreamorosi dreamorosi requested review from am29d and leandrodamascena and removed request for am29d April 29, 2025 15:05
@dreamorosi dreamorosi merged commit b1af2a8 into main Apr 30, 2025
47 checks passed
@dreamorosi dreamorosi deleted the chore/typeversions branch April 30, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes that touch dependencies, e.g. Dependabot, etc. size/M PR between 30-99 LOC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: TypeScript Import Errors (TS2307) for @aws-lambda-powertools/parser Submodules (helpers, schemas) after Upgrading from v2.16.0 to v2.17.0
2 participants