Skip to content

Commit 4ba7adf

Browse files
committed
export some validators
1 parent 1de65f1 commit 4ba7adf

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ import type { ConnectOptions, UncPath, UncPathOptions } from './types.js';
22
export declare function connectToUncPath(uncPathOptions: UncPathOptions, connectOptions?: Partial<ConnectOptions>): boolean;
33
export declare function disconnectUncPath(uncPath: UncPath): boolean;
44
export type { UncPath, UncPathOptions, UncPathOptionsWithoutCredentials, UncPathOptionsWithCredentials, ConnectOptions } from './types.js';
5+
export { isWindows, uncPathIsSafe, uncPathOptionsAreSafe } from './validators.js';

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ export function disconnectUncPath(uncPath) {
4444
return false;
4545
}
4646
}
47+
export { isWindows, uncPathIsSafe, uncPathOptionsAreSafe } from './validators.js';

index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,9 @@ export type {
9494
UncPathOptionsWithCredentials,
9595
ConnectOptions
9696
} from './types.js'
97+
98+
export {
99+
isWindows,
100+
uncPathIsSafe,
101+
uncPathOptionsAreSafe
102+
} from './validators.js'

0 commit comments

Comments
 (0)