Skip to content
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

[node] Fix module.findSourceMap can return undefined #71216

Merged
merged 3 commits into from
Nov 23, 2024

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Nov 21, 2024

See:

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

  • Provide a URL to documentation or source code which provides context for the suggested changes: <>
  • If this PR brings the type definitions up to date with a new version of the JS library, update the version number in the package.json.

@typescript-bot
Copy link
Contributor

typescript-bot commented Nov 21, 2024

@vicb Thank you for submitting this PR!

This is a live comment that I will keep updated.

1 package in this PR

Code Reviews

Because 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

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Most recent commit is approved by a DT maintainer

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": 71216,
  "author": "vicb",
  "headCommitOid": "dc8a4b51dc58aa800132fa4a7ffc5e73dbed3b3a",
  "mergeBaseOid": "9d2237e257d53a8d31eb09021e4f1d40cae6b4ef",
  "lastPushDate": "2024-11-21T07:40:01.000Z",
  "lastActivityDate": "2024-11-23T04:18:44.000Z",
  "mergeOfferDate": "2024-11-22T21:46:39.000Z",
  "mergeRequestDate": "2024-11-23T04:18:44.000Z",
  "mergeRequestUser": "vicb",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "node",
      "kind": "edit",
      "files": [
        {
          "path": "types/node/module.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/test/module.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v18/module.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v20/module.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "Microsoft",
        "jkomyno",
        "alvis",
        "r3nya",
        "btoueg",
        "smac89",
        "touffy",
        "DeividasBakanas",
        "eyqs",
        "Hannes-Magnusson-CK",
        "hoo29",
        "kjin",
        "ajafff",
        "islishude",
        "mwiktorczyk",
        "mohsen1",
        "galkin",
        "parambirs",
        "eps1lon",
        "ThomasdenH",
        "WilcoBakker",
        "wwwy3y3",
        "samuela",
        "kuehlein",
        "bhongy",
        "chyzwar",
        "trivikr",
        "yoursunny",
        "qwelias",
        "ExE-Boss",
        "peterblazejewicz",
        "addaleax",
        "victorperin",
        "ZYSzys",
        "NodeJS",
        "LinusU",
        "wafuwafu13",
        "mcollina",
        "Semigradsky"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "anonrig",
      "date": "2024-11-22T22:33:33.000Z",
      "isMaintainer": false
    },
    {
      "type": "approved",
      "reviewer": "rbuckton",
      "date": "2024-11-22T21:46:01.000Z",
      "isMaintainer": true
    },
    {
      "type": "stale",
      "reviewer": "eps1lon",
      "date": "2024-11-21T12:52:45.000Z",
      "abbrOid": "253b69e"
    }
  ],
  "mainBotCommentID": 2490282655,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added Critical package Untested Change This PR does not touch tests labels Nov 21, 2024
@typescript-bot typescript-bot added the Owner Approved A listed owner of this package signed off on the pull request. label Nov 21, 2024
@typescript-bot typescript-bot added the Other Approved This PR was reviewed and signed-off by a community member. label Nov 21, 2024
@vicb vicb changed the title Fix module.findSourceMap can return undefined [node] Fix module.findSourceMap can return undefined Nov 22, 2024
@typescript-bot typescript-bot removed Other Approved This PR was reviewed and signed-off by a community member. Owner Approved A listed owner of this package signed off on the pull request. Untested Change This PR does not touch tests labels Nov 22, 2024
@vicb
Copy link
Contributor Author

vicb commented Nov 22, 2024

Added tests for the return type of module.findSourceMap

@vicb vicb requested review from eps1lon and anonrig November 22, 2024 07:21
@typescript-bot
Copy link
Contributor

@anonrig, @eps1lon 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?

@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Nov 22, 2024
@typescript-bot
Copy link
Contributor

@vicb: Everything looks good here. I am ready to merge this PR (at dc8a4b5) on your behalf whenever you think it's ready.

If you'd like that to happen, please post a comment saying:

Ready to merge

and I'll merge this PR almost instantly. Thanks for helping out! ❤️

(@microsoft, @jkomyno, @alvis, @r3nya, @btoueg, @smac89, @Touffy, @DeividasBakanas, @eyqs, @Hannes-Magnusson-CK, @hoo29, @kjin, @ajafff, @islishude, @mwiktorczyk, @mohsen1, @galkin, @parambirs, @eps1lon, @ThomasdenH, @WilcoBakker, @wwwy3y3, @samuela, @kuehlein, @bhongy, @chyzwar, @trivikr, @yoursunny, @qwelias, @ExE-Boss, @peterblazejewicz, @addaleax, @victorperin, @ZYSzys, @nodejs, @LinusU, @wafuwafu13, @mcollina, @Semigradsky: you can do this too.)

@typescript-bot typescript-bot added the Other Approved This PR was reviewed and signed-off by a community member. label Nov 22, 2024
@typescript-bot
Copy link
Contributor

@eps1lon 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?

@vicb
Copy link
Contributor Author

vicb commented Nov 23, 2024

Thanks for the reviews!

Ready to merge

@typescript-bot typescript-bot merged commit ed4beff into DefinitelyTyped:master Nov 23, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical package Maintainer Approved Other Approved This PR was reviewed and signed-off by a community member. Self Merge This PR can now be self-merged by the PR author or an owner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants