Skip to content

Commit b440e7e

Browse files
committed
feat(deps): upgrade all dependencies to latest
BREAKING CHANGE: potential breaking change as some upgrades were major
1 parent a6fb163 commit b440e7e

File tree

5 files changed

+2280
-1725
lines changed

5 files changed

+2280
-1725
lines changed

package.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -50,53 +50,53 @@
5050
"author": "Jamie Rolfs <[email protected]>",
5151
"license": "MIT",
5252
"dependencies": {
53-
"@commitlint/cli": "^17.3.0",
54-
"@commitlint/config-conventional": "^17.3.0",
55-
"@commitlint/prompt": "^17.3.0",
56-
"@swc-node/jest": "^1.5.5",
57-
"@swc/core": "^1.3.22",
53+
"@commitlint/cli": "^17.4.2",
54+
"@commitlint/config-conventional": "^17.4.2",
55+
"@commitlint/prompt": "^17.4.2",
56+
"@swc-node/jest": "^1.5.6",
57+
"@swc/core": "^1.3.27",
5858
"@swc/helpers": "^0.4.14",
59-
"@types/jest": "^29.0.0",
60-
"@types/lodash.has": "^4.5.6",
59+
"@types/jest": "^29.2.5",
60+
"@types/lodash.has": "^4.5.7",
6161
"@types/mkdirp": "^1.0.2",
62-
"@types/node": "^18.11.12",
62+
"@types/node": "^18.11.18",
6363
"@types/rimraf": "^3.0.2",
6464
"@types/which": "^2.0.1",
65-
"@typescript-eslint/eslint-plugin": "^5.45.1",
66-
"@typescript-eslint/parser": "^5.45.1",
65+
"@typescript-eslint/eslint-plugin": "^5.48.2",
66+
"@typescript-eslint/parser": "^5.48.2",
6767
"commitizen": "^4.2.6",
68-
"concurrently": "^7.0.0",
69-
"cosmiconfig": "^7.0.1",
68+
"concurrently": "^7.6.0",
69+
"cosmiconfig": "^8.0.0",
7070
"cross-env": "^7.0.3",
71-
"cross-spawn": "^7.0.3",
71+
"cross-spawn": "^7.0.1",
7272
"depcheck": "^1.4.3",
73-
"doctoc": "^2.1.0",
74-
"eslint": "^8.29.0",
73+
"doctoc": "^2.2.1",
74+
"eslint": "^8.32.0",
7575
"eslint-config-airbnb": "19.0.4",
7676
"eslint-config-airbnb-typescript": "^17.0.0",
77-
"eslint-config-prettier": "^8.5.0",
78-
"eslint-plugin-import": "^2.26.0",
79-
"eslint-plugin-jest": "^26.9.0",
80-
"eslint-plugin-jsx-a11y": "^6.6.1",
77+
"eslint-config-prettier": "^8.6.0",
78+
"eslint-plugin-import": "^2.27.5",
79+
"eslint-plugin-jest": "^27.2.1",
80+
"eslint-plugin-jsx-a11y": "^6.7.1",
8181
"eslint-plugin-prettier": "^4.2.1",
82-
"eslint-plugin-react": "^7.31.11",
82+
"eslint-plugin-react": "^7.32.1",
8383
"eslint-plugin-react-hooks": "^4.6.0",
84-
"glob": "^8.0.3",
84+
"glob": "^8.1.0",
8585
"is-ci": "^3.0.1",
86-
"jest": "^29.0.2",
87-
"jest-environment-jsdom": "^29.0.3",
86+
"jest": "^29.3.1",
87+
"jest-environment-jsdom": "^29.3.1",
8888
"jest-github-actions-reporter": "^1.0.3",
89-
"jest-watch-typeahead": "^2.1.1",
90-
"lint-staged": "^12.3.4",
89+
"jest-watch-typeahead": "^2.2.1",
90+
"lint-staged": "^13.1.0",
9191
"lodash.has": "^4.5.2",
92-
"mkdirp": "^1.0.4",
93-
"prettier": "^2.8.1",
92+
"mkdirp": "^2.1.3",
93+
"prettier": "^2.8.3",
9494
"read-pkg-up": "^7.0.1",
95-
"rimraf": "^3.0.2",
96-
"tslib": "^2.4.0",
95+
"rimraf": "^4.1.1",
96+
"tslib": "^2.4.1",
9797
"typescript": "^4",
98-
"which": "^2.0.2",
99-
"yargs-parser": "^21.0.1"
98+
"which": "^3.0.0",
99+
"yargs-parser": "^21.1.1"
100100
},
101101
"eslintConfig": {
102102
"parserOptions": {
@@ -112,7 +112,8 @@
112112
"import/no-unassigned-import": "off",
113113
"no-console": "off",
114114
"no-nested-ternary": "off",
115-
"no-useless-catch": "off"
115+
"no-useless-catch": "off",
116+
"jest/prefer-snapshot-hint": "off"
116117
}
117118
},
118119
"eslintIgnore": [
@@ -129,13 +130,12 @@
129130
},
130131
"homepage": "https://github.com/hoverinc/hover-javascript#readme",
131132
"devDependencies": {
132-
"@babel/cli": "^7.17.10",
133-
"@babel/core": "^7.17.2",
134-
"@babel/preset-env": "^7.16.11",
133+
"@babel/cli": "^7.20.7",
134+
"@babel/core": "^7.20.12",
135+
"@babel/preset-env": "^7.20.2",
135136
"@types/cross-spawn": "^6.0.2",
136-
"babel-jest": "^28.1.0",
137-
"eslint-config-kentcdodds": "^20.0.1",
138-
"husky": "^7.0.4",
137+
"eslint-config-kentcdodds": "^20.4.0",
138+
"husky": "^8.0.3",
139139
"jest-in-case": "^1.0.2",
140140
"npm-run-all": "^4.1.5",
141141
"slash": "^3.0.0"

src/api/depcheck/depcheck.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const fs = require('fs')
22
const depcheck = require('depcheck')
3-
const hoverSpecials = require('./specials')
43
const {hasFile, uniq} = require('../../utils')
4+
const hoverSpecials = require('./specials')
55

66
/**
77
* @typedef Config

src/config/__tests__/__snapshots__/eslintrc.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ Object {
119119
},
120120
],
121121
"import/prefer-default-export": "off",
122+
"jest/prefer-snapshot-hint": "off",
122123
"no-implied-eval": "error",
123124
"no-throw-literal": "error",
124125
"no-void": Array [
@@ -251,6 +252,7 @@ Object {
251252
},
252253
],
253254
"import/prefer-default-export": "off",
255+
"jest/prefer-snapshot-hint": "off",
254256
"no-implied-eval": "error",
255257
"no-throw-literal": "error",
256258
"no-void": Array [

src/config/helpers/build-eslint.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ const buildConfig = ({withReact = false} = {}) => {
6969
],
7070
'no-void': ['error', {allowAsStatement: true}],
7171
'prettier/prettier': 'error',
72+
// TODO: consider enabling this as a warning?
73+
'jest/prefer-snapshot-hint': 'off',
7274
...parserRules(false, isReact),
7375
},
7476
overrides: [

0 commit comments

Comments
 (0)