{
  "name": "chai-as-promised",
  "url": "https://canirequire.com/package/chai-as-promised/",
  "description": "Extends Chai with assertions about promises.",
  "latest": "8.0.2",
  "latestPublished": "2025-08-22T17:27:30.232Z",
  "format": "esm-only",
  "summary": "chai-as-promised@8.0.2 is ESM-only. chai-as-promised dropped its CommonJS build in 8.0.0 (June 2024). The last version you can require() on every Node.js version, including 18 and older, is 7.1.2, published May 11, 2024. On Node.js 20.19+, 22.12+ and every newer release, require(\"chai-as-promised\") 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": "8.0.0",
  "esmOnlySinceDate": "2024-06-09T18:14:35.910Z",
  "lastCommonJsVersion": "7.1.2",
  "lastCommonJsDate": "2024-05-11T10:18:34.821Z",
  "nativeEsmSince": "8.0.0",
  "types": "definitely-typed",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/chaijs/chai-as-promised",
  "weeklyDownloads": 1336485,
  "runtime": {
    "verifiedAt": "2026-09-09T15:31:19.759Z",
    "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": "8.0.2",
      "format": "esm-only",
      "published": "2025-08-22T17:27:30.232Z"
    },
    {
      "version": "8.0.1",
      "format": "esm-only",
      "published": "2024-11-23T21:37:12.014Z"
    },
    {
      "version": "8.0.0",
      "format": "esm-only",
      "published": "2024-06-09T18:14:35.910Z"
    },
    {
      "version": "7.1.2",
      "format": "cjs",
      "published": "2024-05-11T10:18:34.821Z"
    },
    {
      "version": "7.1.1",
      "format": "cjs",
      "published": "2017-07-05T00:31:09.013Z"
    },
    {
      "version": "7.1.0",
      "format": "cjs",
      "published": "2017-07-02T18:20:52.218Z"
    },
    {
      "version": "7.0.0",
      "format": "cjs",
      "published": "2017-06-11T19:52:48.161Z"
    },
    {
      "version": "6.0.0",
      "format": "cjs",
      "published": "2016-09-27T18:18:20.726Z"
    },
    {
      "version": "5.3.0",
      "format": "cjs",
      "published": "2016-03-20T22:51:23.784Z"
    },
    {
      "version": "5.2.0",
      "format": "cjs",
      "published": "2015-12-20T15:34:43.772Z"
    },
    {
      "version": "5.1.0",
      "format": "cjs",
      "published": "2015-06-05T13:22:13.685Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2015-04-16T03:55:13.578Z"
    },
    {
      "version": "4.3.0",
      "format": "cjs",
      "published": "2015-03-05T23:17:26.053Z"
    },
    {
      "version": "4.2.0",
      "format": "cjs",
      "published": "2015-02-15T00:07:45.153Z"
    },
    {
      "version": "4.1.1",
      "format": "cjs",
      "published": "2014-03-01T01:12:09.055Z"
    },
    {
      "version": "4.1.0",
      "format": "cjs",
      "published": "2013-10-27T04:48:35.546Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2013-09-22T00:03:01.155Z"
    },
    {
      "version": "3.3.1",
      "format": "cjs",
      "published": "2013-05-10T04:55:11.872Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2013-04-26T09:24:23.542Z"
    },
    {
      "version": "3.2.5",
      "format": "cjs",
      "published": "2013-02-09T23:46:01.157Z"
    },
    {
      "version": "3.2.4",
      "format": "cjs",
      "published": "2013-01-13T23:16:39.002Z"
    },
    {
      "version": "3.2.3",
      "format": "cjs",
      "published": "2012-11-04T23:19:44.900Z"
    },
    {
      "version": "3.2.2",
      "format": "cjs",
      "published": "2012-08-09T01:04:53.998Z"
    },
    {
      "version": "3.2.1",
      "format": "cjs",
      "published": "2012-06-14T19:49:05.352Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2012-05-27T22:22:52.679Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2012-05-16T18:49:56.982Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2012-05-15T19:05:09.227Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2012-04-21T08:00:15.922Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2012-04-12T20:30:38.838Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2012-04-09T19:59:51.169Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2012-03-29T20:58:54.922Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2012-03-29T20:25:01.659Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2012-03-29T19:07:25.905Z"
    }
  ]
}