{
  "name": "@babel/code-frame",
  "url": "https://canirequire.com/package/@babel/code-frame/",
  "description": "Generate errors that contain a code frame that point to source locations.",
  "latest": "8.0.0",
  "latestPublished": "2026-06-16T13:32:12.341Z",
  "format": "esm-only",
  "summary": "@babel/code-frame@8.0.0 is ESM-only. @babel/code-frame dropped its CommonJS build in 8.0.0 (June 2026). The last version you can require() on every Node.js version, including 18 and older, is 7.29.7, published May 25, 2026. On Node.js 20.19+, 22.12+ and every newer release, require(\"@babel/code-frame\") 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. @babel/code-frame@8.0.0 declares engines \"^22.18.0 || >=24.11.0\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "8.0.0",
  "esmOnlySinceDate": "2026-06-16T13:32:12.341Z",
  "lastCommonJsVersion": "7.29.7",
  "lastCommonJsDate": "2026-05-25T11:15:38.208Z",
  "nativeEsmSince": "8.0.0",
  "types": "bundled",
  "nodeEngines": "^22.18.0 || >=24.11.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/babel/babel",
  "weeklyDownloads": null,
  "runtime": {
    "verifiedAt": "2026-09-09T15:34:56.622Z",
    "node": {
      "18": {
        "require": false,
        "import": false,
        "requireError": "ERR_REQUIRE_ESM",
        "importError": "SyntaxError"
      },
      "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-06-16T13:32:12.341Z"
    },
    {
      "version": "7.29.7",
      "format": "cjs",
      "published": "2026-05-25T11:15:38.208Z"
    },
    {
      "version": "7.29.0",
      "format": "cjs",
      "published": "2026-01-31T17:39:09.387Z"
    },
    {
      "version": "7.28.6",
      "format": "cjs",
      "published": "2026-01-12T17:49:33.711Z"
    },
    {
      "version": "7.27.1",
      "format": "cjs",
      "published": "2025-04-30T15:08:31.722Z"
    },
    {
      "version": "7.26.2",
      "format": "cjs",
      "published": "2024-10-30T17:46:11.750Z"
    },
    {
      "version": "7.26.0",
      "format": "cjs",
      "published": "2024-10-25T13:30:06.473Z"
    },
    {
      "version": "7.25.9",
      "format": "cjs",
      "published": "2024-10-22T15:21:16.203Z"
    },
    {
      "version": "7.25.7",
      "format": "cjs",
      "published": "2024-10-02T15:14:58.147Z"
    },
    {
      "version": "7.24.7",
      "format": "cjs",
      "published": "2024-06-05T13:15:28.697Z"
    },
    {
      "version": "7.24.6",
      "format": "cjs",
      "published": "2024-05-24T12:24:38.944Z"
    },
    {
      "version": "7.24.2",
      "format": "cjs",
      "published": "2024-03-19T18:07:35.501Z"
    },
    {
      "version": "7.24.1",
      "format": "cjs",
      "published": "2024-03-19T09:49:17.644Z"
    },
    {
      "version": "7.23.5",
      "format": "cjs",
      "published": "2023-11-29T10:25:37.659Z"
    },
    {
      "version": "7.23.4",
      "format": "cjs",
      "published": "2023-11-20T14:22:15.556Z"
    },
    {
      "version": "7.22.13",
      "format": "cjs",
      "published": "2023-08-28T17:01:57.853Z"
    },
    {
      "version": "7.22.10",
      "format": "cjs",
      "published": "2023-08-07T17:25:20.470Z"
    },
    {
      "version": "7.22.5",
      "format": "cjs",
      "published": "2023-06-08T18:21:25.442Z"
    },
    {
      "version": "7.21.4",
      "format": "cjs",
      "published": "2023-03-31T09:01:51.008Z"
    },
    {
      "version": "7.18.6",
      "format": "cjs",
      "published": "2022-06-27T19:50:07.729Z"
    },
    {
      "version": "7.16.7",
      "format": "cjs",
      "published": "2021-12-31T00:22:17.638Z"
    },
    {
      "version": "7.16.0",
      "format": "cjs",
      "published": "2021-10-29T23:47:40.990Z"
    },
    {
      "version": "7.15.8",
      "format": "cjs",
      "published": "2021-10-06T20:54:55.170Z"
    },
    {
      "version": "7.14.5",
      "format": "cjs",
      "published": "2021-06-09T23:12:21.758Z"
    },
    {
      "version": "7.12.13",
      "format": "cjs",
      "published": "2021-02-03T01:10:04.185Z"
    },
    {
      "version": "7.12.11",
      "format": "cjs",
      "published": "2020-12-15T23:59:15.550Z"
    },
    {
      "version": "7.10.4",
      "format": "cjs",
      "published": "2020-06-30T13:12:14.794Z"
    },
    {
      "version": "7.10.3",
      "format": "cjs",
      "published": "2020-06-19T20:54:25.624Z"
    },
    {
      "version": "7.10.1",
      "format": "cjs",
      "published": "2020-05-27T22:07:42.415Z"
    },
    {
      "version": "7.8.3",
      "format": "cjs",
      "published": "2020-01-13T21:41:43.457Z"
    },
    {
      "version": "7.8.0",
      "format": "cjs",
      "published": "2020-01-12T00:16:04.711Z"
    },
    {
      "version": "7.5.5",
      "format": "cjs",
      "published": "2019-07-17T21:21:26.592Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2018-08-27T21:42:00.298Z"
    }
  ]
}