Skip to content

Commit

Permalink
fix(old bundlers): include support for Node 10 (EOL since 2021-04-01)…
Browse files Browse the repository at this point in the history
… / old bundlers

Closes #952
  • Loading branch information
jonasgloning committed May 11, 2022
1 parent 8bd83df commit c0f4648
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
34 changes: 26 additions & 8 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@
"browser-minified": "dist/peerjs.min.cjs",
"browser-unminified": "dist/peerjs.cjs",
"types": "dist/types.d.ts",
"engines": {
"node": ">= 10"
},
"targets": {
"types": {
"source": "lib/exports.ts"
Expand Down Expand Up @@ -162,6 +165,7 @@
"typescript": "^4.5.5"
},
"dependencies": {
"@swc/helpers": "^0.3.13",
"eventemitter3": "^3.1.2",
"peerjs-js-binarypack": "1.0.1",
"webrtc-adapter": "^7.7.1"
Expand Down

0 comments on commit c0f4648

Please sign in to comment.