Replace @std/path with path-browserify

This commit is contained in:
Alex Gleason committed 2025-09-20 11:24:33 -05:00
1 parent ace3e0b3ac
commit c5f74ceafc
28 files changed
+26 -42

No files matched your search

-15
View File
@@ -43,7 +43,6 @@
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"@std/encoding": "npm:@jsr/std__encoding@^1.0.10",
"@std/path": "npm:@jsr/std__path@^1.1.1",
"@tanstack/react-query": "^5.56.2",
"@unhead/addons": "^2.0.10",
"@unhead/react": "^2.0.10",
@@ -1251,11 +1250,6 @@
"resolved": "https://npm.jsr.io/~/11/@jsr/std__encoding/0.224.3.tgz",
"integrity": "sha512-zAuX2QV1zwJ5RSmrnDGVerAtN3pBXpYYNlGzhERW9AiQ1UJd2/xruyB3i5NdTWy2OK2pjETswOj+0+prYTPlxQ=="
},
"node_modules/@jsr/std__internal": {
"version": "1.0.9",
"resolved": "https://npm.jsr.io/~/11/@jsr/std__internal/1.0.9.tgz",
"integrity": "sha512-s+f4qrJzZgPAy7XuFOtgaSaxyPLnnEmAfXGLvRXGxPTL76URLVHkF+hOzqXz+bmk8/awybF6BRsasxtAQOV23Q=="
},
"node_modules/@mixmark-io/domino": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/@mixmark-io/domino/-/domino-2.2.0.tgz",
@@ -3194,15 +3188,6 @@
"resolved": "https://npm.jsr.io/~/11/@jsr/std__encoding/1.0.10.tgz",
"integrity": "sha512-WK2njnDTyKefroRNk2Ooq7GStp6Y0ccAvr4To+Z/zecRAGe7+OSvH9DbiaHpAKwEi2KQbmpWMOYsdNt+TsdmSw=="
},
"node_modules/@std/path": {
"name": "@jsr/std__path",
"version": "1.1.1",
"resolved": "https://npm.jsr.io/~/11/@jsr/std__path/1.1.1.tgz",
"integrity": "sha512-+x5LgcNUSpMzOZIRmFSjqrMTCxHlgXjWzK8ZFr7lwgHfWZxoVXeis3MFQlkR5mN5uQ61Y1P30Li1PU0yx9uluA==",
"dependencies": {
"@jsr/std__internal": "^1.0.9"
}
},
"node_modules/@swc/core": {
"version": "1.11.24",
"resolved": "https://registry.npmjs.org/@swc/core/-/core-1.11.24.tgz",
-1
View File
@@ -45,7 +45,6 @@
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"@std/encoding": "npm:@jsr/std__encoding@^1.0.10",
"@std/path": "npm:@jsr/std__path@^1.1.1",
"@tanstack/react-query": "^5.56.2",
"@unhead/addons": "^2.0.10",
"@unhead/react": "^2.0.10",
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type OpenAI from "openai";
import type { JSRuntimeFS } from "./JSRuntime";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, resolve, dirname } from "@std/path";
import { join, resolve, dirname } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname, basename } from "@std/path";
import { join, dirname, basename } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, basename } from "@std/path";
import { join, basename } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../../JSRuntime";
import type { ShellCommandResult } from "../ShellCommand";
import { createSuccessResult, createErrorResult } from "../ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, basename } from "@std/path";
import { join, basename } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname } from "@std/path";
import { join, dirname } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname, basename } from "@std/path";
import { join, dirname, basename } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname } from "@std/path";
import { join, dirname } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import type { JSRuntimeFS } from "../JSRuntime";
import type { ShellCommand, ShellCommandResult } from "./ShellCommand";
import { createSuccessResult, createErrorResult } from "./ShellCommand";
+1 -1
View File
@@ -2,7 +2,7 @@
* Security utilities for path validation and access control
*/
import { normalize } from "@std/path";
import { normalize } from "path-browserify";
/**
* Check if the given path is an absolute path
+1 -1
View File
@@ -1,6 +1,6 @@
import { NUser } from "@nostrify/react/login";
import { NostrMetadata } from "@nostrify/nostrify";
import { join } from "@std/path";
import { join } from "path-browserify";
import OpenAI from "openai";
import { nip19 } from "nostr-tools";
import { JSRuntimeFS } from "./JSRuntime";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import { z } from "zod";
import type { Tool } from "./Tool";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join } from "@std/path";
import { join } from "path-browserify";
import ignore from "ignore";
import { z } from "zod";
+1 -1
View File
@@ -1,4 +1,4 @@
import { join, dirname } from "@std/path";
import { join, dirname } from "path-browserify";
import { z } from "zod";
import type { Tool } from "./Tool";