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

parse-torrent

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-torrent - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

6

index.js

@@ -17,3 +17,3 @@ var bncode = require('bncode')

result.infoHash = (new Rusha()).digestFromBuffer(bncode.encode(torrent.info))
result.infoHash = sha1(bncode.encode(torrent.info))

@@ -65,1 +65,5 @@ result.name = torrent.info.name.toString()

}
function sha1 (buf) {
return (new Rusha()).digestFromBuffer(buf)
}

2

package.json
{
"name": "parse-torrent",
"description": "Parse a torrent and return an object of keys/values",
"version": "0.5.0",
"version": "0.5.1",
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)",

@@ -6,0 +6,0 @@ "bugs": {

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