{
  "name": "@vitest/spy",
  "url": "https://canirequire.com/package/@vitest/spy/",
  "description": "Lightweight Jest compatible spy implementation",
  "latest": "5.0.0",
  "latestPublished": "2026-09-03T12:24:07.876Z",
  "format": "esm-only",
  "summary": "@vitest/spy@5.0.0 is ESM-only. @vitest/spy 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/spy\") 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": "0.27.0",
  "esmOnlySinceDate": "2023-01-09T12:33:15.575Z",
  "lastCommonJsVersion": null,
  "lastCommonJsDate": null,
  "nativeEsmSince": "0.27.0",
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/vitest-dev/vitest",
  "weeklyDownloads": 86768610,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:50.396Z",
    "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:24:07.876Z"
    },
    {
      "version": "4.1.11",
      "format": "esm-only",
      "published": "2026-08-18T14:23:47.561Z"
    },
    {
      "version": "4.1.10",
      "format": "esm-only",
      "published": "2026-07-06T06:45:32.942Z"
    },
    {
      "version": "4.1.9",
      "format": "esm-only",
      "published": "2026-06-15T07:22:46.627Z"
    },
    {
      "version": "4.1.8",
      "format": "esm-only",
      "published": "2026-06-01T08:14:17.659Z"
    },
    {
      "version": "4.1.7",
      "format": "esm-only",
      "published": "2026-05-20T07:19:11.425Z"
    },
    {
      "version": "4.1.6",
      "format": "esm-only",
      "published": "2026-05-11T14:37:16.964Z"
    },
    {
      "version": "4.1.5",
      "format": "esm-only",
      "published": "2026-04-21T11:03:27.647Z"
    },
    {
      "version": "4.1.4",
      "format": "esm-only",
      "published": "2026-04-09T07:36:25.395Z"
    },
    {
      "version": "4.1.3",
      "format": "esm-only",
      "published": "2026-04-07T09:55:21.574Z"
    },
    {
      "version": "4.1.2",
      "format": "esm-only",
      "published": "2026-03-26T14:36:22.490Z"
    },
    {
      "version": "4.1.1",
      "format": "esm-only",
      "published": "2026-03-23T14:58:22.705Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2026-03-12T14:06:02.113Z"
    },
    {
      "version": "4.0.18",
      "format": "esm-only",
      "published": "2026-01-22T17:50:08.075Z"
    },
    {
      "version": "4.0.17",
      "format": "esm-only",
      "published": "2026-01-12T11:58:17.847Z"
    },
    {
      "version": "4.0.16",
      "format": "esm-only",
      "published": "2025-12-16T15:08:23.814Z"
    },
    {
      "version": "4.0.15",
      "format": "esm-only",
      "published": "2025-12-02T15:52:11.230Z"
    },
    {
      "version": "4.0.14",
      "format": "esm-only",
      "published": "2025-11-25T13:54:07.837Z"
    },
    {
      "version": "4.0.13",
      "format": "esm-only",
      "published": "2025-11-21T16:31:51.928Z"
    },
    {
      "version": "4.0.12",
      "format": "esm-only",
      "published": "2025-11-20T11:59:21.486Z"
    },
    {
      "version": "4.0.11",
      "format": "esm-only",
      "published": "2025-11-20T10:31:56.283Z"
    },
    {
      "version": "4.0.10",
      "format": "esm-only",
      "published": "2025-11-17T12:58:01.251Z"
    },
    {
      "version": "4.0.9",
      "format": "esm-only",
      "published": "2025-11-14T08:42:30.567Z"
    },
    {
      "version": "4.0.8",
      "format": "esm-only",
      "published": "2025-11-07T11:42:19.794Z"
    },
    {
      "version": "4.0.7",
      "format": "esm-only",
      "published": "2025-11-04T15:16:52.897Z"
    },
    {
      "version": "4.0.6",
      "format": "esm-only",
      "published": "2025-10-31T12:58:12.013Z"
    },
    {
      "version": "4.0.5",
      "format": "esm-only",
      "published": "2025-10-29T13:00:41.809Z"
    },
    {
      "version": "4.0.4",
      "format": "esm-only",
      "published": "2025-10-27T12:28:55.615Z"
    },
    {
      "version": "4.0.3",
      "format": "esm-only",
      "published": "2025-10-24T14:00:09.688Z"
    },
    {
      "version": "4.0.2",
      "format": "esm-only",
      "published": "2025-10-23T17:06:32.318Z"
    },
    {
      "version": "4.0.1",
      "format": "esm-only",
      "published": "2025-10-22T15:31:47.740Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2025-10-22T14:09:18.188Z"
    },
    {
      "version": "3.2.7",
      "format": "esm-only",
      "published": "2026-07-06T06:37:09.613Z"
    },
    {
      "version": "3.2.6",
      "format": "esm-only",
      "published": "2026-06-01T09:38:39.068Z"
    },
    {
      "version": "3.2.5",
      "format": "esm-only",
      "published": "2026-06-01T08:24:58.992Z"
    },
    {
      "version": "3.2.4",
      "format": "esm-only",
      "published": "2025-06-17T17:53:55.791Z"
    },
    {
      "version": "3.2.3",
      "format": "esm-only",
      "published": "2025-06-09T11:32:16.161Z"
    },
    {
      "version": "3.2.2",
      "format": "esm-only",
      "published": "2025-06-05T13:42:10.020Z"
    },
    {
      "version": "3.2.1",
      "format": "esm-only",
      "published": "2025-06-03T17:07:16.211Z"
    },
    {
      "version": "3.2.0",
      "format": "esm-only",
      "published": "2025-06-02T11:10:40.254Z"
    },
    {
      "version": "3.1.4",
      "format": "esm-only",
      "published": "2025-05-19T16:23:49.249Z"
    },
    {
      "version": "3.1.3",
      "format": "esm-only",
      "published": "2025-05-05T13:44:56.822Z"
    },
    {
      "version": "3.1.2",
      "format": "esm-only",
      "published": "2025-04-21T08:58:28.636Z"
    },
    {
      "version": "3.1.1",
      "format": "esm-only",
      "published": "2025-03-31T10:18:54.581Z"
    },
    {
      "version": "3.1.0",
      "format": "esm-only",
      "published": "2025-03-31T09:45:39.558Z"
    },
    {
      "version": "3.0.9",
      "format": "esm-only",
      "published": "2025-03-17T11:59:10.660Z"
    },
    {
      "version": "3.0.8",
      "format": "esm-only",
      "published": "2025-03-06T15:16:11.576Z"
    },
    {
      "version": "3.0.7",
      "format": "esm-only",
      "published": "2025-02-24T17:50:44.246Z"
    },
    {
      "version": "3.0.6",
      "format": "esm-only",
      "published": "2025-02-18T13:38:38.142Z"
    },
    {
      "version": "3.0.5",
      "format": "esm-only",
      "published": "2025-02-03T14:01:54.992Z"
    },
    {
      "version": "3.0.4",
      "format": "esm-only",
      "published": "2025-01-23T13:41:38.090Z"
    },
    {
      "version": "3.0.3",
      "format": "esm-only",
      "published": "2025-01-21T13:58:40.294Z"
    },
    {
      "version": "3.0.2",
      "format": "esm-only",
      "published": "2025-01-17T14:26:09.140Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2025-01-16T19:32:39.218Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2025-01-16T14:07:30.164Z"
    },
    {
      "version": "2.1.9",
      "format": "esm-only",
      "published": "2025-02-03T13:44:07.965Z"
    },
    {
      "version": "2.1.8",
      "format": "esm-only",
      "published": "2024-12-02T14:46:10.680Z"
    },
    {
      "version": "2.1.7",
      "format": "esm-only",
      "published": "2024-12-02T09:48:55.456Z"
    },
    {
      "version": "2.1.6",
      "format": "esm-only",
      "published": "2024-11-26T12:23:45.760Z"
    },
    {
      "version": "2.1.5",
      "format": "esm-only",
      "published": "2024-11-13T15:23:56.060Z"
    }
  ]
}