rsnext/test/unit/eslint-plugin-next
Sukka c206d89ec2
feat(eslint): enhance no-unwanted-polyfill w/ new endpoints (#62719)
The PR adds the new `polyfill.io` instance endpoint (from Fastly and
Cloudflare) to the `eslint-plugin-next`'s `no-unwanted-polyfillio`
rules, so these new endpoints can be detected by the rule.

---

`polyfill.io` was acquired by **a China-based CDN company** "Funnull",
see [the announcement from the `polyfill.io` domain owner's
Twitter](https://x.com/JakeDChampion/status/1761315227008643367) and
https://github.com/polyfillpolyfill/polyfill-service/issues/2834.
Despite Funnull's claims of operating in the United States, the
predominance of Simplified Chinese on its website suggests otherwise,
and it turns out that **"Funnull" is notorious for providing service for
the betting and pornography industries**.

[The original creator of the `polyfill.io` has voiced his concern on
Twitter](https://twitter.com/triblondon/status/1761852117579427975). And
since the acquisition, numerous issues have emerged
(https://github.com/polyfillpolyfill/polyfill-service/issues/2835,
https://github.com/polyfillpolyfill/polyfill-service/issues/2838,
https://github.com/alist-org/alist/issues/6100), rendering the
`polyfill.io` service **extremely unstable**. Since then, Fastly
([Announcement](https://community.fastly.com/t/new-options-for-polyfill-io-users/2540))
and Cloudflare
([Announcement](https://blog.cloudflare.com/polyfill-io-now-available-on-cdnjs-reduce-your-supply-chain-risk))
has hosted their own instances of `polyfill.io` service.

---------

Co-authored-by: Steven <steven@ceriously.com>
2024-03-06 16:42:53 +00:00
..
custom-pages Bug fix for lint rule (#28677) 2021-09-02 10:45:27 +02:00
with-app-dir/app Skip warning if there is app directory for no-html-link-for-pages rule (#42516) 2023-03-22 02:15:52 +00:00
with-custom-pages-dir/custom-pages Skip warning if there is app directory for no-html-link-for-pages rule (#42516) 2023-03-22 02:15:52 +00:00
without-pages-dir Skip warning if there is app directory for no-html-link-for-pages rule (#42516) 2023-03-22 02:15:52 +00:00
google-font-display.test.ts Change condition to check for string attribute in lint rules utility function (#42625) 2022-11-09 19:54:38 -08:00
google-font-preconnect.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
index.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
inline-script-id.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
next-script-for-ga.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-assign-module-variable.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-async-client-component.test.ts Fix eslint async client component (#51952) 2023-06-28 20:03:32 -07:00
no-before-interactive-script-outside-document.test.ts fix(eslint): next/script beforeInteractive gives warning on appDir (#51148) 2023-11-12 09:30:10 +00:00
no-css-tags.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-document-import-in-page.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-duplicate-head.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-head-element.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-head-import-in-document.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-html-link-for-pages.test.ts Skip warning if there is app directory for no-html-link-for-pages rule (#42516) 2023-03-22 02:15:52 +00:00
no-img-element.test.ts Updates next/image eslint message to denote that costs may be incurred. (#46640) 2023-03-01 14:28:09 -08:00
no-page-custom-font.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-script-component-in-head.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-styled-jsx-in-document.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-sync-scripts.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-title-in-document-head.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-typos.test.ts chore: add build step to eslint-plugin-next (#38647) 2022-09-30 01:37:59 +00:00
no-unwanted-polyfillio.test.ts feat(eslint): enhance no-unwanted-polyfill w/ new endpoints (#62719) 2024-03-06 16:42:53 +00:00