Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

binary-types

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binary-types - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

.npmignore

10

index.es6.js

@@ -16,2 +16,8 @@ 'use strict';

read.f32le = function*() { return (yield 4).readFloatLE(0, true) }
read.f32be = function*() { return (yield 4).readFloatBE(0, true) }
read.f64le = function*() { return (yield 4).readDoubleLE(0, true) }
read.f64be = function*() { return (yield 4).readDoubleBE(0, true) }
read.le =

@@ -21,2 +27,4 @@ { __proto__: read

, u32: read.u32le
, f32: read.f32le
, f64: read.f64le
}

@@ -28,2 +36,4 @@

, u32: read.u32be
, f32: read.f32be
, f64: read.f64be
}

2

package.json
{
"name": "binary-types",
"version": "1.0.0",
"version": "1.1.0",
"description": "helpers for binary-parser",

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

@@ -27,2 +27,6 @@ # binary-types

### u32be
### f32le
### f32be
### f64le
### f64be

@@ -38,2 +42,4 @@ what it says on the tin.

, u32: read.u32le
, f32: read.f32le
, f64: read.f64le
}

@@ -49,4 +55,6 @@ ```

, u32: read.u32be
, f32: read.f32be
, f64: read.f64be
}
```
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