document-cli 5.12.11 → 5.12.13

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
@@ -1195,7 +1195,7 @@ function registerSetMetadataCommand(program) {
1195
1195
  }
1196
1196
  //#endregion
1197
1197
  //#region package.json
1198
- var version = "5.12.11";
1198
+ var version = "5.12.13";
1199
1199
  //#endregion
1200
1200
  //#region src/program.ts
1201
1201
  function createProgram() {
@@ -1223,7 +1223,7 @@ function createProgram() {
1223
1223
  //#region src/cli-main.ts
1224
1224
  async function launchTui(startPath, signal) {
1225
1225
  try {
1226
- const { runTui } = await import("./tui-y8MLtP8W.js");
1226
+ const { runTui } = await import("./tui-BXX7R8xz.js");
1227
1227
  await runTui({
1228
1228
  startPath,
1229
1229
  signal
package/dist/index.cjs CHANGED
@@ -1546,7 +1546,7 @@ function registerSetMetadataCommand(program) {
1546
1546
  }
1547
1547
  //#endregion
1548
1548
  //#region package.json
1549
- var version = "5.12.11";
1549
+ var version = "5.12.13";
1550
1550
  //#endregion
1551
1551
  //#region src/program.ts
1552
1552
  function createProgram() {
package/dist/index.js CHANGED
@@ -1545,7 +1545,7 @@ function registerSetMetadataCommand(program) {
1545
1545
  }
1546
1546
  //#endregion
1547
1547
  //#region package.json
1548
- var version = "5.12.11";
1548
+ var version = "5.12.13";
1549
1549
  //#endregion
1550
1550
  //#region src/program.ts
1551
1551
  function createProgram() {
@@ -9414,7 +9414,7 @@ function FilePickerScreen() {
9414
9414
  const isActive = !anyOverlayOpen(state);
9415
9415
  const { entries: rawEntries, error: listError } = readEntries(currentDir);
9416
9416
  const query = state.searchQuery.trim().toLowerCase();
9417
- const filtered = query === "" ? rawEntries : rawEntries.filter((entry) => entry.name.toLowerCase().includes(query));
9417
+ const filtered = rawEntries.filter((entry) => entry.name.toLowerCase().includes(query));
9418
9418
  const displayEntries = dirname(currentDir) !== currentDir ? [PARENT_ENTRY, ...filtered] : filtered;
9419
9419
  function openAtPath(path) {
9420
9420
  (async () => {
@@ -9511,10 +9511,6 @@ function FilePickerScreen() {
9511
9511
  onSelect: (index) => {
9512
9512
  const entry = displayEntries[index];
9513
9513
  if (entry === void 0) return;
9514
- if (entry.name === "..") {
9515
- setCurrentDir(dirname(currentDir));
9516
- return;
9517
- }
9518
9514
  const fullPath = join(currentDir, entry.name);
9519
9515
  if (entry.isDirectory) {
9520
9516
  setCurrentDir(fullPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-cli",
3
- "version": "5.12.11",
3
+ "version": "5.12.13",
4
4
  "description": "CLI and interactive Ink TUI for documents.js: every docx/pptx/odt/odp/ods/odg/odf/pdf/odm/odb/xlsx/csv/svg/markdown/rtf conversion, bridge, and editor as a scriptable command or a terminal app.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -92,9 +92,9 @@
92
92
  "packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
93
93
  "dependencies": {
94
94
  "commander": "15.0.0",
95
- "document-outline.js": "3.10.5",
95
+ "document-outline.js": "3.10.6",
96
96
  "document-schema.js": "7.15.0",
97
- "documents.js": "14.4.2",
97
+ "documents.js": "14.4.4",
98
98
  "ink": "7.1.1",
99
99
  "ink-text-input": "6.0.0",
100
100
  "react": "19.2.8"