@storm-stack/file-system
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -206,2 +206,26 @@ /// <reference types="node" /> | ||
/** | ||
* Check if the given path is a directory | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a directory | ||
*/ | ||
declare const isDirectory: (path: string, additionalPath?: string) => boolean; | ||
export { isDirectory } | ||
export { isDirectory as isDirectory_alias_1 } | ||
export { isDirectory as isDirectory_alias_2 } | ||
/** | ||
* Check if the given path is a file | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a file | ||
*/ | ||
declare const isFile: (path: string, additionalPath?: string) => boolean; | ||
export { isFile } | ||
export { isFile as isFile_alias_1 } | ||
export { isFile as isFile_alias_2 } | ||
declare const isRelativeVersionKeyword: (val: string) => val is ReleaseType; | ||
@@ -296,9 +320,2 @@ export { isRelativeVersionKeyword } | ||
export declare class S3Bucket { | ||
name: string; | ||
private storage; | ||
constructor(name: string); | ||
get(): string; | ||
} | ||
/** | ||
@@ -305,0 +322,0 @@ * Write the given content to the given file path |
@@ -206,2 +206,26 @@ /// <reference types="node" /> | ||
/** | ||
* Check if the given path is a directory | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a directory | ||
*/ | ||
declare const isDirectory: (path: string, additionalPath?: string) => boolean; | ||
export { isDirectory } | ||
export { isDirectory as isDirectory_alias_1 } | ||
export { isDirectory as isDirectory_alias_2 } | ||
/** | ||
* Check if the given path is a file | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a file | ||
*/ | ||
declare const isFile: (path: string, additionalPath?: string) => boolean; | ||
export { isFile } | ||
export { isFile as isFile_alias_1 } | ||
export { isFile as isFile_alias_2 } | ||
declare const isRelativeVersionKeyword: (val: string) => val is ReleaseType; | ||
@@ -296,9 +320,2 @@ export { isRelativeVersionKeyword } | ||
export declare class S3Bucket { | ||
name: string; | ||
private storage; | ||
constructor(name: string); | ||
get(): string; | ||
} | ||
/** | ||
@@ -305,0 +322,0 @@ * Write the given content to the given file path |
@@ -206,2 +206,26 @@ /// <reference types="node" /> | ||
/** | ||
* Check if the given path is a directory | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a directory | ||
*/ | ||
declare const isDirectory: (path: string, additionalPath?: string) => boolean; | ||
export { isDirectory } | ||
export { isDirectory as isDirectory_alias_1 } | ||
export { isDirectory as isDirectory_alias_2 } | ||
/** | ||
* Check if the given path is a file | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a file | ||
*/ | ||
declare const isFile: (path: string, additionalPath?: string) => boolean; | ||
export { isFile } | ||
export { isFile as isFile_alias_1 } | ||
export { isFile as isFile_alias_2 } | ||
declare const isRelativeVersionKeyword: (val: string) => val is ReleaseType; | ||
@@ -296,9 +320,2 @@ export { isRelativeVersionKeyword } | ||
export declare class S3Bucket { | ||
name: string; | ||
private storage; | ||
constructor(name: string); | ||
get(): string; | ||
} | ||
/** | ||
@@ -305,0 +322,0 @@ * Write the given content to the given file path |
@@ -206,2 +206,26 @@ /// <reference types="node" /> | ||
/** | ||
* Check if the given path is a directory | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a directory | ||
*/ | ||
declare const isDirectory: (path: string, additionalPath?: string) => boolean; | ||
export { isDirectory } | ||
export { isDirectory as isDirectory_alias_1 } | ||
export { isDirectory as isDirectory_alias_2 } | ||
/** | ||
* Check if the given path is a file | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a file | ||
*/ | ||
declare const isFile: (path: string, additionalPath?: string) => boolean; | ||
export { isFile } | ||
export { isFile as isFile_alias_1 } | ||
export { isFile as isFile_alias_2 } | ||
declare const isRelativeVersionKeyword: (val: string) => val is ReleaseType; | ||
@@ -296,9 +320,2 @@ export { isRelativeVersionKeyword } | ||
export declare class S3Bucket { | ||
name: string; | ||
private storage; | ||
constructor(name: string); | ||
get(): string; | ||
} | ||
/** | ||
@@ -305,0 +322,0 @@ * Write the given content to the given file path |
@@ -206,2 +206,26 @@ /// <reference types="node" /> | ||
/** | ||
* Check if the given path is a directory | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a directory | ||
*/ | ||
declare const isDirectory: (path: string, additionalPath?: string) => boolean; | ||
export { isDirectory } | ||
export { isDirectory as isDirectory_alias_1 } | ||
export { isDirectory as isDirectory_alias_2 } | ||
/** | ||
* Check if the given path is a file | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a file | ||
*/ | ||
declare const isFile: (path: string, additionalPath?: string) => boolean; | ||
export { isFile } | ||
export { isFile as isFile_alias_1 } | ||
export { isFile as isFile_alias_2 } | ||
declare const isRelativeVersionKeyword: (val: string) => val is ReleaseType; | ||
@@ -296,9 +320,2 @@ export { isRelativeVersionKeyword } | ||
export declare class S3Bucket { | ||
name: string; | ||
private storage; | ||
constructor(name: string); | ||
get(): string; | ||
} | ||
/** | ||
@@ -305,0 +322,0 @@ * Write the given content to the given file path |
@@ -206,2 +206,26 @@ /// <reference types="node" /> | ||
/** | ||
* Check if the given path is a directory | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a directory | ||
*/ | ||
declare const isDirectory: (path: string, additionalPath?: string) => boolean; | ||
export { isDirectory } | ||
export { isDirectory as isDirectory_alias_1 } | ||
export { isDirectory as isDirectory_alias_2 } | ||
/** | ||
* Check if the given path is a file | ||
* | ||
* @param path - The location to check | ||
* @param additionalPath - An optional additional path to add to the start of the path | ||
* @returns An indicator specifying if the file is a file | ||
*/ | ||
declare const isFile: (path: string, additionalPath?: string) => boolean; | ||
export { isFile } | ||
export { isFile as isFile_alias_1 } | ||
export { isFile as isFile_alias_2 } | ||
declare const isRelativeVersionKeyword: (val: string) => val is ReleaseType; | ||
@@ -296,9 +320,2 @@ export { isRelativeVersionKeyword } | ||
export declare class S3Bucket { | ||
name: string; | ||
private storage; | ||
constructor(name: string); | ||
get(): string; | ||
} | ||
/** | ||
@@ -305,0 +322,0 @@ * Write the given content to the given file path |
{ | ||
"name": "@storm-stack/file-system", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.", |
@@ -28,4 +28,5 @@ // | ||
export * from "./get-workspace-root"; | ||
export * from "./is-file"; | ||
export * from "./join-paths"; | ||
export * from "./read-file"; | ||
export * from "./write-file"; |
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 too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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 too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
3325799
2711
69