MCPcopy Create free account

hub / github.com/freeCodeCamp/freeCodeCamp / functions

Functions2,118 in github.com/freeCodeCamp/freeCodeCamp

↓ 4 callersFunctionrunPython
(pyCode: string)
tools/client-plugins/browser-scripts/python-worker.ts:129
↓ 4 callersFunctionsetInitImpl
( impl: () => Promise<{ success: boolean; source?: string }> | Promise<never> )
client/src/components/growth-book/growth-book-wrapper.test.tsx:71
↓ 4 callersFunctionstringifyDonationEvents
( paymentContext: PaymentContext, paymentProvider: PaymentProvider )
client/src/utils/analytics-strings.ts:3
↓ 4 callersFunctiontransformContents
( wrap: Wrapper, polyP: ChallengeFile | Promise<ChallengeFile> )
packages/shared/src/utils/polyvinyl.ts:118
↓ 4 callersFunctiontranslateGeneric
({ text }, config, regexBefore, regexAfter)
tools/challenge-parser/translation-parser/index.js:78
↓ 4 callersFunctionundefinedOrBool
(val: string | undefined)
api/src/utils/env.ts:247
↓ 4 callersFunctionupdateStepTitles
()
tools/challenge-helper-scripts/utils.ts:206
↓ 4 callersFunctionupdateTaskMarkdownFiles
()
tools/challenge-helper-scripts/utils.ts:232
↓ 4 callersFunctionupdateTaskMeta
()
tools/challenge-helper-scripts/utils.ts:186
↓ 4 callersFunctionvalidateSocialUrl
( socialUrl: string, key: keyof typeof ALLOWED_DOMAINS_MAP )
api/src/routes/protected/settings.ts:109
↓ 4 callersFunctionverifyNoUpdatedUserAndNoNewDonation
(email: string)
api/src/routes/protected/donate.test.ts:174
↓ 4 callersFunctionwaitUntilListening
(page: Page)
e2e/hotkeys.spec.ts:53
↓ 4 callersFunctionwriteToFile
(fileName: string, data: Record<string, unknown>)
client/tools/external-curriculum/build-external-curricula-data-v2.ts:458
↓ 3 callersFunctionaddSuperblockStructure
( superBlockFilenames: string[], showComingSoon = SHOW_UPCOMING_CHANGES )
curriculum/src/build-curriculum.ts:301
↓ 3 callersFunctionanswerCurrentQuestionAndGoNext
( user: ReturnType<typeof userEvent.setup> )
client/src/templates/Challenges/exam/show.test.tsx:277
↓ 3 callersFunctionbase64URLEncode
(buf: Buffer)
api/src/utils/index.ts:20
↓ 3 callersFunctionbuild
( options: FastifyHttpOptions<RawServerDefault, FastifyBaseLogger> = {} )
api/src/app.ts:105
↓ 3 callersFunctionbuildCertification
( filePath: string )
curriculum/src/build-certification.ts:13
↓ 3 callersFunctionbuildContentOutlineItems
( headingElements: HTMLHeadingElement[] )
client/src/templates/Challenges/generic/content-outline.tsx:29
↓ 3 callersFunctionbuildSourceMap
(challengeFiles: ChallengeFile[])
packages/challenge-builder/src/build.ts:62
↓ 3 callersFunctionchallengeIsComplete
()
client/src/templates/Challenges/classic/editor.tsx:1340
↓ 3 callersFunctioncheckCanConnectToDb
( prisma: FastifyTestInstance['prisma'] )
api/vitest.utils.ts:168
↓ 3 callersFunctioncheckFlashMessageVisibility
(page: Page, translation: string)
e2e/flash.spec.ts:4
↓ 3 callersFunctioncleanUp
()
client/src/templates/Challenges/exam/show.tsx:295
↓ 3 callersFunctionclearEnvExam
()
api/__fixtures__/exam-environment-exam.ts:384
↓ 3 callersFunctioncloseAndFocus
()
client/src/components/Header/components/language-list.tsx:51
↓ 3 callersFunctioncompareAnswers
( examAnswers: ExamEnvironmentAnswer[], generatedAnswers: ExamEnvironmentGeneratedMultipleChoiceQuestion['
api/src/exam-environment/utils/exam-environment.ts:381
↓ 3 callersFunctioncompleteFrontEndCert
(page: Page, number?: number)
e2e/donation-modal.spec.ts:10
↓ 3 callersFunctioncomposeFunctions
(...fns: ApplyFunctionProps[])
packages/challenge-builder/src/build.ts:54
↓ 3 callersFunctionconfigure
()
client/src/utils/math-jax.ts:20
↓ 3 callersFunctionconfigure
( configPath: string )
packages/challenge-linter/src/index.ts:10
↓ 3 callersFunctionconstructEnvExamAttempt
( fastify: FastifyInstance, attempt: ExamEnvironmentExamAttempt, logger: FastifyBaseLogger )
api/src/exam-environment/utils/exam-environment.ts:435
↓ 3 callersFunctioncreateAnchorId
(value: string)
client/src/templates/Challenges/generic/content-outline.tsx:22
↓ 3 callersFunctioncreateCertLookup
( challenges: ReturnType<typeof getChallenges> )
api/src/routes/protected/certificate.ts:112
↓ 3 callersFunctioncreateQuizFile
({ challengeId, projectPath = getProjectPath(), title, dashedName, questionCount, challengeLang }:
tools/challenge-helper-scripts/utils.ts:81
↓ 3 callersFunctioncreateRedirect
(to = '/')
client/src/components/create-redirect.ts:5
↓ 3 callersFunctioncreateWidget
( editor: editor.IStandaloneCodeEditor, id: string, domNode: HTMLDivElement, // If getTop func
client/src/templates/Challenges/classic/editor.tsx:1192
↓ 3 callersFunctiondateToDateParam
(date: Date)
api/src/daily-coding-challenge/routes/daily-coding-challenge.test.ts:6
↓ 3 callersFunctiondecodeBase64
(str: string)
api/src/routes/helpers/challenge-helpers.ts:163
↓ 3 callersFunctiondeleteRequest
( path: string, body: unknown )
client/src/utils/ajax.ts:73
↓ 3 callersFunctiondragWithHeldTouch
( page: Page, locator: Locator, options: { startXRatio?: number; startYRatio?: number; moveB
e2e/upper-jaw-scroll-mobile.spec.ts:47
↓ 3 callersFunctionembedFilesInHtml
(challengeFiles)
packages/challenge-builder/src/transformers.js:283
↓ 3 callersFunctionencodeBase64
(str: string)
api/src/routes/helpers/challenge-helpers.ts:173
↓ 3 callersFunctionfilterDeprecated
* Remove objects from array with deprecated: true. * * @param arr An array. * @returns The array without objects that have deprecated: true.
api/src/utils/exam.ts:11
↓ 3 callersFunctionfixChallengeProperties
(challenge: Challenge)
curriculum/src/build-superblock.ts:238
↓ 3 callersFunctiongenerateUserToken
()
client/src/templates/Challenges/codeally/show.tsx:215
↓ 3 callersFunctiongetAllSections
(tree, marker)
tools/challenge-parser/parser/plugins/utils/get-section.js:53
↓ 3 callersFunctiongetAuditedSuperBlocks
({ language = 'english' }: { language: string; })
packages/shared/src/config/curriculum.ts:352
↓ 3 callersFunctiongetBlock
(filePath: string)
tools/challenge-helper-scripts/helpers/project-metadata.ts:26
↓ 3 callersFunctiongetCsrfToken
(setCookies: string[])
api/vitest.utils.ts:29
↓ 3 callersFunctiongetCurriculumLocale
()
client/tools/external-curriculum/build-external-curricula-data-v2.ts:123
↓ 3 callersFunctiongetEditableRegionFromRedux
()
client/src/templates/Challenges/classic/editor.tsx:432
↓ 3 callersFunctiongetMonthInfo
( year: number, monthIndex: number, dailyChallengesMap: DailyChallengesMap )
client/src/components/daily-coding-challenge/calendar.tsx:60
↓ 3 callersFunctiongetReturnTo
( encryptedParams: string, secret: jwt.Secret, _homeLocation = process.env.HOME_LOCATION )
api/src/utils/redirection.ts:18
↓ 3 callersFunctiongetStageOrder
({ showUpcomingChanges }: Config)
packages/shared/src/config/curriculum.ts:167
↓ 3 callersFunctiongetStepTemplate
({ challengeId, challengeSeeds, stepNum, challengeType, isFirstChallenge = false, challengeLang }:
tools/challenge-helper-scripts/helpers/get-step-template.ts:39
↓ 3 callersFunctiongetTransformers
packages/challenge-builder/src/transformers.js:408
↓ 3 callersFunctiongetUUID
()
client/src/utils/growthbook-cookie.ts:1
↓ 3 callersFunctionhandleChallengeUpdate
(filePath, action = 'changed')
tools/client-plugins/gatsby-source-challenges/gatsby-node.js:108
↓ 3 callersFunctionhasEnglishSource
( basePath: string, translationPath: string )
curriculum/src/get-challenges.ts:26
↓ 3 callersFunctionhttpValidator
client/src/components/formHelpers/form-validators.tsx:33
↓ 3 callersFunctioninRange
(num: number, range: number[])
packages/shared/src/utils/validate.test.ts:11
↓ 3 callersFunctioninitializeMathJax
(mathJaxChallenge = true)
client/src/utils/math-jax.ts:38
↓ 3 callersFunctioninsertStepIntoMeta
({ stepNum, stepId }: InsertOptions)
tools/challenge-helper-scripts/utils.ts:152
↓ 3 callersFunctioninterleave
( items: T[], separator: (index: number) => T )
client/src/components/helpers/interleave.ts:7
↓ 3 callersFunctionisAuditedSuperBlock
(language: string, superblock: SuperBlocks)
packages/shared/src/utils/is-audited.ts:3
↓ 3 callersFunctionisBrowser
()
client/utils/index.ts:35
↓ 3 callersFunctionisContained
(value: string[], other: string[])
client/src/utils/is-contained.ts:2
↓ 3 callersFunctionisFormPristine
()
client/src/components/profile/components/about.tsx:105
↓ 3 callersFunctionisInteractiveTarget
(target: EventTarget | null)
client/src/templates/Challenges/classic/content-widget-events.ts:24
↓ 3 callersFunctionisPrivate
(address: string)
client/src/components/formHelpers/form-ip-utils.ts:15
↓ 3 callersFunctionisTabTrapped
()
client/src/templates/Challenges/classic/editor.tsx:509
↓ 3 callersFunctionisTaskChallenge
(title: string)
tools/challenge-helper-scripts/helpers/task-helpers.ts:1
↓ 3 callersFunctionmockAuth0ValidEmail
()
api/src/routes/public/auth.test.ts:24
↓ 3 callersFunctionmockResponse
( ok: boolean, status: number, statusText: string, removedChallengeIds: string[] = [] )
client/src/templates/Introduction/components/reset-progress-modal.test.tsx:24
↓ 3 callersFunctionnormalizeForComparison
(value: string)
curriculum/src/filter.ts:126
↓ 3 callersMethodnotify
(eventType: 'play' | 'pause' | 'stop')
client/src/templates/Challenges/components/scene/scene-subject.tsx:19
↓ 3 callersFunctiononChange
(contents: string)
client/src/templates/Challenges/classic/editor.tsx:1001
↓ 3 callersFunctionparseCurriculumStructure
(filter?: Filter)
curriculum/src/build-curriculum.ts:391
↓ 3 callersFunctionpauseAudio
()
client/src/templates/Challenges/components/scene/scene.tsx:53
↓ 3 callersFunctionpickByExts
(exts: string[], preferArch?: string)
client/src/templates/Challenges/exam-download/show.tsx:226
↓ 3 callersFunctionprefixDoctype
({ build, sources }: { build: string; sources: Source; })
packages/challenge-builder/src/build.ts:119
↓ 3 callersFunctionprocessLintErrors
(results: LintResults)
packages/challenge-linter/src/index.ts:19
↓ 3 callersFunctionrandomCompliment
()
client/src/utils/get-words.ts:32
↓ 3 callersFunctionrandomQuote
()
client/src/utils/get-words.ts:28
↓ 3 callersFunctionrenderFillInTheBlanks
(overrides: Partial<FillInTheBlanksProps> = {})
client/src/templates/Challenges/components/fill-in-the-blanks.test.tsx:32
↓ 3 callersFunctionrenderShowExam
({ completedChallenges = [], completedSurveys = [] }: { completedChallenges?: { id: string }[]; comple
client/src/templates/Challenges/exam/show.test.tsx:132
↓ 3 callersFunctionrenderWithRedux
(ui: JSX.Element)
client/src/components/profile/profile.test.tsx:113
↓ 3 callersFunctionrenderWithRedux
( ui: JSX.Element, preloadedState: Record<string, unknown> = {} )
client/src/components/Intro/intro.test.tsx:16
↓ 3 callersFunctionrenderWithStore
({ isSignedIn }: { isSignedIn: boolean })
client/src/components/landing/components/two-button-cta.test.tsx:10
↓ 3 callersFunctionrenderWithUser
(user: TestUser | null)
client/src/components/Intro/email-sign-up-alert.test.tsx:20
↓ 3 callersFunctionrenderWrapper
(initOptions: { complete: boolean })
client/src/components/growth-book/growth-book-wrapper.test.tsx:95
↓ 3 callersFunctionreplaceAppleQuotes
(text: string)
client/src/utils/replace-apple-quotes.ts:1
↓ 3 callersFunctionroundDownToNearestHundred
(num: number)
client/tools/generate-search-placeholder.ts:49
↓ 3 callersFunctionrunChallengeTest
(page: Page, isMobile: boolean)
e2e/output.spec.ts:51
↓ 3 callersFunctionsavedChallengesSelector
client/src/redux/selectors.js:13
↓ 3 callersMethodsetPayload
(arg: Record<string, unknown>)
client/src/components/growth-book/growth-book-wrapper.test.tsx:82
↓ 3 callersFunctionshuffleArray
(array: Array<T>)
api/src/exam-environment/utils/exam-environment.ts:406
↓ 3 callersFunctionstandardizeRequestBody
({ id, challengeFiles = [], challengeType }: StandardizeRequestBodyArgs)
client/src/utils/challenge-request-helpers.ts:38
↓ 3 callersFunctionstoredAccessibilityMode
()
client/src/templates/Challenges/classic/editor.tsx:542
← previousnext →301–400 of 2,118, ranked by callers