python-struct
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -507,2 +507,8 @@ const Long = require('long'); | ||
pack: function (format, data, checkBounds) { | ||
// Support python-style argument array for data | ||
if (!Array.isArray(data)) { | ||
data = Array.prototype.slice.call(arguments, 1); | ||
checkBounds = true; | ||
} | ||
@@ -509,0 +515,0 @@ var packed = new Buffer(PythonStruct.sizeOf(format)); |
{ | ||
"name": "python-struct", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Packs/Unpacks/Measures structs according to Python's `struct` format", | ||
@@ -5,0 +5,0 @@ "main": "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
22909
501