Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d7613c3ac1 | ||
![]() |
953df40533 | ||
![]() |
adf80f9e31 | ||
![]() |
a19b83ad6d | ||
![]() |
18c33fa5f7 |
3
index.js
3
index.js
@ -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')
|
||||||
|
|
||||||
|
26
package.json
26
package.json
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user