binary-types
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -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 | ||
} |
{ | ||
"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 | ||
} | ||
``` | ||
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
58
2824
38
2