mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Replace @std/path with path-browserify
This commit is contained in:
28 files changed
+26
-42
No files matched your search
+1
-1
@@ -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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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
@@ -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
@@ -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,4 +1,4 @@
|
||||
import { join } from "@std/path";
|
||||
import { join } from "path-browserify";
|
||||
import { z } from "zod";
|
||||
|
||||
import type { Tool } from "./Tool";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { join } from "@std/path";
|
||||
import { join } from "path-browserify";
|
||||
import ignore from "ignore";
|
||||
import { z } from "zod";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user