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
[yargs] fix: add a v15 folder without strictOptions #50717
Conversation
@forivall 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": 50717,
"author": "forivall",
"headCommitOid": "72cb30219ded5aa79b9fa554463f8f860e2e0f08",
"lastPushDate": "2021-01-19T22:19:45.000Z",
"lastActivityDate": "2021-01-29T00:28:04.000Z",
"maintainerBlessed": false,
"hasMergeConflict": false,
"isFirstContribution": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "yargs",
"kind": "edit",
"files": [
{
"path": "types/yargs/index.d.ts",
"kind": "definition"
},
{
"path": "types/yargs/v15/index.d.ts",
"kind": "definition"
},
{
"path": "types/yargs/v15/tsconfig.json",
"kind": "package-meta-ok"
},
{
"path": "types/yargs/v15/tslint.json",
"kind": "package-meta",
"suspect": "not [the expected form](https://github.com/DefinitelyTyped/DefinitelyTyped#user-content-linter-tslintjson)"
},
{
"path": "types/yargs/v15/yargs-tests.ts",
"kind": "test"
},
{
"path": "types/yargs/v15/yargs.d.ts",
"kind": "definition"
}
],
"owners": [
"poelstra",
"mizunashi-mana",
"pushplay",
"JimiC",
"steffenvv",
"forivall",
"ExE-Boss",
"Aankhen"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
}
],
"reviews": [
{
"type": "changereq",
"reviewer": "sheetalkamat",
"date": "2021-01-25T19:29:10.000Z"
}
],
"ciResult": "pass"
} |
🔔 @poelstra @mizunashi-mana @pushplay @JimiC @steffenvv @ExE-Boss @Aankhen — please review this PR in the next few days. Be sure to explicitly select |
👋 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? These typings are for a version of yargs that doesn’t yet exist on master, so I’ve compared them with v15.0. Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
@@ -1,4 +1,4 @@ | |||
// Type definitions for yargs 15.0 | |||
// Type definitions for yargs 16.0 | |||
// Project: https://github.com/chevex/yargs, https://yargs.js.org |
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.
There is no change between v16 and v15 currently. This change needs to be hold off if there is no change between these two versions
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.
strictOptions
doesn't exist in v15. That's the point of this change.
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.
I dont see any change in v16? Can you point where the change is between v15 and v16 in these definitions?
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.
.strictOptions
exists here and i've removed it here. See the diff
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.
Thank you. it got lost in big copy.. normally when versions change the change is in index.d.ts and not the older version. Thank you for the pointers.
@forivall One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you! |
I just published |
I just published |
Please fill in this template.
npm test <package to test>
.Select one of these and delete the others:
If changing an existing definition:
strictOptions
does not exist in yargs v15. it was added in feat: adds strictOptions() yargs/yargs#1738See also: #48657 which added strictOptions typings, erroneously to v15