Skip to content

Commit

Permalink
resolve some test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
51ngul4r1ty committed Feb 11, 2024
1 parent ae80245 commit f7bf135
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
26 changes: 15 additions & 11 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
"packages/vscode-extension",
"packages/web-app"
],
"dependencies": {
"url-parse": "1.5.10"
},
"devDependencies": {
"@babel/cli": "7.18.10",
"@babel/core": "7.19.1",
Expand All @@ -71,6 +74,7 @@
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@types/jest": "28.1.8",
"@types/url-parse": "1.4.11",
"babel-loader": "8.1.0",
"babel-plugin-named-asset-import": "0.3.7",
"babel-preset-react-app": "10.0.1",
Expand Down
2 changes: 0 additions & 2 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"redux-devtools-extension": "2.13.8",
"redux-thunk": "2.3.0",
"reselect": "4.0.0",
"url-parse": "1.5.10",
"websocket": "1.0.31"
},
"devDependencies": {
Expand All @@ -76,7 +75,6 @@
"@types/react-router-dom": "5.1.5",
"@types/redux": "3.6.0",
"@types/redux-mock-store": "1.0.2",
"@types/url-parse": "1.4.8",
"@types/websocket": "1.0.0",
"autoprefixer": "10.4.11",
"bs-logger": "0.2.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import urlParse from "url-parse";
const urlParse = require("url-parse");

let historyInstance: any;

Expand Down
2 changes: 1 addition & 1 deletion packages/shared/src/utils/apiLinkHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

// externals
import urlParse from "url-parse";
const urlParse = require("url-parse");

// interfaces/types
import type { Link } from "../types/apiModelTypes";
Expand Down
1 change: 0 additions & 1 deletion packages/web-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"reselect": "4.0.0",
"sequelize": "6.23.0",
"text-encoding-polyfill": "0.6.7",
"url-parse": "1.5.10",
"uuid": "8.3.2",
"websocket": "1.0.34",
"ws": "8.5.0"
Expand Down

0 comments on commit f7bf135

Please sign in to comment.