react-string-replace-recursively
Advanced tools
Comparing version 0.1.26 to 0.1.27
{ | ||
"name": "react-string-replace-recursively", | ||
"version": "0.1.26", | ||
"version": "0.1.27", | ||
"description": "replace strings that match a particular pattern with a React Component, recursively", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,3 +17,2 @@ const omit = require('lodash.omit') | ||
if (patternIds.length === 0) { | ||
@@ -24,3 +23,2 @@ return [inputText] | ||
const headValue = remnantConfig[headId] | ||
const tail = omit(remnantConfig, headId) | ||
@@ -38,3 +36,2 @@ | ||
const matcherTail = omit(tail, toIgnore) | ||
const newRowKey = createNewRowKey(i) | ||
@@ -41,0 +38,0 @@ const recursiveCall = patternReplacer(newText, matcherTail, newRowKey) |
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
16017