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
Function
executeRuntimeEnvironment
( start: DangerRunner["runDangerfileEnvironment"], dangerfilePath: string, environment: any )
source/platforms/GitHub.ts:112
Function
fancyLink
(name: string, href: string)
source/commands/init/state-setup.ts:15
Function
fetchErrorJSON
(api: any, params: any)
source/platforms/github/_tests/_github_api.test.ts:18
Function
fetchJSON
(api: any, params: any)
source/platforms/github/_tests/_github_api.test.ts:7
Function
fetchText
(api: any, params: any)
source/platforms/bitbucket_cloud/_tests_/_bitbucket_cloud_api.test.ts:6
Method
fileContents
* Downloads a file's contents via the GitHub API. You'll want to use * this instead of `fs.readFile` when aiming to support working with Peril.
source/danger.d.ts:1067
Function
fileLinks
(paths: string[], useBasename: boolean = true, repoSlug?: string, branch?: string)
source/platforms/github/GitHubUtils.ts:22
Method
fileLinks
* Creates HTML for a sentence of clickable links for an array of paths. * This uses the source of the PR as the target, not the destination repo.
source/danger.d.ts:1057
Method
get
Make a get call against the bitbucket server API
source/danger.d.ts:28
Method
get
Make a get call against the bitbucket server API
source/danger.d.ts:220
Method
get
Make a get call against the bitbucket server API
source/dsl/BitBucketServerDSL.ts:27
Function
getContent
({ content }: { content: string })
source/platforms/git/gitJSONToGitDSL.ts:187
Method
getFileContents
Gets the contents of a file from a repo (defaults to yours)
source/danger.d.ts:25
Method
getFileContents
Gets the contents of a file from a repo (defaults to yours)
source/danger.d.ts:217
Method
getFileContents
Gets the contents of a file from a repo (defaults to yours)
source/dsl/BitBucketServerDSL.ts:24
Method
getInlineComments
(_: string)
source/platforms/FakePlatform.ts:47
Method
getNextPageFromLinkHeader
(response: FetchResponse)
source/platforms/github/GitHubAPI.ts:312
Method
getPlatformGitRepresentation
()
source/platforms/FakePlatform.ts:21
Method
getPlatformReviewDSLRepresentation
()
source/platforms/FakePlatform.ts:17
Method
getPullRequestActivities
()
source/platforms/_tests/_bitbucket_cloud.test.ts:21
Method
getPullRequestComments
()
source/platforms/_tests/_bitbucket_cloud.test.ts:25
Method
getPullRequestCommits
()
source/platforms/_tests/_bitbucket_cloud.test.ts:17
Method
getPullRequestCommits
()
source/platforms/_tests/_bitbucket_server.test.ts:22
Method
getPullRequestInfo
()
source/platforms/_tests/_bitbucket_cloud.test.ts:13
Method
getPullRequestInfo
()
source/platforms/_tests/_bitbucket_server.test.ts:14
Method
getReviewInfo
()
source/platforms/FakePlatform.ts:13
Function
getUser
()
source/platforms/_tests/_gitlab.test.ts:9
Function
gitHubGitDSL
(github: GitHubDSL, json: GitJSONDSL, githubAPI?: GitHubAPI)
source/platforms/github/GitHubGit.ts:39
Function
githubCommitToGitCommit
* Returns the response for the new comment * * @param {GitHubCommit} ghCommit A GitHub based commit * @returns {GitCommit} a Git commit representat
source/platforms/github/GitHubGit.ts:19
Method
href
* Creates a link using HTML. * * If `href` and `text` are falsy, null is returned. * If `href` is falsy and `text` is truthy, `text` is retur
source/danger.d.ts:807
Method
href
* Creates a link using HTML. * * If `href` and `text` are falsy, null is returned. * If `href` is falsy and `text` is truthy, `text` is retur
source/dsl/DangerUtilsDSL.ts:18
Function
inlineLink
(_name: string, href: string)
source/commands/init/state-setup.ts:16
Method
isCI
()
source/ci_source/providers/Buildkite.ts:29
Method
isCI
()
source/ci_source/providers/Concourse.ts:39
Method
isCI
()
source/ci_source/providers/local-repo.ts:18
Method
isCI
()
source/ci_source/providers/Cirrus.ts:29
Method
isCI
()
source/ci_source/providers/AppCenter.ts:41
Method
isCI
()
source/ci_source/providers/Drone.ts:32
Method
isCI
()
source/ci_source/providers/Fake.ts:19
Method
isCI
()
source/ci_source/providers/Circle.ts:53
Method
isCI
()
source/ci_source/providers/Netlify.ts:20
Method
isCI
()
source/ci_source/providers/BitbucketPipelines.ts:42
Method
isCI
()
source/ci_source/providers/Surf.ts:22
Method
isCI
()
source/ci_source/providers/Bamboo.ts:41
Method
isCI
()
source/ci_source/providers/TeamCity.ts:25
Method
isCI
()
source/ci_source/providers/GitHubActions.ts:239
Method
isCI
()
source/ci_source/providers/GitLabCI.ts:11
Method
isCI
()
source/ci_source/providers/Semaphore.ts:23
Method
isCI
()
source/ci_source/providers/Codemagic.ts:19
Method
isCI
()
source/ci_source/providers/XcodeCloud.ts:22
Method
isCI
()
source/ci_source/providers/Jenkins.ts:49
Method
isCI
()
source/ci_source/providers/BuddyWorks.ts:24
Method
isCI
()
source/ci_source/providers/Travis.ts:64
Method
isCI
()
source/ci_source/providers/Codefresh.ts:41
Method
isCI
()
source/ci_source/providers/Bitrise.ts:49
Method
isCI
()
source/ci_source/providers/Codeship.ts:51
Method
isCI
()
source/ci_source/providers/VSTS.ts:22
Method
isCI
()
source/ci_source/providers/CodeBuild.ts:35
Method
isCI
()
source/ci_source/providers/Screwdriver.ts:32
Method
isCI
()
source/ci_source/_tests/fixtures/dummy_ci.js:6
Method
isPR
()
source/ci_source/providers/Buildkite.ts:33
Method
isPR
()
source/ci_source/providers/Concourse.ts:43
Method
isPR
()
source/ci_source/providers/local-repo.ts:21
Method
isPR
()
source/ci_source/providers/Cirrus.ts:33
Method
isPR
()
source/ci_source/providers/AppCenter.ts:49
Method
isPR
()
source/ci_source/providers/Drone.ts:36
Method
isPR
()
source/ci_source/providers/Fake.ts:27
Method
isPR
()
source/ci_source/providers/Circle.ts:57
Method
isPR
()
source/ci_source/providers/Netlify.ts:24
Method
isPR
()
source/ci_source/providers/BitbucketPipelines.ts:46
Method
isPR
()
source/ci_source/providers/Surf.ts:26
Method
isPR
()
source/ci_source/providers/Bamboo.ts:45
Method
isPR
()
source/ci_source/providers/TeamCity.ts:29
Method
isPR
()
source/ci_source/providers/GitHubActions.ts:243
Method
isPR
()
source/ci_source/providers/GitLabCI.ts:15
Method
isPR
()
source/ci_source/providers/Semaphore.ts:27
Method
isPR
()
source/ci_source/providers/Codemagic.ts:24
Method
isPR
()
source/ci_source/providers/XcodeCloud.ts:27
Method
isPR
()
source/ci_source/providers/Jenkins.ts:53
Method
isPR
()
source/ci_source/providers/BuddyWorks.ts:28
Method
isPR
()
source/ci_source/providers/Travis.ts:68
Method
isPR
()
source/ci_source/providers/Codefresh.ts:45
Method
isPR
()
source/ci_source/providers/Bitrise.ts:53
Method
isPR
()
source/ci_source/providers/Codeship.ts:58
Method
isPR
()
source/ci_source/providers/VSTS.ts:29
Method
isPR
()
source/ci_source/providers/CodeBuild.ts:39
Method
isPR
()
source/ci_source/providers/Screwdriver.ts:36
Method
isPR
()
source/ci_source/_tests/fixtures/dummy_ci.js:9
Function
isPatternMatch
(path: string)
source/platforms/git/gitJSONToGitDSL.ts:158
Function
linesOfCode
(pattern?: string)
source/platforms/git/gitJSONToGitDSL.ts:157
Method
linesOfCode
* Offers the overall lines of code added/removed in the diff * * @param {string} pattern an option glob pattern to filer files that will conside
source/danger.d.ts:1004
Method
mergeRequestURL
()
source/platforms/gitlab/GitLabAPI.ts:92
Method
message
* Adds a message to the Danger table, the only difference between this * and warn is the emoji which shows in the table. * * @param {Markdown
source/runner/Dangerfile.ts:55
Function
messageToViolation
(message: string)
source/dsl/DangerResults.ts:282
Function
mockContents
({ ref }: any)
source/platforms/github/_tests/fixturedGitHubDSL.ts:57
Function
mockContents
({ ref }: any)
source/platforms/github/_tests/_github_git.test.ts:68
Method
name
()
source/ci_source/providers/Buildkite.ts:25
Method
name
()
source/ci_source/providers/Concourse.ts:35
Method
name
()
source/ci_source/providers/local-repo.ts:14
Method
name
()
source/ci_source/providers/Cirrus.ts:25
← previous
next →
401–500 of 621, ranked by callers