Skip to content

Commit

Permalink
Revert "build: use readable-stream instead of node:stream for bro…
Browse files Browse the repository at this point in the history
…wser compatibility"

This reverts commit 960a016.
  • Loading branch information
foxxyz committed Nov 27, 2023
1 parent 761c57a commit 25640a9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 134 deletions.
141 changes: 9 additions & 132 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"dependencies": {
"color-rgba": "^2.4.0",
"events": "^3.3.0",
"readable-stream": "^4.4.2",
"serialport": "^10.5.0",
"ws": "^8.14.2"
},
Expand Down
2 changes: 1 addition & 1 deletion parser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { Transform } = require('readable-stream')
const { Transform } = require('stream')

// Parser to split incoming serial data by a magic byte sequence
// followed by a length
Expand Down

0 comments on commit 25640a9

Please sign in to comment.