   ranges: {}
   registered: false
   resourcePath: null
+  resourcePathWithTrailingSlash: null
 
 # isAbsolute is inlined from fs-plus so that fs-plus itself can be required
 # from this cache.

  return if relativePath[relativePath.length - 1] is '/'

  resolvedPath = path.resolve(path.dirname(parentModule.filename), relativePath)
  if resolvedPath.indexOf(cache.resourcePath) is 0
    extension = path.extname(resolvedPath)
    if extension
      return resolvedPath if cache.extensions[extension]?.has(resolvedPath)
    else
      for extension, paths of cache.extensions
        resolvedPathWithExtension = "#{resolvedPath}#{extension}"
        return resolvedPathWithExtension if paths.has(resolvedPathWithExtension)

  return



  cache.registered = true
  cache.resourcePath = resourcePath
  cache.resourcePathWithTrailingSlash = "#{resourcePath}#{path.sep}"
  registerBuiltins(devMode)

  return
