{
  "name": "cssnano",
  "url": "https://canirequire.com/package/cssnano/",
  "description": "A modular CSS minifier, built on top of the PostCSS ecosystem.",
  "latest": "9.0.4",
  "latestPublished": "2026-09-08T07:28:55.980Z",
  "format": "esm-only",
  "summary": "cssnano@9.0.4 is ESM-only. cssnano dropped its CommonJS build in 9.0.0 (August 2026). The last version you can require() on every Node.js version, including 18 and older, is 8.0.10, published Aug 26, 2026. On Node.js 20.19+, 22.12+ and every newer release, require(\"cssnano\") 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. cssnano@9.0.4 declares engines \"^22.22.3 || ^24.15.0 || >=26.0\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "9.0.0",
  "esmOnlySinceDate": "2026-08-27T21:58:49.216Z",
  "lastCommonJsVersion": "8.0.10",
  "lastCommonJsDate": "2026-08-26T20:09:56.985Z",
  "nativeEsmSince": "9.0.0",
  "types": "bundled",
  "nodeEngines": "^22.22.3 || ^24.15.0 || >=26.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/cssnano/cssnano",
  "weeklyDownloads": 16367135,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:54.248Z",
    "node": {
      "18": {
        "require": false,
        "import": false,
        "requireError": "ERR_REQUIRE_ESM",
        "importError": "TypeError"
      },
      "20": {
        "require": false,
        "import": false,
        "requireError": "TypeError",
        "importError": "TypeError"
      },
      "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.4",
      "format": "esm-only",
      "published": "2026-09-08T07:28:55.980Z"
    },
    {
      "version": "9.0.3",
      "format": "esm-only",
      "published": "2026-09-05T20:46:38.621Z"
    },
    {
      "version": "9.0.2",
      "format": "esm-only",
      "published": "2026-09-01T09:38:57.695Z"
    },
    {
      "version": "9.0.1",
      "format": "esm-only",
      "published": "2026-08-28T15:13:55.171Z"
    },
    {
      "version": "9.0.0",
      "format": "esm-only",
      "published": "2026-08-27T21:58:49.216Z"
    },
    {
      "version": "8.0.10",
      "format": "cjs",
      "published": "2026-08-26T20:09:56.985Z"
    },
    {
      "version": "8.0.9",
      "format": "cjs",
      "published": "2026-08-25T21:35:22.306Z"
    },
    {
      "version": "8.0.8",
      "format": "cjs",
      "published": "2026-08-22T10:35:51.895Z"
    },
    {
      "version": "8.0.7",
      "format": "cjs",
      "published": "2026-08-20T18:16:45.109Z"
    },
    {
      "version": "8.0.6",
      "format": "cjs",
      "published": "2026-08-16T22:06:07.126Z"
    },
    {
      "version": "8.0.5",
      "format": "cjs",
      "published": "2026-08-09T21:52:08.143Z"
    },
    {
      "version": "8.0.4",
      "format": "cjs",
      "published": "2026-08-05T15:12:07.443Z"
    },
    {
      "version": "8.0.3",
      "format": "cjs",
      "published": "2026-08-04T23:23:39.196Z"
    },
    {
      "version": "8.0.2",
      "format": "cjs",
      "published": "2026-06-11T07:33:06.886Z"
    },
    {
      "version": "8.0.1",
      "format": "cjs",
      "published": "2026-05-08T19:12:49.099Z"
    },
    {
      "version": "8.0.0",
      "format": "cjs",
      "published": "2026-05-06T12:14:02.953Z"
    },
    {
      "version": "7.1.9",
      "format": "cjs",
      "published": "2026-05-04T18:18:06.071Z"
    },
    {
      "version": "7.1.8",
      "format": "cjs",
      "published": "2026-05-02T16:35:16.228Z"
    },
    {
      "version": "7.1.7",
      "format": "cjs",
      "published": "2026-04-20T19:39:00.293Z"
    },
    {
      "version": "7.1.6",
      "format": "cjs",
      "published": "2026-04-20T19:10:44.971Z"
    },
    {
      "version": "7.1.5",
      "format": "cjs",
      "published": "2026-04-13T18:22:42.471Z"
    },
    {
      "version": "7.1.4",
      "format": "cjs",
      "published": "2026-03-30T13:51:28.318Z"
    },
    {
      "version": "7.1.3",
      "format": "cjs",
      "published": "2026-03-06T17:15:01.071Z"
    },
    {
      "version": "7.1.2",
      "format": "cjs",
      "published": "2025-10-29T13:00:49.909Z"
    },
    {
      "version": "7.1.1",
      "format": "cjs",
      "published": "2025-08-22T17:45:05.923Z"
    },
    {
      "version": "7.1.0",
      "format": "cjs",
      "published": "2025-07-14T18:56:49.229Z"
    },
    {
      "version": "7.0.7",
      "format": "cjs",
      "published": "2025-05-06T13:54:13.719Z"
    },
    {
      "version": "7.0.6",
      "format": "cjs",
      "published": "2024-09-04T17:37:39.665Z"
    },
    {
      "version": "7.0.5",
      "format": "cjs",
      "published": "2024-08-09T13:48:23.656Z"
    },
    {
      "version": "7.0.4",
      "format": "cjs",
      "published": "2024-07-05T09:10:30.255Z"
    },
    {
      "version": "7.0.3",
      "format": "cjs",
      "published": "2024-06-19T08:46:24.619Z"
    },
    {
      "version": "7.0.2",
      "format": "cjs",
      "published": "2024-06-05T10:10:15.024Z"
    },
    {
      "version": "7.0.1",
      "format": "cjs",
      "published": "2024-04-26T13:47:13.588Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2024-04-24T21:33:51.686Z"
    },
    {
      "version": "6.1.2",
      "format": "cjs",
      "published": "2024-03-25T19:25:23.463Z"
    },
    {
      "version": "6.1.1",
      "format": "cjs",
      "published": "2024-03-20T13:50:47.584Z"
    },
    {
      "version": "6.1.0",
      "format": "cjs",
      "published": "2024-03-06T14:31:05.401Z"
    },
    {
      "version": "6.0.5",
      "format": "cjs",
      "published": "2024-02-24T11:33:22.131Z"
    },
    {
      "version": "6.0.4",
      "format": "cjs",
      "published": "2024-02-22T19:59:11.396Z"
    },
    {
      "version": "6.0.3",
      "format": "cjs",
      "published": "2024-01-03T18:07:10.952Z"
    },
    {
      "version": "6.0.2",
      "format": "cjs",
      "published": "2023-12-14T17:18:08.540Z"
    },
    {
      "version": "6.0.1",
      "format": "cjs",
      "published": "2023-04-30T09:32:01.132Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2023-03-27T16:41:02.008Z"
    },
    {
      "version": "5.1.15",
      "format": "cjs",
      "published": "2023-02-15T21:25:19.866Z"
    },
    {
      "version": "5.1.14",
      "format": "cjs",
      "published": "2022-10-28T13:50:13.280Z"
    },
    {
      "version": "5.1.13",
      "format": "cjs",
      "published": "2022-08-12T17:47:59.575Z"
    },
    {
      "version": "5.1.12",
      "format": "cjs",
      "published": "2022-06-18T09:54:27.423Z"
    },
    {
      "version": "5.1.11",
      "format": "cjs",
      "published": "2022-06-03T20:16:55.983Z"
    },
    {
      "version": "5.1.10",
      "format": "cjs",
      "published": "2022-05-29T18:04:54.774Z"
    },
    {
      "version": "5.1.9",
      "format": "cjs",
      "published": "2022-05-20T21:32:55.574Z"
    },
    {
      "version": "5.1.8",
      "format": "cjs",
      "published": "2022-05-16T21:37:07.752Z"
    },
    {
      "version": "5.1.7",
      "format": "cjs",
      "published": "2022-04-01T14:37:04.352Z"
    },
    {
      "version": "5.1.6",
      "format": "cjs",
      "published": "2022-04-01T09:30:47.684Z"
    },
    {
      "version": "5.1.5",
      "format": "cjs",
      "published": "2022-03-21T19:00:20.021Z"
    },
    {
      "version": "5.1.4",
      "format": "cjs",
      "published": "2022-03-13T11:38:37.154Z"
    },
    {
      "version": "5.1.3",
      "format": "cjs",
      "published": "2022-03-11T12:25:15.579Z"
    },
    {
      "version": "5.1.2",
      "format": "cjs",
      "published": "2022-03-10T18:00:12.502Z"
    },
    {
      "version": "5.1.1",
      "format": "cjs",
      "published": "2022-03-08T18:07:44.670Z"
    },
    {
      "version": "5.1.0",
      "format": "cjs",
      "published": "2022-03-01T18:54:54.226Z"
    },
    {
      "version": "5.0.17",
      "format": "cjs",
      "published": "2022-02-07T15:54:38.787Z"
    }
  ]
}