@bemoje/fs 0.2.11 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +2 -2
- package/cjs/index.d.ts +80 -0
- package/cjs/index.d.ts.map +1 -0
- package/cjs/index.js +83 -0
- package/cjs/index.js.map +1 -0
- package/cjs/lib/appendFile.d.ts +10 -0
- package/cjs/lib/appendFile.d.ts.map +1 -0
- package/cjs/lib/appendFile.js +23 -0
- package/cjs/lib/appendFile.js.map +1 -0
- package/cjs/lib/appendFileLine.d.ts +7 -0
- package/cjs/lib/appendFileLine.d.ts.map +1 -0
- package/cjs/lib/appendFileLine.js +16 -0
- package/cjs/lib/appendFileLine.js.map +1 -0
- package/cjs/lib/appendFileLineSync.d.ts +7 -0
- package/cjs/lib/appendFileLineSync.d.ts.map +1 -0
- package/cjs/lib/appendFileLineSync.js +16 -0
- package/cjs/lib/appendFileLineSync.js.map +1 -0
- package/cjs/lib/appendFileSync.d.ts +10 -0
- package/cjs/lib/appendFileSync.d.ts.map +1 -0
- package/cjs/lib/appendFileSync.js +23 -0
- package/cjs/lib/appendFileSync.js.map +1 -0
- package/{src → cjs}/lib/createDirectory.d.ts +1 -5
- package/cjs/lib/createDirectory.d.ts.map +1 -0
- package/cjs/lib/createDirectory.js +18 -0
- package/cjs/lib/createDirectory.js.map +1 -0
- package/{src → cjs}/lib/createDirectorySync.d.ts +1 -3
- package/cjs/lib/createDirectorySync.d.ts.map +1 -0
- package/{src → cjs}/lib/createDirectorySync.js +2 -5
- package/cjs/lib/createDirectorySync.js.map +1 -0
- package/cjs/lib/emptyDirectory.d.ts +17 -0
- package/cjs/lib/emptyDirectory.d.ts.map +1 -0
- package/cjs/lib/emptyDirectory.js +26 -0
- package/cjs/lib/emptyDirectory.js.map +1 -0
- package/cjs/lib/emptyDirectorySync.d.ts +17 -0
- package/cjs/lib/emptyDirectorySync.d.ts.map +1 -0
- package/cjs/lib/emptyDirectorySync.js +29 -0
- package/cjs/lib/emptyDirectorySync.js.map +1 -0
- package/{src → cjs}/lib/getJsonIndentation.d.ts +1 -0
- package/cjs/lib/getJsonIndentation.d.ts.map +1 -0
- package/{src → cjs}/lib/getJsonIndentation.js +2 -2
- package/{src → cjs}/lib/getJsonIndentation.js.map +1 -1
- package/{src → cjs}/lib/getLastMofifiedFileIn.d.ts +1 -0
- package/cjs/lib/getLastMofifiedFileIn.d.ts.map +1 -0
- package/cjs/lib/getLastMofifiedFileIn.js +20 -0
- package/cjs/lib/getLastMofifiedFileIn.js.map +1 -0
- package/cjs/lib/promptUserEditInTextEditor.d.ts +10 -0
- package/cjs/lib/promptUserEditInTextEditor.d.ts.map +1 -0
- package/cjs/lib/promptUserEditInTextEditor.js +29 -0
- package/cjs/lib/promptUserEditInTextEditor.js.map +1 -0
- package/cjs/lib/promptUserEditInTextEditorSync.d.ts +10 -0
- package/cjs/lib/promptUserEditInTextEditorSync.d.ts.map +1 -0
- package/cjs/lib/promptUserEditInTextEditorSync.js +27 -0
- package/cjs/lib/promptUserEditInTextEditorSync.js.map +1 -0
- package/cjs/lib/promptUserEditJsonInTextEditor.d.ts +13 -0
- package/cjs/lib/promptUserEditJsonInTextEditor.d.ts.map +1 -0
- package/cjs/lib/promptUserEditJsonInTextEditor.js +25 -0
- package/cjs/lib/promptUserEditJsonInTextEditor.js.map +1 -0
- package/cjs/lib/promptUserEditJsonInTextEditorSync.d.ts +13 -0
- package/cjs/lib/promptUserEditJsonInTextEditorSync.d.ts.map +1 -0
- package/cjs/lib/promptUserEditJsonInTextEditorSync.js +25 -0
- package/cjs/lib/promptUserEditJsonInTextEditorSync.js.map +1 -0
- package/cjs/lib/readDirectoryDirents.d.ts +11 -0
- package/cjs/lib/readDirectoryDirents.d.ts.map +1 -0
- package/cjs/lib/readDirectoryDirents.js +17 -0
- package/cjs/lib/readDirectoryDirents.js.map +1 -0
- package/cjs/lib/readDirectoryDirentsPaths.d.ts +14 -0
- package/cjs/lib/readDirectoryDirentsPaths.d.ts.map +1 -0
- package/cjs/lib/readDirectoryDirentsPaths.js +27 -0
- package/cjs/lib/readDirectoryDirentsPaths.js.map +1 -0
- package/cjs/lib/readDirectoryDirentsPathsSafe.d.ts +15 -0
- package/cjs/lib/readDirectoryDirentsPathsSafe.d.ts.map +1 -0
- package/cjs/lib/readDirectoryDirentsPathsSafe.js +22 -0
- package/cjs/lib/readDirectoryDirentsPathsSafe.js.map +1 -0
- package/cjs/lib/readDirectoryDirentsPathsSafeSync.d.ts +15 -0
- package/cjs/lib/readDirectoryDirentsPathsSafeSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryDirentsPathsSafeSync.js +22 -0
- package/cjs/lib/readDirectoryDirentsPathsSafeSync.js.map +1 -0
- package/cjs/lib/readDirectoryDirentsPathsSync.d.ts +14 -0
- package/cjs/lib/readDirectoryDirentsPathsSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryDirentsPathsSync.js +27 -0
- package/cjs/lib/readDirectoryDirentsPathsSync.js.map +1 -0
- package/cjs/lib/readDirectoryDirentsSafe.d.ts +12 -0
- package/cjs/lib/readDirectoryDirentsSafe.d.ts.map +1 -0
- package/cjs/lib/readDirectoryDirentsSafe.js +20 -0
- package/cjs/lib/readDirectoryDirentsSafe.js.map +1 -0
- package/cjs/lib/readDirectoryDirentsSafeSync.d.ts +12 -0
- package/cjs/lib/readDirectoryDirentsSafeSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryDirentsSafeSync.js +20 -0
- package/cjs/lib/readDirectoryDirentsSafeSync.js.map +1 -0
- package/cjs/lib/readDirectoryDirentsSync.d.ts +11 -0
- package/cjs/lib/readDirectoryDirentsSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryDirentsSync.js +17 -0
- package/cjs/lib/readDirectoryDirentsSync.js.map +1 -0
- package/cjs/lib/readDirectoryNames.d.ts +7 -0
- package/cjs/lib/readDirectoryNames.d.ts.map +1 -0
- package/cjs/lib/readDirectoryNames.js +15 -0
- package/cjs/lib/readDirectoryNames.js.map +1 -0
- package/cjs/lib/readDirectoryNamesPaths.d.ts +11 -0
- package/cjs/lib/readDirectoryNamesPaths.d.ts.map +1 -0
- package/cjs/lib/readDirectoryNamesPaths.js +24 -0
- package/cjs/lib/readDirectoryNamesPaths.js.map +1 -0
- package/cjs/lib/readDirectoryNamesPathsSafe.d.ts +12 -0
- package/cjs/lib/readDirectoryNamesPathsSafe.d.ts.map +1 -0
- package/cjs/lib/readDirectoryNamesPathsSafe.js +20 -0
- package/cjs/lib/readDirectoryNamesPathsSafe.js.map +1 -0
- package/cjs/lib/readDirectoryNamesPathsSafeSync.d.ts +12 -0
- package/cjs/lib/readDirectoryNamesPathsSafeSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryNamesPathsSafeSync.js +20 -0
- package/cjs/lib/readDirectoryNamesPathsSafeSync.js.map +1 -0
- package/cjs/lib/readDirectoryNamesPathsSync.d.ts +11 -0
- package/cjs/lib/readDirectoryNamesPathsSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryNamesPathsSync.js +24 -0
- package/cjs/lib/readDirectoryNamesPathsSync.js.map +1 -0
- package/cjs/lib/readDirectoryNamesSafe.d.ts +8 -0
- package/cjs/lib/readDirectoryNamesSafe.d.ts.map +1 -0
- package/cjs/lib/readDirectoryNamesSafe.js +18 -0
- package/cjs/lib/readDirectoryNamesSafe.js.map +1 -0
- package/cjs/lib/readDirectoryNamesSafeSync.d.ts +8 -0
- package/cjs/lib/readDirectoryNamesSafeSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryNamesSafeSync.js +18 -0
- package/cjs/lib/readDirectoryNamesSafeSync.js.map +1 -0
- package/cjs/lib/readDirectoryNamesSync.d.ts +7 -0
- package/cjs/lib/readDirectoryNamesSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryNamesSync.js +15 -0
- package/cjs/lib/readDirectoryNamesSync.js.map +1 -0
- package/cjs/lib/readDirectoryPaths.d.ts +7 -0
- package/cjs/lib/readDirectoryPaths.d.ts.map +1 -0
- package/cjs/lib/readDirectoryPaths.js +18 -0
- package/cjs/lib/readDirectoryPaths.js.map +1 -0
- package/cjs/lib/readDirectoryPathsSafe.d.ts +8 -0
- package/cjs/lib/readDirectoryPathsSafe.d.ts.map +1 -0
- package/cjs/lib/readDirectoryPathsSafe.js +19 -0
- package/cjs/lib/readDirectoryPathsSafe.js.map +1 -0
- package/cjs/lib/readDirectoryPathsSafeSync.d.ts +8 -0
- package/cjs/lib/readDirectoryPathsSafeSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryPathsSafeSync.js +19 -0
- package/cjs/lib/readDirectoryPathsSafeSync.js.map +1 -0
- package/cjs/lib/readDirectoryPathsSync.d.ts +7 -0
- package/cjs/lib/readDirectoryPathsSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryPathsSync.js +18 -0
- package/cjs/lib/readDirectoryPathsSync.js.map +1 -0
- package/cjs/lib/readDirectoryStats.d.ts +13 -0
- package/cjs/lib/readDirectoryStats.d.ts.map +1 -0
- package/cjs/lib/readDirectoryStats.js +33 -0
- package/cjs/lib/readDirectoryStats.js.map +1 -0
- package/cjs/lib/readDirectoryStatsSafe.d.ts +14 -0
- package/cjs/lib/readDirectoryStatsSafe.d.ts.map +1 -0
- package/cjs/lib/readDirectoryStatsSafe.js +20 -0
- package/cjs/lib/readDirectoryStatsSafe.js.map +1 -0
- package/cjs/lib/readDirectoryStatsSafeSync.d.ts +14 -0
- package/cjs/lib/readDirectoryStatsSafeSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryStatsSafeSync.js +20 -0
- package/cjs/lib/readDirectoryStatsSafeSync.js.map +1 -0
- package/cjs/lib/readDirectoryStatsSync.d.ts +13 -0
- package/cjs/lib/readDirectoryStatsSync.d.ts.map +1 -0
- package/cjs/lib/readDirectoryStatsSync.js +32 -0
- package/cjs/lib/readDirectoryStatsSync.js.map +1 -0
- package/cjs/lib/readFile.d.ts +22 -0
- package/cjs/lib/readFile.d.ts.map +1 -0
- package/cjs/lib/readFile.js +21 -0
- package/cjs/lib/readFile.js.map +1 -0
- package/cjs/lib/readFileBuffer.d.ts +20 -0
- package/cjs/lib/readFileBuffer.d.ts.map +1 -0
- package/cjs/lib/readFileBuffer.js +20 -0
- package/cjs/lib/readFileBuffer.js.map +1 -0
- package/cjs/lib/readFileBufferSafe.d.ts +12 -0
- package/cjs/lib/readFileBufferSafe.d.ts.map +1 -0
- package/cjs/lib/readFileBufferSafe.js +24 -0
- package/cjs/lib/readFileBufferSafe.js.map +1 -0
- package/cjs/lib/readFileBufferSafeSync.d.ts +12 -0
- package/cjs/lib/readFileBufferSafeSync.d.ts.map +1 -0
- package/cjs/lib/readFileBufferSafeSync.js +24 -0
- package/cjs/lib/readFileBufferSafeSync.js.map +1 -0
- package/cjs/lib/readFileBufferSync.d.ts +10 -0
- package/cjs/lib/readFileBufferSync.d.ts.map +1 -0
- package/cjs/lib/readFileBufferSync.js +17 -0
- package/cjs/lib/readFileBufferSync.js.map +1 -0
- package/cjs/lib/readFileSafe.d.ts +14 -0
- package/cjs/lib/readFileSafe.d.ts.map +1 -0
- package/cjs/lib/readFileSafe.js +26 -0
- package/cjs/lib/readFileSafe.js.map +1 -0
- package/cjs/lib/readFileSafeSync.d.ts +14 -0
- package/cjs/lib/readFileSafeSync.d.ts.map +1 -0
- package/cjs/lib/readFileSafeSync.js +26 -0
- package/cjs/lib/readFileSafeSync.js.map +1 -0
- package/cjs/lib/readFileSync.d.ts +11 -0
- package/cjs/lib/readFileSync.d.ts.map +1 -0
- package/cjs/lib/readFileSync.js +18 -0
- package/cjs/lib/readFileSync.js.map +1 -0
- package/cjs/lib/readJsonFile.d.ts +2 -0
- package/cjs/lib/readJsonFile.d.ts.map +1 -0
- package/cjs/lib/readJsonFile.js +6 -0
- package/cjs/lib/readJsonFile.js.map +1 -0
- package/cjs/lib/readJsonFileSafe.d.ts +10 -0
- package/cjs/lib/readJsonFileSafe.d.ts.map +1 -0
- package/cjs/lib/readJsonFileSafe.js +22 -0
- package/cjs/lib/readJsonFileSafe.js.map +1 -0
- package/cjs/lib/readJsonFileSafeSync.d.ts +10 -0
- package/cjs/lib/readJsonFileSafeSync.d.ts.map +1 -0
- package/cjs/lib/readJsonFileSafeSync.js +22 -0
- package/cjs/lib/readJsonFileSafeSync.js.map +1 -0
- package/cjs/lib/readJsonFileSync.d.ts +2 -0
- package/cjs/lib/readJsonFileSync.d.ts.map +1 -0
- package/cjs/lib/readJsonFileSync.js +6 -0
- package/cjs/lib/readJsonFileSync.js.map +1 -0
- package/cjs/lib/removeDirectory.d.ts +2 -0
- package/cjs/lib/removeDirectory.d.ts.map +1 -0
- package/cjs/lib/removeDirectory.js +6 -0
- package/cjs/lib/removeDirectory.js.map +1 -0
- package/cjs/lib/removeDirectorySync.d.ts +2 -0
- package/cjs/lib/removeDirectorySync.d.ts.map +1 -0
- package/cjs/lib/removeDirectorySync.js +6 -0
- package/cjs/lib/removeDirectorySync.js.map +1 -0
- package/cjs/lib/removeFile.d.ts +2 -0
- package/cjs/lib/removeFile.d.ts.map +1 -0
- package/cjs/lib/removeFile.js +6 -0
- package/cjs/lib/removeFile.js.map +1 -0
- package/cjs/lib/removeFileSync.d.ts +2 -0
- package/cjs/lib/removeFileSync.d.ts.map +1 -0
- package/cjs/lib/removeFileSync.js +6 -0
- package/cjs/lib/removeFileSync.js.map +1 -0
- package/{src → cjs}/lib/tempFile.d.ts +3 -2
- package/cjs/lib/tempFile.d.ts.map +1 -0
- package/cjs/lib/tempFile.js +27 -0
- package/cjs/lib/tempFile.js.map +1 -0
- package/cjs/lib/tempFileSync.d.ts +7 -0
- package/cjs/lib/tempFileSync.d.ts.map +1 -0
- package/cjs/lib/tempFileSync.js +27 -0
- package/cjs/lib/tempFileSync.js.map +1 -0
- package/cjs/lib/types/IGetUserInputFromEditorOptions.d.ts +16 -0
- package/cjs/lib/types/IGetUserInputFromEditorOptions.d.ts.map +1 -0
- package/{src/lib/types/IEnsureValidWindowsPathOptions.js → cjs/lib/types/IGetUserInputFromEditorOptions.js} +1 -1
- package/cjs/lib/types/IGetUserInputFromEditorOptions.js.map +1 -0
- package/cjs/lib/types/IJFReadOptions.d.ts +2 -0
- package/cjs/lib/types/IJFReadOptions.d.ts.map +1 -0
- package/cjs/lib/types/IJFReadOptions.js +3 -0
- package/cjs/lib/types/IJFReadOptions.js.map +1 -0
- package/cjs/lib/types/IJFWriteOptions.d.ts +2 -0
- package/cjs/lib/types/IJFWriteOptions.d.ts.map +1 -0
- package/cjs/lib/types/IJFWriteOptions.js +3 -0
- package/cjs/lib/types/IJFWriteOptions.js.map +1 -0
- package/cjs/lib/types/IJsonOutputOptions.d.ts +2 -0
- package/cjs/lib/types/IJsonOutputOptions.d.ts.map +1 -0
- package/cjs/lib/types/IJsonOutputOptions.js +3 -0
- package/cjs/lib/types/IJsonOutputOptions.js.map +1 -0
- package/{src → cjs}/lib/types/ILogFileData.d.ts +1 -0
- package/cjs/lib/types/ILogFileData.d.ts.map +1 -0
- package/cjs/lib/types/IReadJsonFileOptions.d.ts +2 -0
- package/cjs/lib/types/IReadJsonFileOptions.d.ts.map +1 -0
- package/cjs/lib/types/IReadJsonFileOptions.js +3 -0
- package/cjs/lib/types/IReadJsonFileOptions.js.map +1 -0
- package/cjs/lib/types/JsonReplacerReviver.d.ts +2 -0
- package/cjs/lib/types/JsonReplacerReviver.d.ts.map +1 -0
- package/cjs/lib/types/JsonReplacerReviver.js +3 -0
- package/cjs/lib/types/JsonReplacerReviver.js.map +1 -0
- package/cjs/lib/updateFile.d.ts +11 -0
- package/cjs/lib/updateFile.d.ts.map +1 -0
- package/cjs/lib/updateFile.js +20 -0
- package/cjs/lib/updateFile.js.map +1 -0
- package/cjs/lib/updateFileSafe.d.ts +13 -0
- package/cjs/lib/updateFileSafe.d.ts.map +1 -0
- package/cjs/lib/updateFileSafe.js +28 -0
- package/cjs/lib/updateFileSafe.js.map +1 -0
- package/cjs/lib/updateFileSafeSync.d.ts +13 -0
- package/cjs/lib/updateFileSafeSync.d.ts.map +1 -0
- package/cjs/lib/updateFileSafeSync.js +28 -0
- package/cjs/lib/updateFileSafeSync.js.map +1 -0
- package/cjs/lib/updateFileSync.d.ts +11 -0
- package/cjs/lib/updateFileSync.d.ts.map +1 -0
- package/cjs/lib/updateFileSync.js +20 -0
- package/cjs/lib/updateFileSync.js.map +1 -0
- package/cjs/lib/updateJsonFile.d.ts +15 -0
- package/cjs/lib/updateJsonFile.d.ts.map +1 -0
- package/cjs/lib/updateJsonFile.js +20 -0
- package/cjs/lib/updateJsonFile.js.map +1 -0
- package/cjs/lib/updateJsonFileSafe.d.ts +17 -0
- package/cjs/lib/updateJsonFileSafe.d.ts.map +1 -0
- package/cjs/lib/updateJsonFileSafe.js +28 -0
- package/cjs/lib/updateJsonFileSafe.js.map +1 -0
- package/cjs/lib/updateJsonFileSafeSync.d.ts +17 -0
- package/cjs/lib/updateJsonFileSafeSync.d.ts.map +1 -0
- package/cjs/lib/updateJsonFileSafeSync.js +28 -0
- package/cjs/lib/updateJsonFileSafeSync.js.map +1 -0
- package/cjs/lib/updateJsonFileSync.d.ts +15 -0
- package/cjs/lib/updateJsonFileSync.d.ts.map +1 -0
- package/cjs/lib/updateJsonFileSync.js +20 -0
- package/cjs/lib/updateJsonFileSync.js.map +1 -0
- package/cjs/lib/writeFile.d.ts +2 -0
- package/cjs/lib/writeFile.d.ts.map +1 -0
- package/cjs/lib/writeFile.js +6 -0
- package/cjs/lib/writeFile.js.map +1 -0
- package/cjs/lib/writeFileSafe.d.ts +2 -0
- package/cjs/lib/writeFileSafe.d.ts.map +1 -0
- package/cjs/lib/writeFileSafe.js +6 -0
- package/cjs/lib/writeFileSafe.js.map +1 -0
- package/cjs/lib/writeFileSafeSync.d.ts +2 -0
- package/cjs/lib/writeFileSafeSync.d.ts.map +1 -0
- package/cjs/lib/writeFileSafeSync.js +6 -0
- package/cjs/lib/writeFileSafeSync.js.map +1 -0
- package/cjs/lib/writeFileSync.d.ts +2 -0
- package/cjs/lib/writeFileSync.d.ts.map +1 -0
- package/cjs/lib/writeFileSync.js +6 -0
- package/cjs/lib/writeFileSync.js.map +1 -0
- package/cjs/lib/writeJsonFile.d.ts +2 -0
- package/cjs/lib/writeJsonFile.d.ts.map +1 -0
- package/cjs/lib/writeJsonFile.js +6 -0
- package/cjs/lib/writeJsonFile.js.map +1 -0
- package/cjs/lib/writeJsonFileSafe.d.ts +2 -0
- package/cjs/lib/writeJsonFileSafe.d.ts.map +1 -0
- package/cjs/lib/writeJsonFileSafe.js +6 -0
- package/cjs/lib/writeJsonFileSafe.js.map +1 -0
- package/cjs/lib/writeJsonFileSafeSync.d.ts +2 -0
- package/cjs/lib/writeJsonFileSafeSync.d.ts.map +1 -0
- package/cjs/lib/writeJsonFileSafeSync.js +6 -0
- package/cjs/lib/writeJsonFileSafeSync.js.map +1 -0
- package/cjs/lib/writeJsonFileSync.d.ts +2 -0
- package/cjs/lib/writeJsonFileSync.d.ts.map +1 -0
- package/cjs/lib/writeJsonFileSync.js +6 -0
- package/cjs/lib/writeJsonFileSync.js.map +1 -0
- package/package.json +11 -16
- package/src/index.d.ts +0 -35
- package/src/index.js +0 -39
- package/src/index.js.map +0 -1
- package/src/lib/AppData.d.ts +0 -10
- package/src/lib/AppData.js +0 -24
- package/src/lib/AppData.js.map +0 -1
- package/src/lib/JsonFile.d.ts +0 -78
- package/src/lib/JsonFile.js +0 -158
- package/src/lib/JsonFile.js.map +0 -1
- package/src/lib/LogFile.d.ts +0 -50
- package/src/lib/LogFile.js +0 -158
- package/src/lib/LogFile.js.map +0 -1
- package/src/lib/absoluteToRelativePath.d.ts +0 -13
- package/src/lib/absoluteToRelativePath.js +0 -25
- package/src/lib/absoluteToRelativePath.js.map +0 -1
- package/src/lib/appendLineToFile.d.ts +0 -11
- package/src/lib/appendLineToFile.js +0 -28
- package/src/lib/appendLineToFile.js.map +0 -1
- package/src/lib/cleanDirectorySync.d.ts +0 -16
- package/src/lib/cleanDirectorySync.js +0 -29
- package/src/lib/cleanDirectorySync.js.map +0 -1
- package/src/lib/createDirectory.js +0 -25
- package/src/lib/createDirectory.js.map +0 -1
- package/src/lib/createDirectorySync.js.map +0 -1
- package/src/lib/createFileExtensionFilter.d.ts +0 -13
- package/src/lib/createFileExtensionFilter.js +0 -32
- package/src/lib/createFileExtensionFilter.js.map +0 -1
- package/src/lib/cwdpath.d.ts +0 -12
- package/src/lib/cwdpath.js +0 -21
- package/src/lib/cwdpath.js.map +0 -1
- package/src/lib/deleteDirectory.d.ts +0 -12
- package/src/lib/deleteDirectory.js +0 -23
- package/src/lib/deleteDirectory.js.map +0 -1
- package/src/lib/deleteDirectorySafe.d.ts +0 -13
- package/src/lib/deleteDirectorySafe.js +0 -25
- package/src/lib/deleteDirectorySafe.js.map +0 -1
- package/src/lib/deleteDirectorySafeSync.d.ts +0 -11
- package/src/lib/deleteDirectorySafeSync.js +0 -23
- package/src/lib/deleteDirectorySafeSync.js.map +0 -1
- package/src/lib/deleteDirectorySync.d.ts +0 -12
- package/src/lib/deleteDirectorySync.js +0 -22
- package/src/lib/deleteDirectorySync.js.map +0 -1
- package/src/lib/ensureValidWindowsPath.d.ts +0 -22
- package/src/lib/ensureValidWindowsPath.js +0 -54
- package/src/lib/ensureValidWindowsPath.js.map +0 -1
- package/src/lib/getDiskDrivesWindows.d.ts +0 -1
- package/src/lib/getDiskDrivesWindows.js +0 -19
- package/src/lib/getDiskDrivesWindows.js.map +0 -1
- package/src/lib/getDownloadsDirectory.d.ts +0 -1
- package/src/lib/getDownloadsDirectory.js +0 -11
- package/src/lib/getDownloadsDirectory.js.map +0 -1
- package/src/lib/getHomeDirectory.d.ts +0 -1
- package/src/lib/getHomeDirectory.js +0 -13
- package/src/lib/getHomeDirectory.js.map +0 -1
- package/src/lib/getLastMofifiedFileIn.js +0 -22
- package/src/lib/getLastMofifiedFileIn.js.map +0 -1
- package/src/lib/getRootDir.d.ts +0 -1
- package/src/lib/getRootDir.js +0 -10
- package/src/lib/getRootDir.js.map +0 -1
- package/src/lib/normalizeFileExtension.d.ts +0 -22
- package/src/lib/normalizeFileExtension.js +0 -36
- package/src/lib/normalizeFileExtension.js.map +0 -1
- package/src/lib/readFileLastLines.d.ts +0 -7
- package/src/lib/readFileLastLines.js +0 -18
- package/src/lib/readFileLastLines.js.map +0 -1
- package/src/lib/readJsonFile.d.ts +0 -12
- package/src/lib/readJsonFile.js +0 -23
- package/src/lib/readJsonFile.js.map +0 -1
- package/src/lib/readJsonFileSync.d.ts +0 -12
- package/src/lib/readJsonFileSync.js +0 -21
- package/src/lib/readJsonFileSync.js.map +0 -1
- package/src/lib/readPackageJson.d.ts +0 -1
- package/src/lib/readPackageJson.js +0 -15
- package/src/lib/readPackageJson.js.map +0 -1
- package/src/lib/removeIllegalFilenameCharacters.d.ts +0 -1
- package/src/lib/removeIllegalFilenameCharacters.js +0 -8
- package/src/lib/removeIllegalFilenameCharacters.js.map +0 -1
- package/src/lib/tempFile.js +0 -26
- package/src/lib/tempFile.js.map +0 -1
- package/src/lib/types/IEnsureValidWindowsPathOptions.d.ts +0 -10
- package/src/lib/types/IEnsureValidWindowsPathOptions.js.map +0 -1
- package/src/lib/updateJsonFile.d.ts +0 -18
- package/src/lib/updateJsonFile.js +0 -44
- package/src/lib/updateJsonFile.js.map +0 -1
- package/src/lib/updateJsonFileSync.d.ts +0 -18
- package/src/lib/updateJsonFileSync.js +0 -42
- package/src/lib/updateJsonFileSync.js.map +0 -1
- package/src/lib/wipeDirectorySafe.d.ts +0 -1
- package/src/lib/wipeDirectorySafe.js +0 -14
- package/src/lib/wipeDirectorySafe.js.map +0 -1
- package/src/lib/writeJsonFile.d.ts +0 -14
- package/src/lib/writeJsonFile.js +0 -25
- package/src/lib/writeJsonFile.js.map +0 -1
- package/src/lib/writeJsonFileSync.d.ts +0 -13
- package/src/lib/writeJsonFileSync.js +0 -22
- package/src/lib/writeJsonFileSync.js.map +0 -1
- /package/{src → cjs}/lib/types/ILogFileData.js +0 -0
- /package/{src → cjs}/lib/types/ILogFileData.js.map +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readDirectoryStatsSync = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
|
+
/**
|
|
8
|
+
* Reads a fs.Stats of all FSO's (files/directories/etc.) in a directory.
|
|
9
|
+
* Each FSO's 'name' and full 'path' are available as lazy-evaluated getter properties on the returned Stats object.
|
|
10
|
+
*
|
|
11
|
+
* @param dirpath - The path of the directory to read.
|
|
12
|
+
*/
|
|
13
|
+
function readDirectoryStatsSync(dirpath) {
|
|
14
|
+
const names = fs_extra_1.default.readdirSync(dirpath);
|
|
15
|
+
return names.map((name) => {
|
|
16
|
+
const stats = fs_extra_1.default.statSync(path_1.default.join(dirpath, name));
|
|
17
|
+
return Object.defineProperties(stats, {
|
|
18
|
+
name: {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
value: name,
|
|
21
|
+
},
|
|
22
|
+
path: {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get() {
|
|
25
|
+
return path_1.default.join(dirpath, this.name);
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
exports.readDirectoryStatsSync = readDirectoryStatsSync;
|
|
32
|
+
//# sourceMappingURL=readDirectoryStatsSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readDirectoryStatsSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readDirectoryStatsSync.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AACzB,wDAAuB;AAEvB;;;;;GAKG;AACH,SAAgB,sBAAsB,CAAC,OAAe;IACpD,MAAM,KAAK,GAAG,kBAAE,CAAC,WAAW,CAAC,OAAO,CAAC,CAAA;IACrC,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACxB,MAAM,KAAK,GAAG,kBAAE,CAAC,QAAQ,CAAC,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAA;QACnD,OAAO,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE;YACpC,IAAI,EAAE;gBACJ,UAAU,EAAE,IAAI;gBAChB,KAAK,EAAE,IAAI;aACZ;YACD,IAAI,EAAE;gBACJ,UAAU,EAAE,IAAI;gBAChB,GAAG;oBACD,OAAO,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;gBACtC,CAAC;aACF;SACF,CAAoD,CAAA;IACvD,CAAC,CAAC,CAAA;AACJ,CAAC;AAjBD,wDAiBC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
/**
|
|
4
|
+
* Reads a file and returns the file's contents.
|
|
5
|
+
*
|
|
6
|
+
* Identical to @see fs.promises.readFile, except that it uses 'utf8' encoding by default.
|
|
7
|
+
*
|
|
8
|
+
* @param filepath - The path to the file.
|
|
9
|
+
* @param encoding - The encoding to use when reading the file. Note that 'undefined' defaults to 'utf8'.
|
|
10
|
+
*/
|
|
11
|
+
export declare function readFile(filepath: string, encoding?: BufferEncoding): Promise<string>;
|
|
12
|
+
/**
|
|
13
|
+
* Reads a file and returns the file's contents.
|
|
14
|
+
*
|
|
15
|
+
* Identical to @see fs.readFile (with callback), except that it uses 'utf8' encoding by default.
|
|
16
|
+
*
|
|
17
|
+
* @param filepath - The path to the file.
|
|
18
|
+
* @param encoding - The encoding to use when reading the file. Note that 'undefined' defaults to 'utf8'.
|
|
19
|
+
* @param callback - An optional async callback.
|
|
20
|
+
*/
|
|
21
|
+
export declare function readFile(filepath: string, encoding?: BufferEncoding, callback?: (err: NodeJS.ErrnoException | null, data: string) => void): void;
|
|
22
|
+
//# sourceMappingURL=readFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFile.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFile.ts"],"names":[],"mappings":";;AAEA;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEtF;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,cAAc,EACzB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,GAAG,IAAI,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,GACnE,IAAI,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readFile = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a file and returns the file's contents.
|
|
8
|
+
*
|
|
9
|
+
* Defaults to 'utf8' encoding, but otherwise identical to:
|
|
10
|
+
* - @see fs.readFile if a callback is passed
|
|
11
|
+
* - @see fs.promises.readFile is no callback is passed
|
|
12
|
+
*
|
|
13
|
+
* @param filepath - The path to the file.
|
|
14
|
+
* @param encoding - The encoding to use when reading the file. Note that 'undefined' defaults to 'utf8'.
|
|
15
|
+
* @param callback - An optional async callback.
|
|
16
|
+
*/
|
|
17
|
+
function readFile(filepath, encoding, callback) {
|
|
18
|
+
return callback ? fs_extra_1.default.readFile(filepath, encoding || 'utf8', callback) : fs_extra_1.default.readFile(filepath, encoding || 'utf8');
|
|
19
|
+
}
|
|
20
|
+
exports.readFile = readFile;
|
|
21
|
+
//# sourceMappingURL=readFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFile.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFile.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AA2BzB;;;;;;;;;;GAUG;AACH,SAAgB,QAAQ,CACtB,QAAgB,EAChB,QAAyB,EACzB,QAAoE;IAEpE,OAAO,QAAQ,CAAC,CAAC,CAAC,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,IAAI,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,IAAI,MAAM,CAAC,CAAA;AACnH,CAAC;AAND,4BAMC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
/**
|
|
4
|
+
* Reads a file and returns the file's contents.
|
|
5
|
+
*
|
|
6
|
+
* Identical to @see fs.promises.readFile, except that does not use an encoding.
|
|
7
|
+
*
|
|
8
|
+
* @param filepath - The path to the file.
|
|
9
|
+
*/
|
|
10
|
+
export declare function readFileBuffer(filepath: string): Promise<Buffer>;
|
|
11
|
+
/**
|
|
12
|
+
* Reads a file and returns the file's contents.
|
|
13
|
+
*
|
|
14
|
+
* Identical to @see fs.readFile (with callback), except that does not use an encoding.
|
|
15
|
+
*
|
|
16
|
+
* @param filepath - The path to the file.
|
|
17
|
+
* @param callback - An optional async callback.
|
|
18
|
+
*/
|
|
19
|
+
export declare function readFileBuffer(filepath: string, callback?: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void;
|
|
20
|
+
//# sourceMappingURL=readFileBuffer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileBuffer.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileBuffer.ts"],"names":[],"mappings":";;AAEA;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjE;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,GAAG,IAAI,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,GACnE,IAAI,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readFileBuffer = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a file and returns the file's contents.
|
|
8
|
+
*
|
|
9
|
+
* Uses no encoding, but otherwise identical to:
|
|
10
|
+
* - @see fs.readFile if a callback is passed
|
|
11
|
+
* - @see fs.promises.readFile is no callback is passed
|
|
12
|
+
*
|
|
13
|
+
* @param filepath - The path to the file.
|
|
14
|
+
* @param callback - An optional async callback.
|
|
15
|
+
*/
|
|
16
|
+
function readFileBuffer(filepath, callback) {
|
|
17
|
+
return callback ? fs_extra_1.default.readFile(filepath, null, callback) : fs_extra_1.default.readFile(filepath);
|
|
18
|
+
}
|
|
19
|
+
exports.readFileBuffer = readFileBuffer;
|
|
20
|
+
//# sourceMappingURL=readFileBuffer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileBuffer.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileBuffer.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAwBzB;;;;;;;;;GASG;AACH,SAAgB,cAAc,CAC5B,QAAgB,EAChB,QAAoE;IAEpE,OAAO,QAAQ,CAAC,CAAC,CAAC,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,kBAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;AACjF,CAAC;AALD,wCAKC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Reads a file and returns the file's contents.
|
|
4
|
+
*
|
|
5
|
+
* Identical to @see fs.readFile, except that:
|
|
6
|
+
* - it uses no encoding by default
|
|
7
|
+
* - if operation fails, returns undefined instead of throwing
|
|
8
|
+
*
|
|
9
|
+
* @param filepath - The path to the file.
|
|
10
|
+
*/
|
|
11
|
+
export declare function readFileBufferSafe(filepath: string): Promise<Buffer | undefined>;
|
|
12
|
+
//# sourceMappingURL=readFileBufferSafe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileBufferSafe.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileBufferSafe.ts"],"names":[],"mappings":";AAEA;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAMtF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readFileBufferSafe = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a file and returns the file's contents.
|
|
8
|
+
*
|
|
9
|
+
* Identical to @see fs.readFile, except that:
|
|
10
|
+
* - it uses no encoding by default
|
|
11
|
+
* - if operation fails, returns undefined instead of throwing
|
|
12
|
+
*
|
|
13
|
+
* @param filepath - The path to the file.
|
|
14
|
+
*/
|
|
15
|
+
async function readFileBufferSafe(filepath) {
|
|
16
|
+
try {
|
|
17
|
+
return fs_extra_1.default.readFile(filepath);
|
|
18
|
+
}
|
|
19
|
+
catch (error) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.readFileBufferSafe = readFileBufferSafe;
|
|
24
|
+
//# sourceMappingURL=readFileBufferSafe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileBufferSafe.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileBufferSafe.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAEzB;;;;;;;;GAQG;AACI,KAAK,UAAU,kBAAkB,CAAC,QAAgB;IACvD,IAAI;QACF,OAAO,kBAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;KAC7B;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,SAAS,CAAA;KACjB;AACH,CAAC;AAND,gDAMC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Reads a file and returns the file's contents.
|
|
4
|
+
*
|
|
5
|
+
* Identical to @see fs.readFileSync, except that:
|
|
6
|
+
* - it uses no encoding by default
|
|
7
|
+
* - if operation fails, returns undefined instead of throwing
|
|
8
|
+
*
|
|
9
|
+
* @param filepath - The path to the file.
|
|
10
|
+
*/
|
|
11
|
+
export declare function readFileBufferSafeSync(filepath: string): Buffer | undefined;
|
|
12
|
+
//# sourceMappingURL=readFileBufferSafeSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileBufferSafeSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileBufferSafeSync.ts"],"names":[],"mappings":";AAEA;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM3E"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readFileBufferSafeSync = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a file and returns the file's contents.
|
|
8
|
+
*
|
|
9
|
+
* Identical to @see fs.readFileSync, except that:
|
|
10
|
+
* - it uses no encoding by default
|
|
11
|
+
* - if operation fails, returns undefined instead of throwing
|
|
12
|
+
*
|
|
13
|
+
* @param filepath - The path to the file.
|
|
14
|
+
*/
|
|
15
|
+
function readFileBufferSafeSync(filepath) {
|
|
16
|
+
try {
|
|
17
|
+
return fs_extra_1.default.readFileSync(filepath);
|
|
18
|
+
}
|
|
19
|
+
catch (error) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.readFileBufferSafeSync = readFileBufferSafeSync;
|
|
24
|
+
//# sourceMappingURL=readFileBufferSafeSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileBufferSafeSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileBufferSafeSync.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAEzB;;;;;;;;GAQG;AACH,SAAgB,sBAAsB,CAAC,QAAgB;IACrD,IAAI;QACF,OAAO,kBAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAA;KACjC;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,SAAS,CAAA;KACjB;AACH,CAAC;AAND,wDAMC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Reads a file and returns the file's contents.
|
|
4
|
+
*
|
|
5
|
+
* Identical to @see fs.readFileSync, except that it uses no encoding by default
|
|
6
|
+
*
|
|
7
|
+
* @param filepath - The path to the file.
|
|
8
|
+
*/
|
|
9
|
+
export declare function readFileBufferSync(filepath: string): Buffer | undefined;
|
|
10
|
+
//# sourceMappingURL=readFileBufferSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileBufferSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileBufferSync.ts"],"names":[],"mappings":";AAEA;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAEvE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readFileBufferSync = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a file and returns the file's contents.
|
|
8
|
+
*
|
|
9
|
+
* Identical to @see fs.readFileSync, except that it uses no encoding by default
|
|
10
|
+
*
|
|
11
|
+
* @param filepath - The path to the file.
|
|
12
|
+
*/
|
|
13
|
+
function readFileBufferSync(filepath) {
|
|
14
|
+
return fs_extra_1.default.readFileSync(filepath);
|
|
15
|
+
}
|
|
16
|
+
exports.readFileBufferSync = readFileBufferSync;
|
|
17
|
+
//# sourceMappingURL=readFileBufferSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileBufferSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileBufferSync.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAEzB;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAAC,QAAgB;IACjD,OAAO,kBAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAA;AAClC,CAAC;AAFD,gDAEC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Reads a file and returns the file's contents.
|
|
4
|
+
*
|
|
5
|
+
* Identical to fs.promises.readFile, except that:
|
|
6
|
+
* - it uses utf8 encoding by default
|
|
7
|
+
* - if operation fails, returns undefined instead of throwing
|
|
8
|
+
*
|
|
9
|
+
* @param filepath - The path to the file.
|
|
10
|
+
* @param encoding - The encoding to use when reading the file.
|
|
11
|
+
* @returns A promise that resolves with the file's contents or undefined if the file does not exist.
|
|
12
|
+
*/
|
|
13
|
+
export declare function readFileSafe(filepath: string, encoding?: BufferEncoding): Promise<string | undefined>;
|
|
14
|
+
//# sourceMappingURL=readFileSafe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileSafe.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileSafe.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;AACH,wBAAsB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAE,cAAuB,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAMnH"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readFileSafe = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a file and returns the file's contents.
|
|
8
|
+
*
|
|
9
|
+
* Identical to fs.promises.readFile, except that:
|
|
10
|
+
* - it uses utf8 encoding by default
|
|
11
|
+
* - if operation fails, returns undefined instead of throwing
|
|
12
|
+
*
|
|
13
|
+
* @param filepath - The path to the file.
|
|
14
|
+
* @param encoding - The encoding to use when reading the file.
|
|
15
|
+
* @returns A promise that resolves with the file's contents or undefined if the file does not exist.
|
|
16
|
+
*/
|
|
17
|
+
async function readFileSafe(filepath, encoding = 'utf8') {
|
|
18
|
+
try {
|
|
19
|
+
return await fs_extra_1.default.readFile(filepath, encoding);
|
|
20
|
+
}
|
|
21
|
+
catch (error) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.readFileSafe = readFileSafe;
|
|
26
|
+
//# sourceMappingURL=readFileSafe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileSafe.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileSafe.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAEzB;;;;;;;;;;GAUG;AACI,KAAK,UAAU,YAAY,CAAC,QAAgB,EAAE,WAA2B,MAAM;IACpF,IAAI;QACF,OAAO,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;KAC7C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,SAAS,CAAA;KACjB;AACH,CAAC;AAND,oCAMC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Reads a file and returns the file's contents.
|
|
4
|
+
*
|
|
5
|
+
* Identical to fs.readFileSync, except that:
|
|
6
|
+
* - it uses utf8 encoding by default
|
|
7
|
+
* - if operation fails, returns undefined instead of throwing
|
|
8
|
+
*
|
|
9
|
+
* @param filepath - The path to the file.
|
|
10
|
+
* @param encoding - The encoding to use when reading the file.
|
|
11
|
+
* @returns The file's contents or undefined if the file does not exist.
|
|
12
|
+
*/
|
|
13
|
+
export declare function readFileSafeSync(filepath: string, encoding?: BufferEncoding): string | undefined;
|
|
14
|
+
//# sourceMappingURL=readFileSafeSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileSafeSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileSafeSync.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAE,cAAuB,GAAG,MAAM,GAAG,SAAS,CAMxG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readFileSafeSync = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a file and returns the file's contents.
|
|
8
|
+
*
|
|
9
|
+
* Identical to fs.readFileSync, except that:
|
|
10
|
+
* - it uses utf8 encoding by default
|
|
11
|
+
* - if operation fails, returns undefined instead of throwing
|
|
12
|
+
*
|
|
13
|
+
* @param filepath - The path to the file.
|
|
14
|
+
* @param encoding - The encoding to use when reading the file.
|
|
15
|
+
* @returns The file's contents or undefined if the file does not exist.
|
|
16
|
+
*/
|
|
17
|
+
function readFileSafeSync(filepath, encoding = 'utf8') {
|
|
18
|
+
try {
|
|
19
|
+
return fs_extra_1.default.readFileSync(filepath, encoding);
|
|
20
|
+
}
|
|
21
|
+
catch (error) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.readFileSafeSync = readFileSafeSync;
|
|
26
|
+
//# sourceMappingURL=readFileSafeSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileSafeSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileSafeSync.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAEzB;;;;;;;;;;GAUG;AACH,SAAgB,gBAAgB,CAAC,QAAgB,EAAE,WAA2B,MAAM;IAClF,IAAI;QACF,OAAO,kBAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;KAC3C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,SAAS,CAAA;KACjB;AACH,CAAC;AAND,4CAMC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/**
|
|
3
|
+
* Reads a file and returns the file's contents.
|
|
4
|
+
* Identical to fs.readFileSync, except that it uses utf8 encoding by default.
|
|
5
|
+
*
|
|
6
|
+
* @param filepath - The path to the file.
|
|
7
|
+
* @param encoding - The encoding to use when reading the file.
|
|
8
|
+
* @returns The file's contents.
|
|
9
|
+
*/
|
|
10
|
+
export declare function readFileSync(filepath: string, encoding?: BufferEncoding): string;
|
|
11
|
+
//# sourceMappingURL=readFileSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileSync.ts"],"names":[],"mappings":";AAEA;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAE,cAAuB,GAAG,MAAM,CAExF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readFileSync = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a file and returns the file's contents.
|
|
8
|
+
* Identical to fs.readFileSync, except that it uses utf8 encoding by default.
|
|
9
|
+
*
|
|
10
|
+
* @param filepath - The path to the file.
|
|
11
|
+
* @param encoding - The encoding to use when reading the file.
|
|
12
|
+
* @returns The file's contents.
|
|
13
|
+
*/
|
|
14
|
+
function readFileSync(filepath, encoding = 'utf8') {
|
|
15
|
+
return fs_extra_1.default.readFileSync(filepath, encoding);
|
|
16
|
+
}
|
|
17
|
+
exports.readFileSync = readFileSync;
|
|
18
|
+
//# sourceMappingURL=readFileSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readFileSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readFileSync.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAEzB;;;;;;;GAOG;AACH,SAAgB,YAAY,CAAC,QAAgB,EAAE,WAA2B,MAAM;IAC9E,OAAO,kBAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;AAC5C,CAAC;AAFD,oCAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readJsonFile.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readJsonFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readJsonFile = void 0;
|
|
4
|
+
var fs_extra_1 = require("fs-extra");
|
|
5
|
+
Object.defineProperty(exports, "readJsonFile", { enumerable: true, get: function () { return fs_extra_1.readJson; } });
|
|
6
|
+
//# sourceMappingURL=readJsonFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readJsonFile.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readJsonFile.ts"],"names":[],"mappings":";;;AAAA,qCAAmD;AAA1C,wGAAA,QAAQ,OAAgB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IReadJsonFileOptions } from './types/IReadJsonFileOptions';
|
|
2
|
+
/**
|
|
3
|
+
* Reads a JSON file and then parses it into an object.
|
|
4
|
+
* If an error occurs, it returns undefined.
|
|
5
|
+
*
|
|
6
|
+
* @param filepath - The path to the JSON file.
|
|
7
|
+
* @param options - Options for reading the JSON file.
|
|
8
|
+
*/
|
|
9
|
+
export declare function readJsonFileSafe<T>(filepath: string, options?: IReadJsonFileOptions): Promise<T | void>;
|
|
10
|
+
//# sourceMappingURL=readJsonFileSafe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readJsonFileSafe.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readJsonFileSafe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAEnE;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAM7G"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readJsonFileSafe = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a JSON file and then parses it into an object.
|
|
8
|
+
* If an error occurs, it returns undefined.
|
|
9
|
+
*
|
|
10
|
+
* @param filepath - The path to the JSON file.
|
|
11
|
+
* @param options - Options for reading the JSON file.
|
|
12
|
+
*/
|
|
13
|
+
async function readJsonFileSafe(filepath, options) {
|
|
14
|
+
try {
|
|
15
|
+
return await fs_extra_1.default.readJson(filepath, options);
|
|
16
|
+
}
|
|
17
|
+
catch (error) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.readJsonFileSafe = readJsonFileSafe;
|
|
22
|
+
//# sourceMappingURL=readJsonFileSafe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readJsonFileSafe.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readJsonFileSafe.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAGzB;;;;;;GAMG;AACI,KAAK,UAAU,gBAAgB,CAAI,QAAgB,EAAE,OAA8B;IACxF,IAAI;QACF,OAAO,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAM;KACP;AACH,CAAC;AAND,4CAMC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IReadJsonFileOptions } from './types/IReadJsonFileOptions';
|
|
2
|
+
/**
|
|
3
|
+
* Reads a JSON file and then parses it into an object.
|
|
4
|
+
* If an error occurs, it returns undefined.
|
|
5
|
+
*
|
|
6
|
+
* @param filepath - The path to the JSON file.
|
|
7
|
+
* @param options - Options for reading the JSON file.
|
|
8
|
+
*/
|
|
9
|
+
export declare function readJsonFileSafeSync<T>(filepath: string, options?: IReadJsonFileOptions): T | undefined;
|
|
10
|
+
//# sourceMappingURL=readJsonFileSafeSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readJsonFileSafeSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readJsonFileSafeSync.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAEnE;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,CAAC,GAAG,SAAS,CAMvG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readJsonFileSafeSync = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
6
|
+
/**
|
|
7
|
+
* Reads a JSON file and then parses it into an object.
|
|
8
|
+
* If an error occurs, it returns undefined.
|
|
9
|
+
*
|
|
10
|
+
* @param filepath - The path to the JSON file.
|
|
11
|
+
* @param options - Options for reading the JSON file.
|
|
12
|
+
*/
|
|
13
|
+
function readJsonFileSafeSync(filepath, options) {
|
|
14
|
+
try {
|
|
15
|
+
return fs_extra_1.default.readJsonSync(filepath, options);
|
|
16
|
+
}
|
|
17
|
+
catch (error) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.readJsonFileSafeSync = readJsonFileSafeSync;
|
|
22
|
+
//# sourceMappingURL=readJsonFileSafeSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readJsonFileSafeSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readJsonFileSafeSync.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAGzB;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAI,QAAgB,EAAE,OAA8B;IACtF,IAAI;QACF,OAAO,kBAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAM,CAAA;KAC/C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,SAAS,CAAA;KACjB;AACH,CAAC;AAND,oDAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readJsonFileSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readJsonFileSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readJsonFileSync = void 0;
|
|
4
|
+
var fs_extra_1 = require("fs-extra");
|
|
5
|
+
Object.defineProperty(exports, "readJsonFileSync", { enumerable: true, get: function () { return fs_extra_1.readJsonSync; } });
|
|
6
|
+
//# sourceMappingURL=readJsonFileSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readJsonFileSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/readJsonFileSync.ts"],"names":[],"mappings":";;;AAAA,qCAA2D;AAAlD,4GAAA,YAAY,OAAoB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeDirectory.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/removeDirectory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeDirectory = void 0;
|
|
4
|
+
var fs_extra_1 = require("fs-extra");
|
|
5
|
+
Object.defineProperty(exports, "removeDirectory", { enumerable: true, get: function () { return fs_extra_1.remove; } });
|
|
6
|
+
//# sourceMappingURL=removeDirectory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeDirectory.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/removeDirectory.ts"],"names":[],"mappings":";;;AAAA,qCAAoD;AAA3C,2GAAA,MAAM,OAAmB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeDirectorySync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/removeDirectorySync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeDirectorySync = void 0;
|
|
4
|
+
var fs_extra_1 = require("fs-extra");
|
|
5
|
+
Object.defineProperty(exports, "removeDirectorySync", { enumerable: true, get: function () { return fs_extra_1.removeSync; } });
|
|
6
|
+
//# sourceMappingURL=removeDirectorySync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeDirectorySync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/removeDirectorySync.ts"],"names":[],"mappings":";;;AAAA,qCAA4D;AAAnD,+GAAA,UAAU,OAAuB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeFile.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/removeFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeFile = void 0;
|
|
4
|
+
var fs_extra_1 = require("fs-extra");
|
|
5
|
+
Object.defineProperty(exports, "removeFile", { enumerable: true, get: function () { return fs_extra_1.remove; } });
|
|
6
|
+
//# sourceMappingURL=removeFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeFile.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/removeFile.ts"],"names":[],"mappings":";;;AAAA,qCAA+C;AAAtC,sGAAA,MAAM,OAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeFileSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/removeFileSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeFileSync = void 0;
|
|
4
|
+
var fs_extra_1 = require("fs-extra");
|
|
5
|
+
Object.defineProperty(exports, "removeFileSync", { enumerable: true, get: function () { return fs_extra_1.removeSync; } });
|
|
6
|
+
//# sourceMappingURL=removeFileSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeFileSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/removeFileSync.ts"],"names":[],"mappings":";;;AAAA,qCAAuD;AAA9C,0GAAA,UAAU,OAAkB"}
|