
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
@stimulus_reflex/polyfills
Advanced tools
The @stimulus_reflex/polyfills package provides support for StimulusReflex and CableReady in older browsers like Internet Explorer 11.
To include the polyfills you just have to import the package. Typically you want to import it in app/javascript/packs/application.js.
// app/javascript/packs/application.js
import '@stimulus_reflex/polyfills'
import 'controllers'
// ...
If you have an existing import for @stimulus/polyfills you can safely remove it. The @stimulus/polyfills package is included with @stimulus_reflex/polyfills.
-import '@stimulus/polyfills'
+import '@stimulus_reflex/polyfills'
This 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:
Custom
String.startsWith()String.includes()@stimulus/polyfillsArray.find()Array.findIndex()Array.from()MapObject.assign()PromiseReflect.deleteProperty()SetElement.closest()MutationObserver support for Internet Explorer 11@cable_ready/polyfillsArray.flat()Array.forEach()Array.from()Array.includes()Object.entries()Promiseformdata-polyfillFAQs
Polyfills to support StimulusReflex in older browsers
We found that @stimulus_reflex/polyfills demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.