Skip to content

Commit 8b30868

Browse files
committed
chore: update dependencies
New syntax in the vitest types failed the build. We were pretty outdated, so bring all deps up-to-date
1 parent dc5a07a commit 8b30868

File tree

11 files changed

+15194
-14755
lines changed

11 files changed

+15194
-14755
lines changed

package-lock.json

+14,986-14,502
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+29-28
Original file line numberDiff line numberDiff line change
@@ -28,44 +28,45 @@
2828
"tabWidth": 2
2929
},
3030
"devDependencies": {
31-
"@types/glob": "^7.1.1",
32-
"@types/node": "^12.11.7",
33-
"@types/vscode": "^1.61.0",
34-
"@typescript-eslint/eslint-plugin": "^2.18.0",
35-
"@typescript-eslint/parser": "^2.18.0",
36-
"autoprefixer": "^9.7.4",
37-
"chokidar-cli": "^2.1.0",
38-
"concurrently": "^5.1.0",
39-
"cpy-cli": "^3.1.0",
40-
"cross-env": "^7.0.2",
41-
"css-loader": "^3.4.2",
42-
"cssnano": "^4.1.10",
43-
"devtools-protocol": "0.0.748504",
44-
"eslint": "^6.8.0",
45-
"eslint-plugin-header": "^3.0.0",
46-
"eslint-plugin-react": "^7.19.0",
47-
"glob": "^7.1.6",
31+
"@types/chai": "^4.3.1",
32+
"@types/glob": "^7.2.0",
33+
"@types/node": "^17.0.35",
34+
"@types/vscode": "^1.67.0",
35+
"@typescript-eslint/eslint-plugin": "^5.25.0",
36+
"@typescript-eslint/parser": "^5.25.0",
37+
"autoprefixer": "^10.4.7",
38+
"chokidar-cli": "^3.0.0",
39+
"concurrently": "^7.2.0",
40+
"cpy-cli": "^4.1.0",
41+
"cross-env": "^7.0.3",
42+
"css-loader": "^6.7.1",
43+
"cssnano": "^5.1.8",
44+
"devtools-protocol": "0.0.1005172",
45+
"eslint": "^8.15.0",
46+
"eslint-plugin-header": "^3.1.1",
47+
"eslint-plugin-react": "^7.30.0",
48+
"glob": "^8.0.3",
4849
"html-webpack-plugin": "^5.5.0",
49-
"lerna": "^3.20.2",
50+
"lerna": "^4.0.0",
5051
"os-browserify": "^0.3.0",
5152
"path-browserify": "^1.0.1",
52-
"postcss-loader": "^3.0.0",
53-
"preact": "^10.3.4",
54-
"prettier": "^2.0.4",
55-
"raw-loader": "^4.0.0",
53+
"postcss-loader": "^7.0.0",
54+
"preact": "^10.7.2",
55+
"prettier": "^2.6.2",
56+
"raw-loader": "^4.0.2",
5657
"rimraf": "^3.0.2",
5758
"source-map-loader": "^3.0.1",
58-
"source-map-support": "^0.5.16",
59-
"style-loader": "^1.1.3",
59+
"source-map-support": "^0.5.21",
60+
"style-loader": "^3.3.1",
6061
"svg-inline-loader": "^0.8.2",
61-
"ts-loader": "^6.2.1",
62-
"typescript": "^3.7.5",
62+
"ts-loader": "^9.3.0",
63+
"typescript": "^4.6.4",
6364
"vitest": "^0.12.6",
6465
"vscode-debugprotocol": "^1.39.0",
6566
"vscode-test": "^1.3.0",
66-
"webpack": "^5.70.0",
67+
"webpack": "^5.72.1",
6768
"webpack-cli": "^4.9.2",
68-
"webpack-dev-server": "^4.7.4"
69+
"webpack-dev-server": "^4.9.0"
6970
},
7071
"dependencies": {
7172
"preact-virtual-list": "^0.3.1"

packages/vscode-js-profile-core/package-lock.json

+136-54
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/vscode-js-profile-core/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
"compile": "concurrently \"npm:compile:*\"",
88
"compile:ext": "tsc -p tsconfig.json",
99
"compile:esm": "tsc -p tsconfig.browser.json",
10-
"compile:css": "cpy --parents --cwd=src \"**/*.css\" ../out/esm",
10+
"compile:css": "cpy \"src/**/*.css\" out/esm",
1111
"watch": "concurrently \"npm:watch:*\"",
1212
"watch:ext": "tsc --watch",
1313
"watch:esm": "tsc --watch -p tsconfig.browser.json",
1414
"watch:css": "npm run compile:css && chokidar \"src/**/*.css\" -c \"cpy --parents --cwd=src '**/*.css' ../out/esm\""
1515
},
1616
"dependencies": {
17-
"@vscode/codicons": "^0.0.28",
18-
"node-fetch": "^2.6.1"
17+
"@vscode/codicons": "^0.0.30",
18+
"isomorphic-unfetch": "^3.1.0"
1919
},
2020
"devDependencies": {
21-
"@types/node-fetch": "^2.5.5"
21+
"@types/node-fetch": "^2.6.1"
2222
}
2323
}

packages/vscode-js-profile-core/src/client/rich-filter.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const richFilter = <T extends {}>(): RichFilterComponent<T> => ({
6868
);
6969
setError(undefined);
7070
} catch (e) {
71-
setError(e.message);
71+
setError((e as Error).message);
7272
}
7373
}, [regex, caseSensitive, text, data]);
7474

0 commit comments

Comments
 (0)