Skip to content

Commit d9814f0

Browse files
committed
Update dependencies to support ESLint8
The `jest` dependency was updated because tests could not be run after upgrading the eslint dependencies. I had the following error: ``` TypeError: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'http://localhost/eslintrc.cjs' at Function.createRequire (node_modules/jest-runtime/build/index.js:1418:23) at Object.<anonymous> (node_modules/@eslint/eslintrc/lib/config-array-factory.js:57:17) at Object.<anonymous> (node_modules/eslint/lib/cli-engine/cli-engine.js:33:5) ```
1 parent 1764ffd commit d9814f0

File tree

2 files changed

+1131
-903
lines changed

2 files changed

+1131
-903
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"verify": "yarn typecheck && yarn lint && yarn build && yarn coverage"
4343
},
4444
"dependencies": {
45-
"@typescript-eslint/experimental-utils": "^4.29.2",
45+
"@typescript-eslint/experimental-utils": "^5.0.0",
4646
"json-schema": "^0.3.0",
4747
"natural-compare-lite": "^1.4.0"
4848
},
@@ -58,24 +58,24 @@
5858
"@rollup/plugin-typescript": "~4.1.2",
5959
"@types/babel__core": "~7.1.7",
6060
"@types/babel__preset-env": "~7.9.0",
61-
"@types/eslint": "~7.28.0",
62-
"@types/jest": "~25.2.3",
61+
"@types/eslint": "~7.28.1",
62+
"@types/jest": "~27.0.2",
6363
"@types/natural-compare-lite": "~1.4.0",
6464
"@types/rimraf": "~3.0.1",
6565
"@types/tmp": "~0.2.1",
66-
"@typescript-eslint/eslint-plugin": "~4.29.2",
67-
"@typescript-eslint/parser": "~4.29.2",
66+
"@typescript-eslint/eslint-plugin": "~5.0.0",
67+
"@typescript-eslint/parser": "~5.0.0",
6868
"babel-jest": "~26.6.3",
6969
"babel-plugin-module-resolver": "~4.1.0",
70-
"eslint": "~7.32.0",
70+
"eslint": "~8.0.1",
7171
"eslint-config-prettier": "~8.3.0",
72-
"eslint-plugin-eslint-plugin": "~3.5.3",
73-
"eslint-plugin-import": "~2.24.0",
74-
"eslint-plugin-jest": "~24.4.0",
75-
"eslint-plugin-prettier": "~3.4.0",
72+
"eslint-plugin-eslint-plugin": "~3.6.1",
73+
"eslint-plugin-import": "~2.25.2",
74+
"eslint-plugin-jest": "~25.0.6",
75+
"eslint-plugin-prettier": "~4.0.0",
7676
"http-server": "~13.0.0",
7777
"husky": "~4.2.5",
78-
"jest": "~26.6.3",
78+
"jest": "~27.2.5",
7979
"lint-staged": "~10.5.4",
8080
"prettier": "~2.3.2",
8181
"rimraf": "~3.0.2",
@@ -85,8 +85,8 @@
8585
"typescript": "~4.3.5"
8686
},
8787
"peerDependencies": {
88-
"@typescript-eslint/parser": "^1 || ^2 || ^3 || ^4",
89-
"eslint": "^5 || ^6 || ^7",
88+
"@typescript-eslint/parser": "^1 || ^2 || ^3 || ^4 || ^5",
89+
"eslint": "^5 || ^6 || ^7 || ^8",
9090
"typescript": "^3 || ^4"
9191
},
9292
"engines": {

0 commit comments

Comments
 (0)