🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

webtorrent

Package Overview
Dependencies
Maintainers
10
Versions
583
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webtorrent - npm Package Compare versions

Comparing version
3.0.13
to
3.0.14
+1
-1
lib/file.js

@@ -175,3 +175,3 @@ import EventEmitter from 'events'

if (!this._client._server) throw new Error('No server created')
return `${this._client._server.pathname}/${this._torrent.infoHash}/${this.path}`
return `${this._client._server.pathname}/${this._torrent.infoHash}/${this.path.split('/').map(encodeURIComponent).join('/')}`
}

@@ -178,0 +178,0 @@

@@ -79,3 +79,3 @@ import http from 'http'

`<li>
<a href="${escapeHtml(pathname)}/${torrent.infoHash}/${escapeHtml(file.path)}">
<a href="${escapeHtml(file.streamURL)}">
${escapeHtml(file.path)}

@@ -215,3 +215,3 @@ </a>

let [infoHash, ...filePath] = pathname.split('/')
filePath = decodeURI(filePath.join('/'))
filePath = decodeURIComponent(filePath.join('/'))

@@ -218,0 +218,0 @@ const torrent = await this.client.get(infoHash)

{
"name": "webtorrent",
"description": "Streaming torrent client",
"version": "3.0.13",
"version": "3.0.14",
"author": {

@@ -6,0 +6,0 @@ "name": "WebTorrent LLC",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display