chore: upgrade minor dependencies (#10610)

This commit is contained in:
Sébastien Lorber 2024-10-24 18:44:59 +02:00 committed by GitHub
parent 4892f3ac4a
commit 28f6a4907a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 3041 additions and 2843 deletions

View file

@ -6,12 +6,12 @@
"private": true, "private": true,
"scripts": { "scripts": {
"screenshot": "playwright test", "screenshot": "playwright test",
"upload": "npx @argos-ci/cli upload ./screenshots", "upload": "npx @argos-ci/cli upload ./screenshots/chromium",
"report": "playwright show-report" "report": "playwright show-report"
}, },
"dependencies": { "dependencies": {
"@argos-ci/playwright": "^1.9.3", "@argos-ci/playwright": "^2.0.0",
"@playwright/test": "^1.41.2", "@playwright/test": "^1.48.1",
"cheerio": "^1.0.0-rc.12" "cheerio": "1.0.0-rc.12"
} }
} }

View file

@ -106,7 +106,7 @@
"jest-serializer-react-helmet-async": "^1.0.21", "jest-serializer-react-helmet-async": "^1.0.21",
"lerna": "^6.6.2", "lerna": "^6.6.2",
"lerna-changelog": "^2.2.0", "lerna-changelog": "^2.2.0",
"lint-staged": "^13.2.3", "lint-staged": "~13.2.3",
"lockfile-lint": "^4.14.0", "lockfile-lint": "^4.14.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^2.8.8", "prettier": "^2.8.8",

View file

@ -28,16 +28,16 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/core": "^7.23.3", "@babel/core": "^7.25.9",
"@babel/generator": "^7.23.3", "@babel/generator": "^7.25.9",
"@babel/traverse": "^7.22.8",
"@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.22.9", "@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.22.9", "@babel/preset-env": "^7.25.9",
"@babel/preset-react": "^7.22.5", "@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.22.5", "@babel/preset-typescript": "^7.25.9",
"@babel/runtime": "^7.22.6", "@babel/runtime": "^7.25.9",
"@babel/runtime-corejs3": "^7.22.6", "@babel/runtime-corejs3": "^7.25.9",
"@babel/traverse": "^7.25.9",
"@docusaurus/logger": "3.5.2", "@docusaurus/logger": "3.5.2",
"@docusaurus/utils": "3.5.2", "@docusaurus/utils": "3.5.2",
"babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-dynamic-import-node": "^2.3.3",

View file

@ -18,25 +18,25 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/core": "^7.23.3", "@babel/core": "^7.25.9",
"@docusaurus/babel": "3.5.2", "@docusaurus/babel": "3.5.2",
"@docusaurus/cssnano-preset": "3.5.2", "@docusaurus/cssnano-preset": "3.5.2",
"@docusaurus/logger": "3.5.2", "@docusaurus/logger": "3.5.2",
"@docusaurus/types": "3.5.2", "@docusaurus/types": "3.5.2",
"@docusaurus/utils": "3.5.2", "@docusaurus/utils": "3.5.2",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.14",
"babel-loader": "^9.1.3", "babel-loader": "^9.2.1",
"clean-css": "^5.3.2", "clean-css": "^5.3.2",
"copy-webpack-plugin": "^11.0.0", "copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1", "css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1", "css-minimizer-webpack-plugin": "^5.0.1",
"cssnano": "^6.1.2", "cssnano": "^6.1.2",
"postcss": "^8.4.26",
"postcss-loader": "^7.3.3",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"html-minifier-terser": "^7.2.0", "html-minifier-terser": "^7.2.0",
"mini-css-extract-plugin": "^2.9.1", "mini-css-extract-plugin": "^2.9.1",
"null-loader": "^4.0.1", "null-loader": "^4.0.1",
"postcss": "^8.4.26",
"postcss-loader": "^7.3.3",
"react-dev-utils": "^12.0.1", "react-dev-utils": "^12.0.1",
"terser-webpack-plugin": "^5.3.9", "terser-webpack-plugin": "^5.3.9",
"tslib": "^2.6.0", "tslib": "^2.6.0",

