dsh-plugin-core-demo 0.20.5 → 0.20.7

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.
Files changed (3) hide show
  1. package/dist/client.js +1884 -1766
  2. package/dist/index.js +3 -3
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -893,7 +893,7 @@ var init_lib2 = __esm({
893
893
  });
894
894
 
895
895
  // dist/host/fs-route.js
896
- import { access, lstat, open, readdir, stat } from "node:fs/promises";
896
+ import { access, open, readdir, stat } from "node:fs/promises";
897
897
  import { isAbsolute, join, normalize, sep } from "node:path";
898
898
  var FS_PAGE_LIMIT = 500;
899
899
  var READ_LINES = 5e3;
@@ -929,7 +929,7 @@ function normalizeAbsPath(raw) {
929
929
  async function listDir(target, offset, limit) {
930
930
  let info;
931
931
  try {
932
- info = await lstat(target);
932
+ info = await stat(target);
933
933
  } catch (error) {
934
934
  return fail(errCode(error), `no entry at ${target}`);
935
935
  }
@@ -953,7 +953,7 @@ async function listDir(target, offset, limit) {
953
953
  for (const name2 of page) {
954
954
  const child = join(target, name2);
955
955
  try {
956
- const childInfo = await lstat(child);
956
+ const childInfo = await stat(child);
957
957
  entries.push({
958
958
  name: name2,
959
959
  type: childInfo.isDirectory() ? "directory" : childInfo.isFile() ? "file" : "other",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-core-demo",
3
- "version": "0.20.5",
3
+ "version": "0.20.7",
4
4
  "description": "The shared UI foundation for DSH plugins, with a live component preview: design tokens, common controls, workspace browsing and notifications maintained in one place — install it to preview every component in a real host.",
5
5
  "icon": "./assets/icon-components.svg",
6
6
  "keywords": [