New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nodelist-foreach-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodelist-foreach-polyfill

Simple polyfill for the NodeList.forEach method.

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.9K
decreased by-40.48%
Maintainers
1
Weekly downloads
 
Created
Source

NodeList.forEach polyfill

MDN polyfill for the NodeList.forEach method.

It polyfills forEach support for NodeList objects (a common result of document.querySelectorAll).

Native support

Chrome 51, Firefox 50, Opera 38, Safari 10

Android Browser none, IE Mobile none, IE none

See MDN

Usage

Import before any usages of document.querySelectorAll("#foo").forEach((elem) => { ... }) etc.

FAQs

Package last updated on 06 Jun 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc