Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,6 @@
- ya1Ry (86045923+ya1Ry@users.noreply.github.com)
- Paweł Zmarzły (pawo2500@gmail.com)
- Maurizio Carboni (maury91@gmail.com)
- hclarke (0@hclarke.ca)

#### Generated by scripts/update-authors.sh.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## [2.6.2](https://github.com/webtorrent/webtorrent/compare/v2.6.1...v2.6.2) (2025-04-18)


### Bug Fixes

* null body on OPTIONS ([#2942](https://github.com/webtorrent/webtorrent/issues/2942)) ([76b508a](https://github.com/webtorrent/webtorrent/commit/76b508aa3482697dfad11d42d7d34de52484e65b))

## [2.6.1](https://github.com/webtorrent/webtorrent/compare/v2.6.0...v2.6.1) (2025-04-18)


### Bug Fixes

* **deps:** update dependency @silentbot1/nat-api to ^0.4.8 ([#2941](https://github.com/webtorrent/webtorrent/issues/2941)) ([134362e](https://github.com/webtorrent/webtorrent/commit/134362e51fa4c5f1996f3aaf38dcf1ca21e42580))

# [2.6.0](https://github.com/webtorrent/webtorrent/compare/v2.5.19...v2.6.0) (2025-04-04)


Expand Down
2 changes: 1 addition & 1 deletion dist/webtorrent.chromeapp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/webtorrent.chromeapp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/webtorrent.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/webtorrent.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class NodeServer extends ServerBase {
this.onRequest(req, ({ status, headers, body }) => {
res.writeHead(status, headers)

if (!!body._readableState || !!body._writableState) { // this is probably a bad way of checking? idk
if (!!body?._readableState || !!body?._writableState) { // this is probably a bad way of checking? idk
pump(body, res)
} else {
res.end(body)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webtorrent",
"description": "Streaming torrent client",
"version": "2.6.0",
"version": "2.6.2",
"author": {
"name": "WebTorrent LLC",
"email": "feross@webtorrent.io",
Expand Down Expand Up @@ -37,7 +37,7 @@
"os": false
},
"dependencies": {
"@silentbot1/nat-api": "^0.4.7",
"@silentbot1/nat-api": "^0.4.8",
"@thaunknown/simple-peer": "^10.0.11",
"@webtorrent/http-node": "^1.3.0",
"addr-to-ip-port": "^2.0.0",
Expand Down
Loading