map-filter-reduce
Advanced tools
Comparing version 3.0.4 to 3.0.5
{ | ||
"name": "map-filter-reduce", | ||
"description": "", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"homepage": "https://github.com/dominictarr/map-filter-reduce", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -25,2 +25,10 @@ | ||
t.equal(u.upper({$lt: 'a'}), 'a') | ||
t.equal(u.lower({$lt: 'a'}), null) | ||
t.equal(u.upper({$lte: 'a'}), 'a') | ||
t.equal(u.lower({$lte: 'a'}), null) | ||
t.equal(u.upper({$gt: 'a'}), undefined) | ||
t.equal(u.lower({$gt: 'a'}), 'a',) | ||
t.equal(u.upper({$gte: 'a'}), undefined) | ||
t.equal(u.lower({$gte: 'a'}), 'a') | ||
t.end() | ||
@@ -31,2 +39,1 @@ }) | ||
@@ -58,4 +58,6 @@ 'use strict' | ||
if(isString(v.$prefix)) return v.$prefix | ||
if(has(v, '$gt')) return v.$gt | ||
if(has(v, '$gt')) return v.$gt | ||
if(has(v, '$gte')) return v.$gte | ||
if(has(v, '$lt')) return exports.LO | ||
if(has(v, '$lte')) return exports.LO | ||
} | ||
@@ -70,4 +72,6 @@ if(isArray(v)) return v.map(lower) | ||
if(isString(v.$prefix)) return v.$prefix+'\uffff' | ||
if(has(v, '$lt')) return v.$lt | ||
if(has(v, '$lt')) return v.$lt | ||
if(has(v, '$lte')) return v.$lte | ||
if(has(v, '$gt')) return exports.HI | ||
if(has(v, '$gte')) return exports.HI | ||
} | ||
@@ -176,1 +180,2 @@ if(isArray(v)) return v.map(upper) | ||
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
33036
1020