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

chore: remove ts3.6 support #54895

Merged
merged 2 commits into from
Aug 26, 2021
Merged

chore: remove ts3.6 support #54895

merged 2 commits into from
Aug 26, 2021

Conversation

SimonSchick
Copy link
Contributor

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 header.

This PR removes all ts3.6 support and folder in accordance of the support window.

I understand a similar structure might have to be implemented again should we want to integrate more modern features, but for the time being the focus is to shed this compability layer.
This PR also removed some duplicate WASI tests and dead comments in node-tests.ts.

@SimonSchick SimonSchick changed the title Chore/rm 3.6 chore: remove ts3.6 support Aug 2, 2021
@typescript-bot
Copy link
Contributor

typescript-bot commented Aug 2, 2021

@SimonSchick Thank you for submitting this PR!

This is a live comment which I will keep updated.

8 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 of 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": 54895,
  "author": "SimonSchick",
  "headCommitOid": "328163c8c200554c1d00e1aa48165ff0f7fff17a",
  "lastPushDate": "2021-08-24T14:42:44.000Z",
  "lastActivityDate": "2021-08-26T00:47:23.000Z",
  "mergeOfferDate": "2021-08-25T23:26:03.000Z",
  "mergeRequestDate": "2021-08-26T00:47:23.000Z",
  "mergeRequestUser": "SimonSchick",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "assert",
      "kind": "edit",
      "files": [
        {
          "path": "types/assert/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/assert/ts3.6/assert-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/assert/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/assert/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/assert/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "nicoabie",
        "LinusU",
        "ExE-Boss"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Popular"
    },
    {
      "name": "babel-types",
      "kind": "edit",
      "files": [
        {
          "path": "types/babel-types/babel-types-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/babel-types/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/babel-types/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/babel-types/ts3.6/babel-types-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/babel-types/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/babel-types/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/babel-types/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "yortus",
        "baxtersa",
        "marvinhagemeister",
        "bcherny",
        "ExE-Boss"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Popular"
    },
    {
      "name": "codecs",
      "kind": "edit",
      "files": [
        {
          "path": "types/codecs/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/codecs/ts3.6/codecs-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/codecs/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/codecs/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/codecs/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "martinheidegger"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "http-assert",
      "kind": "edit",
      "files": [
        {
          "path": "types/http-assert/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/http-assert/ts3.6/http-assert-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/http-assert/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/http-assert/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/http-assert/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "jkeylu",
        "stripedpajamas",
        "sapfear"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    },
    {
      "name": "invariant",
      "kind": "edit",
      "files": [
        {
          "path": "types/invariant/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/invariant/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/invariant/ts3.6/invariant-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/invariant/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/invariant/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "bennett000",
        "dtinth",
        "turadg"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Popular"
    },
    {
      "name": "node",
      "kind": "edit",
      "files": [
        {
          "path": "types/node/base.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/node-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/node/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/scripts/generate-docs/docs.ts",
          "kind": "test"
        },
        {
          "path": "types/node/test/assert.ts",
          "kind": "test"
        },
        {
          "path": "types/node/ts3.6/assert.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/ts3.6/base.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/ts3.6/node-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/node/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/v12/base.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v12/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v12/node-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v12/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/v12/test/assert.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v12/ts3.6/assert.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v12/ts3.6/base.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v12/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v12/ts3.6/node-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v12/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/v12/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/v12/tsconfig.json",
          "kind": "package-meta",
          "suspect": "not [the expected form](https://github.com/DefinitelyTyped/DefinitelyTyped#user-content-tsconfigjson) and not moving towards it (check: `compilerOptions.lib.0`, `compilerOptions.target`)"
        },
        {
          "path": "types/node/v14/base.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v14/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v14/node-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v14/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/v14/test/assert.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v14/ts3.6/assert.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v14/ts3.6/base.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v14/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/node/v14/ts3.6/node-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/node/v14/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/v14/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/node/v14/tsconfig.json",
          "kind": "package-meta",
          "suspect": "not [the expected form](https://github.com/DefinitelyTyped/DefinitelyTyped#user-content-tsconfigjson) and not moving towards it (check: `compilerOptions.lib.0`, `compilerOptions.target`)"
        }
      ],
      "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",
        "NodeJS",
        "LinusU"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    },
    {
      "name": "parse",
      "kind": "edit",
      "files": [
        {
          "path": "types/parse/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/parse/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/parse/ts3.6/node.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/parse/ts3.6/parse-tests.ts",
          "kind": "test"
        },
        {
          "path": "types/parse/ts3.6/react-native.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/parse/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/parse/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "ullisenmedia",
        "dpoetzsch",
        "jaeggerr",
        "flavionegrao",
        "wesleygrimes",
        "owsas",
        "agoldis",
        "AlexandreHetu",
        "dplewis",
        "yomybaby",
        "pocketcolin",
        "rdhelms",
        "jlnquere",
        "tybi",
        "RaschidJFR",
        "jeffgukang",
        "buitanloc",
        "LinusU",
        "JeromeDeLeon",
        "kentrh",
        "L3K0V",
        "swittk"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    },
    {
      "name": "styled-components",
      "kind": "edit",
      "files": [
        {
          "path": "types/styled-components/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/styled-components/ts3.6/cssprop.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/styled-components/ts3.6/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/styled-components/ts3.6/macro.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/styled-components/ts3.6/test/index.tsx",
          "kind": "test"
        },
        {
          "path": "types/styled-components/ts3.6/test/macro.tsx",
          "kind": "test"
        },
        {
          "path": "types/styled-components/ts3.6/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/styled-components/ts3.6/tslint.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "Igorbek",
        "Igmat",
        "lavoaster",
        "Jessidhia",
        "jkillian",
        "eps1lon",
        "flavordaaave",
        "wagerfield",
        "Lazyuki",
        "mgoszcz2",
        "danilofuchs"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "sandersn",
      "date": "2021-08-25T23:25:14.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 890708479,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Contributor

typescript-bot commented Aug 2, 2021

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

People who would have been pinged nicoabie LinusU ExE-Boss yortus baxtersa marvinhagemeister bcherny martinheidegger jkeylu stripedpajamas sapfear bennett000 dtinth turadg 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 ThomasdenH WilcoBakker wwwy3y3 samuela kuehlein bhongy chyzwar trivikr nguymin4 yoursunny qwelias Ryan-Willpower peterblazejewicz addaleax JasonHK victorperin ZYSzys NodeJS ullisenmedia dpoetzsch jaeggerr flavionegrao wesleygrimes owsas agoldis AlexandreHetu dplewis yomybaby pocketcolin rdhelms jlnquere tybi RaschidJFR jeffgukang buitanloc JeromeDeLeon kentrh L3K0V swittk Igorbek Igmat lavoaster Jessidhia jkillian flavordaaave wagerfield Lazyuki mgoszcz2 danilofuchs

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Aug 2, 2021
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Aug 2, 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!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@LinusU
Copy link
Contributor

LinusU commented Aug 4, 2021

Screenshot 2021-08-04 at 15 15 46

I think this was a misstake, right? 😅

I tried looking thru the diff and couldn't find me being removed, maybe you already adressed this and the bot didn't update?

@SimonSchick
Copy link
Contributor Author

@LinusU seems like a diffing but, don't know either way 🤷‍♂️

@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 the Has Merge Conflict This PR can't be merged because it has a merge conflict. The author needs to update it. label Aug 4, 2021
@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 Edits Owners This PR adds or removes owners labels Aug 20, 2021
@typescript-bot typescript-bot moved this from Needs Author Action to Waiting for Code Reviews in New Pull Request Status Board Aug 20, 2021
@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Aug 20, 2021
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Author Action in New Pull Request Status Board Aug 20, 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!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot removed the The CI failed When GH Actions fails label Aug 20, 2021
@typescript-bot typescript-bot moved this from Needs Maintainer Review to Waiting for Code Reviews in New Pull Request Status Board Aug 24, 2021
@typescript-bot typescript-bot moved this from Waiting for Code Reviews to Needs Maintainer Review in New Pull Request Status Board Aug 24, 2021
@SimonSchick
Copy link
Contributor Author

@sandersn we good to go?

@typescript-bot typescript-bot added Maintainer Approved Self Merge This PR can now be self-merged by the PR author or an owner labels Aug 25, 2021
@typescript-bot typescript-bot moved this from Needs Maintainer Review to Waiting for Author to Merge in New Pull Request Status Board Aug 25, 2021
@typescript-bot
Copy link
Contributor

@SimonSchick: Everything looks good here. I am ready to merge this PR (at 328163c) 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! ❤️

@SimonSchick
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot moved this from Waiting for Author to Merge to Recently Merged in New Pull Request Status Board Aug 26, 2021
@typescript-bot typescript-bot merged commit 6cbbab0 into DefinitelyTyped:master Aug 26, 2021
@typescript-bot
Copy link
Contributor

I just published @types/assert@1.5.6 to npm.

@typescript-bot
Copy link
Contributor

I just published @types/babel-types@7.0.11 to npm.

@typescript-bot
Copy link
Contributor

I just published @types/codecs@2.2.3 to npm.

@typescript-bot
Copy link
Contributor

I just published @types/http-assert@1.5.3 to npm.

@typescript-bot
Copy link
Contributor

I just published @types/invariant@2.2.35 to npm.

@typescript-bot
Copy link
Contributor

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

@typescript-bot
Copy link
Contributor

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

@typescript-bot
Copy link
Contributor

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

@typescript-bot
Copy link
Contributor

I just published @types/parse@2.18.10 to npm.

@typescript-bot
Copy link
Contributor

I just published @types/styled-components@5.1.13 to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Check Config Changes a module config files Critical package Edits multiple packages Maintainer Approved 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.

None yet

4 participants