Skip to content

Conversation

@SimonSchick
Copy link
Contributor

@SimonSchick SimonSchick commented May 6, 2021

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

Depends on #52775

@typescript-bot
Copy link
Contributor

typescript-bot commented May 6, 2021

@SimonSchick Thank you for submitting this PR!

This is a live comment which 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 in 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": 52776,
  "author": "SimonSchick",
  "headCommitOid": "e492a481dd00fb5a824d55a5f1f6530c809f938b",
  "lastPushDate": "2021-06-02T22:14:23.000Z",
  "lastActivityDate": "2021-06-03T13:54:23.000Z",
  "mergeOfferDate": "2021-06-03T13:51:15.000Z",
  "mergeRequestDate": "2021-06-03T13:54:23.000Z",
  "mergeRequestUser": "SimonSchick",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "node",
      "kind": "edit",
      "files": [
        {
          "path": "types/node/child_process.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/crypto.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/globals.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/http2.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/stream.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/test/child_process.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/crypto.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/http2.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/stream.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/worker_threads.ts",
          "kind": "test"
        },
        {
          "path": "types/node/ts3.6/base.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/worker_threads.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "Microsoft",
        "DefinitelyTyped",
        "jkomyno",
        "alvis",
        "r3nya",
        "btoueg",
        "smac89",
        "touffy",
        "DeividasBakanas",
        "eyqs",
        "Hannes-Magnusson-CK",
        "KSXGitHub",
        "hoo29",
        "kjin",
        "ajafff",
        "islishude",
        "mwiktorczyk",
        "mohsen1",
        "n-e",
        "galkin",
        "parambirs",
        "eps1lon",
        "SimonSchick",
        "ThomasdenH",
        "WilcoBakker",
        "wwwy3y3",
        "samuela",
        "kuehlein",
        "bhongy",
        "chyzwar",
        "trivikr",
        "nguymin4",
        "yoursunny",
        "qwelias",
        "ExE-Boss",
        "Ryan-Willpower",
        "peterblazejewicz",
        "addaleax",
        "JasonHK",
        "victorperin",
        "ZYSzys"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "peterblazejewicz",
      "date": "2021-06-03T13:50:41.000Z",
      "isMaintainer": true
    },
    {
      "type": "stale",
      "reviewer": "dnalborczyk",
      "date": "2021-05-27T11:33:59.000Z",
      "abbrOid": "f9966f7"
    }
  ],
  "mainBotCommentID": 833161334,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Contributor

typescript-bot commented May 6, 2021

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label May 6, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels May 7, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added Author is Owner The author of this PR is a listed owner of the package. The CI failed When GH Actions fails and removed Edits multiple packages The CI failed When GH Actions fails labels May 13, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. and removed Check Config Changes a module config files labels May 14, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick 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!

@SimonSchick SimonSchick mentioned this pull request May 17, 2021
17 tasks
@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. The CI failed When GH Actions fails labels May 18, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@typescript-bot typescript-bot added the Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. label May 21, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick 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!

@typescript-bot typescript-bot added Edits multiple packages and removed Author is Owner The author of this PR is a listed owner of the package. Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. labels May 21, 2021
@typescript-bot typescript-bot added The CI failed When GH Actions fails and removed The CI failed When GH Actions fails labels May 21, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@peterblazejewicz
Copy link
Member

Tests are failing: ref: ##53432

@typescript-bot typescript-bot added the Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. label Jun 2, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick 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!

@typescript-bot typescript-bot added Author is Owner The author of this PR is a listed owner of the package. and removed Edits multiple packages Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. The CI failed When GH Actions fails labels Jun 2, 2021
@typescript-bot
Copy link
Contributor

@dnalborczyk 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 Jun 3, 2021
@SimonSchick
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit 95fd1eb into DefinitelyTyped:master Jun 3, 2021
@typescript-bot
Copy link
Contributor

I just published @types/node@15.12.0 to npm.

@SimonSchick SimonSchick deleted the node/v15.12 branch June 3, 2021 16:23
/**
* Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
*/
abort(): void;
Copy link
Contributor

@achingbrain achingbrain Jun 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is being treated as an instance method which I'm not sure is correct.

There's nothing on the node docs for an abort() instance method on AbortSignal, only a static AbortSignal.abort() method. There's also nothing on the MDN docs for this method and it's not in the node.js source for AbortSignal either.

TS compilation with @types/node@15.12.0 fails with:

 Argument of type 'import("/path/to/node_modules/abort-controller/dist/abort-controller").AbortSignal' is not assignable to parameter of type 'AbortSignal'.
  Property 'abort' is missing in type 'import("/path/to/node_modules/abort-controller/dist/abort-controller").AbortSignal' but required in type 'AbortSignal'.

  node_modules/@types/node/globals.d.ts:339:5
    339     abort(): void;
            ~~~~~~~~~~~~~~
    'abort' is declared here.

node_modules/abort-controller is the abort-controller module, on which the node implementation is closely based.

@types/node@15.9.0 works as expected.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this PR was already merged. you might wanna open an issue or better create a PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yea I read the changelog wrong, I will file a PR asap.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I cannot make it static as this will conflict with the lib dom typings, I will remove the method entirely for now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is here for anyone with power to approve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author is Owner The author of this PR is a listed owner of the package. Critical package Maintainer Approved 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