MCPcopy Index your code

hub / github.com/danger/danger-js / functions

Functions621 in github.com/danger/danger-js

↓ 1 callersFunctionbitBucketServerDiffToGitStructuredDiff
(diffs: BitBucketServerDiff[])
source/platforms/bitbucket_server/BitBucketServerGit.ts:132
↓ 1 callersFunctionbitBucketServerGitDSL
( bitBucketServer: BitBucketServerJSONDSL, json: GitJSONDSL, bitBucketServerAPI: BitBucketServerAPI )
source/platforms/bitbucket_server/BitBucketServerGit.ts:65
↓ 1 callersFunctionbitbucketCloudJSONToBitBucketCloudDSL
( bitbucket: BitBucketCloudJSONDSL, api: BitBucketCloudAPI )
source/platforms/BitBucketCloud.ts:185
↓ 1 callersFunctionbitbucketServerJSONToBitBucketServerDSL
( bitbucket: BitBucketServerJSONDSL, api: BitBucketServerAPI )
source/platforms/BitBucketServer.ts:265
↓ 1 callersFunctionbuildHeader
(headers: string[])
source/runner/templates/markdownTableTemplate.ts:1
↓ 1 callersFunctionbuildRows
(rows: string[][])
source/runner/templates/markdownTableTemplate.ts:6
↓ 1 callersFunctioncalculateLineDiff
(diff: StructuredDiff, line: number)
source/platforms/gitlab/inlinePositionParser.ts:34
↓ 1 callersFunctioncamelCase
(str: string)
source/commands/init/state-setup.ts:70
↓ 1 callersFunctioncanUseChecks
(token: string | undefined)
source/platforms/github/comms/checksCommenter.ts:36
↓ 1 callersFunctioncapitalizeFirstLetter
(string: string)
source/commands/init/state-setup.ts:69
↓ 1 callersFunctioncheckForBabel
()
source/commands/init/state-setup.ts:66
↓ 1 callersFunctioncheckForNodeModules
()
source/runner/runners/utils/transpiler.ts:25
↓ 1 callersFunctioncheckForTypeScript
()
source/commands/init/state-setup.ts:65
↓ 1 callersFunctioncheckSeparateTestsFolder
(src: string, tests: string)
source/commands/init/default-dangerfile.ts:89
↓ 1 callersFunctioncircle
(ui: InitUI, state: InitState)
source/commands/init/add-to-ci.ts:102
↓ 1 callersFunctioncontainsMarkdown
(message: string)
source/runner/templates/githubIssueTemplate.ts:47
↓ 1 callersFunctioncontextForDanger
(dsl: DangerDSLType)
source/runner/Dangerfile.ts:105
↓ 1 callersFunctioncreateCommandArguments
(options: GitLogOptions)
source/platforms/git/localLogGitCommits.ts:36
↓ 1 callersFunctioncreateImport
(state: InitState)
source/commands/init/default-dangerfile.ts:56
↓ 1 callersMethodcreateInlineComment
(_git: GitDSL, _comment: string, _path: string, _line: number)
source/platforms/LocalGit.ts:83
↓ 1 callersFunctioncreateOrAddLabel
(pr: GitHubPRDSL | undefined, api: GitHub)
source/platforms/github/GitHubUtils.ts:195
↓ 1 callersFunctioncreateOrUpdatePR
(pr: GitHubPRDSL | undefined, api: GitHub)
source/platforms/github/GitHubUtils.ts:143
↓ 1 callersFunctioncreateUI
(state: InitState, app: any)
source/commands/init/state-setup.ts:13
↓ 1 callersFunctioncreateUpdatedIssueWithIDGenerator
(api: GitHub)
source/platforms/github/GitHubUtils.ts:93
↓ 1 callersFunctiondangerSignature
(results: DangerResults)
source/runner/templates/bitbucketServerTemplate.ts:45
↓ 1 callersFunctiondangerSignature
(results: DangerResults)
source/runner/templates/bitbucketCloudTemplate.ts:12
↓ 1 callersFunctiondangerSignature
(results: DangerResults)
source/runner/templates/githubIssueTemplate.ts:89
↓ 1 callersMethodfail
* Highlights critical issues. Message is shown inside a HTML table. * * @param {MarkdownString} message the String to output * @param {string
source/runner/Dangerfile.ts:36
↓ 1 callersFunctionfetch
(api: any, params: any)
source/platforms/github/_tests/_github_api.test.ts:29
↓ 1 callersFunctionfileContentsGenerator
(api: GitHub, defaultRepoSlug: string | undefined, defaultRef: string | undefined)
source/platforms/github/GitHubUtils.ts:47
↓ 1 callersFunctionfileLineToString
(file: string, line: number)
source/runner/templates/bitbucketServerTemplate.ts:42
↓ 1 callersFunctionfileLineToString
(file: string, line: number)
source/runner/templates/bitbucketCloudTemplate.ts:20
↓ 1 callersFunctionfinalize
(keyedPaths: KeyedPaths<T>)
source/commands/utils/chainsmoker.ts:38
↓ 1 callersFunctionfindRelevantChunk
(diff: StructuredDiff, line: number)
source/platforms/gitlab/inlinePositionParser.ts:97
↓ 1 callersFunctionfixturedData
(path: string)
source/platforms/github/_tests/_github_utils.test.ts:7
↓ 1 callersFunctionformatDangerfile
(dangerfile: string, dangerfileState: ReturnType<typeof generateDangerfileState>)
source/commands/init/default-dangerfile.ts:40
↓ 1 callersFunctiongenerateDangerfileState
()
source/commands/init/default-dangerfile.ts:4
↓ 1 callersFunctiongenerateDefaultDangerfile
(state: InitState)
source/commands/init/default-dangerfile.ts:11
↓ 1 callersFunctiongenerateInitialState
(osProcess: NodeJS.Process)
source/commands/init/state-setup.ts:33
↓ 1 callersFunctiongetAccessTokenForInstallation
(appID: string, installationID: number, key: string)
source/platforms/github/comms/checks/githubAppSupport.ts:45
↓ 1 callersFunctiongetBlobUrlForPath
(path: string)
source/platforms/github/comms/checks/resultsToCheck.ts:69
↓ 1 callersFunctiongetCISource
(env: Env, modulePath: string | undefined)
source/ci_source/get_ci_source.ts:50
↓ 1 callersMethodgetExternalAPI
()
source/platforms/_tests/_github.test.ts:43
↓ 1 callersFunctiongetGitHubFileContents
( token: string, repoSlug: string, path: string, ref: string | null, showError: boolean = true )
source/platforms/github/customGitHubRequire.ts:55
↓ 1 callersFunctiongetIssue
()
source/platforms/GitHub.ts:30
↓ 1 callersMethodgetIssue
()
source/platforms/_tests/_github.test.ts:18
↓ 1 callersFunctiongetJSONFromSTDOUT
(stdout: string)
source/commands/utils/runDangerSubprocess.ts:154
↓ 1 callersFunctiongetJSONURLFromSTDOUT
(stdout: string)
source/commands/utils/runDangerSubprocess.ts:145
↓ 1 callersFunctiongetJSONURLFromSTDOUT
(stdout)
scripts/run-fixtures.js:87
↓ 1 callersFunctiongetRepoSlug
()
source/commands/init/get-repo-slug.ts:6
↓ 1 callersMethodgetReviewerRequests
()
source/platforms/_tests/_github.test.ts:38
↓ 1 callersMethodgetReviews
()
source/platforms/_tests/_github.test.ts:33
↓ 1 callersFunctiongitDSLForBitBucketCloud
(api: BitBucketCloudAPI)
source/platforms/bitbucket_cloud/BitBucketCloudGit.ts:44
↓ 1 callersFunctiongitDSLForBitBucketServer
(api: BitBucketServerAPI)
source/platforms/bitbucket_server/BitBucketServerGit.ts:55
↓ 1 callersFunctiongitDSLForGitHub
(api: GitHubAPI)
source/platforms/github/GitHubGit.ts:31
↓ 1 callersFunctiongitLabGitDSL
(gitlab: GitLabDSL, json: GitJSONDSL, gitlabAPI: GitLabAPI)
source/platforms/gitlab/GitLabGit.ts:10
↓ 1 callersFunctiongithubActionsWorkflowWarningCheck
()
source/ci_source/providers/GitHubActions.ts:278
↓ 1 callersFunctiongo
(app: App)
source/commands/danger-init.ts:33
↓ 1 callersFunctiongoAsync
()
source/platforms/git/_tests/local_dangerfile_example.ts:16
↓ 1 callersMethodhandleResultsPostingToPlatform
* Handle showing results inside a code review platform * * @param {DangerResults} results a JSON representation of the end-state for a Danger ru
source/runner/Executor.ts:240
↓ 1 callersFunctionhtmlForValidation
(defaultEmoji: string, violation: Violation)
source/runner/templates/githubIssueTemplate.ts:29
↓ 1 callersFunctioninlineResultsToAnnotations
( results: DangerResults, _options: ExecutorOptions, getBlobUrlForPath: any )
source/platforms/github/comms/checks/resultsToCheck.ts:122
↓ 1 callersFunctionisInstallationAccessToken
(credentials: unknown)
source/platforms/github/comms/checks/githubAppSupport.ts:38
↓ 1 callersFunctionisMarkdownOnlyResults
(results: DangerResults)
source/dsl/DangerResults.ts:245
↓ 1 callersFunctionjsonDSLPlatformName
(platform: Platform)
source/runner/dslGenerator.ts:49
↓ 1 callersFunctionjwtForGitHubAuth
(appID: string, key: string)
source/platforms/github/comms/checks/githubAppSupport.ts:7
↓ 1 callersFunctionlocalGetDiff
(base: string, head: string, staging: boolean = false)
source/platforms/git/localGetDiff.ts:13
↓ 1 callersFunctionmakeString
(name: string, arr: any[])
source/platforms/github/comms/checksCommenter.ts:130
↓ 1 callersMethodmarkdown
* Adds raw markdown into the Danger comment, under the table * * @param {MarkdownString} message the String to output * @param {string | unde
source/runner/Dangerfile.ts:76
↓ 1 callersFunctionmarkdownCode
(string: string)
source/commands/utils/reporting.ts:3
↓ 1 callersFunctionmatchPatterns
(patterns: Pattern[])
source/commands/utils/chainsmoker.ts:24
↓ 1 callersFunctionmergeResults
(left: DangerResults, right: DangerResults)
source/commands/utils/reporting.ts:18
↓ 1 callersFunctionmessageForResults
(results: DangerResults)
source/runner/Executor.ts:512
↓ 1 callersFunctionmessageFromResults
(results: DangerResults)
source/platforms/github/comms/checksCommenter.ts:128
↓ 1 callersFunctionnoViolationsOrAllOfThemEmpty
(violations: Violation[])
source/runner/templates/githubIssueTemplate.ts:51
↓ 1 callersFunctionnoteAboutClickingLinks
(ui: InitUI, state: InitState)
source/commands/danger-init.ts:192
↓ 1 callersFunctionpLimit
* Inline concurrency limiter — replaces the `p-limit` package. * Restricts the number of promises running at once to `concurrency`.
source/platforms/github/GitHubAPI.ts:20
↓ 1 callersFunctionparseCommits
(commits: readonly string[], fields: readonly string[])
source/platforms/git/localLogGitCommits.ts:64
↓ 1 callersFunctionrequestAccessTokenForInstallation
(appID: string, installationID: number, key: string)
source/platforms/github/comms/checks/githubAppSupport.ts:22
↓ 1 callersFunctionrequestWithFixturedContent
(path: string)
source/platforms/github/_tests/fixturedGitHubDSL.ts:27
↓ 1 callersFunctionrequestWithFixturedContent
(path: string)
source/platforms/github/_tests/_github_git.test.ts:28
↓ 1 callersFunctionrequestWithFixturedContent
(path: string)
source/platforms/bitbucket_cloud/_tests_/_bitbucket_cloud_git.test.ts:29
↓ 1 callersFunctionresultsForCaughtError
(file: string, contents: string, error: Error)
source/runner/runners/utils/resultsForCaughtError.ts:5
↓ 1 callersMethodresultsForError
* Takes an error (maybe a bad eval) and provides a DangerResults compatible object * @param error Any JS error
source/runner/Executor.ts:499
↓ 1 callersFunctionresultsToCheck
( results: DangerResults, options: ExecutorOptions, pr: GitHubPRDSL, api: GitHubNodeAPI, ciCommitHas
source/platforms/github/comms/checks/resultsToCheck.ts:50
↓ 1 callersFunctionresultsWithFailure
(failure: string, moreMarkdown?: string)
source/commands/utils/reporting.ts:8
↓ 1 callersFunctionretryableFetch
(url: string | Request, init: RequestInit)
source/api/fetch.ts:30
↓ 1 callersFunctionrun
(config: SharedCLI)
source/commands/danger-runner.ts:48
↓ 1 callersFunctionrun
()
source/platforms/github/GitHubAPI.ts:33
↓ 1 callersFunctionrunAllScheduledTasks
(results: DangerRuntimeContainer)
source/runner/runners/inline.ts:27
↓ 1 callersMethodrunDanger
* Runs all of the operations for a running just Danger * @param {string} file the filepath to the Dangerfile * @returns {Promise<DangerResults>
source/runner/Executor.ts:96
↓ 1 callersFunctionrunDangerfile
(fixture)
scripts/run-fixtures.js:39
↓ 1 callersFunctionrunHalfProcessJSON
(platform: Platform, source: CISource)
source/commands/danger-pr.ts:132
↓ 1 callersFunctionrunRunner
(app: SharedCLI, config?: RunnerConfig)
source/commands/ci/resetStatus.ts:12
↓ 1 callersFunctionsanitizeTSConfig
(config: any, esm: boolean = false)
source/runner/runners/utils/transpiler.ts:138
↓ 1 callersMethodsendInlineComment
(git: GitDSL, inlineResults: DangerInlineResults)
source/runner/Executor.ts:462
↓ 1 callersMethodsendInlineReview
(git: GitDSL, inlineResultsForReview: DangerInlineResults[])
source/runner/Executor.ts:448
↓ 1 callersMethodsetup
()
source/ci_source/providers/CodeBuild.ts:26
↓ 1 callersFunctionsetupDangerfile
(ui: InitUI, state: InitState)
source/commands/danger-init.ts:89
↓ 1 callersFunctionsetupGHAccessToken
(ui: InitUI, state: InitState)
source/commands/danger-init.ts:158
← previousnext →201–300 of 621, ranked by callers