New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

binarykvparser

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binarykvparser - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

17

index.js

@@ -42,10 +42,9 @@ var Long = require('long');

if (type === Type.None && !name && !Object.keys(obj).length) {
// Root node
name = readCString();
}
switch (type) {
case Type.None:
value = exports.parse(buffer, offset);
if (obj.hasOwnProperty(name)) {
value = obj[name];
} else {
value = exports.parse(buffer, offset);
}
break;

@@ -78,5 +77,5 @@

if (name) {
obj[name] = convertObject(value);
}
if (name !== undefined) {
obj[name] = convertObject(value);
}
}

@@ -83,0 +82,0 @@

{
"name": "binarykvparser",
"version": "2.1.0",
"version": "2.1.1",
"description": "Parses binary KeyValues, used especially in Steam",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc