{
  "name": "agent-base",
  "url": "https://canirequire.com/package/agent-base/",
  "description": "Turn a function into an `http.Agent` instance",
  "latest": "9.0.0",
  "latestPublished": "2026-04-01T06:57:34.221Z",
  "format": "esm-only",
  "summary": "agent-base@9.0.0 is ESM-only. agent-base dropped its CommonJS build in 8.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 7.1.4, published Jul 7, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"agent-base\") 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. agent-base@9.0.0 declares engines \">= 20\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "8.0.0",
  "esmOnlySinceDate": "2026-03-11T16:58:24.478Z",
  "lastCommonJsVersion": "7.1.4",
  "lastCommonJsDate": "2025-07-07T17:44:01.356Z",
  "nativeEsmSince": "8.0.0",
  "types": "bundled",
  "nodeEngines": ">= 20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/TooTallNate/proxy-agents",
  "weeklyDownloads": 185565465,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:33.967Z",
    "node": {
      "18": {
        "require": false,
        "import": true,
        "requireError": "ERR_REQUIRE_ESM",
        "importError": null
      },
      "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": "9.0.0",
      "format": "esm-only",
      "published": "2026-04-01T06:57:34.221Z"
    },
    {
      "version": "8.0.0",
      "format": "esm-only",
      "published": "2026-03-11T16:58:24.478Z"
    },
    {
      "version": "7.1.4",
      "format": "cjs",
      "published": "2025-07-07T17:44:01.356Z"
    },
    {
      "version": "7.1.3",
      "format": "cjs",
      "published": "2024-12-08T04:04:11.531Z"
    },
    {
      "version": "7.1.2",
      "format": "cjs",
      "published": "2024-12-07T03:32:07.648Z"
    },
    {
      "version": "7.1.1",
      "format": "cjs",
      "published": "2024-03-30T01:31:40.164Z"
    },
    {
      "version": "7.1.0",
      "format": "cjs",
      "published": "2023-05-24T22:09:57.729Z"
    },
    {
      "version": "7.0.2",
      "format": "cjs",
      "published": "2023-05-18T19:31:24.134Z"
    },
    {
      "version": "7.0.1",
      "format": "cjs",
      "published": "2023-05-05T22:04:10.433Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2023-05-04T20:33:04.125Z"
    },
    {
      "version": "6.0.2",
      "format": "cjs",
      "published": "2020-10-23T19:33:15.354Z"
    },
    {
      "version": "6.0.1",
      "format": "cjs",
      "published": "2020-07-02T23:57:24.943Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2020-01-23T20:29:12.352Z"
    },
    {
      "version": "5.1.1",
      "format": "cjs",
      "published": "2019-12-11T05:16:13.169Z"
    },
    {
      "version": "5.1.0",
      "format": "cjs",
      "published": "2019-12-11T03:57:45.316Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2019-12-10T19:40:42.838Z"
    },
    {
      "version": "4.3.0",
      "format": "cjs",
      "published": "2019-06-05T20:17:16.954Z"
    },
    {
      "version": "4.2.1",
      "format": "cjs",
      "published": "2018-07-05T20:45:34.771Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2018-01-15T23:46:08.065Z"
    },
    {
      "version": "4.1.2",
      "format": "cjs",
      "published": "2017-11-20T17:55:50.004Z"
    },
    {
      "version": "4.1.1",
      "format": "cjs",
      "published": "2017-07-21T01:28:27.403Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2017-06-27T00:15:13.928Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2017-06-13T20:20:26.000Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2017-06-06T23:32:31.040Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2017-06-02T21:34:18.841Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2017-05-30T22:08:41.402Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2017-05-26T16:37:21.989Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2015-09-10T18:55:12.806Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-07-10T22:19:46.188Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2015-06-28T01:24:07.948Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2013-09-10T04:20:58.341Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2013-09-09T23:12:46.790Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2013-07-09T20:14:41.054Z"
    }
  ]
}