Skip to content

Releases: sindresorhus/make-dir

v5.0.0

02 May 16:10
Compare
Choose a tag to compare

Breaking

  • Require Node.js 18 120a81e
  • This package is now pure ESM. Please read this.
  • Changed from default export to named exports:
    • require('make-dir')import {makeDirectory} from 'make-dir'
    • require('make-dir').syncimport {makeDirectorySync} from 'make-dir'

v4.0.0...v5.0.0

v4.0.0

23 Jun 11:54
Compare
Choose a tag to compare

Breaking

Improvements

v3.1.0...v4.0.0

v3.1.0

22 Apr 14:59
Compare
Choose a tag to compare
  • Stop using deprecated process.umask() (#28) b5a98ef

v3.0.2...v3.1.0

v3.0.2

12 Feb 20:11
Compare
Choose a tag to compare
  • Throw original error if stat fails; to match sync implementation (#24) 25231fe

v3.0.1...v3.0.2

v3.0.1

12 Feb 17:40
Compare
Choose a tag to compare
  • Fetch fresh process.umask() on every method call (#19) dea15ae

v3.0.0...v3.0.1

v3.0.0

01 Apr 09:28
Compare
Choose a tag to compare

Breaking:

  • Require Node.js 8 and drop pify dependency (#13) f04481d
  • TypeScript users only:
    • Refactor TypeScript definition to CommonJS compatible export (#14) 379001f
      • You need to change import makeDir from 'make-dir'; to import makeDir = require('make-dir');

v2.1.0...v3.0.0

v2.1.0

03 Mar 19:41
Compare
Choose a tag to compare

v2.0.0...v2.1.0

v2.0.0

04 Feb 05:39
Compare
Choose a tag to compare

Breaking:

Other:

  • Use native the fs.mkdir/mkdirSync recursive option when available/appropriate (#7) d1e4153

v1.3.0...v2.0.0