@naturalcycles/backend-lib 4.7.0 → 4.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/backend-lib",
3
- "version": "4.7.0",
3
+ "version": "4.7.1",
4
4
  "scripts": {
5
5
  "prepare": "husky install && patch-package",
6
6
  "serve": "APP_ENV=dev nodemon",
@@ -31,7 +31,7 @@
31
31
  "express-promise-router": "^4.0.0",
32
32
  "firebase-admin": "^11.0.0",
33
33
  "fs-extra": "^10.0.0",
34
- "helmet": "^5.0.0",
34
+ "helmet": "^6.0.0",
35
35
  "js-yaml": "^4.0.0",
36
36
  "on-finished": "^2.3.0",
37
37
  "simple-git": "^3.0.3",
@@ -44,15 +44,15 @@
44
44
  "@types/ejs": "^3.0.0",
45
45
  "@types/js-yaml": "^4.0.0",
46
46
  "@types/node": "^18.0.0",
47
+ "@types/yargs": "^16.0.0",
47
48
  "fastify": "^4.0.0",
48
- "jest": "^28.0.3",
49
+ "jest": "^29.0.1",
49
50
  "nodemon": "^2.0.14",
50
51
  "patch-package": "^6.2.1",
51
52
  "prettier": "^2.0.0",
52
53
  "vue-class-component": "^7.2.6",
53
54
  "vuepress": "^1.7.1",
54
- "vuepress-plugin-typescript": "^0.3.1",
55
- "weak-napi": "^2.0.0"
55
+ "vuepress-plugin-typescript": "^0.3.1"
56
56
  },
57
57
  "resolutions": {
58
58
  "prettier": "^2.0.0"
@@ -2,7 +2,6 @@ import * as fs from 'fs'
2
2
  import { _mapValues, _merge, _truncate, localTime } from '@naturalcycles/js-lib'
3
3
  import { dimGrey, white } from '@naturalcycles/nodejs-lib/dist/colors'
4
4
  import * as yaml from 'js-yaml'
5
- import type * as simpleGitLib from 'simple-git/promise'
6
5
  import { BackendCfg } from './backend.cfg.util'
7
6
  import { AppYaml, DeployInfo } from './deploy.model'
8
7
 
@@ -40,7 +39,7 @@ export async function createAndSaveDeployInfo(
40
39
  }
41
40
 
42
41
  export async function createDeployInfo(backendCfg: BackendCfg): Promise<DeployInfo> {
43
- const simpleGit = require('simple-git') as typeof simpleGitLib // lazy load
42
+ const simpleGit = require('simple-git') // lazy load
44
43
  const git = simpleGit('.')
45
44
 
46
45
  const now = localTime()