{
  "name": "@vitejs/plugin-react",
  "url": "https://canirequire.com/package/@vitejs/plugin-react/",
  "description": "The default Vite plugin for React projects",
  "latest": "6.1.1",
  "latestPublished": "2026-08-28T03:30:56.619Z",
  "format": "esm-only",
  "summary": "@vitejs/plugin-react@6.1.1 is ESM-only. @vitejs/plugin-react dropped its CommonJS build in 5.0.0 (August 2025). The last version you can require() on every Node.js version, including 18 and older, is 4.7.0, published Jul 18, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"@vitejs/plugin-react\") works anyway: Node can load synchronous ES modules through require(). Verified on Node 20, 22, 24, 26. Node.js 18 and older still fail with ERR_REQUIRE_ESM. @vitejs/plugin-react@6.1.1 declares engines \"^20.19.0 || >=22.12.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "5.0.0",
  "esmOnlySinceDate": "2025-08-07T08:28:30.089Z",
  "lastCommonJsVersion": "4.7.0",
  "lastCommonJsDate": "2025-07-18T03:32:30.541Z",
  "nativeEsmSince": "2.0.0",
  "types": "none",
  "nodeEngines": "^20.19.0 || >=22.12.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/vitejs/vite-plugin-react",
  "weeklyDownloads": null,
  "runtime": {
    "verifiedAt": "2026-09-09T15:35:24.086Z",
    "node": {
      "18": {
        "require": false,
        "import": false,
        "requireError": "ERR_REQUIRE_ESM",
        "importError": "SyntaxError"
      },
      "20": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "22": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "24": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "26": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      }
    },
    "bun": {
      "require": true,
      "import": true,
      "requireError": null,
      "importError": null
    }
  },
  "formatHistory": [
    {
      "version": "6.1.1",
      "format": "esm-only",
      "published": "2026-08-28T03:30:56.619Z"
    },
    {
      "version": "6.1.0",
      "format": "esm-only",
      "published": "2026-08-20T02:49:46.306Z"
    },
    {
      "version": "6.0.5",
      "format": "esm-only",
      "published": "2026-07-30T10:12:02.149Z"
    },
    {
      "version": "6.0.4",
      "format": "esm-only",
      "published": "2026-07-22T04:16:52.683Z"
    },
    {
      "version": "6.0.3",
      "format": "esm-only",
      "published": "2026-06-23T10:11:14.652Z"
    },
    {
      "version": "6.0.2",
      "format": "esm-only",
      "published": "2026-05-14T20:03:24.044Z"
    },
    {
      "version": "6.0.1",
      "format": "esm-only",
      "published": "2026-03-13T10:43:19.598Z"
    },
    {
      "version": "6.0.0",
      "format": "esm-only",
      "published": "2026-03-12T14:38:42.761Z"
    },
    {
      "version": "5.2.0",
      "format": "esm-only",
      "published": "2026-03-12T14:27:45.817Z"
    },
    {
      "version": "5.1.4",
      "format": "esm-only",
      "published": "2026-02-10T04:58:30.957Z"
    },
    {
      "version": "5.1.3",
      "format": "esm-only",
      "published": "2026-02-02T10:23:02.535Z"
    },
    {
      "version": "5.1.2",
      "format": "esm-only",
      "published": "2025-12-08T09:33:20.455Z"
    },
    {
      "version": "5.1.1",
      "format": "esm-only",
      "published": "2025-11-12T08:01:45.873Z"
    },
    {
      "version": "5.1.0",
      "format": "esm-only",
      "published": "2025-10-24T09:02:44.199Z"
    },
    {
      "version": "5.0.4",
      "format": "esm-only",
      "published": "2025-09-27T14:07:37.572Z"
    },
    {
      "version": "5.0.3",
      "format": "esm-only",
      "published": "2025-09-17T07:02:29.606Z"
    },
    {
      "version": "5.0.2",
      "format": "esm-only",
      "published": "2025-08-28T02:00:03.843Z"
    },
    {
      "version": "5.0.1",
      "format": "esm-only",
      "published": "2025-08-19T04:21:03.318Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2025-08-07T08:28:30.089Z"
    },
    {
      "version": "4.7.0",
      "format": "dual",
      "published": "2025-07-18T03:32:30.541Z"
    },
    {
      "version": "4.6.0",
      "format": "dual",
      "published": "2025-06-23T03:29:16.147Z"
    },
    {
      "version": "4.5.2",
      "format": "dual",
      "published": "2025-06-10T01:27:45.547Z"
    },
    {
      "version": "4.5.1",
      "format": "dual",
      "published": "2025-06-03T03:25:28.660Z"
    },
    {
      "version": "4.5.0",
      "format": "dual",
      "published": "2025-05-23T00:34:35.256Z"
    },
    {
      "version": "4.4.1",
      "format": "dual",
      "published": "2025-04-19T12:11:51.071Z"
    },
    {
      "version": "4.4.0",
      "format": "dual",
      "published": "2025-04-15T09:22:16.404Z"
    },
    {
      "version": "4.3.4",
      "format": "dual",
      "published": "2024-11-26T11:03:59.826Z"
    },
    {
      "version": "4.3.3",
      "format": "dual",
      "published": "2024-10-19T16:08:12.626Z"
    },
    {
      "version": "4.3.2",
      "format": "dual",
      "published": "2024-09-29T21:30:53.422Z"
    },
    {
      "version": "4.3.1",
      "format": "dual",
      "published": "2024-06-10T00:16:24.535Z"
    },
    {
      "version": "4.3.0",
      "format": "dual",
      "published": "2024-05-22T18:49:11.622Z"
    },
    {
      "version": "4.2.1",
      "format": "dual",
      "published": "2023-12-04T17:53:18.819Z"
    },
    {
      "version": "4.2.0",
      "format": "dual",
      "published": "2023-11-16T13:31:14.939Z"
    },
    {
      "version": "4.1.1",
      "format": "dual",
      "published": "2023-11-02T08:16:53.344Z"
    },
    {
      "version": "4.1.0",
      "format": "dual",
      "published": "2023-09-24T18:44:28.111Z"
    },
    {
      "version": "4.0.4",
      "format": "dual",
      "published": "2023-07-31T16:32:44.983Z"
    },
    {
      "version": "4.0.3",
      "format": "dual",
      "published": "2023-07-10T04:34:58.299Z"
    },
    {
      "version": "4.0.2",
      "format": "dual",
      "published": "2023-07-06T10:17:03.055Z"
    },
    {
      "version": "4.0.1",
      "format": "dual",
      "published": "2023-06-19T23:05:15.757Z"
    },
    {
      "version": "4.0.0",
      "format": "dual",
      "published": "2023-04-20T14:16:20.905Z"
    },
    {
      "version": "3.1.0",
      "format": "dual",
      "published": "2023-02-02T11:30:43.260Z"
    },
    {
      "version": "3.0.1",
      "format": "dual",
      "published": "2023-01-05T09:50:54.153Z"
    },
    {
      "version": "3.0.0",
      "format": "dual",
      "published": "2022-12-09T09:21:28.258Z"
    },
    {
      "version": "2.2.0",
      "format": "dual",
      "published": "2022-10-26T13:17:16.454Z"
    },
    {
      "version": "2.1.0",
      "format": "dual",
      "published": "2022-09-05T09:49:49.048Z"
    },
    {
      "version": "2.0.1",
      "format": "dual",
      "published": "2022-08-11T20:14:10.686Z"
    },
    {
      "version": "2.0.0",
      "format": "dual",
      "published": "2022-07-13T12:31:12.500Z"
    },
    {
      "version": "1.3.2",
      "format": "cjs",
      "published": "2022-05-02T14:01:39.614Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2022-04-13T13:54:13.852Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2022-03-30T12:41:18.276Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2022-02-09T06:03:58.344Z"
    },
    {
      "version": "1.1.4",
      "format": "cjs",
      "published": "2022-01-04T20:54:52.006Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2021-12-13T21:06:12.008Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2021-12-13T10:42:04.993Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2021-12-07T09:05:37.392Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2021-11-22T11:05:43.400Z"
    },
    {
      "version": "1.0.9",
      "format": "cjs",
      "published": "2021-11-13T19:50:24.296Z"
    },
    {
      "version": "1.0.8",
      "format": "cjs",
      "published": "2021-11-09T21:13:08.741Z"
    },
    {
      "version": "1.0.7",
      "format": "cjs",
      "published": "2021-10-28T12:26:08.093Z"
    },
    {
      "version": "1.0.6",
      "format": "cjs",
      "published": "2021-10-25T10:32:29.709Z"
    }
  ]
}