Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@
"@types/cli-progress": "^3.11.5",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/graceful-fs": "^4.1.9",
"@types/http-errors": "^2.0.4",
"@types/mustache": "^4.2.5",
"@types/node": "^20.10.5",
Expand Down Expand Up @@ -210,7 +209,6 @@
"esbuild": "0.28.0",
"eventsource-parser": "^1.1.2",
"express": "^5.2.1",
"graceful-fs": "^4.2.11",
"http-errors": "^2.0.0",
"minimatch": "^10.2.5",
"module-details-from-path": "^1.0.4",
Expand Down
6 changes: 2 additions & 4 deletions js/src/cli/jest/nodeModulesPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
*/

import * as path from "node:path";

// BRAINTRUST: This was changed to be a relative import
import tryRealpath from "./tryRealpath";
import { realpathSync } from "node:fs";

type NodeModulesPathsOptions = {
moduleDirectory?: Array<string>;
Expand Down Expand Up @@ -41,7 +39,7 @@ export default function nodeModulesPaths(
// traverses parents of the physical path, not the symlinked path
let physicalBasedir;
try {
physicalBasedir = tryRealpath(basedirAbs);
physicalBasedir = realpathSync.native(basedirAbs);
} catch {
// realpath can throw, e.g. on mapped drives
physicalBasedir = basedirAbs;
Expand Down
20 changes: 0 additions & 20 deletions js/src/cli/jest/tryRealpath.ts

This file was deleted.

13 changes: 0 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading