Skip to content

Commit

Permalink
chore: upgrade dependencies (#7232)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Apr 23, 2022
1 parent 58f393d commit 242f2e7
Show file tree
Hide file tree
Showing 32 changed files with 355 additions and 337 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ module.exports = {
'no-await-in-loop': OFF,
'no-case-declarations': WARNING,
'no-console': OFF,
'no-constant-binary-expression': ERROR,
'no-continue': OFF,
'no-control-regex': WARNING,
'no-else-return': [WARNING, {allowElseIf: true}],
Expand Down
31 changes: 17 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,56 +59,59 @@
"test:baseUrl": "yarn build:website:baseUrl && yarn serve:website:baseUrl",
"lock:update": "npx yarn-deduplicate"
},
"dependencies": {
"babel-plugin-dynamic-import-node": "2.3.0",
"unified": "^9.2.2"
},
"devDependencies": {
"@crowdin/cli": "^3.7.8",
"@swc/core": "^1.2.167",
"@swc/core": "^1.2.171",
"@swc/jest": "^0.2.20",
"@testing-library/react-hooks": "^8.0.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.181",
"@types/node": "^17.0.24",
"@types/lodash": "^4.14.182",
"@types/node": "^17.0.25",
"@types/prompts": "^2.0.14",
"@types/react": "^18.0.5",
"@types/react": "^18.0.6",
"@types/react-dev-utils": "^9.0.10",
"@types/react-test-renderer": "^18.0.0",
"@types/semver": "^7.3.9",
"@types/shelljs": "^0.8.11",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"concurrently": "^7.1.0",
"cross-env": "^7.0.3",
"cspell": "^5.19.7",
"eslint": "^8.13.0",
"eslint": "^8.14.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.4",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-regexp": "^1.6.0",
"eslint-plugin-regexp": "^1.7.0",
"husky": "^7.0.4",
"image-size": "^1.0.1",
"jest": "^27.5.1",
"jest-serializer-react-helmet-async": "^1.0.21",
"lerna": "^4.0.0",
"lerna-changelog": "^2.2.0",
"lint-staged": "^12.3.8",
"lint-staged": "^12.4.0",
"nodemon": "^2.0.15",
"prettier": "^2.6.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"remark-parse": "^8.0.2",
"rimraf": "^3.0.2",
"sharp": "^0.30.3",
"sharp": "^0.30.4",
"strip-ansi": "^6.0.1",
"stylelint": "^14.6.1",
"stylelint": "^14.7.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^25.0.0",
"typescript": "^4.6.3",
"unified": "^9.2.2"
"typescript": "^4.6.3"
}
}
2 changes: 1 addition & 1 deletion packages/create-docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"semver": "^7.3.7",
"shelljs": "^0.8.5",
"supports-color": "^9.2.2",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@types/supports-color": "^8.1.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/create-docusaurus/templates/facebook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"@babel/eslint-parser": "^7.17.0",
"eslint": "^8.13.0",
"eslint": "^8.14.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.1",
Expand All @@ -36,7 +36,7 @@
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"prettier": "^2.6.2",
"stylelint": "^14.7.0"
"stylelint": "^14.7.1"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"license": "MIT",
"dependencies": {
"chalk": "^4.1.2",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"engines": {
"node": ">=14"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"mdast-util-to-string": "^2.0.0",
"remark-emoji": "^2.2.0",
"stringify-object": "^3.3.0",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"unist-util-visit": "^2.0.3",
"url-loader": "^4.1.1",
"webpack": "^5.72.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"remark-parse": "^8.0.2",
"remark-stringify": "^8.1.0",
"semver": "^7.3.7",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"unified": "^9.2.2",
"unist-util-visit": "^2.0.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-client-redirects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eta": "^1.12.3",
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.18"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lodash": "^4.17.21",
"reading-time": "^1.5.0",
"remark-admonitions": "^1.2.1",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"unist-util-visit": "^2.0.3",
"utility-types": "^3.10.0",
"webpack": "^5.72.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"remark-admonitions": "^1.2.1",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"utility-types": "^3.10.0",
"webpack": "^5.72.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@docusaurus/utils-validation": "2.0.0-beta.18",
"fs-extra": "^10.1.0",
"remark-admonitions": "^1.2.1",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"webpack": "^5.72.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@docusaurus/utils": "2.0.0-beta.18",
"fs-extra": "^10.1.0",
"react-json-view": "^1.21.3",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.18"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@docusaurus/core": "2.0.0-beta.18",
"@docusaurus/utils-validation": "2.0.0-beta.18",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.18"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-google-gtag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@docusaurus/core": "2.0.0-beta.18",
"@docusaurus/utils-validation": "2.0.0-beta.18",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.18"
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-plugin-ideal-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@docusaurus/utils-validation": "2.0.0-beta.18",
"@endiliey/react-ideal-image": "^0.0.11",
"react-waypoint": "^10.1.0",
"sharp": "^0.30.3",
"tslib": "^2.3.1",
"sharp": "^0.30.4",
"tslib": "^2.4.0",
"webpack": "^5.72.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"@docusaurus/theme-translations": "2.0.0-beta.18",
"@docusaurus/utils": "2.0.0-beta.18",
"@docusaurus/utils-validation": "2.0.0-beta.18",
"babel-loader": "^8.2.4",
"babel-loader": "^8.2.5",
"clsx": "^1.1.1",
"core-js": "^3.22.0",
"core-js": "^3.22.2",
"terser-webpack-plugin": "^5.3.1",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"webpack": "^5.72.0",
"webpack-merge": "^5.8.0",
"workbox-build": "^6.5.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@docusaurus/utils-validation": "2.0.0-beta.18",
"fs-extra": "^10.1.0",
"sitemap": "^7.1.1",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.18"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-remark-plugin-npm2yarn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "MIT",
"dependencies": {
"npm-to-yarn": "^1.0.1",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"unist-util-visit": "^2.0.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"lodash": "^4.17.21",
"postcss": "^8.4.12",
"prism-react-renderer": "^1.3.1",
"prismjs": "^1.27.0",
"prismjs": "^1.28.0",
"react-router-dom": "^5.2.0",
"rtlcss": "^3.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"clsx": "^1.1.1",
"parse-numeric-range": "^1.3.0",
"prism-react-renderer": "^1.3.1",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"utility-types": "^3.10.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-live-codeblock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"clsx": "^1.1.1",
"fs-extra": "^10.1.0",
"react-live": "2.2.3",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.18",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-search-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"eta": "^1.12.3",
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"utility-types": "^3.10.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-translations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"fs-extra": "^10.1.0",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/core": "2.0.0-beta.18",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-utils-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"license": "MIT",
"dependencies": {
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.18"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-utils-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@docusaurus/utils": "2.0.0-beta.18",
"joi": "^17.6.0",
"js-yaml": "^4.1.0",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"micromatch": "^4.0.5",
"resolve-pathname": "^3.0.0",
"shelljs": "^0.8.5",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"url-loader": "^4.1.1",
"webpack": "^5.72.0"
},
Expand All @@ -42,7 +42,7 @@
"@types/dedent": "^0.7.0",
"@types/github-slugger": "^1.3.0",
"@types/micromatch": "^4.0.2",
"@types/react-dom": "^18.0.1",
"@types/react-dom": "^18.0.2",
"dedent": "^0.7.0"
}
}
8 changes: 4 additions & 4 deletions packages/docusaurus-utils/src/gitUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export class FileNotTrackedError extends Error {}
* It gets the commit date instead of author date so that amended commits
* can have their dates updated.
*
* @throws {GitNotFoundError} If git is not found in `PATH`.
* @throws {FileNotTrackedError} If the current file is not tracked by git.
* @throws {@link GitNotFoundError} If git is not found in `PATH`.
* @throws {@link FileNotTrackedError} If the current file is not tracked by git.
* @throws Also throws when `git log` exited with non-zero, or when it outputs
* unexpected text.
*/
Expand All @@ -47,8 +47,8 @@ export function getFileCommitDate(
* It gets the commit date instead of author date so that amended commits
* can have their dates updated.
*
* @throws {GitNotFoundError} If git is not found in `PATH`.
* @throws {FileNotTrackedError} If the current file is not tracked by git.
* @throws {@link GitNotFoundError} If git is not found in `PATH`.
* @throws {@link FileNotTrackedError} If the current file is not tracked by git.
* @throws Also throws when `git log` exited with non-zero, or when it outputs
* unexpected text.
*/
Expand Down
8 changes: 4 additions & 4 deletions packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@slorber/static-site-generator-webpack-plugin": "^4.0.4",
"@svgr/webpack": "^6.2.1",
"autoprefixer": "^10.4.4",
"babel-loader": "^8.2.4",
"babel-loader": "^8.2.5",
"babel-plugin-dynamic-import-node": "2.3.0",
"boxen": "^6.2.1",
"chokidar": "^3.5.3",
Expand All @@ -60,7 +60,7 @@
"combine-promises": "^1.1.0",
"commander": "^5.1.0",
"copy-webpack-plugin": "^10.2.4",
"core-js": "^3.22.0",
"core-js": "^3.22.2",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"cssnano": "^5.1.7",
Expand Down Expand Up @@ -94,7 +94,7 @@
"serve-handler": "^6.1.3",
"shelljs": "^0.8.5",
"terser-webpack-plugin": "^5.3.1",
"tslib": "^2.3.1",
"tslib": "^2.4.0",
"update-notifier": "^5.1.0",
"url-loader": "^4.1.1",
"wait-on": "^6.0.1",
Expand All @@ -109,7 +109,7 @@
"@docusaurus/types": "2.0.0-beta.18",
"@types/detect-port": "^1.3.2",
"@types/nprogress": "^0.2.0",
"@types/react-dom": "^18.0.1",
"@types/react-dom": "^18.0.2",
"@types/react-router-config": "^5.0.6",
"@types/rtl-detect": "^1.0.0",
"@types/serve-handler": "^6.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/lqip-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"@docusaurus/logger": "2.0.0-beta.18",
"file-loader": "^6.2.0",
"lodash": "^4.17.21",
"sharp": "^0.30.3",
"tslib": "^2.3.1"
"sharp": "^0.30.4",
"tslib": "^2.4.0"
},
"engines": {
"node": ">=14"
Expand Down
Loading

0 comments on commit 242f2e7

Please sign in to comment.