Skip to content

chore(node): declutter NodeJS namespace#44814

Closed
SimonSchick wants to merge 1 commit intoDefinitelyTyped:masterfrom
SimonSchick:chore/node-declutter-global
Closed

chore(node): declutter NodeJS namespace#44814
SimonSchick wants to merge 1 commit intoDefinitelyTyped:masterfrom
SimonSchick:chore/node-declutter-global

Conversation

@SimonSchick
Copy link
Copy Markdown
Contributor

@SimonSchick SimonSchick commented May 17, 2020

Please fill in this template.

  • Use a meaningful title for the pull request. Include the name of the package modified.
  • Test the change in your own code. (Compile and run.)
  • Add or edit tests to reflect the change. (Run with npm test.)
  • Follow the advice from the readme.
  • Avoid common mistakes.
  • Run npm run lint package-name (or tsc if no tslint.json is present).

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 header.
  • Include tests for your changes
  • If you are making substantial changes, consider adding a tslint.json containing { "extends": "dtslint/dt.json" }. If for reason the any rule need to be disabled, disable it for that line using // tslint:disable-next-line [ruleName] and not for whole package so that the need for disabling can be reviewed.

If removing a declaration:

  • If a package was never on DefinitelyTyped, you don't need to do anything. (If you wrote a package and provided types, you don't need to register it with us.)
  • Delete the package's directory.
  • Add it to notNeededPackages.json.

This PR aims to declutter the NodeJS namespace and globa.d.ts by moving definitions into their respective modules.
This includes: events, console, buffer, domain.

Events

There used to (and still is) NodeJS.EventEmitter this type was only created so it could be used for other global definitions, EventEmitter should be imported from events instead, a compability alias has been provided.

Process

All process related definitions have been moved to process.d.ts, most popular definitions have compatilibity aliases (eg. NodeJS.ProcessEnv etc.), all others have been moved to process and must be imported from there.

Caveat: I can't seem to augment HRTime for bigint usage anymore Fixed.

Stream

As evident by my refactors to other packages, there is a general confusion between NodeJS.WriteStream/ReadStream (the TTY variant) and NodeJS.ReadableStream/WritatableStream (pure stream).
I have removed the TTY aliases and changed all imports in third party packages to use tty instead.

Buffer

No visible changes for consumers.

There appears to be a bug in TS that causes NodeJS.ArrayBufferView to not be resolved correctly, I'm looking into filing an issue for this.

Domain

By moving process definitions into their respective module, NodeJS.Domain is no longer needed and was removed, use import { Domain } from 'domain'; instead.

Console

NodeJS.ConsoleConstructorOptions and NodeJS.ConsoleConstructor have been moved into the console module.

For the future

  • Remove all DT references to NodeJS.EventEmitter and eventually deprecate it?
  • Consolidate NodeJS.WritableStream/ReadableStream with definitions in stream to avoid confusion.

@SimonSchick
Copy link
Copy Markdown
Contributor Author

@Flarna tagging ya for early 👀, I also need some help with the error showing up in buffer.d.ts.

@typescript-bot
Copy link
Copy Markdown
Contributor

👋 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?

color-support/v*

Comparison details for color-support/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 62.8 64.0 +1.9%
Type count 9239 9016 -2%
Assignability cache size 3210 3149 -2%
Language service
Samples taken 66 66 0%
Identifiers in tests 66 66 0%
getCompletionsAtPosition
    Mean duration (ms) 304.6 308.0 +1.1%
    Mean CV 12.0% 12.9%
    Worst duration (ms) 424.3 391.3 -7.8%
    Worst identifier log log
getQuickInfoAtPosition
    Mean duration (ms) 301.2 302.5 +0.4%
    Mean CV 13.6% 13.1% -3.5%
    Worst duration (ms) 355.9 372.4 +4.6%
    Worst identifier console result

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

depd/v*