View file

@ -28,7 +28,9 @@ declare module 'unist' {
} }
declare module 'mdast' { declare module 'mdast' {
interface HeadingData { interface Data {
id?: string; id?: string;
hName?: string;
hProperties?: Record<string, unknown>;
} }
} }

View file

@ -6,11 +6,17 @@
*/ */
import React from 'react'; import React from 'react';
import {JsonView} from 'react-json-view-lite'; import {
JsonView,
defaultStyles,
type Props as JsonViewProps,
} from 'react-json-view-lite';
import type {Props} from '@theme/DebugJsonView'; import type {Props} from '@theme/DebugJsonView';
import styles from './styles.module.css'; import styles from './styles.module.css';
const paraisoStyles = { const paraisoStyles: JsonViewProps['style'] = {
clickableLabel: defaultStyles.clickableLabel,
noQuotesForStringValues: false,
container: styles.containerParaiso!, container: styles.containerParaiso!,
basicChildStyle: styles.basicElementParaiso!, basicChildStyle: styles.basicElementParaiso!,
label: styles.labelParaiso!, label: styles.labelParaiso!,

View file

@ -20,8 +20,8 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/core": "^7.23.3", "@babel/core": "^7.25.9",
"@babel/preset-env": "^7.23.3", "@babel/preset-env": "^7.25.9",
"@docusaurus/bundler": "3.5.2", "@docusaurus/bundler": "3.5.2",
"@docusaurus/core": "3.5.2", "@docusaurus/core": "3.5.2",
"@docusaurus/logger": "3.5.2", "@docusaurus/logger": "3.5.2",
@ -30,7 +30,7 @@
"@docusaurus/types": "3.5.2", "@docusaurus/types": "3.5.2",
"@docusaurus/utils": "3.5.2", "@docusaurus/utils": "3.5.2",
"@docusaurus/utils-validation": "3.5.2", "@docusaurus/utils-validation": "3.5.2",
"babel-loader": "^9.1.3", "babel-loader": "^9.2.1",
"clsx": "^2.0.0", "clsx": "^2.0.0",
"core-js": "^3.31.1", "core-js": "^3.31.1",
"tslib": "^2.6.0", "tslib": "^2.6.0",

View file

@ -6,7 +6,7 @@
*/ */
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import {createRoot} from 'react-dom/client';
import type {Props} from '@theme/PwaReloadPopup'; import type {Props} from '@theme/PwaReloadPopup';
const POPUP_CONTAINER_ID = 'pwa-popup-container'; const POPUP_CONTAINER_ID = 'pwa-popup-container';
@ -23,6 +23,7 @@ const createContainer = () => {
export function renderReloadPopup(props: Props): Promise<void> { export function renderReloadPopup(props: Props): Promise<void> {
const container = getContainer() ?? createContainer(); const container = getContainer() ?? createContainer();
return import('@theme/PwaReloadPopup').then(({default: ReloadPopup}) => { return import('@theme/PwaReloadPopup').then(({default: ReloadPopup}) => {
ReactDOM.render(<ReloadPopup {...props} />, container); const root = createRoot(container);
root.render(<ReloadPopup {...props} />);
}); });
} }

View file

@ -21,8 +21,8 @@
"@docusaurus/core": "3.5.2", "@docusaurus/core": "3.5.2",
"@docusaurus/types": "3.5.2", "@docusaurus/types": "3.5.2",
"@docusaurus/utils-validation": "3.5.2", "@docusaurus/utils-validation": "3.5.2",
"@rsdoctor/webpack-plugin": "^0.4.6",
"@rsdoctor/rspack-plugin": "^0.4.6", "@rsdoctor/rspack-plugin": "^0.4.6",
"@rsdoctor/webpack-plugin": "^0.4.6",
"tslib": "^2.6.0" "tslib": "^2.6.0"
}, },
"peerDependencies": { "peerDependencies": {

View file

@ -8,7 +8,7 @@
import React from 'react'; import React from 'react';
// Add react-live imports you need here // Add react-live imports you need here
const ReactLiveScope = { const ReactLiveScope: unknown = {
React, React,
...React, ...React,
}; };

View file

@ -130,24 +130,22 @@ export const DEFAULT_CONFIG: Pick<
}; };
function createPluginSchema(theme: boolean) { function createPluginSchema(theme: boolean) {
return ( return Joi.alternatives()
Joi.alternatives() .try(
.try( Joi.function(),
Joi.function(), Joi.array()
Joi.array() .ordered(Joi.function().required(), Joi.object().required())
.ordered(Joi.function().required(), Joi.object().required()) .length(2),
.length(2), Joi.string(),
Joi.string(), Joi.array()
Joi.array() .ordered(Joi.string().required(), Joi.object().required())
.ordered(Joi.string().required(), Joi.object().required()) .length(2),
.length(2), Joi.any().valid(false, null),
Joi.any().valid(false, null), )
) .error((errors) => {
// @ts-expect-error: bad lib def, doesn't recognize an array of reports errors.forEach((error) => {
.error((errors) => { const validConfigExample = theme
errors.forEach((error) => { ? `Example valid theme config:
const validConfigExample = theme
? `Example valid theme config:
{ {
themes: [ themes: [
["@docusaurus/theme-classic",options], ["@docusaurus/theme-classic",options],
@ -157,7 +155,7 @@ function createPluginSchema(theme: boolean) {
[function myTheme() { },options] [function myTheme() { },options]
], ],
};` };`
: `Example valid plugin config: : `Example valid plugin config:
{ {
plugins: [ plugins: [
["@docusaurus/plugin-content-docs",options], ["@docusaurus/plugin-content-docs",options],
@ -168,17 +166,16 @@ function createPluginSchema(theme: boolean) {
], ],
};`; };`;
error.message = ` => Bad Docusaurus ${ error.message = ` => Bad Docusaurus ${
theme ? 'theme' : 'plugin' theme ? 'theme' : 'plugin'
} value ${error.path.reduce((acc, cur) => } value ${error.path.reduce((acc, cur) =>
typeof cur === 'string' ? `${acc}.${cur}` : `${acc}[${cur}]`, typeof cur === 'string' ? `${acc}.${cur}` : `${acc}[${cur}]`,
)}. )}.
${validConfigExample} ${validConfigExample}
`; `;
}); });
return errors; return errors;
}) });
);
} }
const PluginSchema = createPluginSchema(false); const PluginSchema = createPluginSchema(false);

View file

@ -13,10 +13,8 @@ APFS
appinstalled appinstalled
Applanga Applanga
architecting architecting
Astro
atrule atrule
Autoconverted Autoconverted
autofix
autogen autogen
Autogen Autogen
autogenerating autogenerating
@ -28,16 +26,8 @@ Bhatt
blockquotes blockquotes
Blockquotes Blockquotes
Bokmål Bokmål
browserstack
buble
Buble
Buble's
bunx bunx
caabernathy caabernathy
cacheable
callouts
Callstack
camelcase
Candillon Candillon
cdabcdab cdabcdab
cdpath cdpath
@ -58,8 +48,6 @@ Couriol
creativecommons creativecommons
Csapo Csapo
Csvg Csvg
customizability
Customizability
dabit dabit
Dabit Dabit
Daishi Daishi
@ -93,17 +81,13 @@ endiliey
Endi's Endi's
ERRNAMETOOLONG ERRNAMETOOLONG
evaluable evaluable
execa
Execa
externalwaiting externalwaiting
failfast failfast
Fargate Fargate
FBID
Fienny Fienny
flac flac
Flightcontrol Flightcontrol
Flightcontrol's Flightcontrol's
Formik
FOUC FOUC
froms froms
funboxteam funboxteam
@ -113,7 +97,6 @@ Gifs
Goss Goss
Goyal Goyal
gtag gtag
Gtag
hahaha hahaha
Hamel Hamel
hasura hasura
@ -123,27 +106,18 @@ Héctor
héllô héllô
hideable hideable
Hideable Hideable
hola
Hola
Hostman Hostman
hoverable hoverable
Husain Husain
IANAD IANAD
idempotency
Iframes
Immer
infima infima
Infima Infima
Infima's Infima's
inlines inlines
Intelli
intellij
interactiveness interactiveness
interpolatable interpolatable
Interpolatable Interpolatable
Investec Investec
javadoc
jiti
jmarcey jmarcey
jodyheavener jodyheavener
joelmarcey joelmarcey
@ -167,7 +141,6 @@ Lifecycles
lightningcss lightningcss
linkify linkify
Linkify Linkify
Localizable
lockb lockb
lorber lorber
Lorber Lorber
@ -208,7 +181,6 @@ mkdocs
mkdown mkdown
moesif moesif
Moesif Moesif
msapplication
Nabors Nabors
Nakagawa Nakagawa
nand nand
@ -224,7 +196,6 @@ noicon
nojekyll nojekyll
noninteractive noninteractive
npmjs npmjs
nprogress
Nuxt Nuxt
ödingers ödingers
opensearch opensearch
@ -243,7 +214,6 @@ ozaki
ozakione ozakione
pagefind pagefind
Pagefind Pagefind
pageview
palenight palenight
Palenight Palenight
Paletton Paletton
@ -255,11 +225,8 @@ paularmstrong
philpl philpl
photoshop photoshop
Photoshop Photoshop
picomatch
Pipeable Pipeable
playbtn playbtn
pluggable
Pluggable
plushie plushie
Plushie Plushie
plushies plushies
@ -270,14 +237,10 @@ precached
precaching precaching
preconfigured preconfigured
prerendered prerendered
prerendering
printfn printfn
println
prismjs
producthunt producthunt
profilo profilo
Profilo Profilo
Protobuf
protobuffet protobuffet
PRPL PRPL
Pyltsyn Pyltsyn
@ -296,12 +259,7 @@ recma
Recma Recma
recrawl recrawl
redirections redirections
Redoc
redocusaurus
redwoodjs redwoodjs
refactorings
rehype
Rehype
reloadable reloadable
Reloadable Reloadable
renderable renderable
@ -317,7 +275,6 @@ RSDOCTOR
rspack rspack
Rspack Rspack
rtcts rtcts
rtlcss
saurus saurus
Scaleway Scaleway
sebastien sebastien
@ -331,7 +288,6 @@ setlocal
SFNT SFNT
shiki shiki
Shiki Shiki
shortcodes
showinfo showinfo
Sida Sida
Simen Simen
@ -347,15 +303,11 @@ stackoverflow
Stormkit Stormkit
Strikethrough Strikethrough
strikethroughs strikethroughs
stylelint
stylelintrc stylelintrc
subdir
sublabel sublabel
sublicensable sublicensable
sublist sublist
subpage subpage
subroute
subroutes
subsetting subsetting
subsubcategory subsubcategory
subsubfolder subsubfolder
@ -366,15 +318,10 @@ Sucipto
sunsetting sunsetting
supabase supabase
Supabase Supabase
svgr
SVGR
swizzlable swizzlable
Tagkey Tagkey
Teik Teik
templating
Thanos
Therox Therox
toolset
toplevel toplevel
Transifex Transifex
transpiles transpiles
@ -386,7 +333,6 @@ triaging
Triaging Triaging
TSES TSES
twoslash twoslash
typecheck
typesafe typesafe
typesense typesense
Typesense Typesense
@ -396,17 +342,13 @@ unlisteds
Unlisteds Unlisteds
unlocalized unlocalized
Unlocalized Unlocalized
unnormalized
unswizzle unswizzle
untruncated
Untruncated
upvotes upvotes
urlset urlset
Vannicatte Vannicatte
vbnet vbnet
vetter vetter
Vetter Vetter
vfile
Vicenti Vicenti
Vieira Vieira
Viet Viet
@ -414,8 +356,6 @@ Vinnik
vjeux vjeux
voir voir
waivable waivable
wcag
WCAG
webfactory webfactory
webpackbar webpackbar
webstorm webstorm

5706
yarn.lock

File diff suppressed because it is too large Load diff