@naturalcycles/backend-lib 4.5.1 → 4.5.2

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.
@@ -32,7 +32,7 @@ async function createAndSaveDeployInfo(backendCfg, targetDir) {
32
32
  }
33
33
  exports.createAndSaveDeployInfo = createAndSaveDeployInfo;
34
34
  async function createDeployInfo(backendCfg) {
35
- const simpleGit = require('simple-git/promise'); // lazy load
35
+ const simpleGit = require('simple-git'); // lazy load
36
36
  const git = simpleGit('.');
37
37
  const now = (0, js_lib_1.localTime)();
38
38
  const gitBranch = (await git.status()).current;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/backend-lib",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "scripts": {
5
5
  "prepare": "husky install && patch-package",
6
6
  "serve": "APP_ENV=dev nodemon",
@@ -40,7 +40,7 @@ export async function createAndSaveDeployInfo(
40
40
  }
41
41
 
42
42
  export async function createDeployInfo(backendCfg: BackendCfg): Promise<DeployInfo> {
43
- const simpleGit = require('simple-git/promise') as typeof simpleGitLib // lazy load
43
+ const simpleGit = require('simple-git') as typeof simpleGitLib // lazy load
44
44
  const git = simpleGit('.')
45
45
 
46
46
  const now = localTime()