{
  "name": "lint-staged",
  "url": "https://canirequire.com/package/lint-staged/",
  "description": "Lint files staged by git",
  "latest": "17.5.0",
  "latestPublished": "2026-09-05T07:05:47.398Z",
  "format": "esm-only",
  "summary": "lint-staged@17.5.0 is ESM-only. lint-staged dropped its CommonJS build in 12.0.0 (November 2021). The last version you can require() on every Node.js version, including 18 and older, is 11.2.6, published Oct 26, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"lint-staged\") 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. lint-staged@17.5.0 declares engines \">=22.22.1\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "12.0.0",
  "esmOnlySinceDate": "2021-11-13T18:37:41.240Z",
  "lastCommonJsVersion": "11.2.6",
  "lastCommonJsDate": "2021-10-26T18:50:31.326Z",
  "nativeEsmSince": "12.0.0",
  "types": "bundled",
  "nodeEngines": ">=22.22.1",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/lint-staged/lint-staged",
  "weeklyDownloads": 26049705,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:44.948Z",
    "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": "17.5.0",
      "format": "esm-only",
      "published": "2026-09-05T07:05:47.398Z"
    },
    {
      "version": "17.4.1",
      "format": "esm-only",
      "published": "2026-08-27T10:51:27.478Z"
    },
    {
      "version": "17.3.0",
      "format": "esm-only",
      "published": "2026-07-31T08:46:32.268Z"
    },
    {
      "version": "17.2.0",
      "format": "esm-only",
      "published": "2026-07-23T09:51:23.069Z"
    },
    {
      "version": "17.1.1",
      "format": "esm-only",
      "published": "2026-07-22T06:06:58.820Z"
    },
    {
      "version": "17.1.0",
      "format": "esm-only",
      "published": "2026-07-18T13:52:03.484Z"
    },
    {
      "version": "17.0.8",
      "format": "esm-only",
      "published": "2026-06-20T19:37:47.480Z"
    },
    {
      "version": "17.0.7",
      "format": "esm-only",
      "published": "2026-05-31T10:49:39.894Z"
    },
    {
      "version": "17.0.6",
      "format": "esm-only",
      "published": "2026-05-30T10:46:35.768Z"
    },
    {
      "version": "17.0.5",
      "format": "esm-only",
      "published": "2026-05-16T11:05:51.703Z"
    },
    {
      "version": "17.0.4",
      "format": "esm-only",
      "published": "2026-05-09T19:46:07.593Z"
    },
    {
      "version": "17.0.3",
      "format": "esm-only",
      "published": "2026-05-08T14:08:34.997Z"
    },
    {
      "version": "17.0.2",
      "format": "esm-only",
      "published": "2026-05-06T11:06:18.442Z"
    },
    {
      "version": "17.0.1",
      "format": "esm-only",
      "published": "2026-05-06T10:57:10.470Z"
    },
    {
      "version": "17.0.0",
      "format": "esm-only",
      "published": "2026-05-06T09:11:52.271Z"
    },
    {
      "version": "16.4.0",
      "format": "esm-only",
      "published": "2026-03-14T10:10:02.858Z"
    },
    {
      "version": "16.3.4",
      "format": "esm-only",
      "published": "2026-03-14T07:26:02.809Z"
    },
    {
      "version": "16.3.3",
      "format": "esm-only",
      "published": "2026-03-10T05:13:57.731Z"
    },
    {
      "version": "16.3.2",
      "format": "esm-only",
      "published": "2026-03-03T17:35:38.409Z"
    },
    {
      "version": "16.3.1",
      "format": "esm-only",
      "published": "2026-03-01T09:16:45.116Z"
    },
    {
      "version": "16.3.0",
      "format": "esm-only",
      "published": "2026-02-28T12:05:42.169Z"
    },
    {
      "version": "16.2.7",
      "format": "esm-only",
      "published": "2025-11-19T17:29:08.813Z"
    },
    {
      "version": "16.2.6",
      "format": "esm-only",
      "published": "2025-10-22T17:12:42.823Z"
    },
    {
      "version": "16.2.5",
      "format": "esm-only",
      "published": "2025-10-20T16:49:28.176Z"
    },
    {
      "version": "16.2.4",
      "format": "esm-only",
      "published": "2025-10-11T06:44:39.875Z"
    },
    {
      "version": "16.2.3",
      "format": "esm-only",
      "published": "2025-09-28T12:48:27.808Z"
    },
    {
      "version": "16.2.2",
      "format": "esm-only",
      "published": "2025-09-28T08:43:09.711Z"
    },
    {
      "version": "16.2.1",
      "format": "esm-only",
      "published": "2025-09-25T17:16:42.146Z"
    },
    {
      "version": "16.2.0",
      "format": "esm-only",
      "published": "2025-09-22T06:23:51.847Z"
    },
    {
      "version": "16.1.6",
      "format": "esm-only",
      "published": "2025-09-01T15:49:32.790Z"
    },
    {
      "version": "16.1.5",
      "format": "esm-only",
      "published": "2025-08-08T14:44:47.388Z"
    },
    {
      "version": "16.1.4",
      "format": "esm-only",
      "published": "2025-08-03T15:21:45.343Z"
    },
    {
      "version": "16.1.3",
      "format": "esm-only",
      "published": "2025-08-03T15:04:12.588Z"
    },
    {
      "version": "16.1.2",
      "format": "esm-only",
      "published": "2025-06-15T10:07:20.384Z"
    },
    {
      "version": "16.1.1",
      "format": "esm-only",
      "published": "2025-06-14T08:29:40.187Z"
    },
    {
      "version": "16.1.0",
      "format": "esm-only",
      "published": "2025-05-27T17:32:57.483Z"
    },
    {
      "version": "16.0.0",
      "format": "esm-only",
      "published": "2025-05-10T17:24:05.861Z"
    },
    {
      "version": "15.5.2",
      "format": "esm-only",
      "published": "2025-05-06T10:11:25.711Z"
    },
    {
      "version": "15.5.1",
      "format": "esm-only",
      "published": "2025-04-11T17:08:40.114Z"
    },
    {
      "version": "15.5.0",
      "format": "esm-only",
      "published": "2025-03-12T14:51:19.286Z"
    },
    {
      "version": "15.4.3",
      "format": "esm-only",
      "published": "2025-01-26T14:19:34.270Z"
    },
    {
      "version": "15.4.2",
      "format": "esm-only",
      "published": "2025-01-23T11:21:36.453Z"
    },
    {
      "version": "15.4.1",
      "format": "esm-only",
      "published": "2025-01-16T18:03:40.448Z"
    },
    {
      "version": "15.4.0",
      "format": "esm-only",
      "published": "2025-01-16T06:23:04.364Z"
    },
    {
      "version": "15.3.0",
      "format": "esm-only",
      "published": "2024-12-28T10:54:31.586Z"
    },
    {
      "version": "15.2.11",
      "format": "esm-only",
      "published": "2024-12-10T14:01:11.323Z"
    },
    {
      "version": "15.2.10",
      "format": "esm-only",
      "published": "2024-09-01T14:22:27.154Z"
    },
    {
      "version": "15.2.9",
      "format": "esm-only",
      "published": "2024-08-13T05:44:49.869Z"
    },
    {
      "version": "15.2.8",
      "format": "esm-only",
      "published": "2024-08-03T06:33:01.193Z"
    },
    {
      "version": "15.2.7",
      "format": "esm-only",
      "published": "2024-06-12T17:28:59.087Z"
    },
    {
      "version": "15.2.6",
      "format": "esm-only",
      "published": "2024-06-11T16:41:02.131Z"
    },
    {
      "version": "15.2.5",
      "format": "esm-only",
      "published": "2024-05-25T11:06:03.434Z"
    },
    {
      "version": "15.2.4",
      "format": "esm-only",
      "published": "2024-05-21T19:16:54.502Z"
    },
    {
      "version": "15.2.2",
      "format": "esm-only",
      "published": "2024-02-05T14:26:18.747Z"
    },
    {
      "version": "15.2.1",
      "format": "esm-only",
      "published": "2024-01-31T07:45:36.878Z"
    },
    {
      "version": "15.2.0",
      "format": "esm-only",
      "published": "2023-12-03T17:26:21.980Z"
    },
    {
      "version": "15.1.0",
      "format": "esm-only",
      "published": "2023-11-11T15:25:12.346Z"
    },
    {
      "version": "15.0.2",
      "format": "esm-only",
      "published": "2023-10-19T10:23:28.191Z"
    },
    {
      "version": "15.0.1",
      "format": "esm-only",
      "published": "2023-10-15T07:23:26.014Z"
    },
    {
      "version": "15.0.0",
      "format": "esm-only",
      "published": "2023-10-14T18:04:53.684Z"
    }
  ]
}