Skip to content
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

[Bug] Expected identifier, string or number #2408

Closed
tomohiro-iwana opened this issue Apr 12, 2021 · 1 comment
Closed

[Bug] Expected identifier, string or number #2408

tomohiro-iwana opened this issue Apr 12, 2021 · 1 comment

Comments

@tomohiro-iwana
Copy link

An error occurred in IE11 with v2.20.0.

Expected identifier, string or number
    node_modules/date-fns/locale/mn/_lib/localize/index.js:31:28 

This commit may caused the error.
https://github.com/date-fns/date-fns/pull/1961/files#diff-f3fa0090f590882e24ed6abeb3d88caf04cf1ee6a0e734b3fccaa3a11bf3bf6dR65

Spread Syntax should not be used for IE support.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#browser_compatibility

@kossnocorp
Copy link
Member

Shipped a fix with https://github.com/date-fns/date-fns/releases/tag/v2.20.2

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

No branches or pull requests

2 participants