{"id":28434867,"url":"https://github.com/stimulusreflex/polyfills","last_synced_at":"2026-05-12T23:34:39.427Z","repository":{"id":47789205,"uuid":"364713334","full_name":"stimulusreflex/polyfills","owner":"stimulusreflex","description":"Polyfills to support StimulusReflex in older browsers","archived":false,"fork":false,"pushed_at":"2021-08-13T01:29:35.000Z","size":100,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T12:43:20.503Z","etag":null,"topics":["cableready","polyfills","rails","stimulus","stimulusreflex"],"latest_commit_sha":null,"homepage":"https://docs.stimulusreflex.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stimulusreflex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-05T21:45:23.000Z","updated_at":"2021-05-20T18:48:22.000Z","dependencies_parsed_at":"2022-09-08T06:58:14.821Z","dependency_job_id":null,"html_url":"https://github.com/stimulusreflex/polyfills","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stimulusreflex/polyfills","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stimulusreflex%2Fpolyfills","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stimulusreflex%2Fpolyfills/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stimulusreflex%2Fpolyfills/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stimulusreflex%2Fpolyfills/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stimulusreflex","download_url":"https://codeload.github.com/stimulusreflex/polyfills/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stimulusreflex%2Fpolyfills/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32961785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cableready","polyfills","rails","stimulus","stimulusreflex"],"created_at":"2025-06-05T19:41:34.038Z","updated_at":"2026-05-12T23:34:39.422Z","avatar_url":"https://github.com/stimulusreflex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polyfills for StimulusReflex\n\n### Description\n\nThe `@stimulus_reflex/polyfills` package provides support for StimulusReflex and CableReady in older browsers like Internet Explorer 11.\n\n### Usage\n\nTo include the polyfills you just have to import the package. Typically you want to import it in `app/javascript/packs/application.js`.\n\n```javascript\n// app/javascript/packs/application.js\n\nimport '@stimulus_reflex/polyfills'\nimport 'controllers'\n\n// ...\n```\n\nIf you have an existing import for `@stimulus/polyfills` you can safely remove it. The `@stimulus/polyfills` package is included with `@stimulus_reflex/polyfills`.\n\n\n```diff\n-import '@stimulus/polyfills'\n+import '@stimulus_reflex/polyfills'\n```\n\n\n### Details\n\nThis repository contains a few polyfills itself and bundles up polyfills from other packages. The following list shows the included polyfills and where they are coming from:\n\n#### Polyfills included/imported in this package\n\n* Custom\n  * [`NodeList.forEach()`](https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill)\n\n* [core-js](https://www.npmjs.com/package/core-js)\n  * `String.startsWith()`\n  * `String.includes()`\n\n#### Polyfills imported from `@stimulus/polyfills`\n\n* [core-js](https://www.npmjs.com/package/core-js)\n  * `Array.find()`\n  * `Array.findIndex()`\n  * `Array.from()`\n  * `Map`\n  * `Object.assign()`\n  * `Promise`\n  * `Reflect.deleteProperty()`\n  * `Set`\n* [element-closest](https://www.npmjs.com/package/element-closest)\n  * `Element.closest()`\n* [mutation-observer-inner-html-shim](https://www.npmjs.com/package/mutation-observer-inner-html-shim)\n  * `MutationObserver` support for Internet Explorer 11\n* [eventlistener-polyfill](https://github.com/github/eventlistener-polyfill)\n  * once \u0026 passive support for Internet Explorer 11 \u0026 Edge\n\n#### Polyfills imported from `@cable_ready/polyfills`\n\n* [`CustomEvent`](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill)\n\n* [core-js](https://www.npmjs.com/package/core-js)\n  * `Array.flat()`\n  * `Array.forEach()`\n  * `Array.from()`\n  * `Array.includes()`\n  * `Object.entries()`\n  * `Promise`\n\n* [`\u003ctemplate\u003e`](https://www.npmjs.com/package/@webcomponents/template)\n\n#### Polyfills imported from `formdata-polyfill`\n* [`FormData`](https://www.npmjs.com/package/formdata-polyfill)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstimulusreflex%2Fpolyfills","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstimulusreflex%2Fpolyfills","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstimulusreflex%2Fpolyfills/lists"}