@naturalcycles/nodejs-lib 13.4.0 → 13.5.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.
@@ -39,6 +39,8 @@ export declare const fs2: {
39
39
  copyPathSync: typeof _copyPathSync;
40
40
  movePath: typeof _movePath;
41
41
  movePathSync: typeof _movePathSync;
42
+ statAsync: typeof fs.promises.stat;
43
+ mkdirAsync: typeof fs.promises.mkdir;
42
44
  link: typeof fs.link;
43
45
  open: typeof fs.open;
44
46
  truncate: typeof fs.truncate;
@@ -61,6 +61,8 @@ exports.fs2 = {
61
61
  copyPathSync: _copyPathSync,
62
62
  movePath: _movePath,
63
63
  movePathSync: _movePathSync,
64
+ statAsync: promises_1.default.stat,
65
+ mkdirAsync: promises_1.default.mkdir,
64
66
  };
65
67
  /**
66
68
  * Convenience wrapper that defaults to utf-8 string output.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "13.4.0",
3
+ "version": "13.5.0",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "docs-serve": "vuepress dev docs",
package/src/fs/fs.util.ts CHANGED
@@ -59,6 +59,8 @@ export const fs2 = {
59
59
  copyPathSync: _copyPathSync,
60
60
  movePath: _movePath,
61
61
  movePathSync: _movePathSync,
62
+ statAsync: fsp.stat,
63
+ mkdirAsync: fsp.mkdir,
62
64
  }
63
65
 
64
66
  export interface JsonOptions {