Skip to content

Conversation

@SimonSchick
Copy link
Contributor

Please fill in this template.

Select one of these and delete the others:

If changing an existing definition:

Depends on #52732

@SimonSchick SimonSchick mentioned this pull request May 6, 2021
8 tasks
@SimonSchick SimonSchick changed the title Node/v15.9 feat(node): v15.9 May 6, 2021
@SimonSchick SimonSchick marked this pull request as ready for review May 7, 2021 02:21
@typescript-bot
Copy link
Contributor

typescript-bot commented May 7, 2021

@SimonSchick Thank you for submitting this PR!

This is a live comment which I will keep updated.

2 packages 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
  • ✅ A DT maintainer needs to approve changes which affect more than one package

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": 52775,
  "author": "SimonSchick",
  "headCommitOid": "41fb79f4e15cb33544f9a15bdd1d395dc550c721",
  "lastPushDate": "2021-06-02T16:51:03.000Z",
  "lastActivityDate": "2021-06-02T22:10:46.000Z",
  "mergeOfferDate": "2021-06-02T19:02:49.000Z",
  "mergeRequestDate": "2021-06-02T22:10:46.000Z",
  "mergeRequestUser": "SimonSchick",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "express-serve-static-core",
      "kind": "edit",
      "files": [
        {
          "path": "types/express-serve-static-core/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/express-serve-static-core/ts4.0/index.d.ts",
          "kind": "definition"
        }
      ],
      "owners": [
        "borisyankov",
        "19majkel94",
        "kacepe",
        "micksatana",
        "samijaber",
        "JoseLion",
        "dwrss",
        "andoshin11"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    },
    {
      "name": "node",
      "kind": "edit",
      "files": [
        {
          "path": "types/node/buffer.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/crypto.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/dgram.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/fs.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/fs/promises.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/http.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/os.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/perf_hooks.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/process.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/readline.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/test/buffer.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/crypto.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/dgram.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/fs.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/http.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/perf_hooks.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/readline.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/timers_promises.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/tls.ts",
          "kind": "test"
        },
        {
          "path": "types/node/timers.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/timers/promises.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/tls.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/wasi.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-02T19:02:14.000Z",
      "isMaintainer": true
    },
    {
      "type": "stale",
      "reviewer": "dnalborczyk",
      "date": "2021-05-27T11:31:51.000Z",
      "abbrOid": "96bfad9"
    }
  ],
  "mainBotCommentID": 834010740,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Contributor

typescript-bot commented May 7, 2021

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label 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 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 21, 2021
@SimonSchick
Copy link
Contributor Author

Accidentally mushed together 15.8 and 15.9 commits while rebasing, hope that's not an issue.

@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 31, 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 removed the The CI failed When GH Actions fails label May 31, 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?

@SimonSchick
Copy link
Contributor Author

Oh hey, it works~

@SimonSchick
Copy link
Contributor Author

@peterblazejewicz current workaround is to use node:buffer (which is supported anyways), so I think this is ready to merge!

Comment on lines 149 to 150
terminal?: boolean;
history?: string[];
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
terminal?: boolean;
history?: string[];
history?: string[];
terminal?: boolean;

@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 removed Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. Maintainer Approved labels Jun 2, 2021
@typescript-bot
Copy link
Contributor

@peterblazejewicz, @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 2, 2021
@SimonSchick
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit c886d9b into DefinitelyTyped:master Jun 2, 2021
@SimonSchick SimonSchick deleted the node/v15.9 branch June 2, 2021 22:14
@typescript-bot
Copy link
Contributor

I just published @types/express-serve-static-core@4.17.21 to npm.

@typescript-bot
Copy link
Contributor

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

@SimonSchick
Copy link
Contributor Author

@Meyclem I saw a comment from you in my emails but cannot find it here, did you delete it? Is it still something that needs to be addressed?

@electerious
Copy link

I've updated my dependencies and now I'm getting the following error. It somehow seems to be related to this PR, but I'm not sure in which way as I'm not directly using the types (it's a dependency of a dependency. No fun to debug at all :D).

./../node_modules/.pnpm/@types+express-serve-static-core@4.17.19/node_modules/@types/express-serve-static-core/index.d.ts:589:18 - error TS2430: Interface 'Response<ResBody, Locals, StatusCode>' incorrectly extends interface 'ServerResponse'.
  Property 'req' is optional in type 'Response<ResBody, Locals, StatusCode>' but required in type 'ServerResponse'.

589 export interface Response<
                     ~~~~~~~~

../../node_modules/.pnpm/@types+express@4.17.11/node_modules/@types/express/index.d.ts:58:55 - error TS2344: Type 'Response<any, Record<string, any>>' does not satisfy the constraint 'ServerResponse'.
  Property 'req' is optional in type 'Response<any, Record<string, any>>' but required in type 'ServerResponse'.

58     var static: serveStatic.RequestHandlerConstructor<Response>;

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

Labels

Critical package Edits multiple packages 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