mdast-util-find-and-replace
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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 { |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11809
138