Comparing version 1.1.0 to 1.2.0
@@ -96,5 +96,6 @@ | ||
exports.toLtgt = function (range, _range, map) { | ||
exports.toLtgt = function (range, _range, map, lower, upper) { | ||
_range = _range || {} | ||
map = map || id | ||
var defaults = arguments.length > 3 | ||
var lb = exports.lowerBoundKey(range) | ||
@@ -106,2 +107,4 @@ var ub = exports.upperBoundKey(range) | ||
} | ||
else if(defaults) | ||
_range.gte = lower | ||
@@ -112,2 +115,4 @@ if(ub) { | ||
} | ||
else if(defaults) | ||
_range.lte = upper | ||
@@ -114,0 +119,0 @@ _range.reverse = !!range.reverse |
{ | ||
"name": "ltgt", | ||
"description": "", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"homepage": "https://github.com/dominictarr/ltgt", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
12661
352