Compare commits

..

5 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
d7613c3ac1 3.5.2 2020-11-05 11:17:57 -10:00
Feross Aboukhadijeh
953df40533
Merge pull request #47 from webtorrent/bitfield 2020-11-05 22:16:35 +01:00
Feross Aboukhadijeh
adf80f9e31 bitfield@4 2020-11-03 09:36:31 -10:00
Feross Aboukhadijeh
a19b83ad6d bump deps 2020-11-03 09:31:23 -10:00
Feross Aboukhadijeh
18c33fa5f7 package metadata 2020-07-16 21:49:31 -07:00
2 changed files with 22 additions and 7 deletions

View File

@ -1,6 +1,7 @@
/*! ut_metadata. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> */
const { EventEmitter } = require('events') const { EventEmitter } = require('events')
const bencode = require('bencode') const bencode = require('bencode')
const BitField = require('bitfield') const BitField = require('bitfield').default
const debug = require('debug')('ut_metadata') const debug = require('debug')('ut_metadata')
const sha1 = require('simple-sha1') const sha1 = require('simple-sha1')

View File

@ -1,9 +1,9 @@
{ {
"name": "ut_metadata", "name": "ut_metadata",
"description": "Extension for Peers to Send Metadata Files (BEP 9)", "description": "Extension for Peers to Send Metadata Files (BEP 9)",
"version": "3.5.1", "version": "3.5.2",
"author": { "author": {
"name": "WebTorrent, LLC", "name": "WebTorrent LLC",
"email": "feross@webtorrent.io", "email": "feross@webtorrent.io",
"url": "https://webtorrent.io" "url": "https://webtorrent.io"
}, },
@ -12,12 +12,12 @@
}, },
"dependencies": { "dependencies": {
"bencode": "^2.0.1", "bencode": "^2.0.1",
"bitfield": "^3.0.0", "bitfield": "^4.0.0",
"debug": "^4.1.1", "debug": "^4.2.0",
"simple-sha1": "^3.0.1" "simple-sha1": "^3.0.1"
}, },
"devDependencies": { "devDependencies": {
"bittorrent-protocol": "^3.1.1", "bittorrent-protocol": "^3.1.2",
"brfs": "^2.0.2", "brfs": "^2.0.2",
"standard": "*", "standard": "*",
"tape": "^5.0.1", "tape": "^5.0.1",
@ -42,5 +42,19 @@
}, },
"scripts": { "scripts": {
"test": "standard && tape test/*.js" "test": "standard && tape test/*.js"
} },
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
} }