Skip to content

@metamask/sdk-communication-layer pulls in old date-fns v2 #1352

Description

@mcmxcdev

Feature Request

Upgrade date-fns from v2 to v4 in @metamask/sdk-communication-layer , see: https://github.com/MetaMask/metamask-sdk/blob/main/packages/sdk-communication-layer/package.json#L51

Why it is needed

date-fns v2 is 25MB in size in node_modules and doesn't deduplicate with modern projects using e.g. date-fns v4

Other

@metamask/sdk-communication-layer generally appears like its dependencies are not maintained well, so it should probably be modernized as a whole.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions