Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: isaacs/node-mkdirp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.0
Choose a base ref
...
head repository: isaacs/node-mkdirp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.1
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Apr 24, 2023

  1. bring back other named exports

    fix #45
    isaacs committed Apr 24, 2023
    Copy the full SHA
    348e179 View commit details
  2. 3.0.1

    isaacs committed Apr 24, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6fc2977 View commit details
Showing with 8 additions and 3 deletions.
  1. +2 −2 package-lock.json
  2. +1 −1 package.json
  3. +5 −0 src/index.ts
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mkdirp",
"description": "Recursively mkdir, like `mkdir -p`",
"version": "3.0.0",
"version": "3.0.1",
"keywords": [
"mkdir",
"directory",
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -17,6 +17,11 @@ export const mkdirpSync = (path: string, opts?: MkdirpOptions) => {
: mkdirpManualSync(path, resolved)
}

export const sync = mkdirpSync
export const manual = mkdirpManual
export const manualSync = mkdirpManualSync
export const native = mkdirpNative
export const nativeSync = mkdirpNativeSync
export const mkdirp = Object.assign(
async (path: string, opts?: MkdirpOptions) => {
path = pathArg(path)