Releases: Fastcode/nbsdecoder.js
Releases · Fastcode/nbsdecoder.js
v0.4.6
v0.4.5
What's Changed
- Fix encoder file opening on Windows by @AWann2 in #13
- Fix issues building with node 22 by @TrentHouliston in #14
New Contributors
- @TrentHouliston made their first contribution in #14
Full Changelog: v0.4.4...v0.4.5
v0.4.4
- Bundle zlib for building and linking on Windows, to fix use in Electron
v0.4.3
v0.4.2
Relaxes the minimum supported Node version back to v14.
Note: although the package should work with Node 14 and above, it is only tested with 18 and above, since Node versions less than 18 are no longer actively maintained.
v0.4.1
v0.4.0
v0.3.0
- Added
NbsEncoder
class, for writing NBS files - Added
NbsEncoder.close()
for closing loaded decoders and releasing associated file handles
Note: the package is no longer tested with Node 12, which has been EOL since April 2022.
v0.2.0
- Added a new method
nextTimestamp()
:
/**
* Get the timestamp to seek to such that all messages of the given types are stepped by (n) steps
*
* @param timestamp The current timestamp to step from
* @param type The type or array of types to step. If unspecified, all types will be stepped.
* @param steps Number of steps to move forwards (positive number) or backwards (negative number).
* If 0 or unspecified, returns min or max timestamp matching the given types.
*/
public nextTimestamp(
timestamp: number | BigInt | NbsTimestamp,
type?: NbsTypeSubtype | NbsTypeSubtype[],
steps?: number
): NbsTimestamp;
v0.1.2
- Rename
nbs.d.ts
→nbsdecoder.d.ts
in README