Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade dependencies #8534

Merged
merged 3 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion admin/new.docusaurus.io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"start": "npx --package netlify-cli netlify dev"
},
"dependencies": {
"@netlify/functions": "^1.2.0"
"@netlify/functions": "^1.4.0"
}
}
54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,56 +62,56 @@
"unified": "^9.2.2"
},
"devDependencies": {
"@crowdin/cli": "^3.7.10",
"@crowdin/cli": "^3.9.1",
"@swc/core": "1.2.197",
"@swc/jest": "^0.2.22",
"@swc/jest": "^0.2.24",
"@testing-library/react-hooks": "^8.0.1",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^29.0.0",
"@types/lodash": "^4.14.184",
"@types/node": "^18.7.16",
"@types/prompts": "^2.0.14",
"@types/react": "^18.0.18",
"@types/jest": "^29.2.5",
"@types/lodash": "^4.14.191",
"@types/node": "^18.11.18",
"@types/prompts": "^2.4.2",
"@types/react": "^18.0.26",
"@types/react-dev-utils": "^9.0.11",
"@types/react-test-renderer": "^18.0.0",
"@types/semver": "^7.3.12",
"@types/semver": "^7.3.13",
"@types/shelljs": "^0.8.11",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"cross-env": "^7.0.3",
"cspell": "^6.8.1",
"eslint": "^8.23.0",
"cspell": "^6.18.1",
"eslint": "^8.31.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.1",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.7",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.7.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-regexp": "^1.9.0",
"husky": "^8.0.1",
"eslint-plugin-regexp": "^1.12.0",
"husky": "^8.0.3",
"image-size": "^1.0.2",
"jest": "^29.0.2",
"jest-environment-jsdom": "^29.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-serializer-ansi-escapes": "^2.0.1",
"jest-serializer-react-helmet-async": "^1.0.21",
"lerna": "^6.2.0",
"lerna": "^6.4.0",
"lerna-changelog": "^2.2.0",
"lint-staged": "^13.0.3",
"lint-staged": "^13.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier": "^2.8.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.3.0",
"react-test-renderer": "^17.0.2",
"remark-parse": "^8.0.2",
"rimraf": "^3.0.2",
"sharp": "^0.31.0",
"sharp": "^0.31.3",
"strip-ansi": "^6.0.1",
"stylelint": "^14.11.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard": "^28.0.0",
"typescript": "~4.7.4"
"typescript": "~4.9.4"
}
}
6 changes: 3 additions & 3 deletions packages/create-docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"prompts": "^2.4.2",
"semver": "^7.3.7",
"semver": "^7.3.8",
"shelljs": "^0.8.5",
"supports-color": "^9.2.3",
"tslib": "^2.4.0"
"supports-color": "^9.3.1",
"tslib": "^2.4.1"
},
"devDependencies": {
"@types/supports-color": "^8.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-docusaurus/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function isValidGitRepoUrl(gitRepoUrl: string): boolean {
}

const gitStrategies = ['deep', 'shallow', 'copy', 'custom'] as const;
type GitStrategy = typeof gitStrategies[number];
type GitStrategy = (typeof gitStrategies)[number];

