git-truck 1.4.2 → 1.4.3
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/build/index.js +2 -2
- package/cli.js +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -48122,7 +48122,7 @@ var import_perf_hooks = require("perf_hooks"), import_path2 = require("path");
|
|
|
48122
48122
|
// package.json
|
|
48123
48123
|
var package_default = {
|
|
48124
48124
|
name: "git-truck",
|
|
48125
|
-
version: "1.4.
|
|
48125
|
+
version: "1.4.3",
|
|
48126
48126
|
private: !1,
|
|
48127
48127
|
description: "Visualizing a Git repository",
|
|
48128
48128
|
license: "MIT",
|
|
@@ -52456,7 +52456,7 @@ function addAuthorUnionRec(tree, authorUnions) {
|
|
|
52456
52456
|
// src/analyzer/analyze.server.ts
|
|
52457
52457
|
var repoDir = ".";
|
|
52458
52458
|
async function analyzeCommitLight(hash) {
|
|
52459
|
-
let rawContent = await GitCaller.getInstance().catFileCached(hash), match = /tree (?<tree>.*)\s*(?:parent (?<parent>.*)\s*)?(?:parent (?<parent2>.*)\s*)?author (?<authorName>.*?) <(?<authorEmail>.*?)> (?<authorTimeStamp>\d*?) (?<authorTimeZone>.*?)\s*committer (?<committerName>.*?) <(?<committerEmail>.*?)> (?<committerTimeStamp>\d*?) (?<committerTimeZone>.*)\s*(?:gpgsig (?:.|\s)*?-----END PGP SIGNATURE-----)?\s*(?<message>.*)\s*(?<description>(?:.|\s)*)/gm.exec(rawContent), groups = (match == null ? void 0 : match.groups) ?? {}, tree = groups.tree, parent = groups.parent ?? emptyGitCommitHash, parent2 = groups.parent2 ?? null, author = {
|
|
52459
|
+
let rawContent = await GitCaller.getInstance().catFileCached(hash), match = /tree (?<tree>.*)\s*(?:parent (?<parent>.*)\s*)?(?:parent (?<parent2>.*)\s*)?author (?<authorName>.*?) <(?<authorEmail>.*?)> (?<authorTimeStamp>\d*?) (?<authorTimeZone>.*?)\s*committer (?<committerName>.*?) <(?<committerEmail>.*?)> (?<committerTimeStamp>\d*?) (?<committerTimeZone>.*)\s*(?:gpgsig (?:.|\s)*?-----END (?:PGP SIGNATURE|SIGNED MESSAGE)-----)?\s*(?<message>.*)\s*(?<description>(?:.|\s)*)/gm.exec(rawContent), groups = (match == null ? void 0 : match.groups) ?? {}, tree = groups.tree, parent = groups.parent ?? emptyGitCommitHash, parent2 = groups.parent2 ?? null, author = {
|
|
52460
52460
|
name: groups.authorName,
|
|
52461
52461
|
email: groups.authorEmail,
|
|
52462
52462
|
timestamp: Number(groups.authorTimeStamp),
|
package/cli.js
CHANGED
|
@@ -48988,7 +48988,7 @@ var import_path5 = __toESM(require("path"));
|
|
|
48988
48988
|
// package.json
|
|
48989
48989
|
var package_default = {
|
|
48990
48990
|
name: "git-truck",
|
|
48991
|
-
version: "1.4.
|
|
48991
|
+
version: "1.4.3",
|
|
48992
48992
|
private: false,
|
|
48993
48993
|
description: "Visualizing a Git repository",
|
|
48994
48994
|
license: "MIT",
|