{
  "name": "unist-util-visit-parents",
  "url": "https://canirequire.com/package/unist-util-visit-parents/",
  "description": "unist utility to recursively walk over nodes, with ancestral information",
  "latest": "6.0.2",
  "latestPublished": "2025-10-16T18:20:45.045Z",
  "format": "esm-only",
  "summary": "unist-util-visit-parents@6.0.2 is ESM-only. unist-util-visit-parents dropped its CommonJS build in 4.0.0 (April 2021). The last version you can require() on every Node.js version, including 18 and older, is 3.1.1, published Oct 19, 2020. On Node.js 20.19+, 22.12+ and every newer release, require(\"unist-util-visit-parents\") 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": "2021-04-19T13:46:30.750Z",
  "lastCommonJsVersion": "3.1.1",
  "lastCommonJsDate": "2020-10-19T11:50:34.056Z",
  "nativeEsmSince": "4.0.0",
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/syntax-tree/unist-util-visit-parents",
  "weeklyDownloads": 57048908,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:09.189Z",
    "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": "6.0.2",
      "format": "esm-only",
      "published": "2025-10-16T18:20:45.045Z"
    },
    {
      "version": "6.0.1",
      "format": "esm-only",
      "published": "2023-07-07T09:34:27.249Z"
    },
    {
      "version": "6.0.0",
      "format": "esm-only",
      "published": "2023-07-07T09:09:36.635Z"
    },
    {
      "version": "5.1.3",
      "format": "esm-only",
      "published": "2023-01-24T13:42:26.361Z"
    },
    {
      "version": "5.1.2",
      "format": "esm-only",
      "published": "2023-01-24T13:21:10.098Z"
    },
    {
      "version": "5.1.1",
      "format": "esm-only",
      "published": "2022-08-21T10:43:29.538Z"
    },
    {
      "version": "5.1.0",
      "format": "esm-only",
      "published": "2021-09-21T07:22:32.203Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2021-07-29T14:40:33.182Z"
    },
    {
      "version": "4.1.1",
      "format": "esm-only",
      "published": "2021-05-10T14:32:43.463Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2021-05-10T13:57:51.755Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2021-04-19T13:46:30.750Z"
    },
    {
      "version": "3.1.1",
      "format": "cjs",
      "published": "2020-10-19T11:50:34.056Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2020-07-12T11:48:46.542Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2020-02-17T17:44:16.445Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2019-11-10T08:35:15.438Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2019-07-31T06:59:13.159Z"
    },
    {
      "version": "2.1.2",
      "format": "cjs",
      "published": "2019-05-31T07:49:17.624Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2019-05-23T07:52:21.707Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2019-05-14T11:08:24.351Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2018-07-24T18:25:37.495Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2018-07-23T19:57:42.551Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2018-05-01T16:34:06.238Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2017-06-12T17:04:06.453Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2016-11-20T09:43:41.623Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-03-25T13:55:33.557Z"
    }
  ]
}