{
  "name": "d3-shape",
  "url": "https://canirequire.com/package/d3-shape/",
  "description": "Graphical primitives for visualization, such as lines and areas.",
  "latest": "3.2.0",
  "latestPublished": "2022-12-20T23:39:17.478Z",
  "format": "esm-only",
  "summary": "d3-shape@3.2.0 is ESM-only. d3-shape dropped its CommonJS build in 3.0.0 (June 2021). The last version you can require() on every Node.js version, including 18 and older, is 2.1.0, published Mar 10, 2021. On Node.js 20.19+, 22.12+ and every newer release, require(\"d3-shape\") 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": "3.0.0",
  "esmOnlySinceDate": "2021-06-04T19:28:57.351Z",
  "lastCommonJsVersion": "2.1.0",
  "lastCommonJsDate": "2021-03-10T20:19:32.154Z",
  "nativeEsmSince": "3.0.0",
  "types": "definitely-typed",
  "nodeEngines": ">=12",
  "deprecated": null,
  "license": "ISC",
  "repository": "https://github.com/d3/d3-shape",
  "weeklyDownloads": 80296679,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:53.335Z",
    "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": "3.2.0",
      "format": "esm-only",
      "published": "2022-12-20T23:39:17.478Z"
    },
    {
      "version": "3.1.0",
      "format": "esm-only",
      "published": "2022-01-07T17:29:26.861Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2021-06-05T18:25:01.546Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2021-06-04T19:28:57.351Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2021-03-10T20:19:32.154Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2020-08-19T16:41:18.471Z"
    },
    {
      "version": "1.3.7",
      "format": "cjs",
      "published": "2019-11-16T21:52:46.460Z"
    },
    {
      "version": "1.3.6",
      "format": "cjs",
      "published": "2019-11-16T19:20:01.029Z"
    },
    {
      "version": "1.3.5",
      "format": "cjs",
      "published": "2019-03-19T22:43:44.729Z"
    },
    {
      "version": "1.3.4",
      "format": "cjs",
      "published": "2019-02-04T20:23:31.237Z"
    },
    {
      "version": "1.3.3",
      "format": "cjs",
      "published": "2019-01-24T01:03:15.980Z"
    },
    {
      "version": "1.3.2",
      "format": "cjs",
      "published": "2019-01-23T21:44:54.071Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2019-01-23T21:23:02.093Z"
    },
    {
      "version": "1.2.3",
      "format": "cjs",
      "published": "2019-01-23T21:11:30.983Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2018-08-24T21:29:37.595Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2018-08-24T19:20:57.965Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2017-05-16T15:05:39.454Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2017-05-16T14:44:45.091Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2017-05-13T00:46:49.226Z"
    },
    {
      "version": "1.0.6",
      "format": "cjs",
      "published": "2017-03-10T18:25:56.929Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2017-02-28T17:11:29.843Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2016-11-23T00:56:31.353Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2016-08-20T16:05:22.506Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2016-08-02T21:31:01.097Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2016-07-29T22:53:38.092Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-06-24T17:51:37.135Z"
    },
    {
      "version": "0.7.1",
      "format": "cjs",
      "published": "2016-06-19T16:31:49.992Z"
    },
    {
      "version": "0.7.0",
      "format": "cjs",
      "published": "2016-06-08T00:59:52.963Z"
    },
    {
      "version": "0.6.1",
      "format": "cjs",
      "published": "2016-05-24T22:42:20.374Z"
    },
    {
      "version": "0.6.0",
      "format": "cjs",
      "published": "2016-03-08T04:07:12.599Z"
    },
    {
      "version": "0.5.1",
      "format": "cjs",
      "published": "2016-01-29T18:37:06.681Z"
    },
    {
      "version": "0.5.0",
      "format": "cjs",
      "published": "2016-01-28T18:46:43.288Z"
    },
    {
      "version": "0.4.0",
      "format": "cjs",
      "published": "2016-01-07T23:27:40.803Z"
    },
    {
      "version": "0.3.0",
      "format": "cjs",
      "published": "2015-12-29T21:05:22.885Z"
    },
    {
      "version": "0.2.2",
      "format": "cjs",
      "published": "2015-12-18T18:24:01.785Z"
    },
    {
      "version": "0.2.1",
      "format": "cjs",
      "published": "2015-12-16T18:54:32.424Z"
    },
    {
      "version": "0.2.0",
      "format": "cjs",
      "published": "2015-12-08T17:06:05.155Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2015-12-02T20:32:31.041Z"
    },
    {
      "version": "0.0.3",
      "format": "cjs",
      "published": "2015-11-23T23:59:18.887Z"
    },
    {
      "version": "0.0.2",
      "format": "cjs",
      "published": "2015-11-14T03:37:37.737Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2015-11-11T19:35:32.768Z"
    }
  ]
}