ESM serving corrupted/incorrect content
Around 30 minutes ago, we started running into the following issue while transpiling code retrieved from ESM:
npm-modules:https://esm.sh/react-is@^19.2.0?target=es2022:3:30: ERROR: Unterminated string literal
Going to https://esm.sh/react-is@^19.2.0?target=es2022:3:30 on the browser and hitting it via curl seems to show properly formatted content:
/* esm.sh - [email protected] */
export * from "/[email protected]/es2022/react-is.mjs";
export { default } from "/[email protected]/es2022/react-is.mjs";
From searching prior issues, it seems like there's some related ones like https://github.com/esm-dev/esm.sh/issues/1142 that have been resolved via a purged cache. Could something like that be occurring here?
Any help would be appreciated, thanks!
Just resolved! Unsure if y'all did something on your end or a bad cache expired, but if there's any explanation to help us understand what occurred, that would be helpful to understand!
i also have no idea, maybe it's caused by the outage of cloudflare recently, i just purged the cache hope everything is going fine.