{
  "name": "@babel/template",
  "url": "https://canirequire.com/package/@babel/template/",
  "description": "Generate an AST from a string template.",
  "latest": "8.0.0",
  "latestPublished": "2026-06-16T13:33:09.318Z",
  "format": "esm-only",
  "summary": "@babel/template@8.0.0 is ESM-only. @babel/template 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/template\") 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/template@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:33:09.318Z",
  "lastCommonJsVersion": "7.29.7",
  "lastCommonJsDate": "2026-05-25T11:16:25.858Z",
  "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:46.794Z",
    "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:33:09.318Z"
    },
    {
      "version": "7.29.7",
      "format": "cjs",
      "published": "2026-05-25T11:16:25.858Z"
    },
    {
      "version": "7.28.6",
      "format": "cjs",
      "published": "2026-01-12T17:50:00.355Z"
    },
    {
      "version": "7.27.2",
      "format": "cjs",
      "published": "2025-05-06T15:33:49.009Z"
    },
    {
      "version": "7.27.1",
      "format": "cjs",
      "published": "2025-04-30T15:09:08.154Z"
    },
    {
      "version": "7.27.0",
      "format": "cjs",
      "published": "2025-03-24T17:41:49.282Z"
    },
    {
      "version": "7.26.9",
      "format": "cjs",
      "published": "2025-02-14T11:48:07.640Z"
    },
    {
      "version": "7.26.8",
      "format": "cjs",
      "published": "2025-02-08T09:59:28.281Z"
    },
    {
      "version": "7.25.9",
      "format": "cjs",
      "published": "2024-10-22T15:21:24.173Z"
    },
    {
      "version": "7.25.7",
      "format": "cjs",
      "published": "2024-10-02T15:15:08.776Z"
    },
    {
      "version": "7.25.0",
      "format": "cjs",
      "published": "2024-07-26T16:59:25.984Z"
    },
    {
      "version": "7.24.7",
      "format": "cjs",
      "published": "2024-06-05T13:15:38.649Z"
    },
    {
      "version": "7.24.6",
      "format": "cjs",
      "published": "2024-05-24T12:25:00.152Z"
    },
    {
      "version": "7.24.0",
      "format": "cjs",
      "published": "2024-02-28T11:47:43.818Z"
    },
    {
      "version": "7.23.9",
      "format": "cjs",
      "published": "2024-01-25T16:57:53.506Z"
    },
    {
      "version": "7.22.15",
      "format": "cjs",
      "published": "2023-09-04T12:25:18.841Z"
    },
    {
      "version": "7.22.5",
      "format": "cjs",
      "published": "2023-06-08T18:21:35.789Z"
    },
    {
      "version": "7.21.9",
      "format": "cjs",
      "published": "2023-05-22T10:02:21.779Z"
    },
    {
      "version": "7.20.7",
      "format": "cjs",
      "published": "2022-12-22T09:45:34.079Z"
    },
    {
      "version": "7.18.10",
      "format": "cjs",
      "published": "2022-08-01T18:46:45.502Z"
    },
    {
      "version": "7.18.6",
      "format": "cjs",
      "published": "2022-06-27T19:50:22.582Z"
    },
    {
      "version": "7.16.7",
      "format": "cjs",
      "published": "2021-12-31T00:22:40.223Z"
    },
    {
      "version": "7.16.0",
      "format": "cjs",
      "published": "2021-10-29T23:47:49.111Z"
    },
    {
      "version": "7.15.4",
      "format": "cjs",
      "published": "2021-09-02T21:39:37.380Z"
    },
    {
      "version": "7.14.5",
      "format": "cjs",
      "published": "2021-06-09T23:12:48.888Z"
    },
    {
      "version": "7.12.13",
      "format": "cjs",
      "published": "2021-02-03T01:11:31.852Z"
    },
    {
      "version": "7.12.7",
      "format": "cjs",
      "published": "2020-11-20T21:05:55.452Z"
    },
    {
      "version": "7.10.4",
      "format": "cjs",
      "published": "2020-06-30T13:12:43.921Z"
    },
    {
      "version": "7.10.3",
      "format": "cjs",
      "published": "2020-06-19T20:54:32.896Z"
    },
    {
      "version": "7.10.1",
      "format": "cjs",
      "published": "2020-05-27T22:07:48.424Z"
    },
    {
      "version": "7.10.0",
      "format": "cjs",
      "published": "2020-05-26T21:43:30.312Z"
    },
    {
      "version": "7.8.6",
      "format": "cjs",
      "published": "2020-02-27T12:21:33.135Z"
    },
    {
      "version": "7.8.3",
      "format": "cjs",
      "published": "2020-01-13T21:42:02.911Z"
    },
    {
      "version": "7.8.0",
      "format": "cjs",
      "published": "2020-01-12T00:16:51.065Z"
    },
    {
      "version": "7.7.4",
      "format": "cjs",
      "published": "2019-11-22T23:33:28.291Z"
    },
    {
      "version": "7.7.0",
      "format": "cjs",
      "published": "2019-11-05T10:53:28.805Z"
    },
    {
      "version": "7.6.0",
      "format": "cjs",
      "published": "2019-09-06T17:33:52.250Z"
    },
    {
      "version": "7.4.4",
      "format": "cjs",
      "published": "2019-04-26T21:04:38.296Z"
    },
    {
      "version": "7.4.0",
      "format": "cjs",
      "published": "2019-03-19T20:45:04.692Z"
    },
    {
      "version": "7.2.2",
      "format": "cjs",
      "published": "2018-12-15T10:05:38.929Z"
    },
    {
      "version": "7.1.2",
      "format": "cjs",
      "published": "2018-09-28T22:19:57.594Z"
    },
    {
      "version": "7.1.1",
      "format": "cjs",
      "published": "2018-09-28T20:03:02.198Z"
    },
    {
      "version": "7.1.0",
      "format": "cjs",
      "published": "2018-09-17T19:30:29.158Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2018-08-27T21:44:17.393Z"
    }
  ]
}