
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
dom-node-iterator
Advanced tools
The dom-node-iterator
package provides a spec-compliant implementation of
NodeIterator
for environments that lack an implementation or conform to an
older specification.
In environments that implement an older specification or do not implement the specification at all, behavior in the presence of DOM mutation is undefined.
This package implements the es-shim API interface. It works in an ES5-supported environment with a DOM implementation and complies with the spec.
Using npm:
npm install dom-node-iterator
// Install support, polluting the global namespace.
require('dom-node-iterator/auto');
var iter = document.createNodeIterator(document.body);
// Get the best implementation, without polluting the global namespace.
var createNodeIterator = require('dom-node-iterator');
var iter = createNodeIterator.call(document, document.body);
FAQs
A portable NodeIterator polyfill.
The npm package dom-node-iterator receives a total of 385 weekly downloads. As such, dom-node-iterator popularity was classified as not popular.
We found that dom-node-iterator 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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.