{
  "name": "@csstools/css-calc",
  "url": "https://canirequire.com/package/@csstools/css-calc/",
  "description": "Solve CSS math expressions",
  "latest": "3.3.0",
  "latestPublished": "2026-07-22T16:17:20.299Z",
  "format": "esm-only",
  "summary": "@csstools/css-calc@3.3.0 is ESM-only. @csstools/css-calc dropped its CommonJS build in 3.0.0 (January 2026). The last version you can require() on every Node.js version, including 18 and older, is 2.1.4, published May 27, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"@csstools/css-calc\") 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. @csstools/css-calc@3.3.0 declares engines \">=20.19.0\", so Node.js 18 is outside its supported range regardless of module format.",
  "esmOnlySince": "3.0.0",
  "esmOnlySinceDate": "2026-01-14T07:28:20.358Z",
  "lastCommonJsVersion": "2.1.4",
  "lastCommonJsDate": "2025-05-27T10:47:50.767Z",
  "nativeEsmSince": "1.0.0",
  "types": "bundled",
  "nodeEngines": ">=20.19.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/csstools/postcss-plugins",
  "weeklyDownloads": null,
  "runtime": {
    "verifiedAt": "2026-09-09T15:35:18.788Z",
    "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": "3.3.0",
      "format": "esm-only",
      "published": "2026-07-22T16:17:20.299Z"
    },
    {
      "version": "3.2.1",
      "format": "esm-only",
      "published": "2026-05-13T14:25:16.342Z"
    },
    {
      "version": "3.2.0",
      "format": "esm-only",
      "published": "2026-04-12T17:25:32.815Z"
    },
    {
      "version": "3.1.1",
      "format": "esm-only",
      "published": "2026-02-13T07:04:03.054Z"
    },
    {
      "version": "3.1.0",
      "format": "esm-only",
      "published": "2026-02-12T16:26:20.947Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2026-02-10T20:52:45.523Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2026-01-14T07:28:20.358Z"
    },
    {
      "version": "2.1.4",
      "format": "dual",
      "published": "2025-05-27T10:47:50.767Z"
    },
    {
      "version": "2.1.3",
      "format": "dual",
      "published": "2025-04-19T16:13:10.270Z"
    },
    {
      "version": "2.1.2",
      "format": "dual",
      "published": "2025-02-23T17:05:16.689Z"
    },
    {
      "version": "2.1.1",
      "format": "dual",
      "published": "2024-12-27T17:42:11.375Z"
    },
    {
      "version": "2.1.0",
      "format": "dual",
      "published": "2024-11-11T10:58:12.407Z"
    },
    {
      "version": "2.0.4",
      "format": "dual",
      "published": "2024-11-01T21:47:20.112Z"
    },
    {
      "version": "2.0.3",
      "format": "dual",
      "published": "2024-10-23T21:45:51.323Z"
    },
    {
      "version": "2.0.2",
      "format": "dual",
      "published": "2024-10-10T12:26:05.580Z"
    },
    {
      "version": "2.0.1",
      "format": "dual",
      "published": "2024-08-18T15:48:59.479Z"
    },
    {
      "version": "2.0.0",
      "format": "dual",
      "published": "2024-08-03T21:40:15.145Z"
    },
    {
      "version": "1.2.4",
      "format": "dual",
      "published": "2024-07-06T09:34:45.844Z"
    },
    {
      "version": "1.2.3",
      "format": "dual",
      "published": "2024-06-29T21:58:29.356Z"
    },
    {
      "version": "1.2.2",
      "format": "dual",
      "published": "2024-05-04T21:13:44.407Z"
    },
    {
      "version": "1.2.1",
      "format": "dual",
      "published": "2024-05-04T16:06:31.133Z"
    },
    {
      "version": "1.2.0",
      "format": "dual",
      "published": "2024-03-13T18:47:53.132Z"
    },
    {
      "version": "1.1.7",
      "format": "dual",
      "published": "2024-02-19T08:05:50.213Z"
    },
    {
      "version": "1.1.6",
      "format": "dual",
      "published": "2023-12-31T16:31:31.753Z"
    },
    {
      "version": "1.1.5",
      "format": "dual",
      "published": "2023-12-15T23:22:35.191Z"
    },
    {
      "version": "1.1.4",
      "format": "dual",
      "published": "2023-09-24T19:44:25.539Z"
    },
    {
      "version": "1.1.3",
      "format": "dual",
      "published": "2023-07-24T16:20:18.410Z"
    },
    {
      "version": "1.1.2",
      "format": "dual",
      "published": "2023-07-03T08:08:38.131Z"
    },
    {
      "version": "1.1.1",
      "format": "dual",
      "published": "2023-04-10T11:02:34.696Z"
    },
    {
      "version": "1.1.0",
      "format": "dual",
      "published": "2023-04-10T07:48:00.113Z"
    },
    {
      "version": "1.0.1",
      "format": "dual",
      "published": "2023-03-25T07:52:29.420Z"
    },
    {
      "version": "1.0.0",
      "format": "dual",
      "published": "2023-02-21T16:21:28.079Z"
    }
  ]
}