fix: req-real-ip Request type#70868
fix: req-real-ip Request type#70868lacherogwu wants to merge 8 commits intoDefinitelyTyped:masterfrom
Conversation
|
@lacherogwu Thank you for submitting this PR! This is a live comment that I will keep updated. 1 package in this PRCode ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. You can test the changes of this PR in the Playground. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 70868,
"author": "lacherogwu",
"headCommitOid": "8a5e63abc2b0b9cf5248acb8cffaad5bb27f9a50",
"mergeBaseOid": "7d37486ac2997c2baaf472a1cbd57137429895a0",
"lastPushDate": "2024-10-11T09:11:38.000Z",
"lastActivityDate": "2024-10-21T08:10:03.000Z",
"hasMergeConflict": true,
"isFirstContribution": false,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Well-liked by everyone",
"pkgInfo": [
{
"name": "req-real-ip",
"kind": "edit",
"files": [
{
"path": "types/req-real-ip/index.d.ts",
"kind": "definition"
},
{
"path": "types/req-real-ip/req-real-ip-tests.ts",
"kind": "test"
}
],
"owners": [
"lacherogwu"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
}
],
"reviews": [],
"mainBotCommentID": 2406983118,
"ciResult": "pass"
} |
|
🔔 @lacherogwu — you're the only owner, but it would still be good if you find someone to review this PR in the next few days, otherwise a maintainer will look at it. (And if you do find someone, maybe even recruit them to be a second owner to make future changes easier...) |
|
@lacherogwu Unfortunately, this pull request currently has a merge conflict 😥. Please update your PR branch to be up-to-date with respect to master. Have a nice day! |
|
Hi @lacherogwu, I think
Would you mind fixing it by adding I think such fix is quite critical, coz this package at this moment essentially blocks any PR modifying |
|
I said this on #70756 (comment) but I have no idea what happened to this package; where did it go? Did you unpublish it? We need to mark the package as not being on npm, or just delete it. It's not clear to me how the PR was accepted if the package didn't exist. |
|
|
|
I deleted this package in #70948. We can revert if the package comes back to npm. |
|
@lacherogwu Unfortunately, this pull request currently has a merge conflict 😥. Please update your PR branch to be up-to-date with respect to master. Have a nice day! |
|
I recommend to delete the package from NPM https://www.npmjs.com/package/@types/req-real-ip, the author of the npm package unpublished it I have republish the package on NPM https://www.npmjs.com/package/req-real-ip?activeTab=readme |
|
Now I'm even more confused. This was your package all along? Why did you send types to DT in the first place? I don't think it's worth bringing the DT package back just to delete it again; the real package will override the DT package, and the DT package will just remain undownloaded by anyone. (In any case, this PR itself is no longer a candidate for merging, so, closing it) |
No it wasn't my packages, if was some dude's package and he suddenly unpublish it, so I re-published it |
Please fill in this template.
pnpm test <package to test>.Select one of these and delete the others:
If changing an existing definition:
package.json.Context
I have noticed that the types do not match if I pass a request object of a lib such as Fastify/Express so I added only the necessary parts.