Fix ioredis xadd typelib to allow use of MAXLEN set of parameters#59294
Conversation
|
@chris-codaio Thank you for submitting this PR! This is a live comment which I will keep updated. 1 package in this PR
Code 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": 59294,
"author": "chris-codaio",
"headCommitOid": "3ef6f0925bb2becdafd2bb096bbe7e45f7d0d4c0",
"mergeBaseOid": "d7d9c1d76dead09380e702d858b40432a29d8a48",
"lastPushDate": "2022-03-15T16:42:45.000Z",
"lastActivityDate": "2022-03-17T21:11:32.000Z",
"mergeOfferDate": "2022-03-17T21:09:49.000Z",
"mergeRequestDate": "2022-03-17T21:11:32.000Z",
"mergeRequestUser": "chris-codaio",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "ioredis",
"kind": "edit",
"files": [
{
"path": "types/ioredis/index.d.ts",
"kind": "definition"
}
],
"owners": [
"plantain-00",
"chrisleck",
"aliarham11",
"br8h",
"palindrom615",
"funthing",
"iamolegga",
"tingwai-to",
"pettyalex",
"SimonSchick",
"tianlinle",
"demian85",
"alavers",
"ClaudiuCeia",
"asyrique",
"barakplasma",
"hannesvdvreken",
"venku122",
"michieldemey",
"honeyirene",
"DracoVirus"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "gabritto",
"date": "2022-03-17T21:09:11.000Z",
"isMaintainer": true
},
{
"type": "approved",
"reviewer": "plantain-00",
"date": "2022-03-15T23:29:55.000Z",
"isMaintainer": false
}
],
"mainBotCommentID": 1068218228,
"ciResult": "pass"
} |
|
Hey @chris-codaio, 😒 Your PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Please consider adding tests to cover the change you're making. Including tests allows this PR to be merged by yourself and the owners of this module. This can potentially save days of time for you! |
|
🔔 @plantain-00 @chrisleck @aliarham11 @br8h @palindrom615 @funthing @iamolegga @tingwai-to @pettyalex @SimonSchick @tianlinle @demian85 @alavers @ClaudiuCeia @asyrique @barakplasma @hannesvdvreken @venku122 @MichielDeMey @honeyirene @DracoVirus — please review this PR in the next few days. Be sure to explicitly select |
|
Inspecting the JavaScript source for this package found some properties that are not in the .d.ts files. ioredis (unpkg)was missing the following properties:
as well as these 5 other properties...SentinelConnector, SentinelIterator, ReplyError, Promise, print |
|
@chris-codaio: Everything looks good here. I am ready to merge this PR (at 3ef6f09) 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! ❤️ (@plantain-00, @chrisleck, @aliarham11, @br8h, @palindrom615, @funthing, @iamolegga, @tingwai-to, @pettyalex, @SimonSchick, @tianlinle, @demian85, @alavers, @ClaudiuCeia, @asyrique, @barakplasma, @hannesvdvreken, @venku122, @MichielDeMey, @honeyirene, @DracoVirus: you can do this too.) |
|
Ready to merge |
As the type stands,
numbertypes are not allowed, preventing the MAXLENthresholdand LIMITcountparameters being passed in.npm test <package to test>.