Comparison details for depd/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 104.0 102.4 -1.5%
Type count 17158 16937 -1%
Assignability cache size 37608 37546 0%
Language service
Samples taken 56 56 0%
Identifiers in tests 56 56 0%
getCompletionsAtPosition
    Mean duration (ms) 511.2 526.0 +2.9%
    Mean CV 10.9% 11.3%
    Worst duration (ms) 603.4 624.7 +3.5%
    Worst identifier obj2 deprecate
getQuickInfoAtPosition
    Mean duration (ms) 507.0 514.5 +1.5%
    Mean CV 10.7% 10.6% -1.0%
    Worst duration (ms) 610.2 599.6 -1.7%
    Worst identifier deprecate deprecate

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

deprecate/v*

Comparison details for deprecate/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 63.0 63.1 +0.2%
Type count 9221 8998 -2%
Assignability cache size 3208 3146 -2%
Language service
Samples taken 12 12 0%
Identifiers in tests 12 12 0%
getCompletionsAtPosition
    Mean duration (ms) 324.8 312.8 -3.7%
    Mean CV 10.0% 11.3%
    Worst duration (ms) 426.0 363.8 -14.6%
    Worst identifier deprecate stderr
getQuickInfoAtPosition
    Mean duration (ms) 301.9 308.9 +2.3%
    Mean CV 8.3% 9.0% +8.5%
    Worst duration (ms) 342.7 392.8 +14.6%
    Worst identifier color stderr

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

derhuerst__cli-on-key/v*

Comparison details for derhuerst__cli-on-key/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 61.3 62.8 +2.4%
Type count 9216 8993 -2%
Assignability cache size 3212 3150 -2%
Language service
Samples taken 13 13 0%
Identifiers in tests 13 13 0%
getCompletionsAtPosition
    Mean duration (ms) 314.8 310.3 -1.4%
    Mean CV 12.2% 12.1%
    Worst duration (ms) 371.9 366.9 -1.4%
    Worst identifier stdin stdin
getQuickInfoAtPosition
    Mean duration (ms) 306.7 318.2 +3.7%
    Mean CV 9.3% 11.8% +27.7%
    Worst duration (ms) 337.3 348.4 +3.3%
    Worst identifier OffKeyPress onKeypress

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

gulp-zip/v*

Comparison details for gulp-zip/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 61.5 59.3 -3.6%
Type count 9224 9001 -2%
Assignability cache size 3211 3153 -2%
Language service
Samples taken 12 12 0%
Identifiers in tests 12 12 0%
getCompletionsAtPosition
    Mean duration (ms) 316.6 313.8 -0.9%
    Mean CV 12.1% 12.7%
    Worst duration (ms) 352.1 383.2 +8.8%
    Worst identifier Date on
getQuickInfoAtPosition
    Mean duration (ms) 301.2 305.7 +1.5%
    Mean CV 9.0% 10.4% +15.6%
    Worst duration (ms) 370.6 398.0 +7.4%
    Worst identifier compress on

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

hapi-pino/v*

Comparison details for hapi-pino/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 71.5 71.6 +0.1%
Type count 11821 11589 -2%
Assignability cache size 4092 4030 -2%
Language service
Samples taken 108 108 0%
Identifiers in tests 108 108 0%
getCompletionsAtPosition
    Mean duration (ms) 386.1 392.3 +1.6%
    Mean CV 10.6% 10.2%
    Worst duration (ms) 471.6 509.1 +7.9%
    Worst identifier translateTime getChildBindings
getQuickInfoAtPosition
    Mean duration (ms) 380.9 389.8 +2.3%
    Mean CV 10.1% 10.5% +3.3%
    Worst duration (ms) 462.1 480.4 +4.0%
    Worst identifier ignore getChildBindings

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

node/v*

Comparison details for node/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 105.1 105.9 +0.8%
Type count 17146 16923 -1%
Assignability cache size 37592 37530 0%
Language service
Samples taken 46 46 0%
Identifiers in tests 46 46 0%
getCompletionsAtPosition
    Mean duration (ms) 557.6 561.3 +0.7%
    Mean CV 11.4% 10.6%
    Worst duration (ms) 704.9 718.8 +2.0%
    Worst identifier a deepStrictEqual
