Socket
Socket
Sign inDemoInstall

chip8-binary-format

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chip8-binary-format - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

README.md

5

package.json
{
"name": "chip8-binary-format",
"version": "0.1.0",
"version": "0.1.1",
"description": "A zero-depenencies library to pack and unpack `.c8b` files",
"files": [
"parser.js"
"parser.js",
"README.md"
],

@@ -8,0 +9,0 @@ "scripts": {

1

parser.js

@@ -243,2 +243,3 @@ /**

resetErrors();
assert(binary.slice(0, 3).every((v,i)=> v === MAGIC_NUMBER[i]), 'File should be valid CHIP-8 binary format');

@@ -245,0 +246,0 @@ assert(binary[3] == VERSION_NUMBER, 'File should have a compatible version number')

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