Conversation
|
@UziTech Thank you for submitting this PR! This is a live comment which I will keep updated. This PR touches some part of DefinitelyTyped infrastructure, so a DT maintainer will need to review it. This is rare — did you mean to do this? 2 packages in this PR (and infra files)
Code ReviewsBecause this PR edits multiple packages, it can be merged once it's reviewed by a DT maintainer. 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": 66762,
"author": "UziTech",
"headCommitOid": "1b6d1909f7aeaa3a2db4c768778ae981b5a0f4f9",
"mergeBaseOid": "d6df71f271f38735049115008ff6b5de169c9450",
"lastPushDate": "2023-09-20T05:53:15.000Z",
"lastActivityDate": "2023-10-03T23:25:35.000Z",
"mergeOfferDate": "2023-10-03T22:16:51.000Z",
"mergeRequestDate": "2023-10-03T23:25:35.000Z",
"mergeRequestUser": "UziTech",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Popular",
"pkgInfo": [
{
"name": null,
"kind": "edit",
"files": [
{
"path": "notNeededPackages.json",
"kind": "infrastructure"
}
],
"owners": [],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
},
{
"name": "marked-terminal",
"kind": "edit",
"files": [
{
"path": "types/marked-terminal/marked-terminal-tests.ts",
"kind": "test"
},
{
"path": "types/marked-terminal/package.json",
"kind": "package-meta-ok"
},
{
"path": "types/marked-terminal/tsconfig.json",
"kind": "package-meta-ok"
}
],
"owners": [
"bkendall"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "marked",
"kind": "delete",
"files": [
{
"path": "types/marked/OTHER_FILES.txt",
"kind": "package-meta-ok"
},
{
"path": "types/marked/index.d.mts",
"kind": "package-meta",
"suspect": "edited"
},
{
"path": "types/marked/index.d.ts",
"kind": "definition"
},
{
"path": "types/marked/marked-tests.ts",
"kind": "test"
},
{
"path": "types/marked/package.json",
"kind": "package-meta-ok"
},
{
"path": "types/marked/tsconfig.json",
"kind": "package-meta-ok"
},
{
"path": "types/marked/tslint.json",
"kind": "package-meta-ok"
},
{
"path": "types/marked/v3/.eslintrc.json",
"kind": "package-meta",
"suspect": "edited"
},
{
"path": "types/marked/v3/index.d.ts",
"kind": "definition"
},
{
"path": "types/marked/v3/marked-tests.ts",
"kind": "test"
},
{
"path": "types/marked/v3/tsconfig.json",
"kind": "package-meta-ok"
},
{
"path": "types/marked/v3/tslint.json",
"kind": "package-meta-ok"
},
{
"path": "types/marked/v4/OTHER_FILES.txt",
"kind": "package-meta-ok"
},
{
"path": "types/marked/v4/index.d.mts",
"kind": "package-meta",
"suspect": "edited"
},
{
"path": "types/marked/v4/index.d.ts",
"kind": "definition"
},
{
"path": "types/marked/v4/marked-tests.ts",
"kind": "test"
},
{
"path": "types/marked/v4/tsconfig.json",
"kind": "package-meta-ok"
},
{
"path": "types/marked/v4/tslint.json",
"kind": "package-meta-ok"
}
],
"owners": [
"worr",
"BendingBender",
"CrossR",
"mwickett",
"htkzhtm",
"ezracelli",
"scandinave",
"sarunint",
"UziTech",
"Toliak",
"jfcere",
"MykSto"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "rbuckton",
"date": "2023-10-03T22:16:02.000Z",
"isMaintainer": true
},
{
"type": "approved",
"reviewer": "worr",
"date": "2023-10-01T10:07:11.000Z",
"isMaintainer": false
},
{
"type": "approved",
"reviewer": "Toliak",
"date": "2023-10-01T09:34:49.000Z",
"isMaintainer": false
},
{
"type": "approved",
"reviewer": "sarunint",
"date": "2023-09-28T19:36:09.000Z",
"isMaintainer": false
},
{
"type": "stale",
"reviewer": "sheetalkamat",
"date": "2023-09-21T18:20:40.000Z",
"abbrOid": "85959f1"
}
],
"mainBotCommentID": 1727015269,
"ciResult": "pass"
} |
|
🔔 @bkendall @worr @BendingBender @CrossR @mwickett @htkzhtm @ezracelli @scandinave @sarunint @Toliak @jfcere @MykSto — please review this PR in the next few days. Be sure to explicitly select |
|
@UziTech 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. |
cfea792 to
ee5b71c
Compare
ee5b71c to
aa657d7
Compare
|
@UziTech 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. |
|
@UziTech 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. |
|
@UziTech 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. |
1 similar comment
| @@ -1,4 +1,4 @@ | |||
| import * as marked from 'marked'; | |||
| import { marked } from 'marked'; | |||
There was a problem hiding this comment.
| import { marked } from 'marked'; | |
| import * as marked from 'marked'; |
There was a problem hiding this comment.
The default export was removed in marked@v4.0.0
There was a problem hiding this comment.
This will fail with the error:
Type 'typeof import("/home/runner/work/DefinitelyTyped/DefinitelyTyped/types/marked-terminal/node_modules/marked/lib/marked")' has no call signatures.
| "paths": { | ||
| "marked": [ "marked/v3" ] | ||
| }, | ||
| "target": "es6", |
There was a problem hiding this comment.
| "target": "es6", |
There was a problem hiding this comment.
This is needed since marked uses private methods
error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
There was a problem hiding this comment.
This is ok according to the docs:
You may edit the tsconfig.json to add new test files, to add "target": "es6"
|
@UziTech 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! |
|
@UziTech 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! |
|
@sheetalkamat, @worr, @Toliak 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? |
sarunint
left a comment
There was a problem hiding this comment.
LGTM, and congratulations for getting type definitions into the package itself!
|
@sheetalkamat can you please approve or respond to my comments? Thanks! |
|
Re-ping @bkendall, @BendingBender, @CrossR, @mwickett, @htkzhtm, @ezracelli, @scandinave, @jfcere, @MykSto: This PR has been out for over a week, yet I haven't seen any reviews. Could someone please give it some attention? Thanks! |
Toliak
left a comment
There was a problem hiding this comment.
Congratulations for bringing type definitions into the marked itself 🎉
|
@sheetalkamat, @worr 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? |
worr
left a comment
There was a problem hiding this comment.
Glad to see this wrapped up 😊
|
@sheetalkamat 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? |
|
@UziTech: Everything looks good here. I am ready to merge this PR (at 1b6d190) 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! ❤️ |
|
Ready to merge |
Please fill in this template.
npm test <package to test>.Select one of these and delete the others:
If removing a declaration:
notNeededPackages.json.