New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[@types/ws] Update ws definitions to v8.2 #55151
Conversation
- See https://github.com/websockets/ws/releases/tag/8.0.0 - Add the RawData type. - Rename the OpenEvent class to Event.
@tamuratak Thank you for submitting this PR! This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. You can test the changes of this PR in the Playground. Status
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 55151,
"author": "tamuratak",
"headCommitOid": "f23e37929bed30d39c125a9c508a46fe0e8bb6a7",
"lastPushDate": "2021-09-25T10:23:07.000Z",
"lastActivityDate": "2021-09-25T11:36:15.000Z",
"mergeOfferDate": "2021-09-25T11:10:45.000Z",
"mergeRequestDate": "2021-09-25T11:36:15.000Z",
"mergeRequestUser": "tamuratak",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "ws",
"kind": "edit",
"files": [
{
"path": "types/ws/index.d.ts",
"kind": "definition"
},
{
"path": "types/ws/ws-tests.ts",
"kind": "test"
}
],
"owners": [
"loyd",
"mlamp",
"TitaneBoy",
"reduckted",
"teidesu",
"wojtkowiak",
"k-yle"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "weswigham",
"date": "2021-09-25T11:10:09.000Z",
"isMaintainer": true
},
{
"type": "approved",
"reviewer": "vansergen",
"date": "2021-09-25T10:35:06.000Z",
"isMaintainer": false
},
{
"type": "stale",
"reviewer": "lpinca",
"date": "2021-09-24T18:10:00.000Z",
"abbrOid": "add99dd"
},
{
"type": "stale",
"reviewer": "k-yle",
"date": "2021-09-23T23:00:38.000Z",
"abbrOid": "add99dd"
},
{
"type": "stale",
"reviewer": "onury",
"date": "2021-08-29T15:24:16.000Z",
"abbrOid": "14eefd0"
},
{
"type": "stale",
"reviewer": "rbuckton",
"date": "2021-08-22T02:43:12.000Z",
"abbrOid": "14eefd0"
}
],
"mainBotCommentID": 898979059,
"ciResult": "pass"
} |
🔔 @loyd @mlamp @TitaneBoy @reduckted @teidesu @wojtkowiak @k-yle — please review this PR in the next few days. Be sure to explicitly select |
@tamuratak The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
These are not correct TS definitions for ES Module. |
I couldn't access I did write a version of the definition, based on this version, that works for ES modules and also has typings for Receiver and Sender. I didn't test them at all though. Feel free to use it as you see fit if it helps. I haven't done any contributions to DefinitelyTyped yet, so it would take some time to post a PR. I do not have any idea how to have different definition files for ESM and CJS, though. |
Thank you, but I won't use. I don't like to make breaking changes in this PR.
Since there is no way to improve this PR, I want to wait for the maintainers' review without changes. |
The core committer of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason is the same as https://github.com/DefinitelyTyped/DefinitelyTyped/pull/55151/files#r690233908. The are already breaking changes so I think it is better to be more strict.
@lpinca Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
This comment has been minimized.
This comment has been minimized.
- Add skipUTF8Validation
Omg the train of typos - |
🤦 |
I see. |
@tamuratak The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review. |
@vansergen, @weswigham, @lpinca, @k-yle, @onury, @rbuckton Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
@weswigham, @lpinca, @k-yle, @onury, @rbuckton Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
@tamuratak: Everything looks good here. I am ready to merge this PR (at f23e379) on your behalf whenever you think it's ready. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ (@loyd, @mlamp, @TitaneBoy, @reduckted, @teidesu, @wojtkowiak, @k-yle: you can do this too.) |
Ready to merge |
Update
ws
definitions to v8.2:Please fill in this template.
npm test <package to test>
.Select one of these and delete the others:
If changing an existing definition: