@hazae41/binary
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -62,4 +62,5 @@ import { Cursor } from '@hazae41/cursor'; | ||
*/ | ||
function read(cursor: Cursor): Opaque<Uint8Array>; | ||
function readOrThrow(cursor: Cursor): Opaque<Uint8Array>; | ||
function readOrThrow(cursor: Cursor): Opaque<Uint8Array & { | ||
readonly length: number; | ||
}>; | ||
/** | ||
@@ -87,4 +88,5 @@ * Perform unsafe zero-copy conversion to Opaque if already Opaque | ||
*/ | ||
function read(cursor: Cursor): Opaque<Uint8Array>; | ||
function readOrThrow(cursor: Cursor): Opaque<Uint8Array>; | ||
function readOrThrow(cursor: Cursor): Opaque<Uint8Array & { | ||
readonly length: number; | ||
}>; | ||
/** | ||
@@ -91,0 +93,0 @@ * Perform safe copy conversion to Opaque if already Opaque |
{ | ||
"type": "module", | ||
"name": "@hazae41/binary", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Zero-copy binary data types", | ||
@@ -25,5 +25,5 @@ "homepage": "https://github.com/hazae41/binary", | ||
"dependencies": { | ||
"@hazae41/bytes": "^1.2.6", | ||
"@hazae41/cursor": "^1.2.1", | ||
"@hazae41/result": "^1.1.8" | ||
"@hazae41/bytes": "^1.2.7", | ||
"@hazae41/cursor": "^1.2.2", | ||
"@hazae41/result": "^1.1.11" | ||
}, | ||
@@ -34,4 +34,4 @@ "devDependencies": { | ||
"@rollup/plugin-typescript": "^11.1.5", | ||
"@types/node": "^20.8.10", | ||
"rollup": "^4.3.0", | ||
"@types/node": "^20.9.0", | ||
"rollup": "^4.4.0", | ||
"rollup-plugin-dts": "^6.1.0", | ||
@@ -38,0 +38,0 @@ "rollup-plugin-node-externals": "^6.1.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
77151
1076
Updated@hazae41/bytes@^1.2.7
Updated@hazae41/cursor@^1.2.2
Updated@hazae41/result@^1.1.11