async function getGitCommand(gitStrategy: GitStrategy): Promise<string> {
switch (gitStrategy) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.0.0-alpha.0",
"@tsconfig/docusaurus": "^1.0.5",
"typescript": "^4.7.4"
"typescript": "^4.9.4"
},
"browserslist": {
"production": [
Expand Down
14 changes: 7 additions & 7 deletions packages/create-docusaurus/templates/facebook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.9",
"eslint": "^8.23.0",
"@babel/eslint-parser": "^7.19.1",
"eslint": "^8.31.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.7",
"eslint-plugin-jsx-a11y": "^6.7.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.7.1",
"stylelint": "^14.11.0"
"prettier": "^2.8.2",
"stylelint": "^14.16.1"
},
"browserslist": {
"production": [
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-cssnano-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"directory": "packages/docusaurus-cssnano-preset"
},
"dependencies": {
"cssnano-preset-advanced": "^5.3.8",
"postcss": "^8.4.16",
"cssnano-preset-advanced": "^5.3.9",
"postcss": "^8.4.21",
"postcss-sort-media-queries": "^4.3.0",
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},
"devDependencies": {
"to-vfile": "^6.1.0"
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.4.0"
"tslib": "^2.4.1"
},
"engines": {
"node": ">=16.14"
Expand Down
8 changes: 4 additions & 4 deletions packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.19.0",
"@babel/traverse": "^7.19.0",
"@babel/parser": "^7.20.7",
"@babel/traverse": "^7.20.12",
"@docusaurus/logger": "^3.0.0-alpha.0",
"@docusaurus/utils": "^3.0.0-alpha.0",
"@mdx-js/mdx": "^1.6.22",
Expand All @@ -30,11 +30,11 @@
"mdast-util-to-string": "^2.0.0",
"remark-emoji": "^2.2.0",
"stringify-object": "^3.3.0",
"tslib": "^2.4.0",
"tslib": "^2.4.1",
"unified": "^9.2.2",
"unist-util-visit": "^2.0.3",
"url-loader": "^4.1.1",
"webpack": "^5.74.0"
"webpack": "^5.75.0"
},
"devDependencies": {
"@docusaurus/types": "^3.0.0-alpha.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default function MDXContent({
\`}</code></pre>
</MDXLayout>;
}

;
MDXContent.isMDXComponent = true;"
`;
Expand All @@ -45,7 +44,6 @@ export default function MDXContent({
}}></mermaid>
</MDXLayout>;
}

;
MDXContent.isMDXComponent = true;"
`;
10 changes: 5 additions & 5 deletions packages/docusaurus-migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"docusaurus-migrate": "bin/index.mjs"
},
"dependencies": {
"@babel/core": "^7.19.0",
"@babel/preset-env": "^7.19.0",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@docusaurus/logger": "^3.0.0-alpha.0",
"@docusaurus/utils": "^3.0.0-alpha.0",
"@mapbox/hast-util-to-jsx": "^2.0.0",
Expand All @@ -36,13 +36,13 @@
"rehype-parse": "^7.0.1",
"remark-parse": "^8.0.2",
"remark-stringify": "^8.1.0",
"semver": "^7.3.7",
"tslib": "^2.4.0",
"semver": "^7.3.8",
"tslib": "^2.4.1",
"unified": "^9.2.2",
"unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@types/color": "^3.0.3",
"@types/jscodeshift": "^0.11.5"
"@types/jscodeshift": "^0.11.6"
}
}
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.4.0"
"tslib": "^2.4.1"
},
"devDependencies": {
"@docusaurus/types": "^3.0.0-alpha.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-plugin-content-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"reading-time": "^1.5.0",
"tslib": "^2.4.0",
"tslib": "^2.4.1",
"unist-util-visit": "^2.0.3",
"utility-types": "^3.10.0",
"webpack": "^5.74.0"
"webpack": "^5.75.0"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export default function MDXContent({
</div>
</MDXLayout>;
}

;
MDXContent.isMDXComponent = true;"
`;
4 changes: 2 additions & 2 deletions packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"import-fresh": "^3.3.0",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"tslib": "^2.4.0",
"tslib": "^2.4.1",
"utility-types": "^3.10.0",
"webpack": "^5.74.0"
"webpack": "^5.75.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-plugin-content-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@docusaurus/utils": "^3.0.0-alpha.0",
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
"fs-extra": "^10.1.0",
"tslib": "^2.4.0",
"webpack": "^5.74.0"
"tslib": "^2.4.1",
"webpack": "^5.75.0"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
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 @@ -25,7 +25,7 @@
"@docusaurus/utils": "^3.0.0-alpha.0",
"fs-extra": "^10.1.0",
"react-json-view": "^1.21.3",
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
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 @@ -21,7 +21,7 @@
"@docusaurus/core": "^3.0.0-alpha.0",
"@docusaurus/types": "^3.0.0-alpha.0",
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
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 @@ -22,7 +22,7 @@
"@docusaurus/types": "^3.0.0-alpha.0",
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
"@types/gtag.js": "^0.0.12",
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@docusaurus/core": "^3.0.0-alpha.0",
"@docusaurus/types": "^3.0.0-alpha.0",
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/docusaurus-plugin-ideal-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
"@endiliey/react-ideal-image": "^0.0.11",
"react-waypoint": "^10.3.0",
"sharp": "^0.31.0",
"tslib": "^2.4.0",
"webpack": "^5.74.0"
"sharp": "^0.31.3",
"tslib": "^2.4.1",
"webpack": "^5.75.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.0.0-alpha.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/docusaurus-plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
},
"license": "MIT",
"dependencies": {
"@babel/core": "^7.19.0",
"@babel/preset-env": "^7.19.0",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@docusaurus/core": "^3.0.0-alpha.0",
"@docusaurus/theme-common": "^3.0.0-alpha.0",
"@docusaurus/theme-translations": "^3.0.0-alpha.0",
"@docusaurus/types": "^3.0.0-alpha.0",
"@docusaurus/utils": "^3.0.0-alpha.0",
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
"babel-loader": "^8.2.5",
"babel-loader": "^8.3.0",
"clsx": "^1.2.1",
"core-js": "^3.25.1",
"core-js": "^3.27.1",
"terser-webpack-plugin": "^5.3.6",
"tslib": "^2.4.0",
"webpack": "^5.74.0",
"tslib": "^2.4.1",
"webpack": "^5.75.0",
"webpack-merge": "^5.8.0",
"workbox-build": "^6.5.4",
"workbox-precaching": "^6.5.4",
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 @@ -26,7 +26,7 @@
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
"fs-extra": "^10.1.0",
"sitemap": "^7.1.1",
"tslib": "^2.4.0"
"tslib": "^2.4.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/docusaurus-remark-plugin-npm2yarn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"license": "MIT",
"dependencies": {
"npm-to-yarn": "^1.0.1",
"tslib": "^2.4.0",
"npm-to-yarn": "^1.2.1",
"tslib": "^2.4.1",
"unist-util-visit": "^2.0.3"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-remark-plugin-npm2yarn/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

import visit from 'unist-util-visit';
// @ts-expect-error: this package provides CJS
import npmToYarn from 'npm-to-yarn';
import type {Code, Content, Literal} from 'mdast';
import type {Plugin} from 'unified';
Expand Down
Loading