Skip to content

Commit 82d6fdd

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

File tree

5 files changed

+2612
-1576
lines changed

5 files changed

+2612
-1576
lines changed

package.json

+38-37
Original file line numberDiff line numberDiff line change
@@ -50,52 +50,52 @@
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",
67-
"commitizen": "^4.2.4",
68-
"concurrently": "^7.0.0",
69-
"cosmiconfig": "^7.0.1",
65+
"@typescript-eslint/eslint-plugin": "^5.48.2",
66+
"@typescript-eslint/parser": "^5.48.2",
67+
"commitizen": "^4.2.6",
68+
"concurrently": "^7.6.0",
69+
"cosmiconfig": "^8.0.0",
7070
"cross-env": "^7.0.3",
7171
"cross-spawn": "^7.0.1",
72-
"doctoc": "^2.1.0",
73-
"eslint": "^8.29.0",
72+
"doctoc": "^2.2.1",
73+
"eslint": "^8.32.0",
7474
"eslint-config-airbnb": "19.0.4",
7575
"eslint-config-airbnb-typescript": "^17.0.0",
76-
"eslint-config-prettier": "^8.5.0",
77-
"eslint-plugin-import": "^2.26.0",
78-
"eslint-plugin-jest": "^26.9.0",
79-
"eslint-plugin-jsx-a11y": "^6.6.1",
76+
"eslint-config-prettier": "^8.6.0",
77+
"eslint-plugin-import": "^2.27.5",
78+
"eslint-plugin-jest": "^27.2.1",
79+
"eslint-plugin-jsx-a11y": "^6.7.1",
8080
"eslint-plugin-prettier": "^4.2.1",
81-
"eslint-plugin-react": "^7.31.11",
81+
"eslint-plugin-react": "^7.32.1",
8282
"eslint-plugin-react-hooks": "^4.6.0",
83-
"glob": "^8.0.3",
83+
"glob": "^8.1.0",
8484
"is-ci": "^3.0.1",
85-
"jest": "^29.0.2",
86-
"jest-environment-jsdom": "^29.0.3",
85+
"jest": "^29.3.1",
86+
"jest-environment-jsdom": "^29.3.1",
8787
"jest-github-actions-reporter": "^1.0.3",
88-
"jest-watch-typeahead": "^2.1.1",
89-
"lint-staged": "^12.3.4",
88+
"jest-watch-typeahead": "^2.2.1",
89+
"lint-staged": "^13.1.0",
9090
"lodash.has": "^4.5.2",
91-
"mkdirp": "^1.0.3",
92-
"prettier": "^2.8.1",
91+
"mkdirp": "^2.1.3",
92+
"prettier": "^2.8.3",
9393
"read-pkg-up": "^7.0.1",
94-
"rimraf": "^3.0.2",
95-
"tslib": "^2.4.0",
94+
"rimraf": "^4.1.1",
95+
"tslib": "^2.4.1",
9696
"typescript": "^4",
97-
"which": "^2.0.2",
98-
"yargs-parser": "^21.0.1"
97+
"which": "^3.0.0",
98+
"yargs-parser": "^21.1.1"
9999
},
100100
"eslintConfig": {
101101
"parserOptions": {
@@ -111,7 +111,8 @@
111111
"import/no-unassigned-import": "off",
112112
"no-console": "off",
113113
"no-nested-ternary": "off",
114-
"no-useless-catch": "off"
114+
"no-useless-catch": "off",
115+
"jest/prefer-snapshot-hint": "off"
115116
}
116117
},
117118
"eslintIgnore": [
@@ -128,13 +129,13 @@
128129
},
129130
"homepage": "https://github.com/hoverinc/hover-javascript#readme",
130131
"devDependencies": {
131-
"@babel/cli": "^7.17.10",
132-
"@babel/core": "^7.17.2",
133-
"@babel/preset-env": "^7.16.11",
132+
"@babel/cli": "^7.20.7",
133+
"@babel/core": "^7.20.12",
134+
"@babel/preset-env": "^7.20.2",
134135
"@types/cross-spawn": "^6.0.2",
135136
"depcheck": "^1.4.3",
136-
"eslint-config-kentcdodds": "^20.0.1",
137-
"husky": "^7.0.4",
137+
"eslint-config-kentcdodds": "^20.4.0",
138+
"husky": "^8.0.3",
138139
"jest-in-case": "^1.0.2",
139140
"npm-run-all": "^4.1.5",
140141
"slash": "^3.0.0"

src/api/depcheck/depcheck.js

+1-1
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

+2
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

+2
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)