getQuickInfoAtPosition
    Mean duration (ms) 541.7 548.8 +1.3%
    Mean CV 10.6% 10.4% -1.6%
    Worst duration (ms) 650.2 708.9 +9.0%
    Worst identifier deepStrictEqual a

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

pkgcloud/v*

Comparison details for pkgcloud/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 64.5 63.3 -2.0%
Type count 9428 9186 -3%
Assignability cache size 3308 3215 -3%
Language service
Samples taken 91 91 0%
Identifiers in tests 91 91 0%
getCompletionsAtPosition
    Mean duration (ms) 296.8 300.2 +1.1%
    Mean CV 11.2% 12.5%
    Worst duration (ms) 369.1 359.1 -2.7%
    Worst identifier console createClient
getQuickInfoAtPosition
    Mean duration (ms) 299.4 296.5 -1.0%
    Mean CV 12.6% 10.8% -14.0%
    Worst duration (ms) 351.8 369.3 +5.0%
    Worst identifier writeStream keyId

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

semantic-release/v*

Comparison details for semantic-release/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 104.4 104.4 0.0%
Type count 17293 17070 -1%
Assignability cache size 37627 37565 0%
Language service
Samples taken 135 135 0%
Identifiers in tests 135 135 0%
getCompletionsAtPosition
    Mean duration (ms) 503.2 511.6 +1.7%
    Mean CV 9.3% 10.0%
    Worst duration (ms) 610.2 658.6 +7.9%
    Worst identifier type short
getQuickInfoAtPosition
    Mean duration (ms) 500.7 501.5 +0.2%
    Mean CV 9.8% 9.0% -8.2%
    Worst duration (ms) 608.8 613.4 +0.7%
    Worst identifier name url

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

signale/v*

Comparison details for signale/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 65.9 65.4 -0.8%
Type count 9570 9346 -2%
Assignability cache size 3250 3188 -2%
Language service
Samples taken 140 140 0%
Identifiers in tests 140 140 0%
getCompletionsAtPosition
    Mean duration (ms) 298.4 300.9 +0.8%
    Mean CV 10.8% 11.3%
    Worst duration (ms) 391.9 388.4 -0.9%
    Worst identifier config scopedConfigTest
getQuickInfoAtPosition
    Mean duration (ms) 296.7 298.3 +0.5%
    Mean CV 11.5% 10.2% -11.5%
    Worst duration (ms) 376.9 387.0 +2.7%
    Worst identifier success custom

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

undertaker/v*

Comparison details for undertaker/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 65.5 65.6 0.0%
Type count 9336 9111 -2%
Assignability cache size 3250 3188 -2%
Language service
Samples taken 77 77 0%
Identifiers in tests 77 77 0%
getCompletionsAtPosition
    Mean duration (ms) 303.1 310.0 +2.3%
    Mean CV 12.6% 12.4%
    Worst duration (ms) 377.6 408.1 +8.1%
    Worst identifier fs fs
getQuickInfoAtPosition
    Mean duration (ms) 301.8 310.8 +3.0%
    Mean CV 12.7% 12.4% -2.2%
    Worst duration (ms) 353.9 405.1 +14.5%
    Worst identifier task task

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

webpackbar/v*

Comparison details for webpackbar/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 69.7 68.1 -2.3%
Type count 10877 10654 -2%
Assignability cache size 3496 3434 -2%
Language service
Samples taken 67 67 0%
Identifiers in tests 67 67 0%
getCompletionsAtPosition
    Mean duration (ms) 331.0 330.1 -0.3%
    Mean CV 10.0% 8.8%
    Worst duration (ms) 422.1 426.2 +1.0%
    Worst identifier stderr state
getQuickInfoAtPosition
    Mean duration (ms) 342.2 342.0 -0.1%
    Mean CV 11.5% 10.6% -8.0%
    Worst duration (ms) 465.3 422.3 -9.2%
    Worst identifier write write

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

x-ray/v*

