@bemoje/fs 0.4.1 → 1.0.1

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.
Files changed (333) hide show
  1. package/README.md +116 -20
  2. package/index.d.ts +113 -0
  3. package/index.mjs +168 -0
  4. package/package.json +24 -19
  5. package/LICENSE +0 -21
  6. package/cjs/index.d.ts +0 -82
  7. package/cjs/index.d.ts.map +0 -1
  8. package/cjs/index.js +0 -85
  9. package/cjs/index.js.map +0 -1
  10. package/cjs/lib/FSPathFilter.d.ts +0 -84
  11. package/cjs/lib/FSPathFilter.d.ts.map +0 -1
  12. package/cjs/lib/FSPathFilter.js +0 -174
  13. package/cjs/lib/FSPathFilter.js.map +0 -1
  14. package/cjs/lib/appendFile.d.ts +0 -10
  15. package/cjs/lib/appendFile.d.ts.map +0 -1
  16. package/cjs/lib/appendFile.js +0 -23
  17. package/cjs/lib/appendFile.js.map +0 -1
  18. package/cjs/lib/appendFileLine.d.ts +0 -7
  19. package/cjs/lib/appendFileLine.d.ts.map +0 -1
  20. package/cjs/lib/appendFileLine.js +0 -16
  21. package/cjs/lib/appendFileLine.js.map +0 -1
  22. package/cjs/lib/appendFileLineSync.d.ts +0 -7
  23. package/cjs/lib/appendFileLineSync.d.ts.map +0 -1
  24. package/cjs/lib/appendFileLineSync.js +0 -16
  25. package/cjs/lib/appendFileLineSync.js.map +0 -1
  26. package/cjs/lib/appendFileSync.d.ts +0 -10
  27. package/cjs/lib/appendFileSync.d.ts.map +0 -1
  28. package/cjs/lib/appendFileSync.js +0 -23
  29. package/cjs/lib/appendFileSync.js.map +0 -1
  30. package/cjs/lib/createDirectory.d.ts +0 -9
  31. package/cjs/lib/createDirectory.d.ts.map +0 -1
  32. package/cjs/lib/createDirectory.js +0 -18
  33. package/cjs/lib/createDirectory.js.map +0 -1
  34. package/cjs/lib/createDirectorySync.d.ts +0 -8
  35. package/cjs/lib/createDirectorySync.d.ts.map +0 -1
  36. package/cjs/lib/createDirectorySync.js +0 -17
  37. package/cjs/lib/createDirectorySync.js.map +0 -1
  38. package/cjs/lib/emptyDirectory.d.ts +0 -17
  39. package/cjs/lib/emptyDirectory.d.ts.map +0 -1
  40. package/cjs/lib/emptyDirectory.js +0 -26
  41. package/cjs/lib/emptyDirectory.js.map +0 -1
  42. package/cjs/lib/emptyDirectorySync.d.ts +0 -17
  43. package/cjs/lib/emptyDirectorySync.d.ts.map +0 -1
  44. package/cjs/lib/emptyDirectorySync.js +0 -29
  45. package/cjs/lib/emptyDirectorySync.js.map +0 -1
  46. package/cjs/lib/getJsonIndentation.d.ts +0 -7
  47. package/cjs/lib/getJsonIndentation.d.ts.map +0 -1
  48. package/cjs/lib/getJsonIndentation.js +0 -17
  49. package/cjs/lib/getJsonIndentation.js.map +0 -1
  50. package/cjs/lib/getLastMofifiedFileIn.d.ts +0 -2
  51. package/cjs/lib/getLastMofifiedFileIn.d.ts.map +0 -1
  52. package/cjs/lib/getLastMofifiedFileIn.js +0 -20
  53. package/cjs/lib/getLastMofifiedFileIn.js.map +0 -1
  54. package/cjs/lib/promptUserEditInTextEditor.d.ts +0 -10
  55. package/cjs/lib/promptUserEditInTextEditor.d.ts.map +0 -1
  56. package/cjs/lib/promptUserEditInTextEditor.js +0 -30
  57. package/cjs/lib/promptUserEditInTextEditor.js.map +0 -1
  58. package/cjs/lib/promptUserEditInTextEditorSync.d.ts +0 -10
  59. package/cjs/lib/promptUserEditInTextEditorSync.d.ts.map +0 -1
  60. package/cjs/lib/promptUserEditInTextEditorSync.js +0 -27
  61. package/cjs/lib/promptUserEditInTextEditorSync.js.map +0 -1
  62. package/cjs/lib/promptUserEditJsonInTextEditor.d.ts +0 -13
  63. package/cjs/lib/promptUserEditJsonInTextEditor.d.ts.map +0 -1
  64. package/cjs/lib/promptUserEditJsonInTextEditor.js +0 -25
  65. package/cjs/lib/promptUserEditJsonInTextEditor.js.map +0 -1
  66. package/cjs/lib/promptUserEditJsonInTextEditorSync.d.ts +0 -13
  67. package/cjs/lib/promptUserEditJsonInTextEditorSync.d.ts.map +0 -1
  68. package/cjs/lib/promptUserEditJsonInTextEditorSync.js +0 -25
  69. package/cjs/lib/promptUserEditJsonInTextEditorSync.js.map +0 -1
  70. package/cjs/lib/readDirectoryDirents.d.ts +0 -11
  71. package/cjs/lib/readDirectoryDirents.d.ts.map +0 -1
  72. package/cjs/lib/readDirectoryDirents.js +0 -17
  73. package/cjs/lib/readDirectoryDirents.js.map +0 -1
  74. package/cjs/lib/readDirectoryDirentsPaths.d.ts +0 -14
  75. package/cjs/lib/readDirectoryDirentsPaths.d.ts.map +0 -1
  76. package/cjs/lib/readDirectoryDirentsPaths.js +0 -27
  77. package/cjs/lib/readDirectoryDirentsPaths.js.map +0 -1
  78. package/cjs/lib/readDirectoryDirentsPathsSafe.d.ts +0 -15
  79. package/cjs/lib/readDirectoryDirentsPathsSafe.d.ts.map +0 -1
  80. package/cjs/lib/readDirectoryDirentsPathsSafe.js +0 -22
  81. package/cjs/lib/readDirectoryDirentsPathsSafe.js.map +0 -1
  82. package/cjs/lib/readDirectoryDirentsPathsSafeSync.d.ts +0 -15
  83. package/cjs/lib/readDirectoryDirentsPathsSafeSync.d.ts.map +0 -1
  84. package/cjs/lib/readDirectoryDirentsPathsSafeSync.js +0 -22
  85. package/cjs/lib/readDirectoryDirentsPathsSafeSync.js.map +0 -1
  86. package/cjs/lib/readDirectoryDirentsPathsSync.d.ts +0 -14
  87. package/cjs/lib/readDirectoryDirentsPathsSync.d.ts.map +0 -1
  88. package/cjs/lib/readDirectoryDirentsPathsSync.js +0 -27
  89. package/cjs/lib/readDirectoryDirentsPathsSync.js.map +0 -1
  90. package/cjs/lib/readDirectoryDirentsSafe.d.ts +0 -12
  91. package/cjs/lib/readDirectoryDirentsSafe.d.ts.map +0 -1
  92. package/cjs/lib/readDirectoryDirentsSafe.js +0 -20
  93. package/cjs/lib/readDirectoryDirentsSafe.js.map +0 -1
  94. package/cjs/lib/readDirectoryDirentsSafeSync.d.ts +0 -12
  95. package/cjs/lib/readDirectoryDirentsSafeSync.d.ts.map +0 -1
  96. package/cjs/lib/readDirectoryDirentsSafeSync.js +0 -20
  97. package/cjs/lib/readDirectoryDirentsSafeSync.js.map +0 -1
  98. package/cjs/lib/readDirectoryDirentsSync.d.ts +0 -11
  99. package/cjs/lib/readDirectoryDirentsSync.d.ts.map +0 -1
  100. package/cjs/lib/readDirectoryDirentsSync.js +0 -17
  101. package/cjs/lib/readDirectoryDirentsSync.js.map +0 -1
  102. package/cjs/lib/readDirectoryNames.d.ts +0 -7
  103. package/cjs/lib/readDirectoryNames.d.ts.map +0 -1
  104. package/cjs/lib/readDirectoryNames.js +0 -15
  105. package/cjs/lib/readDirectoryNames.js.map +0 -1
  106. package/cjs/lib/readDirectoryNamesPaths.d.ts +0 -11
  107. package/cjs/lib/readDirectoryNamesPaths.d.ts.map +0 -1
  108. package/cjs/lib/readDirectoryNamesPaths.js +0 -24
  109. package/cjs/lib/readDirectoryNamesPaths.js.map +0 -1
  110. package/cjs/lib/readDirectoryNamesPathsSafe.d.ts +0 -12
  111. package/cjs/lib/readDirectoryNamesPathsSafe.d.ts.map +0 -1
  112. package/cjs/lib/readDirectoryNamesPathsSafe.js +0 -20
  113. package/cjs/lib/readDirectoryNamesPathsSafe.js.map +0 -1
  114. package/cjs/lib/readDirectoryNamesPathsSafeSync.d.ts +0 -12
  115. package/cjs/lib/readDirectoryNamesPathsSafeSync.d.ts.map +0 -1
  116. package/cjs/lib/readDirectoryNamesPathsSafeSync.js +0 -20
  117. package/cjs/lib/readDirectoryNamesPathsSafeSync.js.map +0 -1
  118. package/cjs/lib/readDirectoryNamesPathsSync.d.ts +0 -11
  119. package/cjs/lib/readDirectoryNamesPathsSync.d.ts.map +0 -1
  120. package/cjs/lib/readDirectoryNamesPathsSync.js +0 -24
  121. package/cjs/lib/readDirectoryNamesPathsSync.js.map +0 -1
  122. package/cjs/lib/readDirectoryNamesSafe.d.ts +0 -8
  123. package/cjs/lib/readDirectoryNamesSafe.d.ts.map +0 -1
  124. package/cjs/lib/readDirectoryNamesSafe.js +0 -18
  125. package/cjs/lib/readDirectoryNamesSafe.js.map +0 -1
  126. package/cjs/lib/readDirectoryNamesSafeSync.d.ts +0 -8
  127. package/cjs/lib/readDirectoryNamesSafeSync.d.ts.map +0 -1
  128. package/cjs/lib/readDirectoryNamesSafeSync.js +0 -18
  129. package/cjs/lib/readDirectoryNamesSafeSync.js.map +0 -1
  130. package/cjs/lib/readDirectoryNamesSync.d.ts +0 -7
  131. package/cjs/lib/readDirectoryNamesSync.d.ts.map +0 -1
  132. package/cjs/lib/readDirectoryNamesSync.js +0 -15
  133. package/cjs/lib/readDirectoryNamesSync.js.map +0 -1
  134. package/cjs/lib/readDirectoryPaths.d.ts +0 -7
  135. package/cjs/lib/readDirectoryPaths.d.ts.map +0 -1
  136. package/cjs/lib/readDirectoryPaths.js +0 -18
  137. package/cjs/lib/readDirectoryPaths.js.map +0 -1
  138. package/cjs/lib/readDirectoryPathsSafe.d.ts +0 -8
  139. package/cjs/lib/readDirectoryPathsSafe.d.ts.map +0 -1
  140. package/cjs/lib/readDirectoryPathsSafe.js +0 -19
  141. package/cjs/lib/readDirectoryPathsSafe.js.map +0 -1
  142. package/cjs/lib/readDirectoryPathsSafeSync.d.ts +0 -8
  143. package/cjs/lib/readDirectoryPathsSafeSync.d.ts.map +0 -1
  144. package/cjs/lib/readDirectoryPathsSafeSync.js +0 -19
  145. package/cjs/lib/readDirectoryPathsSafeSync.js.map +0 -1
  146. package/cjs/lib/readDirectoryPathsSync.d.ts +0 -7
  147. package/cjs/lib/readDirectoryPathsSync.d.ts.map +0 -1
  148. package/cjs/lib/readDirectoryPathsSync.js +0 -18
  149. package/cjs/lib/readDirectoryPathsSync.js.map +0 -1
  150. package/cjs/lib/readDirectoryStats.d.ts +0 -13
  151. package/cjs/lib/readDirectoryStats.d.ts.map +0 -1
  152. package/cjs/lib/readDirectoryStats.js +0 -33
  153. package/cjs/lib/readDirectoryStats.js.map +0 -1
  154. package/cjs/lib/readDirectoryStatsSafe.d.ts +0 -14
  155. package/cjs/lib/readDirectoryStatsSafe.d.ts.map +0 -1
  156. package/cjs/lib/readDirectoryStatsSafe.js +0 -20
  157. package/cjs/lib/readDirectoryStatsSafe.js.map +0 -1
  158. package/cjs/lib/readDirectoryStatsSafeSync.d.ts +0 -14
  159. package/cjs/lib/readDirectoryStatsSafeSync.d.ts.map +0 -1
  160. package/cjs/lib/readDirectoryStatsSafeSync.js +0 -20
  161. package/cjs/lib/readDirectoryStatsSafeSync.js.map +0 -1
  162. package/cjs/lib/readDirectoryStatsSync.d.ts +0 -13
  163. package/cjs/lib/readDirectoryStatsSync.d.ts.map +0 -1
  164. package/cjs/lib/readDirectoryStatsSync.js +0 -32
  165. package/cjs/lib/readDirectoryStatsSync.js.map +0 -1
  166. package/cjs/lib/readFile.d.ts +0 -22
  167. package/cjs/lib/readFile.d.ts.map +0 -1
  168. package/cjs/lib/readFile.js +0 -21
  169. package/cjs/lib/readFile.js.map +0 -1
  170. package/cjs/lib/readFileBuffer.d.ts +0 -20
  171. package/cjs/lib/readFileBuffer.d.ts.map +0 -1
  172. package/cjs/lib/readFileBuffer.js +0 -20
  173. package/cjs/lib/readFileBuffer.js.map +0 -1
  174. package/cjs/lib/readFileBufferSafe.d.ts +0 -12
  175. package/cjs/lib/readFileBufferSafe.d.ts.map +0 -1
  176. package/cjs/lib/readFileBufferSafe.js +0 -24
  177. package/cjs/lib/readFileBufferSafe.js.map +0 -1
  178. package/cjs/lib/readFileBufferSafeSync.d.ts +0 -12
  179. package/cjs/lib/readFileBufferSafeSync.d.ts.map +0 -1
  180. package/cjs/lib/readFileBufferSafeSync.js +0 -24
  181. package/cjs/lib/readFileBufferSafeSync.js.map +0 -1
  182. package/cjs/lib/readFileBufferSync.d.ts +0 -10
  183. package/cjs/lib/readFileBufferSync.d.ts.map +0 -1
  184. package/cjs/lib/readFileBufferSync.js +0 -17
  185. package/cjs/lib/readFileBufferSync.js.map +0 -1
  186. package/cjs/lib/readFileFirstLine.d.ts +0 -5
  187. package/cjs/lib/readFileFirstLine.d.ts.map +0 -1
  188. package/cjs/lib/readFileFirstLine.js +0 -21
  189. package/cjs/lib/readFileFirstLine.js.map +0 -1
  190. package/cjs/lib/readFileSafe.d.ts +0 -14
  191. package/cjs/lib/readFileSafe.d.ts.map +0 -1
  192. package/cjs/lib/readFileSafe.js +0 -26
  193. package/cjs/lib/readFileSafe.js.map +0 -1
  194. package/cjs/lib/readFileSafeSync.d.ts +0 -14
  195. package/cjs/lib/readFileSafeSync.d.ts.map +0 -1
  196. package/cjs/lib/readFileSafeSync.js +0 -26
  197. package/cjs/lib/readFileSafeSync.js.map +0 -1
  198. package/cjs/lib/readFileSync.d.ts +0 -11
  199. package/cjs/lib/readFileSync.d.ts.map +0 -1
  200. package/cjs/lib/readFileSync.js +0 -18
  201. package/cjs/lib/readFileSync.js.map +0 -1
  202. package/cjs/lib/readJsonFile.d.ts +0 -2
  203. package/cjs/lib/readJsonFile.d.ts.map +0 -1
  204. package/cjs/lib/readJsonFile.js +0 -6
  205. package/cjs/lib/readJsonFile.js.map +0 -1
  206. package/cjs/lib/readJsonFileSafe.d.ts +0 -10
  207. package/cjs/lib/readJsonFileSafe.d.ts.map +0 -1
  208. package/cjs/lib/readJsonFileSafe.js +0 -22
  209. package/cjs/lib/readJsonFileSafe.js.map +0 -1
  210. package/cjs/lib/readJsonFileSafeSync.d.ts +0 -10
  211. package/cjs/lib/readJsonFileSafeSync.d.ts.map +0 -1
  212. package/cjs/lib/readJsonFileSafeSync.js +0 -22
  213. package/cjs/lib/readJsonFileSafeSync.js.map +0 -1
  214. package/cjs/lib/readJsonFileSync.d.ts +0 -2
  215. package/cjs/lib/readJsonFileSync.d.ts.map +0 -1
  216. package/cjs/lib/readJsonFileSync.js +0 -6
  217. package/cjs/lib/readJsonFileSync.js.map +0 -1
  218. package/cjs/lib/removeDirectory.d.ts +0 -2
  219. package/cjs/lib/removeDirectory.d.ts.map +0 -1
  220. package/cjs/lib/removeDirectory.js +0 -6
  221. package/cjs/lib/removeDirectory.js.map +0 -1
  222. package/cjs/lib/removeDirectorySync.d.ts +0 -2
  223. package/cjs/lib/removeDirectorySync.d.ts.map +0 -1
  224. package/cjs/lib/removeDirectorySync.js +0 -6
  225. package/cjs/lib/removeDirectorySync.js.map +0 -1
  226. package/cjs/lib/removeFile.d.ts +0 -2
  227. package/cjs/lib/removeFile.d.ts.map +0 -1
  228. package/cjs/lib/removeFile.js +0 -6
  229. package/cjs/lib/removeFile.js.map +0 -1
  230. package/cjs/lib/removeFileSync.d.ts +0 -2
  231. package/cjs/lib/removeFileSync.d.ts.map +0 -1
  232. package/cjs/lib/removeFileSync.js +0 -6
  233. package/cjs/lib/removeFileSync.js.map +0 -1
  234. package/cjs/lib/tempFile.d.ts +0 -7
  235. package/cjs/lib/tempFile.d.ts.map +0 -1
  236. package/cjs/lib/tempFile.js +0 -27
  237. package/cjs/lib/tempFile.js.map +0 -1
  238. package/cjs/lib/tempFileSync.d.ts +0 -7
  239. package/cjs/lib/tempFileSync.d.ts.map +0 -1
  240. package/cjs/lib/tempFileSync.js +0 -27
  241. package/cjs/lib/tempFileSync.js.map +0 -1
  242. package/cjs/lib/types/IGetUserInputFromEditorOptions.d.ts +0 -16
  243. package/cjs/lib/types/IGetUserInputFromEditorOptions.d.ts.map +0 -1
  244. package/cjs/lib/types/IGetUserInputFromEditorOptions.js +0 -3
  245. package/cjs/lib/types/IGetUserInputFromEditorOptions.js.map +0 -1
  246. package/cjs/lib/types/IJFReadOptions.d.ts +0 -2
  247. package/cjs/lib/types/IJFReadOptions.d.ts.map +0 -1
  248. package/cjs/lib/types/IJFReadOptions.js +0 -3
  249. package/cjs/lib/types/IJFReadOptions.js.map +0 -1
  250. package/cjs/lib/types/IJFWriteOptions.d.ts +0 -2
  251. package/cjs/lib/types/IJFWriteOptions.d.ts.map +0 -1
  252. package/cjs/lib/types/IJFWriteOptions.js +0 -3
  253. package/cjs/lib/types/IJFWriteOptions.js.map +0 -1
  254. package/cjs/lib/types/IJsonOutputOptions.d.ts +0 -2
  255. package/cjs/lib/types/IJsonOutputOptions.d.ts.map +0 -1
  256. package/cjs/lib/types/IJsonOutputOptions.js +0 -3
  257. package/cjs/lib/types/IJsonOutputOptions.js.map +0 -1
  258. package/cjs/lib/types/ILogFileData.d.ts +0 -6
  259. package/cjs/lib/types/ILogFileData.d.ts.map +0 -1
  260. package/cjs/lib/types/ILogFileData.js +0 -3
  261. package/cjs/lib/types/ILogFileData.js.map +0 -1
  262. package/cjs/lib/types/IReadJsonFileOptions.d.ts +0 -2
  263. package/cjs/lib/types/IReadJsonFileOptions.d.ts.map +0 -1
  264. package/cjs/lib/types/IReadJsonFileOptions.js +0 -3
  265. package/cjs/lib/types/IReadJsonFileOptions.js.map +0 -1
  266. package/cjs/lib/types/JsonReplacerReviver.d.ts +0 -2
  267. package/cjs/lib/types/JsonReplacerReviver.d.ts.map +0 -1
  268. package/cjs/lib/types/JsonReplacerReviver.js +0 -3
  269. package/cjs/lib/types/JsonReplacerReviver.js.map +0 -1
  270. package/cjs/lib/updateFile.d.ts +0 -11
  271. package/cjs/lib/updateFile.d.ts.map +0 -1
  272. package/cjs/lib/updateFile.js +0 -20
  273. package/cjs/lib/updateFile.js.map +0 -1
  274. package/cjs/lib/updateFileSafe.d.ts +0 -13
  275. package/cjs/lib/updateFileSafe.d.ts.map +0 -1
  276. package/cjs/lib/updateFileSafe.js +0 -28
  277. package/cjs/lib/updateFileSafe.js.map +0 -1
  278. package/cjs/lib/updateFileSafeSync.d.ts +0 -13
  279. package/cjs/lib/updateFileSafeSync.d.ts.map +0 -1
  280. package/cjs/lib/updateFileSafeSync.js +0 -28
  281. package/cjs/lib/updateFileSafeSync.js.map +0 -1
  282. package/cjs/lib/updateFileSync.d.ts +0 -11
  283. package/cjs/lib/updateFileSync.d.ts.map +0 -1
  284. package/cjs/lib/updateFileSync.js +0 -20
  285. package/cjs/lib/updateFileSync.js.map +0 -1
  286. package/cjs/lib/updateJsonFile.d.ts +0 -15
  287. package/cjs/lib/updateJsonFile.d.ts.map +0 -1
  288. package/cjs/lib/updateJsonFile.js +0 -20
  289. package/cjs/lib/updateJsonFile.js.map +0 -1
  290. package/cjs/lib/updateJsonFileSafe.d.ts +0 -17
  291. package/cjs/lib/updateJsonFileSafe.d.ts.map +0 -1
  292. package/cjs/lib/updateJsonFileSafe.js +0 -28
  293. package/cjs/lib/updateJsonFileSafe.js.map +0 -1
  294. package/cjs/lib/updateJsonFileSafeSync.d.ts +0 -17
  295. package/cjs/lib/updateJsonFileSafeSync.d.ts.map +0 -1
  296. package/cjs/lib/updateJsonFileSafeSync.js +0 -28
  297. package/cjs/lib/updateJsonFileSafeSync.js.map +0 -1
  298. package/cjs/lib/updateJsonFileSync.d.ts +0 -15
  299. package/cjs/lib/updateJsonFileSync.d.ts.map +0 -1
  300. package/cjs/lib/updateJsonFileSync.js +0 -20
  301. package/cjs/lib/updateJsonFileSync.js.map +0 -1
  302. package/cjs/lib/writeFile.d.ts +0 -2
  303. package/cjs/lib/writeFile.d.ts.map +0 -1
  304. package/cjs/lib/writeFile.js +0 -6
  305. package/cjs/lib/writeFile.js.map +0 -1
  306. package/cjs/lib/writeFileSafe.d.ts +0 -2
  307. package/cjs/lib/writeFileSafe.d.ts.map +0 -1
  308. package/cjs/lib/writeFileSafe.js +0 -6
  309. package/cjs/lib/writeFileSafe.js.map +0 -1
  310. package/cjs/lib/writeFileSafeSync.d.ts +0 -2
  311. package/cjs/lib/writeFileSafeSync.d.ts.map +0 -1
  312. package/cjs/lib/writeFileSafeSync.js +0 -6
  313. package/cjs/lib/writeFileSafeSync.js.map +0 -1
  314. package/cjs/lib/writeFileSync.d.ts +0 -2
  315. package/cjs/lib/writeFileSync.d.ts.map +0 -1
  316. package/cjs/lib/writeFileSync.js +0 -6
  317. package/cjs/lib/writeFileSync.js.map +0 -1
  318. package/cjs/lib/writeJsonFile.d.ts +0 -2
  319. package/cjs/lib/writeJsonFile.d.ts.map +0 -1
  320. package/cjs/lib/writeJsonFile.js +0 -6
  321. package/cjs/lib/writeJsonFile.js.map +0 -1
  322. package/cjs/lib/writeJsonFileSafe.d.ts +0 -2
  323. package/cjs/lib/writeJsonFileSafe.d.ts.map +0 -1
  324. package/cjs/lib/writeJsonFileSafe.js +0 -6
  325. package/cjs/lib/writeJsonFileSafe.js.map +0 -1
  326. package/cjs/lib/writeJsonFileSafeSync.d.ts +0 -2
  327. package/cjs/lib/writeJsonFileSafeSync.d.ts.map +0 -1
  328. package/cjs/lib/writeJsonFileSafeSync.js +0 -6
  329. package/cjs/lib/writeJsonFileSafeSync.js.map +0 -1
  330. package/cjs/lib/writeJsonFileSync.d.ts +0 -2
  331. package/cjs/lib/writeJsonFileSync.d.ts.map +0 -1
  332. package/cjs/lib/writeJsonFileSync.js +0 -6
  333. package/cjs/lib/writeJsonFileSync.js.map +0 -1
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateJsonFile = void 0;
4
- const tslib_1 = require("tslib");
5
- const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
6
- /**
7
- * Updates a JSON file based on a provided update function.
8
- * The update function takes the file's current source string as a parameter and should return an object.
9
- *
10
- * @param filepath - The path to the file to update.
11
- * @param update - The function to update the file. Takes the parsed source string as a parameter and should return a string.
12
- * @param encoding - The encoding to use when reading and writing the file.
13
- */
14
- async function updateJsonFile(filepath, update, options = {}) {
15
- const parsed = await fs_extra_1.default.readJson(filepath, options.read);
16
- const retval = await update(parsed);
17
- await fs_extra_1.default.writeJson(filepath, retval, options.write || { spaces: 2 });
18
- }
19
- exports.updateJsonFile = updateJsonFile;
20
- //# sourceMappingURL=updateJsonFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateJsonFile.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFile.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAIzB;;;;;;;GAOG;AACI,KAAK,UAAU,cAAc,CAClC,QAAgB,EAChB,MAEiF,EACjF,UAA8D,EAAE;IAEhE,MAAM,MAAM,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;IACxD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,CAAA;IACnC,MAAM,kBAAE,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAA;AACtE,CAAC;AAVD,wCAUC"}
@@ -1,17 +0,0 @@
1
- import { IJFReadOptions } from './types/IJFReadOptions';
2
- import { IJsonOutputOptions } from './types/IJsonOutputOptions';
3
- /**
4
- * Updates a JSON file based on a provided update function.
5
- * The update function takes the file's parsed source string as a parameter and should return an object.
6
- * If the file does not exist or cannot be read, the defaultJson will be used instead.
7
- *
8
- * @param filepath - The path to the file to update.
9
- * @param update - The function to update the file. Takes the current source string as a parameter and should return a string.
10
- * @param defaultJson - The default string to use if the file cannot be read.
11
- * @param encoding - The encoding to use when reading and writing the file.
12
- */
13
- export declare function updateJsonFileSafe(filepath: string, update: (src: Record<string | number, unknown>) => Record<string | number, unknown> | Promise<Record<string | number, unknown>>, defaultJson: string, options?: {
14
- read?: IJFReadOptions;
15
- write?: IJsonOutputOptions;
16
- }): Promise<void>;
17
- //# sourceMappingURL=updateJsonFileSafe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateJsonFileSafe.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSafe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAE/D;;;;;;;;;GASG;AAEH,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,CACN,GAAG,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,KAClC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAC,EACjF,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,kBAAkB,CAAA;CAAO,GAClE,OAAO,CAAC,IAAI,CAAC,CASf"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateJsonFileSafe = void 0;
4
- const tslib_1 = require("tslib");
5
- const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
6
- /**
7
- * Updates a JSON file based on a provided update function.
8
- * The update function takes the file's parsed source string as a parameter and should return an object.
9
- * If the file does not exist or cannot be read, the defaultJson will be used instead.
10
- *
11
- * @param filepath - The path to the file to update.
12
- * @param update - The function to update the file. Takes the current source string as a parameter and should return a string.
13
- * @param defaultJson - The default string to use if the file cannot be read.
14
- * @param encoding - The encoding to use when reading and writing the file.
15
- */
16
- async function updateJsonFileSafe(filepath, update, defaultJson, options = {}) {
17
- let parsed;
18
- try {
19
- parsed = await fs_extra_1.default.readJson(filepath, options.read);
20
- }
21
- catch (e) {
22
- parsed = JSON.parse(defaultJson);
23
- }
24
- const retval = await update(parsed);
25
- await fs_extra_1.default.outputJson(filepath, retval, options.write || { spaces: 2 });
26
- }
27
- exports.updateJsonFileSafe = updateJsonFileSafe;
28
- //# sourceMappingURL=updateJsonFileSafe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateJsonFileSafe.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSafe.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAIzB;;;;;;;;;GASG;AAEI,KAAK,UAAU,kBAAkB,CACtC,QAAgB,EAChB,MAEiF,EACjF,WAAmB,EACnB,UAAiE,EAAE;IAEnE,IAAI,MAAwC,CAAA;IAC5C,IAAI;QACF,MAAM,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;KACnD;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;KACjC;IACD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,CAAA;IACnC,MAAM,kBAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAA;AACvE,CAAC;AAhBD,gDAgBC"}
@@ -1,17 +0,0 @@
1
- import { IJFReadOptions } from './types/IJFReadOptions';
2
- import { IJsonOutputOptions } from './types/IJsonOutputOptions';
3
- /**
4
- * Updates a JSON file based on a provided update function.
5
- * The update function takes the file's parsed source string as a parameter and should return an object.
6
- * If the file does not exist or cannot be read, the defaultJson will be used instead.
7
- *
8
- * @param filepath - The path to the file to update.
9
- * @param update - The function to update the file. Takes the current source string as a parameter and should return a string.
10
- * @param defaultJson - The default string to use if the file cannot be read.
11
- * @param encoding - The encoding to use when reading and writing the file.
12
- */
13
- export declare function updateJsonFileSafeSync(filepath: string, update: (src: Record<string | number, unknown>) => Record<string | number, unknown>, defaultJson: string, options?: {
14
- read?: IJFReadOptions;
15
- write?: IJsonOutputOptions;
16
- }): void;
17
- //# sourceMappingURL=updateJsonFileSafeSync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateJsonFileSafeSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSafeSync.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAE/D;;;;;;;;;GASG;AAEH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EACnF,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,kBAAkB,CAAA;CAAO,GAClE,IAAI,CASN"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateJsonFileSafeSync = void 0;
4
- const tslib_1 = require("tslib");
5
- const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
6
- /**
7
- * Updates a JSON file based on a provided update function.
8
- * The update function takes the file's parsed source string as a parameter and should return an object.
9
- * If the file does not exist or cannot be read, the defaultJson will be used instead.
10
- *
11
- * @param filepath - The path to the file to update.
12
- * @param update - The function to update the file. Takes the current source string as a parameter and should return a string.
13
- * @param defaultJson - The default string to use if the file cannot be read.
14
- * @param encoding - The encoding to use when reading and writing the file.
15
- */
16
- function updateJsonFileSafeSync(filepath, update, defaultJson, options = {}) {
17
- let parsed;
18
- try {
19
- parsed = fs_extra_1.default.readJsonSync(filepath, options.read);
20
- }
21
- catch (e) {
22
- parsed = JSON.parse(defaultJson);
23
- }
24
- const retval = update(parsed);
25
- fs_extra_1.default.outputJsonSync(filepath, retval, options.write || { spaces: 2 });
26
- }
27
- exports.updateJsonFileSafeSync = updateJsonFileSafeSync;
28
- //# sourceMappingURL=updateJsonFileSafeSync.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateJsonFileSafeSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSafeSync.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAIzB;;;;;;;;;GASG;AAEH,SAAgB,sBAAsB,CACpC,QAAgB,EAChB,MAAmF,EACnF,WAAmB,EACnB,UAAiE,EAAE;IAEnE,IAAI,MAAwC,CAAA;IAC5C,IAAI;QACF,MAAM,GAAG,kBAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;KACjD;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;KACjC;IACD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA;IAC7B,kBAAE,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAA;AACrE,CAAC;AAdD,wDAcC"}
@@ -1,15 +0,0 @@
1
- import { IJFReadOptions } from './types/IJFReadOptions';
2
- import { IJFWriteOptions } from './types/IJFWriteOptions';
3
- /**
4
- * Updates a JSON file based on a provided update function.
5
- * The update function takes the file's current source string as a parameter and should return an object.
6
- *
7
- * @param filepath - The path to the file to update.
8
- * @param update - The function to update the file. Takes the parsed source string as a parameter and should return a string.
9
- * @param encoding - The encoding to use when reading and writing the file.
10
- */
11
- export declare function updateJsonFileSync(filepath: string, update: (o: Record<string | number, unknown>) => Record<string | number, unknown>, options?: {
12
- read?: IJFReadOptions;
13
- write?: IJFWriteOptions;
14
- }): void;
15
- //# sourceMappingURL=updateJsonFileSync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateJsonFileSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSync.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAEzD;;;;;;;GAOG;AAEH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EACjF,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,KAAK,CAAC,EAAE,eAAe,CAAA;CAAO,GAC/D,IAAI,CAIN"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateJsonFileSync = void 0;
4
- const tslib_1 = require("tslib");
5
- const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
6
- /**
7
- * Updates a JSON file based on a provided update function.
8
- * The update function takes the file's current source string as a parameter and should return an object.
9
- *
10
- * @param filepath - The path to the file to update.
11
- * @param update - The function to update the file. Takes the parsed source string as a parameter and should return a string.
12
- * @param encoding - The encoding to use when reading and writing the file.
13
- */
14
- function updateJsonFileSync(filepath, update, options = {}) {
15
- const parsed = fs_extra_1.default.readJsonSync(filepath, options.read);
16
- const retval = update(parsed);
17
- fs_extra_1.default.writeJsonSync(filepath, retval, options.write || { spaces: 2 });
18
- }
19
- exports.updateJsonFileSync = updateJsonFileSync;
20
- //# sourceMappingURL=updateJsonFileSync.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateJsonFileSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/updateJsonFileSync.ts"],"names":[],"mappings":";;;;AAAA,gEAAyB;AAIzB;;;;;;;GAOG;AAEH,SAAgB,kBAAkB,CAChC,QAAgB,EAChB,MAAiF,EACjF,UAA8D,EAAE;IAEhE,MAAM,MAAM,GAAG,kBAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;IACtD,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA;IAC7B,kBAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAA;AACpE,CAAC;AARD,gDAQC"}
@@ -1,2 +0,0 @@
1
- export { writeFile } from 'fs-extra';
2
- //# sourceMappingURL=writeFile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeFile.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeFile = void 0;
4
- var fs_extra_1 = require("fs-extra");
5
- Object.defineProperty(exports, "writeFile", { enumerable: true, get: function () { return fs_extra_1.writeFile; } });
6
- //# sourceMappingURL=writeFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeFile.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeFile.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AAA3B,qGAAA,SAAS,OAAA"}
@@ -1,2 +0,0 @@
1
- export { outputFile as writeFileSafe } from 'fs-extra';
2
- //# sourceMappingURL=writeFileSafe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeFileSafe.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeFileSafe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,aAAa,EAAE,MAAM,UAAU,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeFileSafe = void 0;
4
- var fs_extra_1 = require("fs-extra");
5
- Object.defineProperty(exports, "writeFileSafe", { enumerable: true, get: function () { return fs_extra_1.outputFile; } });
6
- //# sourceMappingURL=writeFileSafe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeFileSafe.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeFileSafe.ts"],"names":[],"mappings":";;;AAAA,qCAAsD;AAA7C,yGAAA,UAAU,OAAiB"}
@@ -1,2 +0,0 @@
1
- export { outputFileSync as writeFileSafeSync } from 'fs-extra';
2
- //# sourceMappingURL=writeFileSafeSync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeFileSafeSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeFileSafeSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeFileSafeSync = void 0;
4
- var fs_extra_1 = require("fs-extra");
5
- Object.defineProperty(exports, "writeFileSafeSync", { enumerable: true, get: function () { return fs_extra_1.outputFileSync; } });
6
- //# sourceMappingURL=writeFileSafeSync.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeFileSafeSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeFileSafeSync.ts"],"names":[],"mappings":";;;AAAA,qCAA8D;AAArD,6GAAA,cAAc,OAAqB"}
@@ -1,2 +0,0 @@
1
- export { writeFileSync } from 'fs-extra';
2
- //# sourceMappingURL=writeFileSync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeFileSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeFileSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeFileSync = void 0;
4
- var fs_extra_1 = require("fs-extra");
5
- Object.defineProperty(exports, "writeFileSync", { enumerable: true, get: function () { return fs_extra_1.writeFileSync; } });
6
- //# sourceMappingURL=writeFileSync.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeFileSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeFileSync.ts"],"names":[],"mappings":";;;AAAA,qCAAwC;AAA/B,yGAAA,aAAa,OAAA"}
@@ -1,2 +0,0 @@
1
- export { writeJson as writeJsonFile } from 'fs-extra';
2
- //# sourceMappingURL=writeJsonFile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeJsonFile.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeJsonFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,UAAU,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeJsonFile = void 0;
4
- var fs_extra_1 = require("fs-extra");
5
- Object.defineProperty(exports, "writeJsonFile", { enumerable: true, get: function () { return fs_extra_1.writeJson; } });
6
- //# sourceMappingURL=writeJsonFile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeJsonFile.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeJsonFile.ts"],"names":[],"mappings":";;;AAAA,qCAAqD;AAA5C,yGAAA,SAAS,OAAiB"}
@@ -1,2 +0,0 @@
1
- export { outputJson as writeJsonFileSafe } from 'fs-extra';
2
- //# sourceMappingURL=writeJsonFileSafe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeJsonFileSafe.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeJsonFileSafe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeJsonFileSafe = void 0;
4
- var fs_extra_1 = require("fs-extra");
5
- Object.defineProperty(exports, "writeJsonFileSafe", { enumerable: true, get: function () { return fs_extra_1.outputJson; } });
6
- //# sourceMappingURL=writeJsonFileSafe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeJsonFileSafe.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeJsonFileSafe.ts"],"names":[],"mappings":";;;AAAA,qCAA0D;AAAjD,6GAAA,UAAU,OAAqB"}
@@ -1,2 +0,0 @@
1
- export { outputJsonSync as writeJsonFileSafeSync } from 'fs-extra';
2
- //# sourceMappingURL=writeJsonFileSafeSync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeJsonFileSafeSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeJsonFileSafeSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,qBAAqB,EAAE,MAAM,UAAU,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeJsonFileSafeSync = void 0;
4
- var fs_extra_1 = require("fs-extra");
5
- Object.defineProperty(exports, "writeJsonFileSafeSync", { enumerable: true, get: function () { return fs_extra_1.outputJsonSync; } });
6
- //# sourceMappingURL=writeJsonFileSafeSync.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeJsonFileSafeSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeJsonFileSafeSync.ts"],"names":[],"mappings":";;;AAAA,qCAAkE;AAAzD,iHAAA,cAAc,OAAyB"}
@@ -1,2 +0,0 @@
1
- export { writeJsonSync as writeJsonFileSync } from 'fs-extra';
2
- //# sourceMappingURL=writeJsonFileSync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeJsonFileSync.d.ts","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeJsonFileSync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.writeJsonFileSync = void 0;
4
- var fs_extra_1 = require("fs-extra");
5
- Object.defineProperty(exports, "writeJsonFileSync", { enumerable: true, get: function () { return fs_extra_1.writeJsonSync; } });
6
- //# sourceMappingURL=writeJsonFileSync.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"writeJsonFileSync.js","sourceRoot":"","sources":["../../../../../packages/fs/src/lib/writeJsonFileSync.ts"],"names":[],"mappings":";;;AAAA,qCAA6D;AAApD,6GAAA,aAAa,OAAqB"}