{
  "name": "@babel/plugin-proposal-throw-expressions",
  "url": "https://canirequire.com/package/@babel/plugin-proposal-throw-expressions/",
  "description": "Wraps Throw Expressions in an IIFE",
  "latest": "8.0.1",
  "latestPublished": "2026-06-17T09:44:24.992Z",
  "format": "esm-only",
  "summary": "@babel/plugin-proposal-throw-expressions@8.0.1 is ESM-only. @babel/plugin-proposal-throw-expressions 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/plugin-proposal-throw-expressions\") 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/plugin-proposal-throw-expressions@8.0.1 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:20.154Z",
  "lastCommonJsVersion": "7.29.7",
  "lastCommonJsDate": "2026-05-25T11:15:43.250Z",
  "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:36:12.569Z",
    "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.1",
      "format": "esm-only",
      "published": "2026-06-17T09:44:24.992Z"
    },
    {
      "version": "8.0.0",
      "format": "esm-only",
      "published": "2026-06-16T13:32:20.154Z"
    },
    {
      "version": "7.29.7",
      "format": "cjs",
      "published": "2026-05-25T11:15:43.250Z"
    },
    {
      "version": "7.27.1",
      "format": "cjs",
      "published": "2025-04-30T15:08:35.387Z"
    },
    {
      "version": "7.25.9",
      "format": "cjs",
      "published": "2024-10-22T15:20:47.215Z"
    },
    {
      "version": "7.25.8",
      "format": "cjs",
      "published": "2024-10-10T13:25:06.979Z"
    },
    {
      "version": "7.25.7",
      "format": "cjs",
      "published": "2024-10-02T15:15:05.143Z"
    },
    {
      "version": "7.24.7",
      "format": "cjs",
      "published": "2024-06-05T13:15:34.071Z"
    },
    {
      "version": "7.24.6",
      "format": "cjs",
      "published": "2024-05-24T12:24:48.835Z"
    },
    {
      "version": "7.24.1",
      "format": "cjs",
      "published": "2024-03-19T09:49:26.172Z"
    },
    {
      "version": "7.23.3",
      "format": "cjs",
      "published": "2023-11-09T07:04:11.766Z"
    },
    {
      "version": "7.22.5",
      "format": "cjs",
      "published": "2023-06-08T18:21:30.742Z"
    },
    {
      "version": "7.18.6",
      "format": "cjs",
      "published": "2022-06-27T19:50:15.808Z"
    },
    {
      "version": "7.16.7",
      "format": "cjs",
      "published": "2021-12-31T00:22:29.432Z"
    },
    {
      "version": "7.16.5",
      "format": "cjs",
      "published": "2021-12-13T22:28:46.202Z"
    },
    {
      "version": "7.16.0",
      "format": "cjs",
      "published": "2021-10-29T23:47:45.292Z"
    },
    {
      "version": "7.14.5",
      "format": "cjs",
      "published": "2021-06-09T23:12:35.738Z"
    },
    {
      "version": "7.12.13",
      "format": "cjs",
      "published": "2021-02-03T01:11:26.978Z"
    },
    {
      "version": "7.12.1",
      "format": "cjs",
      "published": "2020-10-15T22:41:10.216Z"
    },
    {
      "version": "7.10.4",
      "format": "cjs",
      "published": "2020-06-30T13:12:37.950Z"
    },
    {
      "version": "7.10.1",
      "format": "cjs",
      "published": "2020-05-27T22:07:40.296Z"
    },
    {
      "version": "7.8.3",
      "format": "cjs",
      "published": "2020-01-13T21:41:59.984Z"
    },
    {
      "version": "7.8.0",
      "format": "cjs",
      "published": "2020-01-12T00:17:08.276Z"
    },
    {
      "version": "7.7.4",
      "format": "cjs",
      "published": "2019-11-22T23:33:08.046Z"
    },
    {
      "version": "7.2.0",
      "format": "cjs",
      "published": "2018-12-03T19:02:42.271Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2018-08-27T21:43:58.755Z"
    }
  ]
}