Comparing version 1.1.6 to 1.1.7
'use strict'; | ||
const { Buffer } = require('buffer') | ||
var Long = require('../long').Long, | ||
@@ -267,3 +268,3 @@ Double = require('../double').Double, | ||
if (promoteBuffers && promoteValues) { | ||
object[name] = buffer.slice(index, index + binarySize); | ||
object[name] = Buffer.from(buffer.slice(index, index + binarySize)); | ||
} else { | ||
@@ -270,0 +271,0 @@ object[name] = new Binary(buffer.slice(index, index + binarySize), subType); |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"author": "Christian Amor Kvalheim <christkv@gmail.com>", | ||
@@ -18,0 +18,0 @@ "contributors": [], |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
2
774650
28
21536