Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bncode

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bncode - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

bencode.js

@@ -409,4 +409,4 @@ /*

function encodeBuffer(obj) {
var len = obj.length.toString(10)
buf = new Buffer(len.length+1+obj.length)
var len = obj.length.toString(10),
buf = new Buffer(len.length+1+obj.length);

@@ -441,3 +441,3 @@ buf.write(len, 0, "ascii")

} else {
buf2 = new Buffer(buffer.length + num)
var buf2 = new Buffer(buffer.length + num)
buffer.copy(buf2, 0, 0)

@@ -444,0 +444,0 @@ buffer = buf2

{
"name" : "bncode",
"version" : "0.2.1",
"version" : "0.2.2",
"description" : "bittorrent bencoding and decoding.",

@@ -5,0 +5,0 @@ "author" : "Tim Becker <tim.becker@kuriositaet.de>",

Sorry, the diff of this file is not supported yet

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