Socket
Socket
Sign inDemoInstall

bencode

Package Overview
Dependencies
Maintainers
11
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bencode - npm Package Versions

12

0.5.1

Diff

Changelog

Source

0.5.1

  • Added warning on float conversion during encoding (@jhermsmeier)
jhermsmeier
published 0.5.0 •

Changelog

Source

0.5.0

  • Added support for 64 bit number values (@pwmckenna)
  • Switched benchmark lib to matcha (@themasch)
  • Fixed npm scripts to work on Windows (@jhermsmeier)
masch
published 0.4.3 •

Changelog

Source

0.4.3

  • improved performance a lot

  • dropped support for de- and encoding floats to respect the spec

    note: node-bencode will still decodes stuff like "i42.23e" but will cast the result to an interger

jhermsmeier
published 0.4.2 •

Changelog

Source

0.4.2

  • bugfix: sort dictionary keys to follow the spec
masch
published 0.4.1 •

Changelog

Source

0.4.1

  • bugfix: number decoding was kinda broken
published 0.4.0 •

Changelog

Source

0.4.0

  • fixed problems with multibyte strings
  • some performance improvements
  • improved code quality
published 0.0.1 •

Changelog

Source

0.0.1

First version, decoding only

published 0.1.0 •

Changelog

Source

0.1.0

  • added encoding
published 0.3.0 •

Changelog

Source

0.3.0

  • #decode() accepts a encoding as its second paramtere
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