repo-dive 0.16.2 → 0.16.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/dist/cli.js
CHANGED
|
@@ -6,10 +6,8 @@ import * as NodeCrypto from "node:crypto";
|
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import * as NFS from "node:fs";
|
|
8
8
|
import { existsSync, mkdirSync, statSync } from "node:fs";
|
|
9
|
-
import * as OS from "node:os";
|
|
10
|
-
import
|
|
11
|
-
import * as Path from "node:path";
|
|
12
|
-
import path from "node:path";
|
|
9
|
+
import os, * as OS from "node:os";
|
|
10
|
+
import path, * as Path from "node:path";
|
|
13
11
|
import { DatabaseSync } from "node:sqlite";
|
|
14
12
|
import * as NodeUrl from "node:url";
|
|
15
13
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -26043,7 +26041,7 @@ var concatTokens = (prevTokens, nextTokens, isSeparated) => isSeparated || prevT
|
|
|
26043
26041
|
...nextTokens.slice(1)
|
|
26044
26042
|
];
|
|
26045
26043
|
//#endregion
|
|
26046
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.
|
|
26044
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.2_effect@4.0.0/node_modules/@effect/platform-node-shared/dist/internal/nodeChildProcessSpawner.js
|
|
26047
26045
|
var buildSpawnOptions = (options, base, platform) => {
|
|
26048
26046
|
const detached = options.detached ?? platform !== "win32";
|
|
26049
26047
|
return {
|
|
@@ -26054,7 +26052,7 @@ var buildSpawnOptions = (options, base, platform) => {
|
|
|
26054
26052
|
};
|
|
26055
26053
|
};
|
|
26056
26054
|
//#endregion
|
|
26057
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.
|
|
26055
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.2_effect@4.0.0/node_modules/@effect/platform-node-shared/dist/internal/utils.js
|
|
26058
26056
|
/** @internal */
|
|
26059
26057
|
var handleErrnoException = (module, method) => (err, [path]) => {
|
|
26060
26058
|
let reason = "Unknown";
|
|
@@ -26089,12 +26087,13 @@ var handleErrnoException = (module, method) => (err, [path]) => {
|
|
|
26089
26087
|
});
|
|
26090
26088
|
};
|
|
26091
26089
|
//#endregion
|
|
26092
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.
|
|
26090
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.2_effect@4.0.0/node_modules/@effect/platform-node-shared/dist/NodeSink.js
|
|
26093
26091
|
/**
|
|
26094
26092
|
* Creates a `Sink` that writes chunks to a Node writable stream, respecting
|
|
26095
26093
|
* backpressure, mapping writable errors with `onError`, and ending the stream
|
|
26096
26094
|
* on completion unless `endOnDone` is `false`.
|
|
26097
26095
|
*
|
|
26096
|
+
* @stability unstable
|
|
26098
26097
|
* @category constructors
|
|
26099
26098
|
* @since 4.0.0
|
|
26100
26099
|
*/
|
|
@@ -26104,6 +26103,7 @@ var fromWritable = (options) => fromChannel$1(mapDone(fromWritableChannel(option
|
|
|
26104
26103
|
* Node writable stream, respecting backpressure and optionally ending the
|
|
26105
26104
|
* writable when upstream is done.
|
|
26106
26105
|
*
|
|
26106
|
+
* @stability unstable
|
|
26107
26107
|
* @category constructors
|
|
26108
26108
|
* @since 4.0.0
|
|
26109
26109
|
*/
|
|
@@ -26128,6 +26128,7 @@ var fromWritableChannel = (options) => fromTransform$1((pull) => {
|
|
|
26128
26128
|
* The loop waits for `drain` when needed, fails on writable errors, and ends
|
|
26129
26129
|
* the writable on upstream completion unless `endOnDone` is `false`.
|
|
26130
26130
|
*
|
|
26131
|
+
* @stability unstable
|
|
26131
26132
|
* @category converting
|
|
26132
26133
|
* @since 4.0.0
|
|
26133
26134
|
*/
|
|
@@ -26169,7 +26170,7 @@ var pullIntoWritable = (options) => options.pull.pipe(flatMap$1((chunk) => {
|
|
|
26169
26170
|
});
|
|
26170
26171
|
})));
|
|
26171
26172
|
//#endregion
|
|
26172
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.
|
|
26173
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.2_effect@4.0.0/node_modules/@effect/platform-node-shared/dist/NodeStream.js
|
|
26173
26174
|
/**
|
|
26174
26175
|
* Adapters between Node streams and Effect streams, channels, and readables.
|
|
26175
26176
|
*
|
|
@@ -26179,6 +26180,7 @@ var pullIntoWritable = (options) => options.pull.pipe(flatMap$1((chunk) => {
|
|
|
26179
26180
|
* `Readable`, and collects readable payloads into strings, array buffers, or
|
|
26180
26181
|
* `Uint8Array`s with optional byte limits.
|
|
26181
26182
|
*
|
|
26183
|
+
* @stability unstable
|
|
26182
26184
|
* @since 4.0.0
|
|
26183
26185
|
*/
|
|
26184
26186
|
/**
|
|
@@ -26186,6 +26188,7 @@ var pullIntoWritable = (options) => options.pull.pipe(flatMap$1((chunk) => {
|
|
|
26186
26188
|
* an optional chunk size, mapping stream errors with `onError`, and destroying
|
|
26187
26189
|
* the readable on completion unless `closeOnDone` is `false`.
|
|
26188
26190
|
*
|
|
26191
|
+
* @stability unstable
|
|
26189
26192
|
* @category constructors
|
|
26190
26193
|
* @since 4.0.0
|
|
26191
26194
|
*/
|
|
@@ -26195,6 +26198,7 @@ var fromReadable = (options) => fromChannel(fromReadableChannel(options));
|
|
|
26195
26198
|
* errors with `onError` and destroying the readable on completion unless
|
|
26196
26199
|
* `closeOnDone` is `false`.
|
|
26197
26200
|
*
|
|
26201
|
+
* @stability unstable
|
|
26198
26202
|
* @category constructors
|
|
26199
26203
|
* @since 4.0.0
|
|
26200
26204
|
*/
|
|
@@ -26249,7 +26253,7 @@ var readableToPullUnsafe = (options) => {
|
|
|
26249
26253
|
};
|
|
26250
26254
|
var defaultOnError = (error) => new UnknownError$1(error);
|
|
26251
26255
|
//#endregion
|
|
26252
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.
|
|
26256
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.2_effect@4.0.0/node_modules/@effect/platform-node-shared/dist/NodeChildProcessSpawner.js
|
|
26253
26257
|
var toError = (error) => error instanceof globalThis.Error ? error : new globalThis.Error(String(error));
|
|
26254
26258
|
var toPlatformError = (method, error, command) => {
|
|
26255
26259
|
const { commands } = flattenCommand(command);
|
|
@@ -26281,6 +26285,7 @@ var taskkill = (childProcess, onExit = () => {}) => NodeChildProcess.execFile("t
|
|
|
26281
26285
|
/**
|
|
26282
26286
|
* Layer that provides the `NodeChildProcessSpawner` implementation.
|
|
26283
26287
|
*
|
|
26288
|
+
* @stability unstable
|
|
26284
26289
|
* @category layers
|
|
26285
26290
|
* @since 4.0.0
|
|
26286
26291
|
*/
|
|
@@ -26545,7 +26550,7 @@ var layer$12 = /*#__PURE__*/ effect(ChildProcessSpawner, /* @__PURE__ */ gen(fun
|
|
|
26545
26550
|
}, process.platform)), fnUntraced(function* ([childProcess, exitSignal]) {
|
|
26546
26551
|
if (yield* isDone$1(exitSignal)) {
|
|
26547
26552
|
const [code] = yield* _await(exitSignal);
|
|
26548
|
-
if (code !== 0 && isNotNull(code)) yield* ignore$1(
|
|
26553
|
+
if (code !== 0 && isNotNull(code)) yield* ignore$1(terminateProcessGroup(cmd, childProcess, exitSignal, cmd.options));
|
|
26549
26554
|
else if (isReferenced && process.platform !== "win32" && cmd.options.detached !== false) yield* ignore$1(terminateProcessGroup(cmd, childProcess, exitSignal, cmd.options));
|
|
26550
26555
|
return;
|
|
26551
26556
|
}
|
|
@@ -26662,6 +26667,7 @@ var layer$12 = /*#__PURE__*/ effect(ChildProcessSpawner, /* @__PURE__ */ gen(fun
|
|
|
26662
26667
|
* Flattens a `Command` into an array of `StandardCommand`s along with pipe
|
|
26663
26668
|
* options for each connection.
|
|
26664
26669
|
*
|
|
26670
|
+
* @stability unstable
|
|
26665
26671
|
* @category transforming
|
|
26666
26672
|
* @since 4.0.0
|
|
26667
26673
|
*/
|
|
@@ -34494,7 +34500,7 @@ var validateSize = (method, size) => Number.isSafeInteger(size) && size >= 0 ? s
|
|
|
34494
34500
|
description: "size must be a non-negative safe integer"
|
|
34495
34501
|
}));
|
|
34496
34502
|
//#endregion
|
|
34497
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.
|
|
34503
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.2_effect@4.0.0/node_modules/@effect/platform-node-shared/dist/NodeCrypto.js
|
|
34498
34504
|
/**
|
|
34499
34505
|
* Node-compatible implementation of Effect's `Crypto` service.
|
|
34500
34506
|
*
|
|
@@ -34503,6 +34509,7 @@ var validateSize = (method, size) => Number.isSafeInteger(size) && size >= 0 ? s
|
|
|
34503
34509
|
* `make` as the concrete service value and `layer` for providing it through
|
|
34504
34510
|
* Effect context.
|
|
34505
34511
|
*
|
|
34512
|
+
* @stability unstable
|
|
34506
34513
|
* @since 1.0.0
|
|
34507
34514
|
*/
|
|
34508
34515
|
var toHashAlgorithm = (algorithm) => {
|
|
@@ -34549,7 +34556,7 @@ var layer$10 = /* @__PURE__ */ succeed$5(Crypto, /* @__PURE__ */ make$12({
|
|
|
34549
34556
|
digest
|
|
34550
34557
|
}));
|
|
34551
34558
|
//#endregion
|
|
34552
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.
|
|
34559
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.2_effect@4.0.0/node_modules/@effect/platform-node-shared/dist/NodeFileSystem.js
|
|
34553
34560
|
/**
|
|
34554
34561
|
* Shared Node-compatible implementation of Effect's `FileSystem` service.
|
|
34555
34562
|
*
|
|
@@ -34559,6 +34566,7 @@ var layer$10 = /* @__PURE__ */ succeed$5(Crypto, /* @__PURE__ */ make$12({
|
|
|
34559
34566
|
* links, metadata, temporary files and directories, and file watching through
|
|
34560
34567
|
* the shared `FileSystem` service.
|
|
34561
34568
|
*
|
|
34569
|
+
* @stability unstable
|
|
34562
34570
|
* @since 4.0.0
|
|
34563
34571
|
*/
|
|
34564
34572
|
var handleBadArgument = (method) => (err) => badArgument({
|
|
@@ -34942,7 +34950,7 @@ var makeFileSystem = /*#__PURE__*/ map$6(/*#__PURE__*/ serviceOption(WatchBacken
|
|
|
34942
34950
|
*/
|
|
34943
34951
|
var layer$8 = /* @__PURE__ */ effect(FileSystem)(makeFileSystem);
|
|
34944
34952
|
//#endregion
|
|
34945
|
-
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.
|
|
34953
|
+
//#region node_modules/.pnpm/@effect+platform-node-shared@4.0.2_effect@4.0.0/node_modules/@effect/platform-node-shared/dist/NodePath.js
|
|
34946
34954
|
/**
|
|
34947
34955
|
* Node-backed provider for Effect's `Path` service.
|
|
34948
34956
|
*
|
|
@@ -34951,6 +34959,7 @@ var layer$8 = /* @__PURE__ */ effect(FileSystem)(makeFileSystem);
|
|
|
34951
34959
|
* `layerWin32` provide fixed POSIX and Windows variants. All three layers also
|
|
34952
34960
|
* include helpers for converting between file paths and file URLs.
|
|
34953
34961
|
*
|
|
34962
|
+
* @stability unstable
|
|
34954
34963
|
* @since 4.0.0
|
|
34955
34964
|
*/
|
|
34956
34965
|
var fileUrlOps = (windows) => ({
|
|
@@ -35140,6 +35149,7 @@ var make$10 = (impl) => Terminal.of({
|
|
|
35140
35149
|
* Provides the default process-backed `Terminal` service, ending key input on
|
|
35141
35150
|
* Ctrl+C or Ctrl+D.
|
|
35142
35151
|
*
|
|
35152
|
+
* @stability unstable
|
|
35143
35153
|
* @category layers
|
|
35144
35154
|
* @since 4.0.0
|
|
35145
35155
|
*/
|
|
@@ -42739,7 +42749,7 @@ var runWith = (command, config) => {
|
|
|
42739
42749
|
};
|
|
42740
42750
|
var package_default = {
|
|
42741
42751
|
name: "repo-dive",
|
|
42742
|
-
version: "0.16.
|
|
42752
|
+
version: "0.16.3",
|
|
42743
42753
|
description: "Dive into a git repo's history: per-commit snapshots, an indexed metrics catalog and an interactive dashboard",
|
|
42744
42754
|
keywords: [
|
|
42745
42755
|
"git",
|
|
@@ -42808,7 +42818,7 @@ var package_default = {
|
|
|
42808
42818
|
"lint-staged": { "**": ["prettier --ignore-unknown --write"] },
|
|
42809
42819
|
prettier: "@kachkaev/prettier-config",
|
|
42810
42820
|
devDependencies: {
|
|
42811
|
-
"@babel/core": "8.0.
|
|
42821
|
+
"@babel/core": "8.0.7",
|
|
42812
42822
|
"@base-ui/react": "1.8.0",
|
|
42813
42823
|
"@changesets/changelog-github": "1.0.1",
|
|
42814
42824
|
"@changesets/cli": "3.0.3",
|
|
@@ -42823,7 +42833,7 @@ var package_default = {
|
|
|
42823
42833
|
"@tsconfig/node-ts": "23.6.4",
|
|
42824
42834
|
"@tsconfig/strictest": "2.0.8",
|
|
42825
42835
|
"@types/babel__core": "7.20.5",
|
|
42826
|
-
"@types/node": "26.6.
|
|
42836
|
+
"@types/node": "26.6.5",
|
|
42827
42837
|
"@types/react": "19.3.0",
|
|
42828
42838
|
"@types/react-dom": "19.3.0",
|
|
42829
42839
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
@@ -42833,7 +42843,7 @@ var package_default = {
|
|
|
42833
42843
|
"@visx/group": "4.0.0",
|
|
42834
42844
|
"@visx/scale": "4.0.0",
|
|
42835
42845
|
"@visx/shape": "4.0.0",
|
|
42836
|
-
"@vitejs/plugin-react": "6.1.
|
|
42846
|
+
"@vitejs/plugin-react": "6.1.2",
|
|
42837
42847
|
"babel-plugin-react-compiler": "1.0.0",
|
|
42838
42848
|
"class-variance-authority": "0.7.1",
|
|
42839
42849
|
"cspell": "10.3.6",
|
|
@@ -42846,13 +42856,13 @@ var package_default = {
|
|
|
42846
42856
|
"lucide-react": "1.52.0",
|
|
42847
42857
|
"markdownlint-cli": "0.49.1",
|
|
42848
42858
|
"npm-run-all2": "9.0.3",
|
|
42849
|
-
"prettier": "3.9.
|
|
42859
|
+
"prettier": "3.9.10",
|
|
42850
42860
|
"react": "19.3.0",
|
|
42851
42861
|
"react-dom": "19.3.0",
|
|
42852
42862
|
"tailwind-merge": "3.7.0",
|
|
42853
42863
|
"tailwindcss": "4.3.3",
|
|
42854
42864
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
42855
|
-
"vite": "8.3.
|
|
42865
|
+
"vite": "8.3.4",
|
|
42856
42866
|
"vitest": "5.0.3",
|
|
42857
42867
|
"yaml": "2.9.1"
|
|
42858
42868
|
},
|