discordjs / voice

Implementation of the Discord Voice API for discord.js and other JS/TS libraries
Apache License 2.0
327 stars 110 forks source link

refactor: use `node` protocol #217

Closed almeidx closed 3 years ago

almeidx commented 3 years ago

Please describe the changes this PR makes and why it should be merged:

Note: upgraded Jest since node protocol support was only added in 27.1.0

Status and versioning classification:

codecov[bot] commented 3 years ago

Codecov Report

Merging #217 (ec60536) into main (f1869a9) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #217   +/-   ##
=======================================
  Coverage   73.84%   73.84%           
=======================================
  Files          21       21           
  Lines         906      906           
  Branches      221      221           
=======================================
  Hits          669      669           
  Misses        235      235           
  Partials        2        2           
Impacted Files Coverage Δ
src/audio/AudioResource.ts 96.66% <ø> (ø)
src/audio/TransformerGraph.ts 77.96% <ø> (ø)
src/networking/VoiceUDPSocket.ts 96.49% <ø> (ø)
src/receive/AudioReceiveStream.ts 100.00% <ø> (ø)
src/util/demuxProbe.ts 100.00% <ø> (ø)
src/util/entersState.ts 100.00% <ø> (ø)
src/util/generateDependencyReport.ts 0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f1869a9...ec60536. Read the comment docs.