async function getFileWithNodeDependencyTracking(
      inMemoryNodeDependencyCache,
      context,
      markdownNode,
      queryFilter
    ) {
      const depNode = await context.nodeModel.findOne({
        query: {
          filter: queryFilter,
        },
        type: `File`,
      })

      // if we can't find it, just hand off the response of findOne
      if (!depNode) {
        return depNode
      }

      // get the current dependencies of the markdownNode using the in memory cache
      // we do this so we don't overwrite during concurrent remark plugins
      const depCacheKey = getCacheKey(CACHE_TYPE_NODE_DEPS, markdownNode)
      const dependencies = inMemoryNodeDependencyCache

      if (dependencies[depNode.id] !== depNode.internal.contentDigest) {
        dependencies[depNode.id] = depNode.internal.contentDigest
        await cache.set(depCacheKey, dependencies)
      }

      return depNode
    }
Set of all Markdown node types which, when encountered, generate an extra to
separate text.

@type {Set<string>}