{
  "name": "unist-util-visit",
  "url": "https://canirequire.com/package/unist-util-visit/",
  "description": "unist utility to visit nodes",
  "latest": "5.1.0",
  "latestPublished": "2026-01-22T19:02:58.977Z",
  "format": "esm-only",
  "summary": "unist-util-visit@5.1.0 is ESM-only. unist-util-visit dropped its CommonJS build in 3.0.0 (April 2021). The last version you can require() on every Node.js version, including 18 and older, is 2.0.3, published Jul 11, 2020. On Node.js 20.19+, 22.12+ and every newer release, require(\"unist-util-visit\") 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-04-20T10:11:11.037Z",
  "lastCommonJsVersion": "2.0.3",
  "lastCommonJsDate": "2020-07-11T09:47:14.798Z",
  "nativeEsmSince": "3.0.0",
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/syntax-tree/unist-util-visit",
  "weeklyDownloads": 44785095,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:21.050Z",
    "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.1.0",
      "format": "esm-only",
      "published": "2026-01-22T19:02:58.977Z"
    },
    {
      "version": "5.0.0",
      "format": "esm-only",
      "published": "2023-07-07T09:39:42.469Z"
    },
    {
      "version": "4.1.2",
      "format": "esm-only",
      "published": "2023-01-24T14:56:54.696Z"
    },
    {
      "version": "4.1.1",
      "format": "esm-only",
      "published": "2022-08-21T10:59:22.861Z"
    },
    {
      "version": "4.1.0",
      "format": "esm-only",
      "published": "2021-09-23T13:48:23.173Z"
    },
    {
      "version": "4.0.0",
      "format": "esm-only",
      "published": "2021-07-30T08:13:31.329Z"
    },
    {
      "version": "3.1.0",
      "format": "esm-only",
      "published": "2021-05-10T14:04:11.416Z"
    },
    {
      "version": "3.0.1",
      "format": "esm-only",
      "published": "2021-05-04T21:15:45.675Z"
    },
    {
      "version": "3.0.0",
      "format": "esm-only",
      "published": "2021-04-20T10:11:11.037Z"
    },
    {
      "version": "2.0.3",
      "format": "cjs",
      "published": "2020-07-11T09:47:14.798Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2020-02-16T16:09:43.582Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2019-11-10T08:38:43.339Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2019-07-31T19:36:08.818Z"
    },
    {
      "version": "1.4.1",
      "format": "cjs",
      "published": "2019-05-21T11:48:51.889Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2018-07-23T20:19:40.614Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2018-05-02T10:26:49.022Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2017-12-10T20:52:44.025Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2017-11-17T01:29:55.993Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2017-06-12T16:14:08.803Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2017-06-12T15:39:28.245Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2016-11-20T08:47:08.900Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2016-03-25T12:14:23.552Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2016-02-09T08:48:44.677Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-08-01T12:08:40.972Z"
    }
  ]
}