This repository was archived by the owner on Oct 7, 2024. It is now read-only.
chore(deps): replace superstruct imports with @metamask/superstruct#311
Merged
chore(deps): replace superstruct imports with @metamask/superstruct#311
superstruct imports with @metamask/superstruct#311Conversation
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation
As part of the Wallet Framework Team's OKR (Q2 2024 O3KR4) for upgrading TypeScript to v5.0+ in the core monorepo, we are updating dependencies of the core repo so that they generate builds and type declarations for both CJS and ESM.
This requirement applies to nested dependencies as well, so we are also replacing
superstructwith the ESM-compatible fork@metamask/superstructin all core dependency packages.Description
superstructdependency with@metamask/superstruct^3.0.0.^3.1.0superstructimport statements with@metamask/superstruct@metamask/utilsto^8.5.0.^9.1.0Bumptypescriptto~5.0.4moduleandmoduleResolutiontoNodeNext.moduleResolutiontoNodeNext#323create-release-prgithub action, publish a new release containing these changes.References
superstructwith ESM-compatible fork@metamask/superstruct#310moduleResolutiontoNodeNext#323superstructimports with@metamask/superstructkeyring-api#328superstructwith ESM-compatible fork@metamask/superstructsnaps#2445Changelog