Skip to content

Commit

Permalink
chore(deps-dev): Bump @types/ws from 7.4.1 to 7.4.7 (#177)
Browse files Browse the repository at this point in the history
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 7.4.1 to 7.4.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/ws&package-manager=npm_and_yarn&previous-version=7.4.1&new-version=7.4.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
  • Loading branch information
dependabot[bot] authored Aug 6, 2021
1 parent 396ee78 commit e6cd15a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@relaycorp/ws-mock": "^2.4.1",
"@types/jest": "^26.0.24",
"@types/verror": "^1.10.5",
"@types/ws": "^7.4.1",
"@types/ws": "^7.4.7",
"axios-mock-adapter": "^1.19.0",
"del-cli": "^4.0.1",
"jest": "^27.0.6",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/PoWebClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export class PoWebClient implements GSCClient {
ws.once('message', async (message) => {
let challenge: HandshakeChallenge;
try {
challenge = HandshakeChallenge.deserialize(bufferToArray(message));
challenge = HandshakeChallenge.deserialize(bufferToArray(message as Buffer));
} catch (error) {
ws.close(WebSocketCode.CANNOT_ACCEPT, 'Malformed handshake challenge');
reject(
Expand Down

0 comments on commit e6cd15a

Please sign in to comment.