regexbuddy
Advanced tools
Comparing version 0.0.9 to 0.0.10
export const filterValues = (...input) => { | ||
// In case an expression is not passed in, set a default one for the time being | ||
if (input.length < 2) input.push(/[a-cA-c]+/); | ||
const myRe = new RegExp(input[1]); | ||
if (input.length < 2) input.push(/[a-cA-c]+/); | ||
if (typeof input[0] !== 'string') input = input[0]; | ||
@@ -5,0 +6,0 @@ const regexBuddyResult = input.filter(item => { |
{ | ||
"name": "regexbuddy", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Implement regex expressions in JavaScript", | ||
@@ -5,0 +5,0 @@ "repository": { |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
977
10