{
  "name": "http-proxy-middleware",
  "url": "https://canirequire.com/package/http-proxy-middleware/",
  "description": "The one-liner node.js proxy middleware for connect, express, next.js and more",
  "latest": "4.2.0",
  "latestPublished": "2026-07-04T21:49:09.221Z",
  "format": "esm-only",
  "summary": "http-proxy-middleware@4.2.0 is ESM-only. http-proxy-middleware dropped its CommonJS build in 4.0.0 (May 2026). The last version you can require() on every Node.js version, including 18 and older, is 3.0.7, published Jun 14, 2026. On Node.js 20.19+, 22.12+ and every newer release, require(\"http-proxy-middleware\") works anyway: Node can load synchronous ES modules through require(). Verified on Node 22, 24, 26. Node.js 18 and older still fail with ERR_REQUIRE_ESM. http-proxy-middleware@4.2.0 declares engines \"^22.15.0 || ^24.0.0 || >=26.0.0\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "4.0.0",
  "esmOnlySinceDate": "2026-05-05T18:35:51.309Z",
  "lastCommonJsVersion": "3.0.7",
  "lastCommonJsDate": "2026-06-14T20:55:44.823Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": "^22.15.0 || ^24.0.0 || >=26.0.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/chimurai/http-proxy-middleware",
  "weeklyDownloads": 22723328,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:48.204Z",
    "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": "4.2.0",
      "format": "esm-only",
      "published": "2026-07-04T21:49:09.221Z"
    },
    {
      "version": "4.1.1",
      "format": "esm-only",
      "published": "2026-06-14T20:56:11.022Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2026-06-06T15:01:08.249Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2026-05-05T18:35:51.309Z"
    },
    {
      "version": "3.0.7",
      "format": "cjs",
      "published": "2026-06-14T20:55:44.823Z"
    },
    {
      "version": "3.0.6",
      "format": "cjs",
      "published": "2026-06-06T15:00:50.378Z"
    },
    {
      "version": "3.0.5",
      "format": "cjs",
      "published": "2025-04-10T12:14:26.931Z"
    },
    {
      "version": "3.0.4",
      "format": "cjs",
      "published": "2025-04-09T19:36:34.741Z"
    },
    {
      "version": "3.0.3",
      "format": "cjs",
      "published": "2024-10-06T17:30:10.582Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2024-09-03T20:22:17.312Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2024-08-31T19:42:03.867Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2024-04-01T21:38:54.826Z"
    },
    {
      "version": "2.0.10",
      "format": "cjs",
      "published": "2026-06-19T18:05:38.139Z"
    },
    {
      "version": "2.0.9",
      "format": "cjs",
      "published": "2025-04-10T12:13:30.160Z"
    },
    {
      "version": "2.0.8",
      "format": "cjs",
      "published": "2025-04-09T19:34:12.962Z"
    },
    {
      "version": "2.0.7",
      "format": "cjs",
      "published": "2024-10-06T17:27:56.185Z"
    },
    {
      "version": "2.0.6",
      "format": "cjs",
      "published": "2022-04-20T19:56:26.619Z"
    },
    {
      "version": "2.0.5",
      "format": "cjs",
      "published": "2022-04-19T20:27:08.840Z"
    },
    {
      "version": "2.0.4",
      "format": "cjs",
      "published": "2022-03-13T16:08:25.409Z"
    },
    {
      "version": "2.0.3",
      "format": "cjs",
      "published": "2022-02-07T18:43:53.392Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2022-01-23T17:40:52.439Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2021-07-01T20:38:47.726Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2021-05-07T17:42:13.132Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2021-04-28T18:42:10.992Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2021-04-25T21:34:39.774Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2021-04-24T12:51:42.460Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2021-04-18T13:20:35.776Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2021-04-14T20:08:12.807Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2021-04-10T08:44:41.676Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2021-03-28T21:32:05.398Z"
    },
    {
      "version": "1.0.6",
      "format": "cjs",
      "published": "2020-10-11T19:41:12.902Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2020-07-09T16:42:47.545Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2020-05-18T16:28:35.104Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2020-03-16T21:25:07.879Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2020-03-14T13:25:45.248Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2020-02-29T12:40:03.575Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2020-02-18T22:30:22.194Z"
    },
    {
      "version": "0.21.0",
      "format": "cjs",
      "published": "2020-02-16T18:32:06.492Z"
    },
    {
      "version": "0.20.0",
      "format": "cjs",
      "published": "2019-09-03T19:56:26.579Z"
    },
    {
      "version": "0.19.2",
      "format": "cjs",
      "published": "2020-05-19T19:05:02.777Z"
    },
    {
      "version": "0.19.1",
      "format": "cjs",
      "published": "2018-11-25T20:18:42.852Z"
    },
    {
      "version": "0.19.0",
      "format": "cjs",
      "published": "2018-08-29T21:15:47.242Z"
    },
    {
      "version": "0.18.0",
      "format": "cjs",
      "published": "2018-03-12T22:47:20.345Z"
    },
    {
      "version": "0.17.4",
      "format": "cjs",
      "published": "2017-03-02T23:07:30.843Z"
    },
    {
      "version": "0.17.3",
      "format": "cjs",
      "published": "2016-12-07T21:22:00.680Z"
    },
    {
      "version": "0.17.2",
      "format": "cjs",
      "published": "2016-09-28T22:28:13.856Z"
    },
    {
      "version": "0.17.1",
      "format": "cjs",
      "published": "2016-08-11T21:30:30.925Z"
    },
    {
      "version": "0.17.0",
      "format": "cjs",
      "published": "2016-07-03T15:35:21.923Z"
    },
    {
      "version": "0.16.0",
      "format": "cjs",
      "published": "2016-06-13T18:52:35.740Z"
    },
    {
      "version": "0.15.2",
      "format": "cjs",
      "published": "2016-05-29T12:51:16.198Z"
    },
    {
      "version": "0.15.1",
      "format": "cjs",
      "published": "2016-05-26T22:02:04.255Z"
    },
    {
      "version": "0.15.0",
      "format": "cjs",
      "published": "2016-05-03T21:02:36.666Z"
    },
    {
      "version": "0.14.0",
      "format": "cjs",
      "published": "2016-04-18T20:37:44.882Z"
    },
    {
      "version": "0.13.0",
      "format": "cjs",
      "published": "2016-03-23T20:22:52.857Z"
    },
    {
      "version": "0.12.0",
      "format": "cjs",
      "published": "2016-03-13T17:51:38.449Z"
    },
    {
      "version": "0.11.0",
      "format": "cjs",
      "published": "2016-02-24T20:00:47.471Z"
    },
    {
      "version": "0.10.0",
      "format": "cjs",
      "published": "2016-02-05T19:20:01.172Z"
    },
    {
      "version": "0.9.1",
      "format": "cjs",
      "published": "2016-01-18T21:46:10.860Z"
    },
    {
      "version": "0.9.0",
      "format": "cjs",
      "published": "2015-09-28T22:04:08.950Z"
    },
    {
      "version": "0.8.2",
      "format": "cjs",
      "published": "2015-09-23T18:45:34.376Z"
    }
  ]
}