{
  "name": "socks-proxy-agent",
  "url": "https://canirequire.com/package/socks-proxy-agent/",
  "description": "A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS",
  "latest": "10.1.0",
  "latestPublished": "2026-06-08T16:47:31.711Z",
  "format": "esm-only",
  "summary": "socks-proxy-agent@10.1.0 is ESM-only. socks-proxy-agent dropped its CommonJS build in 9.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 8.0.5, published Dec 7, 2024. On Node.js 20.19+, 22.12+ and every newer release, require(\"socks-proxy-agent\") 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. socks-proxy-agent@10.1.0 declares engines \">= 20\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "9.0.0",
  "esmOnlySinceDate": "2026-03-11T16:58:53.061Z",
  "lastCommonJsVersion": "8.0.5",
  "lastCommonJsDate": "2024-12-07T03:32:11.601Z",
  "nativeEsmSince": "9.0.0",
  "types": "bundled",
  "nodeEngines": ">= 20",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/TooTallNate/proxy-agents",
  "weeklyDownloads": 50934767,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:13.240Z",
    "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": "10.1.0",
      "format": "esm-only",
      "published": "2026-06-08T16:47:31.711Z"
    },
    {
      "version": "10.0.0",
      "format": "esm-only",
      "published": "2026-04-01T06:57:58.670Z"
    },
    {
      "version": "9.0.0",
      "format": "esm-only",
      "published": "2026-03-11T16:58:53.061Z"
    },
    {
      "version": "8.0.5",
      "format": "cjs",
      "published": "2024-12-07T03:32:11.601Z"
    },
    {
      "version": "8.0.4",
      "format": "cjs",
      "published": "2024-06-28T07:33:49.989Z"
    },
    {
      "version": "8.0.3",
      "format": "cjs",
      "published": "2024-03-30T01:31:41.666Z"
    },
    {
      "version": "8.0.2",
      "format": "cjs",
      "published": "2023-09-04T08:09:43.197Z"
    },
    {
      "version": "8.0.1",
      "format": "cjs",
      "published": "2023-05-05T22:04:13.129Z"
    },
    {
      "version": "8.0.0",
      "format": "cjs",
      "published": "2023-05-04T20:33:19.909Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2022-05-31T14:16:45.078Z"
    },
    {
      "version": "6.2.1",
      "format": "cjs",
      "published": "2022-05-31T11:18:47.009Z"
    },
    {
      "version": "6.2.0",
      "format": "cjs",
      "published": "2022-04-17T23:55:08.299Z"
    },
    {
      "version": "6.1.1",
      "format": "cjs",
      "published": "2021-11-22T18:23:17.216Z"
    },
    {
      "version": "6.1.0",
      "format": "cjs",
      "published": "2021-09-15T14:38:16.706Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2021-07-04T10:02:50.734Z"
    },
    {
      "version": "5.0.1",
      "format": "cjs",
      "published": "2021-06-21T19:53:54.663Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2020-02-04T19:42:50.012Z"
    },
    {
      "version": "4.0.2",
      "format": "cjs",
      "published": "2019-03-09T03:21:03.523Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2018-04-13T22:33:40.159Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2018-03-29T08:11:58.344Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2017-09-18T16:14:00.641Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2017-06-13T20:26:22.204Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2017-06-13T19:16:10.198Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2017-05-25T00:47:19.210Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-07-11T01:04:46.478Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2015-07-01T18:45:43.347Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-03-02T01:50:25.637Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-02-12T05:23:55.521Z"
    },
    {
      "version": "0.1.2",
      "format": "cjs",
      "published": "2014-06-11T22:02:45.776Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2014-04-09T23:42:58.167Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2013-11-19T18:21:13.267Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2013-07-24T21:06:33.133Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2013-07-11T23:28:27.107Z"
    }
  ]
}