{
  "name": "@angular/compiler",
  "url": "https://canirequire.com/package/@angular/compiler/",
  "description": "Angular - the compiler library",
  "latest": "22.1.5",
  "latestPublished": "2026-09-03T02:38:01.825Z",
  "format": "esm-only",
  "summary": "@angular/compiler@22.1.5 is ESM-only. @angular/compiler dropped its CommonJS build in 13.0.0 (November 2021). The last version you can require() on every Node.js version, including 18 and older, is 12.2.17, published Nov 22, 2022. On Node.js 20.19+, 22.12+ and every newer release, require(\"@angular/compiler\") 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. @angular/compiler@22.1.5 declares engines \"^22.22.3 || ^24.15.0 || >=26.0.0\", so Node.js 18, 20 are outside its supported range regardless of module format.",
  "esmOnlySince": "13.0.0",
  "esmOnlySinceDate": "2021-11-03T18:01:28.772Z",
  "lastCommonJsVersion": "12.2.17",
  "lastCommonJsDate": "2022-11-22T17:35:16.484Z",
  "nativeEsmSince": "13.0.0",
  "types": "bundled",
  "nodeEngines": "^22.22.3 || ^24.15.0 || >=26.0.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/angular/angular",
  "weeklyDownloads": null,
  "runtime": {
    "verifiedAt": "2026-09-09T15:35:43.035Z",
    "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": "22.1.5",
      "format": "esm-only",
      "published": "2026-09-03T02:38:01.825Z"
    },
    {
      "version": "22.1.4",
      "format": "esm-only",
      "published": "2026-08-27T00:12:16.853Z"
    },
    {
      "version": "22.1.3",
      "format": "esm-only",
      "published": "2026-08-19T20:12:59.466Z"
    },
    {
      "version": "22.1.2",
      "format": "esm-only",
      "published": "2026-08-13T19:05:01.553Z"
    },
    {
      "version": "22.1.1",
      "format": "esm-only",
      "published": "2026-08-07T16:45:47.438Z"
    },
    {
      "version": "22.1.0",
      "format": "esm-only",
      "published": "2026-07-29T20:39:36.889Z"
    },
    {
      "version": "22.0.8",
      "format": "esm-only",
      "published": "2026-07-22T14:33:26.338Z"
    },
    {
      "version": "22.0.7",
      "format": "esm-only",
      "published": "2026-07-16T04:23:37.638Z"
    },
    {
      "version": "22.0.6",
      "format": "esm-only",
      "published": "2026-07-08T21:36:54.196Z"
    },
    {
      "version": "22.0.5",
      "format": "esm-only",
      "published": "2026-07-01T20:48:04.299Z"
    },
    {
      "version": "22.0.4",
      "format": "esm-only",
      "published": "2026-06-26T17:04:35.043Z"
    },
    {
      "version": "22.0.3",
      "format": "esm-only",
      "published": "2026-06-25T15:10:51.502Z"
    },
    {
      "version": "22.0.2",
      "format": "esm-only",
      "published": "2026-06-17T21:08:26.698Z"
    },
    {
      "version": "22.0.1",
      "format": "esm-only",
      "published": "2026-06-10T20:16:47.115Z"
    },
    {
      "version": "22.0.0",
      "format": "esm-only",
      "published": "2026-06-03T13:04:01.762Z"
    },
    {
      "version": "21.2.22",
      "format": "esm-only",
      "published": "2026-08-26T23:54:20.084Z"
    },
    {
      "version": "21.2.21",
      "format": "esm-only",
      "published": "2026-08-19T19:56:19.629Z"
    },
    {
      "version": "21.2.20",
      "format": "esm-only",
      "published": "2026-08-13T00:05:57.116Z"
    },
    {
      "version": "21.2.19",
      "format": "esm-only",
      "published": "2026-07-29T20:45:10.159Z"
    },
    {
      "version": "21.2.18",
      "format": "esm-only",
      "published": "2026-07-08T22:02:31.320Z"
    },
    {
      "version": "21.2.17",
      "format": "esm-only",
      "published": "2026-06-10T19:54:47.163Z"
    },
    {
      "version": "21.2.16",
      "format": "esm-only",
      "published": "2026-06-03T12:30:18.620Z"
    },
    {
      "version": "21.2.15",
      "format": "esm-only",
      "published": "2026-05-28T16:51:37.380Z"
    },
    {
      "version": "21.2.14",
      "format": "esm-only",
      "published": "2026-05-20T22:35:08.342Z"
    },
    {
      "version": "21.2.13",
      "format": "esm-only",
      "published": "2026-05-13T23:24:48.141Z"
    },
    {
      "version": "21.2.12",
      "format": "esm-only",
      "published": "2026-05-06T22:48:05.281Z"
    },
    {
      "version": "21.2.11",
      "format": "esm-only",
      "published": "2026-04-29T22:39:01.517Z"
    },
    {
      "version": "21.2.10",
      "format": "esm-only",
      "published": "2026-04-22T23:29:02.410Z"
    },
    {
      "version": "21.2.9",
      "format": "esm-only",
      "published": "2026-04-15T21:34:22.509Z"
    },
    {
      "version": "21.2.8",
      "format": "esm-only",
      "published": "2026-04-08T19:32:02.369Z"
    },
    {
      "version": "21.2.7",
      "format": "esm-only",
      "published": "2026-04-01T18:36:22.499Z"
    },
    {
      "version": "21.2.6",
      "format": "esm-only",
      "published": "2026-03-25T22:42:28.003Z"
    },
    {
      "version": "21.2.5",
      "format": "esm-only",
      "published": "2026-03-18T23:34:13.137Z"
    },
    {
      "version": "21.2.4",
      "format": "esm-only",
      "published": "2026-03-12T18:58:17.967Z"
    },
    {
      "version": "21.2.3",
      "format": "esm-only",
      "published": "2026-03-11T19:03:37.081Z"
    },
    {
      "version": "21.2.2",
      "format": "esm-only",
      "published": "2026-03-09T18:12:07.470Z"
    },
    {
      "version": "21.2.1",
      "format": "esm-only",
      "published": "2026-03-04T19:34:25.958Z"
    },
    {
      "version": "21.2.0",
      "format": "esm-only",
      "published": "2026-02-25T19:29:28.261Z"
    },
    {
      "version": "21.1.6",
      "format": "esm-only",
      "published": "2026-02-25T19:20:56.545Z"
    },
    {
      "version": "21.1.5",
      "format": "esm-only",
      "published": "2026-02-18T22:22:38.707Z"
    },
    {
      "version": "21.1.4",
      "format": "esm-only",
      "published": "2026-02-11T17:49:48.570Z"
    },
    {
      "version": "21.1.3",
      "format": "esm-only",
      "published": "2026-02-05T00:06:46.277Z"
    },
    {
      "version": "21.1.2",
      "format": "esm-only",
      "published": "2026-01-28T20:36:29.819Z"
    },
    {
      "version": "21.1.1",
      "format": "esm-only",
      "published": "2026-01-21T21:58:51.236Z"
    },
    {
      "version": "21.1.0",
      "format": "esm-only",
      "published": "2026-01-14T19:44:52.508Z"
    },
    {
      "version": "21.0.9",
      "format": "esm-only",
      "published": "2026-01-14T19:30:37.369Z"
    },
    {
      "version": "21.0.8",
      "format": "esm-only",
      "published": "2026-01-08T20:43:01.181Z"
    },
    {
      "version": "21.0.7",
      "format": "esm-only",
      "published": "2026-01-07T21:46:09.196Z"
    },
    {
      "version": "21.0.6",
      "format": "esm-only",
      "published": "2025-12-17T21:12:42.661Z"
    },
    {
      "version": "21.0.5",
      "format": "esm-only",
      "published": "2025-12-11T23:42:19.066Z"
    },
    {
      "version": "21.0.4",
      "format": "esm-only",
      "published": "2025-12-11T00:49:24.279Z"
    },
    {
      "version": "21.0.3",
      "format": "esm-only",
      "published": "2025-12-03T15:18:53.649Z"
    },
    {
      "version": "21.0.2",
      "format": "esm-only",
      "published": "2025-12-01T11:51:37.039Z"
    },
    {
      "version": "21.0.1",
      "format": "esm-only",
      "published": "2025-11-25T20:05:14.915Z"
    },
    {
      "version": "21.0.0",
      "format": "esm-only",
      "published": "2025-11-19T18:07:28.166Z"
    },
    {
      "version": "20.3.30",
      "format": "esm-only",
      "published": "2026-08-26T23:40:26.716Z"
    },
    {
      "version": "20.3.29",
      "format": "esm-only",
      "published": "2026-08-19T20:03:03.428Z"
    },
    {
      "version": "20.3.28",
      "format": "esm-only",
      "published": "2026-08-13T17:11:12.885Z"
    },
    {
      "version": "20.3.27",
      "format": "esm-only",
      "published": "2026-07-29T19:52:47.213Z"
    },
    {
      "version": "20.3.26",
      "format": "esm-only",
      "published": "2026-07-08T22:11:27.558Z"
    }
  ]
}