find-up

Find a file or directory by walking up parent directories

MIT License

Downloads
534.5M
Stars
569
Committers
15

Bot releases are visible (Hide)

find-up - Latest Release

Published by sindresorhus 11 months ago

Breaking

  • Require Node.js 18 187b2a1

Improvements

  • Accept URL for stopAt option ba19153

https://github.com/sindresorhus/find-up/compare/v6.3.0...v7.0.0

find-up -

Published by sindresorhus over 2 years ago

find-up -

Published by sindresorhus about 3 years ago

find-up -

Published by sindresorhus about 3 years ago

find-up -

Published by sindresorhus about 3 years ago

Breaking

  • Require Node.js 12.20 e93cfd2
  • This package is now pure ESM. Please read this.
  • Changed from a default export to named exports.
    • const findUp = require('find-up') => import {findUp} from 'find-up'
    • const findUpSync = require('find-up').sync => import {findUpSync} from 'find-up'
    • const findUpStop = require('find-up').stop => import {findUpStop} from 'find-up'
    • const pathExists = require('find-up').exists => import {pathExists} from 'find-up'
    • const pathExistsSync = require('find-up').sync.exists => import {pathExistsSync} from 'find-up'

https://github.com/sindresorhus/find-up/compare/v5.0.0...v6.0.0

find-up -

Published by sindresorhus about 4 years ago

find-up -

Published by sindresorhus over 5 years ago

  • Add findUp.exists() and findUp.sync.exists() (#41) 56b779b

https://github.com/sindresorhus/find-up/compare/v4.0.0...v4.1.0

find-up -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Node.js 8 80fda88
  • Return undefined instead of null when the path cannot be found a7a9500
  • Add ability to specify if looking for file or directory (#40) da17a22
    It now only matches files by default, not also directories. Previously it would match either.

Enhancements:

  • Add support for path matcher function (#28) c0f0dd7
  • Add TypeScript definition (#35) 905e612

https://github.com/sindresorhus/find-up/compare/v3.0.0...v4.0.0