Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/danger/danger-js
/ functions
Functions
621 in github.com/danger/danger-js
⨍
Functions
621
◇
Types & classes
270
↓ 1 callers
Function
setupGitHubAccount
(ui: InitUI, state: InitState)
source/commands/danger-init.ts:117
↓ 1 callers
Function
shouldRetryRequest
(res: FetchResponse)
source/api/fetch.ts:17
↓ 1 callers
Function
showNonGitHubWarning
(ui: InitUI)
source/commands/danger-init.ts:58
↓ 1 callers
Function
showTodoState
(ui: InitUI)
source/commands/danger-init.ts:68
↓ 1 callers
Function
sortResults
(results: DangerResults)
source/dsl/DangerResults.ts:191
↓ 1 callers
Function
stripWhitespaceForSnapshot
(str: string)
source/platforms/gitlab/_tests/_gitlab_git.test.ts:41
↓ 1 callers
Function
structuredDiffForFile
(filename: string)
source/platforms/git/gitJSONToGitDSL.ts:194
↓ 1 callers
Method
supportsCommenting
()
source/platforms/GitLab.ts:103
↓ 1 callers
Function
thanks
(ui: InitUI, _state: InitState)
source/commands/danger-init.ts:244
↓ 1 callers
Function
thing
()
source/runner/_tests/fixtures/export/thing.js:1
↓ 1 callers
Function
toHref
(path: string)
source/platforms/github/GitHubUtils.ts:30
↓ 1 callers
Function
travis
(ui: InitUI, state: InitState)
source/commands/init/add-to-ci.ts:63
↓ 1 callers
Function
truncate
(msg: string, count: number)
source/runner/templates/githubIssueTemplate.ts:55
↓ 1 callers
Function
unsure
(ui: InitUI, _state: InitState)
source/commands/init/add-to-ci.ts:145
↓ 1 callers
Method
updateInlineComment
(inlineResults: DangerInlineResults, previousComment: Comment)
source/runner/Executor.ts:467
↓ 1 callers
Method
updatePrStatus
( passed: boolean | "pending", issueURL: string | undefined, results: DangerResults, dangerID:
source/runner/Executor.ts:356
↓ 1 callers
Function
useCommittedDiffArgs
(base: string, head: string)
source/platforms/git/localGetDiff.ts:5
↓ 1 callers
Function
useStagingChanges
()
source/platforms/git/localGetDiff.ts:11
↓ 1 callers
Method
validateThereAreChanges
()
source/platforms/LocalGit.ts:35
↓ 1 callers
Function
wrapItUp
(ui: InitUI, _state: InitState)
source/commands/danger-init.ts:199
Method
APIMetadataForPR
()
source/platforms/_tests/_github.test.ts:47
Function
JSONDiffForFile
(filename: string)
source/platforms/git/gitJSONToGitDSL.ts:98
Method
JSONDiffForFile
* Provides a simplified JSON diff between the two versions of a JSON file. This will always * be an object whose keys represent what has changed in
source/danger.d.ts:997
Method
JSONPatchForFile
* Provides a JSON patch (rfc6902) between the two versions of a JSON file, * returns null if you don't have any changes for the file in the diff.
source/danger.d.ts:978
Method
apiInstance
()
source/platforms/gitlab/GitLabAPI.ts:96
Function
bitBucketCloudCommitToGitCommit
(commit: BitBucketCloudCommit)
source/platforms/bitbucket_cloud/BitBucketCloudGit.ts:30
Method
branchName
()
source/ci_source/providers/AppCenter.ts:72
Method
branchName
()
source/ci_source/providers/Codeship.ts:73
Function
buildRow
(row: string[])
source/runner/templates/markdownTableTemplate.ts:4
Method
ciRunURL
()
source/ci_source/providers/Buildkite.ts:54
Method
ciRunURL
()
source/ci_source/providers/Concourse.ts:57
Method
ciRunURL
()
source/ci_source/providers/Cirrus.ts:47
Method
ciRunURL
()
source/ci_source/providers/Circle.ts:96
Method
ciRunURL
()
source/ci_source/providers/Codemagic.ts:42
Method
ciRunURL
()
source/ci_source/providers/Jenkins.ts:80
Method
ciRunURL
()
source/ci_source/providers/BuddyWorks.ts:43
Method
ciRunURL
()
source/ci_source/providers/Travis.ts:82
Method
ciRunURL
()
source/ci_source/providers/Codefresh.ts:70
Method
ciRunURL
()
source/ci_source/providers/Bitrise.ts:67
Method
ciRunURL
()
source/ci_source/providers/Screwdriver.ts:57
Method
commitHash
()
source/ci_source/providers/Circle.ts:100
Method
commitHash
()
source/ci_source/providers/GitLabCI.ts:29
Method
commitHash
()
source/ci_source/providers/XcodeCloud.ts:40
Method
commitHash
()
source/ci_source/providers/Jenkins.ts:84
Method
commitHash
()
source/ci_source/providers/Bitrise.ts:71
Method
constructor
* Parse the JSON and assign danger to this object * * Also add the arguments sent to the CLI * * @param JSONString DSL in JSON format *
source/runner/dangerDSLJSON.ts:37
Method
constructor
( public readonly ciSource: CISource, public readonly platform: Platform, public readonly runner:
source/runner/Executor.ts:82
Method
constructor
(public exitCode: number = 0)
source/runner/_tests/_executor.test.ts:34
Method
constructor
(platformDSL: any, public readonly git: GitJSONDSL, public readonly utils: DangerUtilsDSL, name: string)
source/dsl/DangerDSL.ts:169
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Buildkite.ts:23
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Concourse.ts:33
Method
constructor
(env: Env)
source/ci_source/providers/local-repo.ts:6
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Cirrus.ts:23
Method
constructor
(private readonly env: Env)
source/ci_source/providers/AppCenter.ts:30
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Drone.ts:26
Method
constructor
(env: Env)
source/ci_source/providers/Fake.ts:7
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Circle.ts:47
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Netlify.ts:14
Method
constructor
(private readonly env: Env)
source/ci_source/providers/BitbucketPipelines.ts:36
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Surf.ts:16
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Bamboo.ts:35
Method
constructor
(private readonly env: Env)
source/ci_source/providers/TeamCity.ts:19
Method
constructor
(private readonly env: Env, event: any = undefined)
source/ci_source/providers/GitHubActions.ts:223
Method
constructor
(private readonly env: Env)
source/ci_source/providers/GitLabCI.ts:5
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Semaphore.ts:17
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Codemagic.ts:13
Method
constructor
(private readonly env: Env)
source/ci_source/providers/XcodeCloud.ts:16
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Jenkins.ts:39
Method
constructor
(private readonly env: Env)
source/ci_source/providers/BuddyWorks.ts:18
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Travis.ts:58
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Codefresh.ts:35
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Bitrise.ts:43
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Codeship.ts:40
Method
constructor
(private readonly env: Env)
source/ci_source/providers/VSTS.ts:16
Method
constructor
(private readonly env: Env)
source/ci_source/providers/CodeBuild.ts:24
Method
constructor
(private readonly env: Env)
source/ci_source/providers/Screwdriver.ts:26
Method
constructor
(public readonly api: BitBucketServerAPI)
source/platforms/BitBucketServer.ts:15
Method
constructor
(public readonly api: GitLabAPI)
source/platforms/GitLab.ts:22
Method
constructor
(public readonly api: BitBucketCloudAPI)
source/platforms/BitBucketCloud.ts:14
Method
constructor
()
source/platforms/FakePlatform.ts:9
Method
constructor
(public readonly options: LocalGitOptions)
source/platforms/LocalGit.ts:20
Method
constructor
(public readonly repoMetadata: RepoMetaData, public readonly repoCredentials: BitBucketRepoCredentials)
source/platforms/bitbucket_server/BitBucketServerAPI.ts:62
Method
constructor
(public readonly repoMetadata: RepoMetaData, public readonly token?: APIToken)
source/platforms/github/GitHubAPI.ts:77
Method
constructor
(public readonly repoMetadata: RepoMetaData, public readonly repoCredentials: GitLabAPICredentials)
source/platforms/gitlab/GitLabAPI.ts:81
Method
constructor
(public readonly repoMetadata: RepoMetaData, public readonly credentials: BitBucketCloudCredentials)
source/platforms/bitbucket_cloud/BitBucketCloudAPI.ts:95
Method
createComment
(_comment: string)
source/platforms/FakePlatform.ts:63
Function
createDTS
()
scripts/danger-dts.ts:6
Function
createDangerfileRuntimeEnvironment
(dangerfileContext: DangerContext)
source/runner/runners/inline.ts:23
Method
createInlineComment
(_git: GitDSL, _comment: string, _path: string, _line: number)
source/platforms/FakePlatform.ts:67
Function
customModuleHandler
(module: any, filename: string)
source/runner/runners/inline.ts:67
Function
defaultMap
(a: any)
source/platforms/git/_tests/local_dangerfile_example.ts:9
Method
delete
Make a delete call against the bitbucket server API
source/danger.d.ts:37
Method
delete
Make a delete call against the bitbucket server API
source/danger.d.ts:229
Method
delete
Make a delete call against the bitbucket server API
source/dsl/BitBucketServerDSL.ts:36
Method
deleteInlineComment
(_id: string)
source/platforms/FakePlatform.ts:75
Method
deleteInlineComment
(_id: string)
source/platforms/LocalGit.ts:91
Method
deleteMainComment
()
source/platforms/FakePlatform.ts:79
Method
diffForFile
* Offers the diff for a specific file * * @param {string} filename the path to the json file
source/danger.d.ts:960
Method
editMainComment
(_comment: string)
source/platforms/LocalGit.ts:99
Function
emptyResults
()
source/dsl/DangerResults.ts:240
← previous
next →
301–400 of 621, ranked by callers