Comparing version 1.1.0 to 1.1.1
@@ -56,3 +56,7 @@ var bzip = require('bzip2'); | ||
var reader = bzip.array(bytes); | ||
return new Buffer(bzip.simple(reader)); | ||
try { | ||
return new Buffer(bzip.simple(reader)); | ||
} catch (_) { | ||
throw new Error('Failed to decompress bzip.') | ||
} | ||
}; | ||
@@ -59,0 +63,0 @@ |
{ | ||
"name": "nopq", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "NoPQ is a Node.js library that lets you unpack MPQ archives such as those used with several Blizzard games.", | ||
@@ -5,0 +5,0 @@ "main": "lib/nopq.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
8318
164