buffer-compare
Advanced tools
Comparing version 0.0.1 to 1.0.0
{ | ||
"name": "buffer-compare", | ||
"description": "Lexicographically compare two buffers. ", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"keywords":["sort","buffer","lexiographic"], | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -19,1 +19,8 @@ var test = require("tape") | ||
}) | ||
test("sorts correctly with null bytes at end",function(t){ | ||
t.equals(compare(new Buffer("hi\x00"),new Buffer("hi")),1,"should match 1 if last is a null byte and compare to is one shorter") | ||
t.end(); | ||
}) |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3004
32
1