{
  "name": "css-select",
  "url": "https://canirequire.com/package/css-select/",
  "description": "a CSS selector compiler/engine",
  "latest": "7.0.0",
  "latestPublished": "2026-03-22T22:44:26.452Z",
  "format": "esm-only",
  "summary": "css-select@7.0.0 is ESM-only. css-select dropped its CommonJS build in 7.0.0 (March 2026). The last version you can require() on every Node.js version, including 18 and older, is 6.0.0, published Jun 29, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"css-select\") 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. css-select@7.0.0 declares engines \">=20.19.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "7.0.0",
  "esmOnlySinceDate": "2026-03-22T22:44:26.452Z",
  "lastCommonJsVersion": "6.0.0",
  "lastCommonJsDate": "2025-06-29T17:21:03.629Z",
  "nativeEsmSince": "5.0.0",
  "types": "bundled",
  "nodeEngines": ">=20.19.0",
  "deprecated": null,
  "license": "BSD-2-Clause",
  "repository": "https://github.com/fb55/css-select",
  "weeklyDownloads": 70594411,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:00.460Z",
    "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": "7.0.0",
      "format": "esm-only",
      "published": "2026-03-22T22:44:26.452Z"
    },
    {
      "version": "6.0.0",
      "format": "dual",
      "published": "2025-06-29T17:21:03.629Z"
    },
    {
      "version": "5.2.2",
      "format": "dual",
      "published": "2025-06-28T15:49:53.402Z"
    },
    {
      "version": "5.2.1",
      "format": "dual",
      "published": "2025-06-28T11:03:13.607Z"
    },
    {
      "version": "5.2.0",
      "format": "dual",
      "published": "2025-06-28T10:11:28.343Z"
    },
    {
      "version": "5.1.0",
      "format": "dual",
      "published": "2022-04-27T18:29:37.203Z"
    },
    {
      "version": "5.0.1",
      "format": "dual",
      "published": "2022-04-25T11:57:32.440Z"
    },
    {
      "version": "5.0.0",
      "format": "dual",
      "published": "2022-04-24T18:27:03.139Z"
    },
    {
      "version": "4.3.0",
      "format": "cjs",
      "published": "2022-03-28T13:57:10.490Z"
    },
    {
      "version": "4.2.1",
      "format": "cjs",
      "published": "2021-12-26T11:38:44.447Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2021-12-14T16:01:41.038Z"
    },
    {
      "version": "4.1.3",
      "format": "cjs",
      "published": "2021-06-06T15:43:37.009Z"
    },
    {
      "version": "4.1.2",
      "format": "cjs",
      "published": "2021-04-16T09:42:37.437Z"
    },
    {
      "version": "4.1.1",
      "format": "cjs",
      "published": "2021-04-16T09:34:40.542Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2021-04-16T09:22:34.648Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2021-04-03T08:00:28.226Z"
    },
    {
      "version": "3.1.2",
      "format": "cjs",
      "published": "2020-12-10T20:54:41.127Z"
    },
    {
      "version": "3.1.1",
      "format": "cjs",
      "published": "2020-12-08T23:27:23.037Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2020-10-02T16:59:00.899Z"
    },
    {
      "version": "3.0.4",
      "format": "cjs",
      "published": "2020-10-01T20:53:51.493Z"
    },
    {
      "version": "3.0.3",
      "format": "cjs",
      "published": "2020-09-28T02:28:08.241Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2020-09-27T19:37:42.559Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2020-09-23T23:38:16.650Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2020-09-23T21:00:03.773Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2019-11-09T23:15:02.442Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2018-10-21T22:49:43.146Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2018-03-09T13:24:17.585Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2015-11-24T00:18:41.364Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2015-03-06T09:56:07.297Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-02-03T22:19:31.872Z"
    }
  ]
}