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
fix: update @types/jest dependencies #48426
Conversation
@SimenB 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. 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": 48426,
"author": "SimenB",
"owners": [
"NoHomey",
"jwbay",
"asvetliakov",
"alexjoverm",
"epicallan",
"ikatyang",
"wsmd",
"JamieMason",
"douglasduteil",
"ahnpnl",
"joshuakgoldberg",
"UselessPickles",
"r3nya",
"hotell",
"sebald",
"andys8",
"antoinebrault",
"gstamac",
"ExE-Boss",
"quassnoi",
"Belco90",
"tonyhallett",
"ycmjason",
"devanshj",
"pawfa",
"regevbr"
],
"dangerLevel": "ScopedAndConfiguration",
"headCommitAbbrOid": "8529d3b",
"headCommitOid": "8529d3b87200e3d78ff6460cfa6937ff0865857d",
"mergeIsRequested": false,
"stalenessInDays": 0,
"lastPushDate": "2020-10-02T12:45:19.000Z",
"lastCommentDate": "2020-10-02T13:25:34.000Z",
"maintainerBlessed": false,
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/48426/files",
"hasMergeConflict": false,
"authorIsOwner": false,
"isFirstContribution": false,
"popularityLevel": "Critical",
"newPackages": [],
"packages": [
"jest"
],
"files": [
{
"path": "types/jest/package.json",
"kind": "package-meta",
"package": "jest",
"suspect": "edited"
}
],
"hasDismissedReview": false,
"ciResult": "fail",
"ciUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/commit/8529d3b87200e3d78ff6460cfa6937ff0865857d/checks?check_suite_id=1278729806",
"reviewersWithStaleReviews": [],
"approvalFlags": 0,
"isChangesRequested": false
} |
🔔 @NoHomey @jwbay @asvetliakov @alexjoverm @epicallan @ikatyang @wsmd @JamieMason @douglasduteil @ahnpnl @JoshuaKGoldberg @UselessPickles @r3nya @Hotell @sebald @andys8 @antoinebrault @gstamac @ExE-Boss @quassnoi @Belco90 @tonyhallett @ycmjason @devanshj @pawfa @regevbr — please review this PR in the next few days. Be sure to explicitly select |
@SimenB The CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! |
wonderful 😛 I'm not gonna dig into that, so I'll just close this |
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
I'm thinking it's probably just time to make the min ts version for
While breaking, I don't think we could attempt to do this in a major due to the downstream types, and also I don't think it'll be as negative as it may seem, since:
@ExE-Boss @L2jLiga what do you think? The best way to go about this is probably to make a PR against each of the above packages bumping their min ts version to 3.8, and then we'll be able to bump |
My hope for |
@SimenB yeah this'll be one of the requirements for landing #44365, so we need to do this at some point - 3.8 becomes the min supported by DT in 2022, so it'll happen eventually... provided that jest doesn't bump their min. All the more reason I think that we should force downstream types to match jest's min, and then ensure they're updated whenever jest ups its min. |
Please fill in this template.
npm test YOUR_PACKAGE_NAME
.)npm run lint package-name
(ortsc
if notslint.json
is present).Select one of these and delete the others:
If changing an existing definition:
tslint.json
containing{ "extends": "dtslint/dt.json" }
. If for reason the any rule need to be disabled, disable it for that line using// tslint:disable-next-line [ruleName]
and not for whole package so that the need for disabling can be reviewed.I just made this change in the GH UI, hopefully it'll pass 🙂