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

mdast-util-find-and-replace

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdast-util-find-and-replace - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

index.js

@@ -15,6 +15,3 @@ 'use strict'

if (
typeof find === 'string' ||
(find && typeof find.lastIndex === 'number')
) {
if (typeof find === 'string' || (find && typeof find.exec === 'function')) {
schema = [[find, replace]]

@@ -21,0 +18,0 @@ } else {

2

package.json
{
"name": "mdast-util-find-and-replace",
"version": "1.1.0",
"version": "1.1.1",
"description": "mdast utility to find and replace text in a tree",

@@ -5,0 +5,0 @@ "license": "MIT",

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