Skip to content

Commit 5e55356

Browse files
authored
Merge pull request #2642 from github/koesie10/remove-path-browserify
Remove path-browserify
2 parents e877695 + 016940f commit 5e55356

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

extensions/ql-vscode/gulpfile.ts/webpack.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ export const config: webpack.Configuration = {
1515
devtool: isDevBuild ? "inline-source-map" : "source-map",
1616
resolve: {
1717
extensions: [".js", ".ts", ".tsx", ".json"],
18-
fallback: {
19-
path: require.resolve("path-browserify"),
20-
},
2118
},
2219
module: {
2320
rules: [

extensions/ql-vscode/package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/ql-vscode/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,6 @@
17611761
"nanoid": "^3.2.0",
17621762
"node-fetch": "~2.6.7",
17631763
"p-queue": "^6.0.0",
1764-
"path-browserify": "^1.0.1",
17651764
"react": "^18.2.0",
17661765
"react-dom": "^18.2.0",
17671766
"semver": "~7.5.2",

extensions/ql-vscode/src/view/results/locations/SarifLocation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from "react";
22
import * as Sarif from "sarif";
33
import { isLineColumnLoc, isWholeFileLoc } from "../../../common/bqrs-utils";
44
import { parseSarifLocation } from "../../../common/sarif-utils";
5-
import { basename } from "path";
5+
import { basename } from "../../../common/path";
66
import { useMemo } from "react";
77
import { Location } from "./Location";
88

0 commit comments

Comments
 (0)