{
  "name": "@vitest/mocker",
  "url": "https://canirequire.com/package/@vitest/mocker/",
  "description": "Vitest module mocker implementation",
  "latest": "5.0.0",
  "latestPublished": "2026-09-03T12:23:33.862Z",
  "format": "esm-only",
  "summary": "@vitest/mocker@5.0.0 is ESM-only. @vitest/mocker has been ESM-only since its first stable release. There is no version you can require() on Node.js 18 or older. On Node.js 20.19+, 22.12+ and every newer release, require(\"@vitest/mocker\") 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.",
  "esmOnlySince": "2.1.0",
  "esmOnlySinceDate": "2024-09-12T14:03:24.713Z",
  "lastCommonJsVersion": null,
  "lastCommonJsDate": null,
  "nativeEsmSince": "2.1.0",
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/vitest-dev/vitest",
  "weeklyDownloads": null,
  "runtime": {
    "verifiedAt": "2026-09-09T15:35:06.769Z",
    "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": "5.0.0",
      "format": "esm-only",
      "published": "2026-09-03T12:23:33.862Z"
    },
    {
      "version": "4.1.11",
      "format": "esm-only",
      "published": "2026-08-18T14:23:26.508Z"
    },
    {
      "version": "4.1.10",
      "format": "esm-only",
      "published": "2026-07-06T06:45:20.355Z"
    },
    {
      "version": "4.1.9",
      "format": "esm-only",
      "published": "2026-06-15T07:22:31.447Z"
    },
    {
      "version": "4.1.8",
      "format": "esm-only",
      "published": "2026-06-01T08:14:26.120Z"
    },
    {
      "version": "4.1.7",
      "format": "esm-only",
      "published": "2026-05-20T07:19:19.670Z"
    },
    {
      "version": "4.1.6",
      "format": "esm-only",
      "published": "2026-05-11T14:37:25.379Z"
    },
    {
      "version": "4.1.5",
      "format": "esm-only",
      "published": "2026-04-21T11:03:36.716Z"
    },
    {
      "version": "4.1.4",
      "format": "esm-only",
      "published": "2026-04-09T07:36:32.231Z"
    },
    {
      "version": "4.1.3",
      "format": "esm-only",
      "published": "2026-04-07T09:55:28.560Z"
    },
    {
      "version": "4.1.2",
      "format": "esm-only",
      "published": "2026-03-26T14:36:29.326Z"
    },
    {
      "version": "4.1.1",
      "format": "esm-only",
      "published": "2026-03-23T14:58:29.479Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2026-03-12T14:06:09.226Z"
    },
    {
      "version": "4.0.18",
      "format": "esm-only",
      "published": "2026-01-22T17:50:14.759Z"
    },
    {
      "version": "4.0.17",
      "format": "esm-only",
      "published": "2026-01-12T11:58:24.811Z"
    },
    {
      "version": "4.0.16",
      "format": "esm-only",
      "published": "2025-12-16T15:08:30.726Z"
    },
    {
      "version": "4.0.15",
      "format": "esm-only",
      "published": "2025-12-02T15:52:18.226Z"
    },
    {
      "version": "4.0.14",
      "format": "esm-only",
      "published": "2025-11-25T13:54:15.311Z"
    },
    {
      "version": "4.0.13",
      "format": "esm-only",
      "published": "2025-11-21T16:31:59.469Z"
    },
    {
      "version": "4.0.12",
      "format": "esm-only",
      "published": "2025-11-20T11:59:28.077Z"
    },
    {
      "version": "4.0.11",
      "format": "esm-only",
      "published": "2025-11-20T10:32:03.154Z"
    },
    {
      "version": "4.0.10",
      "format": "esm-only",
      "published": "2025-11-17T12:58:09.095Z"
    },
    {
      "version": "4.0.9",
      "format": "esm-only",
      "published": "2025-11-14T08:42:37.505Z"
    },
    {
      "version": "4.0.8",
      "format": "esm-only",
      "published": "2025-11-07T11:42:26.833Z"
    },
    {
      "version": "4.0.7",
      "format": "esm-only",
      "published": "2025-11-04T15:17:00.468Z"
    },
    {
      "version": "4.0.6",
      "format": "esm-only",
      "published": "2025-10-31T12:58:18.649Z"
    },
    {
      "version": "4.0.5",
      "format": "esm-only",
      "published": "2025-10-29T13:00:49.002Z"
    },
    {
      "version": "4.0.4",
      "format": "esm-only",
      "published": "2025-10-27T12:29:02.487Z"
    },
    {
      "version": "4.0.3",
      "format": "esm-only",
      "published": "2025-10-24T14:00:16.044Z"
    },
    {
      "version": "4.0.2",
      "format": "esm-only",
      "published": "2025-10-23T17:06:43.998Z"
    },
    {
      "version": "4.0.1",
      "format": "esm-only",
      "published": "2025-10-22T15:31:55.577Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2025-10-22T14:09:25.736Z"
    },
    {
      "version": "3.2.7",
      "format": "esm-only",
      "published": "2026-07-06T06:36:58.841Z"
    },
    {
      "version": "3.2.6",
      "format": "esm-only",
      "published": "2026-06-01T09:38:46.225Z"
    },
    {
      "version": "3.2.5",
      "format": "esm-only",
      "published": "2026-06-01T08:34:38.755Z"
    },
    {
      "version": "3.2.4",
      "format": "esm-only",
      "published": "2025-06-17T17:54:05.691Z"
    },
    {
      "version": "3.2.3",
      "format": "esm-only",
      "published": "2025-06-09T11:32:30.445Z"
    },
    {
      "version": "3.2.2",
      "format": "esm-only",
      "published": "2025-06-05T13:42:19.598Z"
    },
    {
      "version": "3.2.1",
      "format": "esm-only",
      "published": "2025-06-03T17:07:26.504Z"
    },
    {
      "version": "3.2.0",
      "format": "esm-only",
      "published": "2025-06-02T11:10:50.151Z"
    },
    {
      "version": "3.1.4",
      "format": "esm-only",
      "published": "2025-05-19T16:23:59.346Z"
    },
    {
      "version": "3.1.3",
      "format": "esm-only",
      "published": "2025-05-05T13:45:07.386Z"
    },
    {
      "version": "3.1.2",
      "format": "esm-only",
      "published": "2025-04-21T08:58:38.260Z"
    },
    {
      "version": "3.1.1",
      "format": "esm-only",
      "published": "2025-03-31T10:19:04.014Z"
    },
    {
      "version": "3.1.0",
      "format": "esm-only",
      "published": "2025-03-31T09:45:49.156Z"
    },
    {
      "version": "3.0.9",
      "format": "esm-only",
      "published": "2025-03-17T11:59:21.791Z"
    },
    {
      "version": "3.0.8",
      "format": "esm-only",
      "published": "2025-03-06T15:16:21.464Z"
    },
    {
      "version": "3.0.7",
      "format": "esm-only",
      "published": "2025-02-24T17:50:54.243Z"
    },
    {
      "version": "3.0.6",
      "format": "esm-only",
      "published": "2025-02-18T13:38:48.066Z"
    },
    {
      "version": "3.0.5",
      "format": "esm-only",
      "published": "2025-02-03T14:02:07.045Z"
    },
    {
      "version": "3.0.4",
      "format": "esm-only",
      "published": "2025-01-23T13:41:48.066Z"
    },
    {
      "version": "3.0.3",
      "format": "esm-only",
      "published": "2025-01-21T13:58:50.746Z"
    },
    {
      "version": "3.0.2",
      "format": "esm-only",
      "published": "2025-01-17T14:26:19.540Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2025-01-16T19:32:49.643Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2025-01-16T14:07:40.963Z"
    },
    {
      "version": "2.1.9",
      "format": "esm-only",
      "published": "2025-02-03T13:44:18.635Z"
    },
    {
      "version": "2.1.8",
      "format": "esm-only",
      "published": "2024-12-02T14:46:21.430Z"
    },
    {
      "version": "2.1.7",
      "format": "esm-only",
      "published": "2024-12-02T09:49:05.255Z"
    },
    {
      "version": "2.1.6",
      "format": "esm-only",
      "published": "2024-11-26T12:23:58.026Z"
    },
    {
      "version": "2.1.5",
      "format": "esm-only",
      "published": "2024-11-13T15:24:07.285Z"
    }
  ]
}