Comparison details for x-ray/* 📊
master #44814 diff
Batch compilation
Memory usage (MiB) 70.7 68.1 -3.7%
Type count 13516 13250 -2%
Assignability cache size 4343 4281 -1%
Language service
Samples taken 196 196 0%
Identifiers in tests 196 196 0%
getCompletionsAtPosition
    Mean duration (ms) 344.6 347.0 +0.7%
    Mean CV 9.4% 9.7%
    Worst duration (ms) 462.6 495.0 +7.0%
    Worst identifier x limit
getQuickInfoAtPosition
    Mean duration (ms) 344.4 344.9 +0.2%
    Mean CV 10.3% 10.3% +0.1%
    Worst duration (ms) 466.6 490.8 +5.2%
    Worst identifier get get

It looks like nothing changed too much. I won’t post performance data again unless it gets worse.

@typescript-bot typescript-bot added the Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. label May 17, 2020
@SimonSchick SimonSchick marked this pull request as ready for review May 21, 2020 23:24
@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. Critical package Author is Owner The author of this PR is a listed owner of the package. labels May 21, 2020
@typescript-bot
Copy link
Copy Markdown
Contributor

typescript-bot commented May 21, 2020

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

Code Reviews

This PR adds a new definition, so it needs to be reviewed by a DT maintainer before it can be merged.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Only a DT maintainer can merge changes when there are new packages added

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": 44814,
  "author": "SimonSchick",
  "owners": [
    "Yavanosta",
    "danny8002",
    "BendingBender",
    "Toilal",
    "jacobbubu",
    "dudeofawesome",
    "robertbullen",
    "saboya",
    "todd",
    "BlooJeans",
    "GoPro16",
    "Microsoft",
    "DefinitelyTyped",
    "jkomyno",
    "a-tarasyuk",
    "alvis",
    "r3nya",
    "btoueg",
    "brunoscheufler",
    "smac89",
    "touffy",
    "DeividasBakanas",
    "eyqs",
    "Flarna",
    "Hannes-Magnusson-CK",
    "KSXGitHub",
    "hoo29",
    "kjin",
    "ajafff",
    "islishude",
    "mwiktorczyk",
    "mohsen1",
    "n-e",
    "octo-sniffle",
    "galkin",
    "parambirs",
    "eps1lon",
    "SimonSchick",
    "ThomasdenH",
    "WilcoBakker",
    "wwwy3y3",
    "samuela",
    "kuehlein",
    "j-oliveras",
    "bhongy",
    "chyzwar",
    "trivikr",
    "nguymin4",
    "yoursunny",
    "qwelias",
    "ExE-Boss",
    "Ryan-Willpower",
    "peterblazejewicz",
    "addaleax",
    "JasonHK",
    "dantman",
    "ScriptSmith",
    "heuperman",
    "lgaticaq",
    "djcsdy",
    "resir014",
    "kingdaro",
    "rjoydip",
    "lookapanda",
    "tkqubo",
    "GiedriusGrabauskas",
    "sh0ji",
    "rynclark",
    "mtraynham"
  ],
  "dangerLevel": "Infrastructure",
  "headCommitAbbrOid": "22c922e",
  "headCommitOid": "22c922e7b2758479b928d750d23c9cfb8d6f938b",
  "mergeIsRequested": false,
  "stalenessInDays": 28,
  "lastCommitDate": "2020-06-02T06:09:43.000Z",
  "reopenedDate": "2020-05-21T23:24:47.000Z",
  "lastCommentDate": "2020-06-30T02:45:06.000Z",
  "reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/44814/files",
  "hasMergeConflict": false,
  "authorIsOwner": true,
  "isFirstContribution": false,
  "popularityLevel": "Critical",
  "anyPackageIsNew": true,
  "packages": [
    "color-support",
    "depd",
    "deprecate",
    "derhuerst__cli-on-key",
    "gulp-zip",
    "hapi-pino",
    "net-keepalive",
    "node",
    "pkgcloud",
    "semantic-release",
    "signale",
    "undertaker",
    "webpackbar",
    "x-ray"
  ],
  "files": [
    {
      "filePath": "notNeededPackages.json",
      "kind": "infrastructure"
    },
    {
      "filePath": "types/color-support/index.d.ts",
      "kind": "definition",
      "package": "color-support"
    },
    {
      "filePath": "types/depd/index.d.ts",
      "kind": "definition",
      "package": "depd"
    },
    {
      "filePath": "types/deprecate/index.d.ts",
      "kind": "definition",
      "package": "deprecate"
    },
    {
      "filePath": "types/derhuerst__cli-on-key/index.d.ts",
      "kind": "definition",
      "package": "derhuerst__cli-on-key"
    },
    {
      "filePath": "types/gulp-zip/index.d.ts",
      "kind": "definition",
      "package": "gulp-zip"
    },
    {
      "filePath": "types/hapi-pino/index.d.ts",
      "kind": "definition",
      "package": "hapi-pino"
    },
    {
      "filePath": "types/net-keepalive/index.d.ts",
      "kind": "definition",
      "package": "net-keepalive"
    },
    {
      "filePath": "types/net-keepalive/net-keepalive-tests.ts",
      "kind": "test",
      "package": "net-keepalive"
    },
    {
      "filePath": "types/net-keepalive/tsconfig.json",
      "kind": "package-meta",
      "package": "net-keepalive"
    },
    {
      "filePath": "types/net-keepalive/tslint.json",
      "kind": "package-meta",
      "package": "net-keepalive"
    },
    {
      "filePath": "types/node/buffer.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/console.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/domain.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/events.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/globals.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/http.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/process.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/stream.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/test/process.ts",
      "kind": "test",
      "package": "node"
    },
    {
      "filePath": "types/node/ts3.2/base.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/ts3.2/globals.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/ts3.2/process.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/node/util.d.ts",
      "kind": "definition",
      "package": "node"
    },
    {
      "filePath": "types/pkgcloud/index.d.ts",
      "kind": "definition",
      "package": "pkgcloud"
    },
    {
      "filePath": "types/semantic-release/index.d.ts",
      "kind": "definition",
      "package": "semantic-release"
    },
    {
      "filePath": "types/signale/index.d.ts",
      "kind": "definition",
      "package": "signale"
    },
    {
      "filePath": "types/undertaker/index.d.ts",
      "kind": "definition",
      "package": "undertaker"
    },
    {
      "filePath": "types/webpackbar/v2/index.d.ts",
      "kind": "definition",
      "package": "webpackbar"
    },
    {
      "filePath": "types/x-ray/index.d.ts",
      "kind": "definition",
      "package": "x-ray"
    }
  ],
  "hasDismissedReview": false,
  "ciResult": "pass",
  "lastReviewDate": "2020-06-09T16:45:20.000Z",
  "reviewersWithStaleReviews": [
    {
      "reviewedAbbrOid": "560fc46",
      "reviewer": "ExE-Boss",
      "date": "2020-05-29T19:13:52Z"
    }
  ],
  "approvalFlags": 4,
  "isChangesRequested": false
}

@typescript-bot
Copy link
Copy Markdown
Contributor

⚠️ There are too many reviewers for this PR change (69). Merging can only be handled by a DT maintainer.

People who would have been pinged Yavanosta danny8002 BendingBender Toilal jacobbubu dudeofawesome robertbullen saboya todd BlooJeans GoPro16 hertzg Microsoft DefinitelyTyped jkomyno a-tarasyuk alvis r3nya btoueg brunoscheufler smac89 touffy DeividasBakanas eyqs Flarna Hannes-Magnusson-CK KSXGitHub hoo29 kjin ajafff islishude mwiktorczyk mohsen1 n-e octo-sniffle galkin parambirs eps1lon ThomasdenH WilcoBakker wwwy3y3 samuela kuehlein j-oliveras bhongy chyzwar trivikr nguymin4 yoursunny qwelias ExE-Boss Ryan-Willpower peterblazejewicz addaleax JasonHK dantman ScriptSmith heuperman lgaticaq djcsdy resir014 kingdaro rjoydip lookapanda tkqubo GiedriusGrabauskas sh0ji rynclark mtraynham

@typescript-bot
Copy link
Copy Markdown
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!

@danger-public
Copy link
Copy Markdown

danger-public commented May 22, 2020

Inspecting the JavaScript source for this package found some properties that are not in the .d.ts files.
The check for missing properties isn't always right, so take this list as advice, not a requirement.

derhuerst__cli-on-key (unpkg)

was missing the following properties:

  1. parse

hapi-pino (unpkg)

was missing the following properties:

  1. name

pkgcloud (unpkg)

was missing the following properties:

  1. providers

signale (unpkg)

was missing the following properties:

  1. scopeName
  2. currentOptions
  3. date
  4. timestamp
  5. filename
as well as these 2 other properties...

packageConfiguration, configuration

Generated by 🚫 dangerJS against 22c922e

@typescript-bot typescript-bot removed the Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. label May 22, 2020
@SimonSchick
Copy link
Copy Markdown
Contributor Author

@danger-public I don't understand what this bot is doing at all.

@peterblazejewicz
Copy link
Copy Markdown
Member

@SimonSchick
You'll probably have to name the reviews explicitely, by adding their GitHub handles. For some reason the bot failed here

for the 'dt-danger':
#44430

@SimonSchick
Copy link
Copy Markdown
Contributor Author

Hey @Flarna

@Flarna
Copy link
Copy Markdown
Contributor

Flarna commented May 25, 2020

@SimonSchick sorry, I'm on vacation... will take a while.

Comment thread types/node/globals.d.ts
Comment thread types/node/events.d.ts
Comment thread types/node/events.d.ts
@typescript-bot
Copy link
Copy Markdown
Contributor

@ExE-Boss 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 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, 2020
@typescript-bot
Copy link
Copy Markdown
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 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, 2020
Copy link
Copy Markdown
Collaborator

@orta orta left a comment

Choose a reason for hiding this comment

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

This looks good to me, I've just asked in our DT chat room for one more look over it

@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 9, 2020
@orta
Copy link
Copy Markdown
Collaborator

orta commented Jun 9, 2020

OK, looks like we're a bit skeptical of a change this big not breaking quite a few builds (the Buffer changes, and interface merging being prominent examples) with the recommendations being either:

  • break it into smaller PRs which we can merge over time
  • ship this change with the next major node versions

@SimonSchick
Copy link
Copy Markdown
Contributor Author

SimonSchick commented Jun 9, 2020

Can you elaborate on the concerns with the buffer changes here?

@SimonSchick
Copy link
Copy Markdown
Contributor Author

@orta also which chat room, is it https://gitter.im/DefinitelyTyped/DefinitelyTyped?

@SimonSchick
Copy link
Copy Markdown
Contributor Author

@orta ping

In any case I'm fine with holding off these rather sweeping changes till v15 hits.

@orta
Copy link
Copy Markdown
Collaborator

orta commented Jun 13, 2020

Sorry, my GH notifications for the DT org are basically useless when I'm on rotation.

The idea was that we'd expect there to be a bunch of broken apps and libraries breaking due to these changes, and while the idea is good making it a part of a major bump means people will be OK with that

@typescript-bot typescript-bot added Self Merge This PR can now be self-merged by the PR author or an owner Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. and removed Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. Self Merge This PR can now be self-merged by the PR author or an owner labels Jun 29, 2020
@ExE-Boss
Copy link
Copy Markdown
Contributor

@orta Looks like the bot got stuck in an infinite loop, again.

@typescript-bot typescript-bot added Self Merge This PR can now be self-merged by the PR author or an owner Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. and removed Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. Self Merge This PR can now be self-merged by the PR author or an owner labels Jun 30, 2020
@SimonSchick
Copy link
Copy Markdown
Contributor Author

Closing for now, will reopen with v15.

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 Edits Infrastructure Maintainer Approved New Definition This PR creates a new definition package. Perf: Same typescript-bot determined that this PR will not significantly impact compilation performance. Self Merge This PR can now be self-merged by the PR author or an owner Too Many Owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants