webidl-conversions
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -64,2 +64,8 @@ "use strict"; | ||
return x - moduloVal; | ||
} else if (typeOpts.unsigned) { | ||
if (x < 0) { | ||
x += moduloVal; | ||
} else if (x === -0) { // don't return negative zero | ||
return 0; | ||
} | ||
} | ||
@@ -66,0 +72,0 @@ |
{ | ||
"name": "webidl-conversions", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Implements the WebIDL algorithms for converting to and from JavaScript values", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
12370
149