{
  "name": "css-what",
  "url": "https://canirequire.com/package/css-what/",
  "description": "a CSS selector parser",
  "latest": "8.0.0",
  "latestPublished": "2026-03-17T13:26:46.966Z",
  "format": "esm-only",
  "summary": "css-what@8.0.0 is ESM-only. css-what 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.0.0, published Jun 29, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"css-what\") 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-what@8.0.0 declares engines \">=20.19.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "8.0.0",
  "esmOnlySinceDate": "2026-03-17T13:26:46.966Z",
  "lastCommonJsVersion": "7.0.0",
  "lastCommonJsDate": "2025-06-29T15:25:05.238Z",
  "nativeEsmSince": "6.2.0",
  "types": "bundled",
  "nodeEngines": ">=20.19.0",
  "deprecated": null,
  "license": "BSD-2-Clause",
  "repository": "https://github.com/fb55/css-what",
  "weeklyDownloads": 63478586,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:05.040Z",
    "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": "8.0.0",
      "format": "esm-only",
      "published": "2026-03-17T13:26:46.966Z"
    },
    {
      "version": "7.0.0",
      "format": "dual",
      "published": "2025-06-29T15:25:05.238Z"
    },
    {
      "version": "6.2.2",
      "format": "cjs",
      "published": "2025-06-28T15:45:55.599Z"
    },
    {
      "version": "6.2.1",
      "format": "dual",
      "published": "2025-06-28T11:09:36.118Z"
    },
    {
      "version": "6.2.0",
      "format": "dual",
      "published": "2025-06-28T10:21:32.087Z"
    },
    {
      "version": "6.1.0",
      "format": "cjs",
      "published": "2022-03-31T13:20:41.689Z"
    },
    {
      "version": "6.0.1",
      "format": "cjs",
      "published": "2021-12-27T10:46:36.076Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2021-12-26T23:10:31.992Z"
    },
    {
      "version": "5.1.0",
      "format": "cjs",
      "published": "2021-10-10T11:05:45.401Z"
    },
    {
      "version": "5.0.1",
      "format": "cjs",
      "published": "2021-05-28T18:35:34.029Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2021-03-09T04:02:41.226Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2020-10-13T07:04:59.892Z"
    },
    {
      "version": "3.4.2",
      "format": "cjs",
      "published": "2020-10-09T18:45:12.341Z"
    },
    {
      "version": "3.4.1",
      "format": "cjs",
      "published": "2020-10-01T19:43:26.703Z"
    },
    {
      "version": "3.4.0",
      "format": "cjs",
      "published": "2020-10-01T18:17:03.581Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2020-05-31T21:14:02.469Z"
    },
    {
      "version": "3.2.1",
      "format": "cjs",
      "published": "2019-11-09T22:39:36.281Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2019-08-02T19:24:20.868Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2019-07-23T01:11:04.982Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2019-07-13T19:37:56.308Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2019-07-13T19:36:03.831Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-07-13T19:31:42.303Z"
    },
    {
      "version": "2.1.3",
      "format": "cjs",
      "published": "2019-02-14T18:23:18.507Z"
    },
    {
      "version": "2.1.2",
      "format": "cjs",
      "published": "2018-10-21T22:18:26.101Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2015-11-22T13:25:14.930Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2015-03-12T12:34:37.829Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2015-03-05T17:47:57.399Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-03-01T13:46:19.791Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-02-03T22:10:20.029Z"
    }
  ]
}