You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if an attribute in a JSON object being encoded is of type ArrayBuffer, it is silently ignored. It would be nice if somewhere around line 158, encode detected that the type was ArrayBuffer and promoted it to a Uint8Array to be encoded properly.
The same request may apply for handling other TypedArrays and DataViews.
The text was updated successfully, but these errors were encountered:
Typescript rewrite
Rewritten to TypeScript for Deno support and Node typescript definitions, now as a ponyfill.
Added tests for more scenarios and to bring coverage up.
Modernized syntax and tests.
Added code quality and coverage analysis.
Removed default polyfill behavior and added back as an optional module.
Addresses the following issues:
paroga#27
paroga#24
paroga#21
paroga#13
Currently if an attribute in a JSON object being encoded is of type
ArrayBuffer
, it is silently ignored. It would be nice if somewhere around line 158,encode
detected that the type wasArrayBuffer
and promoted it to aUint8Array
to be encoded properly.The same request may apply for handling other
TypedArrays
andDataViews
.The text was updated successfully, but these errors were encountered: