{
  "name": "sinon-chai",
  "url": "https://canirequire.com/package/sinon-chai/",
  "description": "Extends Chai with assertions for the Sinon.JS mocking framework.",
  "latest": "4.0.1",
  "latestPublished": "2025-08-22T11:02:19.034Z",
  "format": "esm-only",
  "summary": "sinon-chai@4.0.1 is ESM-only. sinon-chai dropped its CommonJS build in 4.0.0 (July 2024). The last version you can require() on every Node.js version, including 18 and older, is 3.7.0, published May 25, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"sinon-chai\") 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": "4.0.0",
  "esmOnlySinceDate": "2024-07-25T19:53:54.620Z",
  "lastCommonJsVersion": "3.7.0",
  "lastCommonJsDate": "2021-05-25T11:22:45.315Z",
  "nativeEsmSince": "4.0.0",
  "types": "definitely-typed",
  "nodeEngines": null,
  "deprecated": null,
  "license": "(BSD-2-Clause OR WTFPL)",
  "repository": "https://github.com/chaijs/sinon-chai",
  "weeklyDownloads": 834699,
  "runtime": {
    "verifiedAt": "2026-09-09T15:31:51.908Z",
    "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": "4.0.1",
      "format": "esm-only",
      "published": "2025-08-22T11:02:19.034Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2024-07-25T19:53:54.620Z"
    },
    {
      "version": "3.7.0",
      "format": "cjs",
      "published": "2021-05-25T11:22:45.315Z"
    },
    {
      "version": "3.6.0",
      "format": "cjs",
      "published": "2021-03-23T18:16:49.093Z"
    },
    {
      "version": "3.5.0",
      "format": "cjs",
      "published": "2020-02-20T16:44:56.254Z"
    },
    {
      "version": "3.4.0",
      "format": "cjs",
      "published": "2019-12-24T06:02:10.691Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2018-11-26T07:41:56.953Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2018-06-12T14:58:26.826Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2018-05-23T04:12:10.987Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2018-03-06T04:47:48.684Z"
    },
    {
      "version": "2.14.0",
      "format": "cjs",
      "published": "2017-09-28T16:12:24.370Z"
    },
    {
      "version": "2.13.0",
      "format": "cjs",
      "published": "2017-08-14T03:34:40.109Z"
    },
    {
      "version": "2.12.0",
      "format": "cjs",
      "published": "2017-07-18T02:06:41.884Z"
    },
    {
      "version": "2.11.0",
      "format": "cjs",
      "published": "2017-06-11T04:53:48.717Z"
    },
    {
      "version": "2.10.0",
      "format": "cjs",
      "published": "2017-05-01T03:22:14.681Z"
    },
    {
      "version": "2.9.0",
      "format": "cjs",
      "published": "2017-03-21T10:35:11.864Z"
    },
    {
      "version": "2.8.0",
      "format": "cjs",
      "published": "2015-06-07T23:51:11.010Z"
    },
    {
      "version": "2.7.0",
      "format": "cjs",
      "published": "2015-02-14T23:41:13.686Z"
    },
    {
      "version": "2.6.0",
      "format": "cjs",
      "published": "2014-10-05T23:16:45.274Z"
    },
    {
      "version": "2.5.0",
      "format": "cjs",
      "published": "2014-01-25T23:14:28.606Z"
    },
    {
      "version": "2.4.0",
      "format": "cjs",
      "published": "2013-04-20T23:33:54.175Z"
    },
    {
      "version": "2.3.1",
      "format": "cjs",
      "published": "2013-01-09T04:44:09.016Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2012-12-16T22:13:32.334Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2012-11-13T16:01:21.102Z"
    },
    {
      "version": "2.1.2",
      "format": "cjs",
      "published": "2012-06-14T19:21:04.279Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2012-06-14T16:34:34.893Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2012-05-26T22:36:00.166Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2012-05-15T18:57:20.536Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2012-05-15T18:52:54.294Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2012-04-27T14:18:13.096Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2012-04-21T08:27:59.967Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2012-04-17T02:07:13.360Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2012-04-15T23:09:03.711Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2012-04-09T21:47:26.107Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2012-03-04T08:27:08.496Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2012-02-13T20:36:47.996Z"
    }
  ]
}