Socket
Socket
Sign inDemoInstall

mkdirp

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdirp - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

dist/cjs/package.json
{
"name": "mkdirp",
"description": "Recursively mkdir, like `mkdir -p`",
"version": "3.0.0",
"version": "3.0.1",
"keywords": [

@@ -6,0 +6,0 @@ "mkdir",

@@ -6,2 +6,11 @@ import { MkdirpOptions } from './opts-arg.js';

export declare const mkdirpSync: (path: string, opts?: MkdirpOptions) => string | void;
export declare const sync: (path: string, opts?: MkdirpOptions) => string | void;
export declare const manual: ((path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => Promise<string | void | undefined>) & {
sync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
};
export declare const manualSync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
export declare const native: ((path: string, options?: MkdirpOptions | undefined) => Promise<string | void | undefined>) & {
sync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
};
export declare const nativeSync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
export declare const mkdirp: ((path: string, opts?: MkdirpOptions) => Promise<string | void | undefined>) & {

@@ -8,0 +17,0 @@ mkdirpSync: (path: string, opts?: MkdirpOptions) => string | void;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mkdirp = exports.mkdirpSync = exports.useNativeSync = exports.useNative = exports.mkdirpNativeSync = exports.mkdirpNative = exports.mkdirpManualSync = exports.mkdirpManual = void 0;
exports.mkdirp = exports.nativeSync = exports.native = exports.manualSync = exports.manual = exports.sync = exports.mkdirpSync = exports.useNativeSync = exports.useNative = exports.mkdirpNativeSync = exports.mkdirpNative = exports.mkdirpManualSync = exports.mkdirpManual = void 0;
const mkdirp_manual_js_1 = require("./mkdirp-manual.js");

@@ -28,2 +28,7 @@ const mkdirp_native_js_1 = require("./mkdirp-native.js");

exports.mkdirpSync = mkdirpSync;
exports.sync = exports.mkdirpSync;
exports.manual = mkdirp_manual_js_1.mkdirpManual;
exports.manualSync = mkdirp_manual_js_1.mkdirpManualSync;
exports.native = mkdirp_native_js_1.mkdirpNative;
exports.nativeSync = mkdirp_native_js_1.mkdirpNativeSync;
exports.mkdirp = Object.assign(async (path, opts) => {

@@ -30,0 +35,0 @@ path = (0, path_arg_js_1.pathArg)(path);

@@ -6,2 +6,11 @@ import { MkdirpOptions } from './opts-arg.js';

export declare const mkdirpSync: (path: string, opts?: MkdirpOptions) => string | void;
export declare const sync: (path: string, opts?: MkdirpOptions) => string | void;
export declare const manual: ((path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => Promise<string | void | undefined>) & {
sync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
};
export declare const manualSync: (path: string, options?: MkdirpOptions | undefined, made?: string | void | undefined) => string | void | undefined;
export declare const native: ((path: string, options?: MkdirpOptions | undefined) => Promise<string | void | undefined>) & {
sync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
};
export declare const nativeSync: (path: string, options?: MkdirpOptions | undefined) => string | void | undefined;
export declare const mkdirp: ((path: string, opts?: MkdirpOptions) => Promise<string | void | undefined>) & {

@@ -8,0 +17,0 @@ mkdirpSync: (path: string, opts?: MkdirpOptions) => string | void;

@@ -18,2 +18,7 @@ import { mkdirpManual, mkdirpManualSync } from './mkdirp-manual.js';

};
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, opts) => {

@@ -20,0 +25,0 @@ path = pathArg(path);

{
"name": "mkdirp",
"description": "Recursively mkdir, like `mkdir -p`",
"version": "3.0.0",
"version": "3.0.1",
"keywords": [

@@ -6,0 +6,0 @@ "mkdir",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc