@naturalcycles/nodejs-lib 13.28.0 → 13.28.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.
@@ -6,7 +6,7 @@ const fs2_1 = require("../fs/fs2");
6
6
  const git_util_1 = require("./git.util");
7
7
  function generateBuildInfo(opt = {}) {
8
8
  const now = js_lib_1.localTime.orNow(opt.overrideTimestamp);
9
- const ts = now.unix();
9
+ const ts = now.unix;
10
10
  const rev = (0, git_util_1.gitCurrentCommitSha)();
11
11
  const branchName = (0, git_util_1.gitCurrentBranchName)();
12
12
  const repoName = (0, git_util_1.gitCurrentRepoName)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "13.28.0",
3
+ "version": "13.28.1",
4
4
  "scripts": {
5
5
  "prepare": "husky",
6
6
  "docs-serve": "vuepress dev docs",
@@ -14,7 +14,7 @@
14
14
  "json2env-debug": "tsn ./src/bin/json2env.ts ./src/test/someFile.json"
15
15
  },
16
16
  "dependencies": {
17
- "@naturalcycles/js-lib": "^14.0.0",
17
+ "@naturalcycles/js-lib": "^14.244.0",
18
18
  "@types/js-yaml": "^4.0.9",
19
19
  "@types/jsonwebtoken": "^9.0.0",
20
20
  "@types/through2-concurrent": "^2.0.0",
@@ -22,7 +22,7 @@ export interface GenerateBuildInfoOptions {
22
22
 
23
23
  export function generateBuildInfo(opt: GenerateBuildInfoOptions = {}): BuildInfo {
24
24
  const now = localTime.orNow(opt.overrideTimestamp)
25
- const ts = now.unix()
25
+ const ts = now.unix
26
26
 
27
27
  const rev = gitCurrentCommitSha()
28
28
  const branchName = gitCurrentBranchName()