Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

child-replace-with-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

child-replace-with-polyfill

childNode.replaceWith polyfill for unsupported browsers. More info: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

child-replace-with-polyfill

Polyfill for

void ChildNode.replaceWith((Node or DOMString)... nodes);

This the npm module version of polyfill found here: https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith so that it is easier to integrate to regular projects

Installation

npm install --save child-replace-with-polyfill

Usage

import "child-replace-with-polyfill";

or

require("child-replace-with-polyfill");

Maintainence

I dont think this polyfill would need any more maintainence but feel free to raise a PR if needed

Keywords

FAQs

Package last updated on 26 Jan 2019

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