Skip to content

Broken on snowpack, bump intl-messageformat #1849

Closed
@stephenh

Description

@stephenh

I'm trying to use react-aria on a project that uses snowpack.

I'm running into this issue, which could potentially be a bug in snowpack's handling of the intl-messageformat-parser module:

FredKSchott/snowpack#3155

However, it looks like that package is deprecated anyway:

https://www.npmjs.com/package/intl-messageformat-parser

And when I ask "why does my project have this dep", it comes via @internationalzed/message:

$ npm ls intl-messageformat-parser
...
└─┬ ...
  └─┬ react-aria@3.5.0
    └─┬ @react-aria/i18n@3.3.0
      └─┬ @internationalized/message@3.0.0-alpha.0
        └─┬ intl-messageformat@2.2.0
          └── intl-messageformat-parser@1.4.0

It looks like intl-messageformat@2.2.0 is a pretty old release, the current one is 9.6.11:

https://github.com/formatjs/formatjs/blob/main/packages/intl-messageformat/CHANGELOG.md

...which actually mentioned the 9.6.9 release specifically fixed ESM issues.

Could react-aria bump the intl-messageformat dep to hopefully make building with an ESM tool chain work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions