mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore: land failing renovate updates (#67035)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
32c65547ac
commit
39408b3c83
+7
-7
@@ -147,19 +147,19 @@
|
||||
"@total-typescript/ts-reset": "^0.5.0",
|
||||
"@types/canvas-confetti": "^1.6.0",
|
||||
"@types/gatsbyjs__reach-router": "1.3.0",
|
||||
"@types/js-yaml": "4.0.5",
|
||||
"@types/loadable__component": "5.13.8",
|
||||
"@types/js-yaml": "4.0.9",
|
||||
"@types/loadable__component": "5.13.10",
|
||||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/prismjs": "^1.26.0",
|
||||
"@types/react": "18.2.79",
|
||||
"@types/react-dom": "18.2.25",
|
||||
"@types/react-gtm-module": "2.0.3",
|
||||
"@types/react": "18.3.28",
|
||||
"@types/react-dom": "18.3.7",
|
||||
"@types/react-gtm-module": "2.0.4",
|
||||
"@types/react-helmet": "6.1.11",
|
||||
"@types/react-redux": "7.1.33",
|
||||
"@types/react-redux": "7.1.34",
|
||||
"@types/react-scroll": "1.8.10",
|
||||
"@types/react-spinkit": "3.0.10",
|
||||
"@types/react-test-renderer": "16.9.12",
|
||||
"@types/react-transition-group": "4.4.10",
|
||||
"@types/react-transition-group": "4.4.12",
|
||||
"@types/redux-actions": "2.6.5",
|
||||
"@types/sanitize-html": "^2.8.0",
|
||||
"@types/store": "^2.0.2",
|
||||
|
||||
@@ -2,8 +2,7 @@ import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
interface GreenNotCompletedProps
|
||||
extends JSX.IntrinsicAttributes,
|
||||
React.SVGProps<SVGSVGElement> {
|
||||
extends JSX.IntrinsicAttributes, React.SVGProps<SVGSVGElement> {
|
||||
hushScreenReaderText?: boolean;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@ import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
interface GreenPassProps
|
||||
extends JSX.IntrinsicAttributes,
|
||||
React.SVGProps<SVGSVGElement> {
|
||||
extends JSX.IntrinsicAttributes, React.SVGProps<SVGSVGElement> {
|
||||
hushScreenReaderText?: boolean;
|
||||
}
|
||||
function GreenPass(props: GreenPassProps): JSX.Element {
|
||||
|
||||
@@ -668,7 +668,8 @@ a.patreon-button:hover {
|
||||
|
||||
.dark-palette .gradient-container {
|
||||
position: relative;
|
||||
background: linear-gradient(
|
||||
background:
|
||||
linear-gradient(
|
||||
-10deg,
|
||||
rgb(7 40 94) 35%,
|
||||
rgba(237, 202, 216, 0) 75%,
|
||||
@@ -679,7 +680,8 @@ a.patreon-button:hover {
|
||||
|
||||
.light-palette .gradient-container {
|
||||
position: relative;
|
||||
background: linear-gradient(
|
||||
background:
|
||||
linear-gradient(
|
||||
-10deg,
|
||||
rgb(223 243 255) 35%,
|
||||
rgba(237, 202, 216, 0) 75%,
|
||||
@@ -693,7 +695,8 @@ a.patreon-button:hover {
|
||||
}
|
||||
|
||||
.light-palette .gradient-foreground {
|
||||
background-image: linear-gradient(
|
||||
background-image:
|
||||
linear-gradient(
|
||||
-10deg,
|
||||
rgb(0, 51, 133) 35%,
|
||||
rgba(237, 202, 216, 0) 75%,
|
||||
@@ -705,7 +708,8 @@ a.patreon-button:hover {
|
||||
}
|
||||
|
||||
.dark-palette .gradient-foreground {
|
||||
background-image: linear-gradient(
|
||||
background-image:
|
||||
linear-gradient(
|
||||
-10deg,
|
||||
rgb(223 243 255) 35%,
|
||||
rgba(237, 202, 216, 0) 75%,
|
||||
|
||||
@@ -99,27 +99,27 @@
|
||||
}
|
||||
|
||||
.exposed-button-nav:is(
|
||||
:hover,
|
||||
:hover:focus,
|
||||
[aria-expanded='true'],
|
||||
[aria-expanded='true']:hover
|
||||
),
|
||||
:hover,
|
||||
:hover:focus,
|
||||
[aria-expanded='true'],
|
||||
[aria-expanded='true']:hover
|
||||
),
|
||||
.lang-button-nav:is(
|
||||
:hover,
|
||||
:hover:focus,
|
||||
[aria-expanded='true'],
|
||||
[aria-expanded='false'].force-show
|
||||
) {
|
||||
:hover,
|
||||
:hover:focus,
|
||||
[aria-expanded='true'],
|
||||
[aria-expanded='false'].force-show
|
||||
) {
|
||||
background-color: var(--gray-00);
|
||||
color: var(--theme-color);
|
||||
}
|
||||
|
||||
.lang-button-nav:is(
|
||||
:hover,
|
||||
:hover:focus,
|
||||
[aria-expanded='true'],
|
||||
[aria-expanded='false'].force-show
|
||||
) {
|
||||
:hover,
|
||||
:hover:focus,
|
||||
[aria-expanded='true'],
|
||||
[aria-expanded='false'].force-show
|
||||
) {
|
||||
fill: var(--gray-00);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
margin-bottom: 40px;
|
||||
border: 1px solid #31708f;
|
||||
color: #31708f;
|
||||
background: linear-gradient(
|
||||
background:
|
||||
linear-gradient(
|
||||
-10deg,
|
||||
rgba(217, 237, 247, 1) 35%,
|
||||
rgba(237, 202, 216, 0) 75%,
|
||||
|
||||
@@ -10,8 +10,7 @@ import { getTodayUsCentral } from './helpers';
|
||||
|
||||
import './widget.css';
|
||||
|
||||
interface DailyCodingChallengeWidgetProps
|
||||
extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
||||
interface DailyCodingChallengeWidgetProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
||||
forLanding: boolean;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import { GatsbyLinkProps, Link as GatsbyLink } from 'gatsby';
|
||||
import React from 'react';
|
||||
|
||||
interface LinkProps
|
||||
extends Omit<GatsbyLinkProps<Record<string, unknown>>, 'ref'> {
|
||||
interface LinkProps extends Omit<
|
||||
GatsbyLinkProps<Record<string, unknown>>,
|
||||
'ref'
|
||||
> {
|
||||
children?: React.ReactNode;
|
||||
external?: boolean;
|
||||
sameTab?: boolean;
|
||||
|
||||
@@ -22,7 +22,7 @@ function ChallengeTranscript({
|
||||
// default to collapsed
|
||||
const [isOpen, setIsOpen] = useState(() =>
|
||||
shouldPersistExpanded
|
||||
? (store.get('fcc-transcript-expanded') as boolean | null) ?? false
|
||||
? ((store.get('fcc-transcript-expanded') as boolean | null) ?? false)
|
||||
: false
|
||||
);
|
||||
|
||||
|
||||
@@ -118,9 +118,8 @@ describe('askSocratesSaga', () => {
|
||||
});
|
||||
|
||||
it('dispatches error when buildChallenge returns no seed', async () => {
|
||||
const { buildChallenge } = await import(
|
||||
'@freecodecamp/challenge-builder/build'
|
||||
);
|
||||
const { buildChallenge } =
|
||||
await import('@freecodecamp/challenge-builder/build');
|
||||
|
||||
return expectSaga(askSocratesSaga)
|
||||
.withReducer(reducer)
|
||||
@@ -140,9 +139,8 @@ describe('askSocratesSaga', () => {
|
||||
});
|
||||
|
||||
it('dispatches complete without userInput when editableContents is empty', async () => {
|
||||
const { buildChallenge } = await import(
|
||||
'@freecodecamp/challenge-builder/build'
|
||||
);
|
||||
const { buildChallenge } =
|
||||
await import('@freecodecamp/challenge-builder/build');
|
||||
const { getSocratesHint } = await import('../../../utils/ajax');
|
||||
|
||||
return expectSaga(askSocratesSaga)
|
||||
@@ -170,9 +168,8 @@ describe('askSocratesSaga', () => {
|
||||
});
|
||||
|
||||
it('dispatches complete with hint on successful API response', async () => {
|
||||
const { buildChallenge } = await import(
|
||||
'@freecodecamp/challenge-builder/build'
|
||||
);
|
||||
const { buildChallenge } =
|
||||
await import('@freecodecamp/challenge-builder/build');
|
||||
const { getSocratesHint } = await import('../../../utils/ajax');
|
||||
|
||||
return expectSaga(askSocratesSaga)
|
||||
@@ -200,9 +197,8 @@ describe('askSocratesSaga', () => {
|
||||
});
|
||||
|
||||
it('dispatches error with attempts/limit on API error response', async () => {
|
||||
const { buildChallenge } = await import(
|
||||
'@freecodecamp/challenge-builder/build'
|
||||
);
|
||||
const { buildChallenge } =
|
||||
await import('@freecodecamp/challenge-builder/build');
|
||||
const { getSocratesHint } = await import('../../../utils/ajax');
|
||||
|
||||
return expectSaga(askSocratesSaga)
|
||||
@@ -234,9 +230,8 @@ describe('askSocratesSaga', () => {
|
||||
});
|
||||
|
||||
it('dispatches generic error when API call throws', async () => {
|
||||
const { buildChallenge } = await import(
|
||||
'@freecodecamp/challenge-builder/build'
|
||||
);
|
||||
const { buildChallenge } =
|
||||
await import('@freecodecamp/challenge-builder/build');
|
||||
const { getSocratesHint } = await import('../../../utils/ajax');
|
||||
|
||||
return expectSaga(askSocratesSaga)
|
||||
|
||||
Reference in New Issue
Block a user