Skip to content

Commit

Permalink
chore: add socket.io-parser to peerDependencies
Browse files Browse the repository at this point in the history
This should (at least in theory) fix sync issues for the
`socket.io-adapter` package, which is imported by both the `socket.io`
and `@socket.io/cluster-adapter` packages:

- `[email protected]` should resolve `socket.io-adapter@~2.4.0`
- `[email protected]` should resolve `socket.io-adapter@~2.5.0`
  • Loading branch information
darrachequesne committed Mar 24, 2023
1 parent e86ef45 commit 15fd56e
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 77 deletions.
206 changes: 132 additions & 74 deletions package-lock.json

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

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
"prepack": "tsc"
},
"dependencies": {
"debug": "~4.3.1",
"socket.io-adapter": "~2.4.0"
"debug": "~4.3.1"
},
"peerDependencies": {
"socket.io-adapter": "^2.4.0"
},
"devDependencies": {
"@types/expect.js": "^0.3.29",
Expand All @@ -30,7 +32,7 @@
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^2.1.2",
"socket.io": "^4.5.0",
"socket.io": "^4.6.1",
"socket.io-client": "^4.1.1",
"ts-node": "^9.1.1",
"typescript": "^4.0.5"
Expand Down

0 comments on commit 15fd56e

Please sign in to comment.