@ulu/utils
Advanced tools
Comparing version 0.0.16 to 0.0.17
# Change Log | ||
## 0.0.17 | ||
- Fix mistake in extractMatchDetails | ||
## 0.0.16 | ||
@@ -5,0 +8,0 @@ |
@@ -153,3 +153,3 @@ /** | ||
const startIndex = match.index; | ||
const endIndex = matchIndex + matched.length; | ||
const endIndex = startIndex + matched.length; | ||
return { | ||
@@ -159,4 +159,4 @@ matched, | ||
endIndex, | ||
before: str.slice(0, startIndex), | ||
after: str.slice(endIndex) | ||
before: string.slice(0, startIndex), | ||
after: string.slice(endIndex) | ||
}; | ||
@@ -163,0 +163,0 @@ } else { |
{ | ||
"name": "@ulu/utils", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "A collection of helpful utility functions for common JavaScript development and browser DOM manipulation tasks", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
41554