Skip to content

Conversation

@eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Apr 7, 2022

Was removed in facebook/react#24209

@eps1lon eps1lon mentioned this pull request Apr 7, 2022
6 tasks
eps1lon and others added 2 commits April 9, 2022 17:52
vite-plugin-react-svg's dependencies require

1. 'lib' to include 'dom'
2. The minimum typescript version to be 4.0.
@eps1lon eps1lon force-pushed the feat/react/remove-mutable-source branch from 05c9184 to 1883e40 Compare April 9, 2022 15:53
// Definitions by: Priyanshu Rav <https://github.com/priyanshurav>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.8
// Minimum TypeScript Version: 4.0
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Cherry-pick from #59777

"module": "commonjs",
"lib": [
"es6"
"es6", "dom"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Cherry-pick from #59777

@DangerBotOSS
Copy link

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.

react (unpkg)

was missing the following properties:

  1. unstable_act

Generated by 🚫 dangerJS against 1883e40

@eps1lon eps1lon marked this pull request as ready for review April 9, 2022 16:29
@typescript-bot
Copy link
Contributor

typescript-bot commented Apr 9, 2022

@eps1lon 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 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": 59746,
  "author": "eps1lon",
  "headCommitOid": "1883e40ff826f08765d62aa3055f46d282902636",
  "mergeBaseOid": "dac9b82160ab002f77a400383d2663c264041080",
  "lastPushDate": "2022-04-09T15:53:40.000Z",
  "lastActivityDate": "2022-04-09T17:49:48.000Z",
  "mergeOfferDate": "2022-04-09T16:32:28.000Z",
  "mergeRequestDate": "2022-04-09T17:49:48.000Z",
  "mergeRequestUser": "eps1lon",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "hugeChange": false,
  "popularityLevel": "Critical",
  "pkgInfo": [
    {
      "name": "react",
      "kind": "edit",
      "files": [
        {
          "path": "types/react/experimental.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/react/test/experimental.tsx",
          "kind": "test"
        }
      ],
      "owners": [
        "johnnyreilly",
        "bbenezech",
        "pzavolinsky",
        "ericanderson",
        "DovydasNavickas",
        "theruther4d",
        "guilhermehubner",
        "ferdaber",
        "jrakotoharisoa",
        "pascaloliv",
        "hotell",
        "franklixuefei",
        "Jessidhia",
        "saranshkataria",
        "lukyth",
        "eps1lon",
        "zieka",
        "dancerphil",
        "dimitropoulos",
        "disjukr",
        "vhfmag",
        "hellatan",
        "priyanshurav"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Critical"
    },
    {
      "name": "vite-plugin-react-svg",
      "kind": "edit",
      "files": [
        {
          "path": "types/vite-plugin-react-svg/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/vite-plugin-react-svg/tsconfig.json",
          "kind": "package-meta-ok"
        }
      ],
      "owners": [
        "priyanshurav"
      ],
      "addedOwners": [],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [
    {
      "type": "approved",
      "reviewer": "johnnyreilly",
      "date": "2022-04-09T16:31:44.000Z",
      "isMaintainer": true
    }
  ],
  "mainBotCommentID": 1094079752,
  "ciResult": "pass"
}

@typescript-bot
Copy link
Contributor

🔔 @johnnyreilly @bbenezech @pzavolinsky @ericanderson @DovydasNavickas @theruther4d @guilhermehubner @ferdaber @jrakotoharisoa @pascaloliv @Hotell @franklixuefei @Jessidhia @saranshkataria @lukyth @zieka @dancerphil @dimitropoulos @disjukr @vhfmag @hellatan @priyanshurav — please review this PR in the next few days. Be sure to explicitly select Approve or Request Changes in the GitHub UI so I know what's going on.

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

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

@eps1lon
Copy link
Collaborator Author

eps1lon commented Apr 9, 2022

Ready to merge

@typescript-bot typescript-bot merged commit 8ea1201 into DefinitelyTyped:master Apr 9, 2022
@eps1lon eps1lon deleted the feat/react/remove-mutable-source branch April 9, 2022 17:50
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