Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency danger to v12 #214

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
danger 4.0.1 -> 12.3.3 age adoption passing confidence

Release Notes

danger/danger-js (danger)

v12.3.3

Compare Source

  • [#​1180] Set module properly when tsconfig does not contain compilerOptions.module [@​matthewh]

v12.3.2

Compare Source

  • [#​1180] Adds support for ESM Dangerfiles (by using dangerfile.mts/dangerfile.mjs) [@​matthewh]

v12.3.1

Compare Source

  • Fixes for created, modified and deleted files in GitHub - [@​szweier]
  • Dont log about github.pr not being available in pull_request_target - [@​sayali10]

v12.3.0

Compare Source

  • Dockerfile changes - [@​glensc]
  • Use node 18 for pre-built versions of danger (used by Danger Swift / Kotlin et al) - [@​heltoft]

v12.2.1

Compare Source

v12.2.0

Compare Source

  • Adds a log when you run on GitHub Actions without being a pull_request - [@​orta]
  • GitHub: Move to 'List pull request files' API with pagination support [@​fabianehlert]

v12.1.0

Compare Source

It's been 7 years since I looked at danger init and err, the world of CI has changed quite a bit since then. So, Danger JS's
init command now knows that GitHub Actions exists and will correctly offer some advice on how to set up a Dangerfile for it. - [@​orta]

v12.0.1

Compare Source

Bumping to 12.x because we've raised the minimum to node version from 14 to 18. This is due to some of our dependencies
requiring a newer version of node. This is a breaking change for some folk! Also, 14 has been out of support for quite a while
now and Node 18 gives us a full year. - [@​orta]

  • Remove the user checks in GitHub comment/inline comment lookups, to allow using app tokens [#​1433] - [@​orta]
  • Upgrade node engine from >=14.13.1 to >=18 [@​heltoft]
  • Upgrade @types/node from ^10.11.3 to 18.19.18 [@​heltoft]
  • GitLab: [#​1386] Move from @gitbeaker/node to @gitbeaker/rest [@​heltoft]
  • GitLab: [#​1412] Danger fails to create inline comments on Gitlab [@​heltoft]
  • GitLab: [#​1405] Can't post multiple inline comments [@​heltoft]
  • GitLab: Do not delete system resolved danger inline comments [@​heltoft]
  • Fix for ESM imports in Dangerfiles [@​mgol]

v12.0.0

Compare Source

Bumping to 12.x because we've raised the minimum to node version from 14 to 18. This is due to some of our dependencies
requiring a newer version of node. This is a breaking change for some folk! Also, 14 has been out of support for quite a while
now and Node 18 gives us a full year. - [@​orta]

v11.3.1

Compare Source

  • Adds pull_number into thisPR in the GitHub SDL [@​radimsv]
  • Clear missing DSL timeout when DSL is found so danger runner can exit faster when done [@​normano64]
  • Customise GHE actions bot user ID via DANGER_GHE_ACTIONS_BOT_USER_ID #​1404 [@​dimitar-hristov]

v11.3.0

Compare Source

  • GitLab: Upgrade @gitbeaker/node from ^21.3.0 to ^35.8.1 [@​buffcode]

v11.2.8

Compare Source

v11.2.7

Compare Source

v11.2.6

Compare Source

  • A fix for the fix in 11.2.5

v11.2.5

Compare Source

  • Fix for running in projects which contain the path danger-pr e.g. ~/danger-projects #​1375

v11.2.4

Compare Source

  • Feature: Expose addLabels, removeLabels via gitlab.utils, [@​glensc] #​1353
  • Fix remote dangerfiles always parsing as JavaScript. TypeScript files should now work properly - [@​snowe2010]
  • Add support for BitBucket Cloud Repository Access Token - [@​thawankeane]

v11.2.3

Compare Source

Turns on skipLibCheck so that an @​types change doesn't break deploys to homebrew

v11.2.2

Compare Source

Reverts a change for GitHub Actions which was likely causing duplicate comments #​1337

v11.2.1

Compare Source

  • Updates jsonwebtoken due to security issues
  • Support arm64 binary generation for Apple silicon users #​1342 [@​pepix]

v11.2.0

Compare Source

v11.1.4

Compare Source

  • Yarn faff (a1d15db)
  • Merge pull request #​1320 from ivankatliarchuk/fix/getFileContents (9539b9d)
  • Merge pull request #​1323 from KubaJastrz/pr-draft (c92a32e)
  • feat: add github.pr.draft field (184df2d)
  • fix: added getFileContents tests with and without file (43c202b)
  • fix: added getFileContents tests (a1af3e2)
  • fix: gitlab api (b5de611)

v11.1.3

Compare Source

v11.1.2

Compare Source

  • Improvements to --staging in Danger local
  • Protection against custom git prompts in Danger local

v11.1.1

Compare Source

  • Bug fix for over-deleting inline comments #​1287

v11.0.7

Compare Source

v11.0.6

Compare Source

v11.0.5

Compare Source

  • Set the timeout for getting results from the Danger runner to be 10 seconds

v11.0.4

Compare Source

  • Deploying from my Mac to see if that's what's causing the build issues for homebrew. [@​orta]

v11.0.2

Compare Source

  • Breaking: Upgrade @​octokit/rest from ^16.43.1 to ^18.12.0 - #​1204 [@​fbartho]

    This is only likely to hit you if you use danger.github.api pretty extensively in your Dangerfiles, but better to keep an eye out.

v10.9.0

Compare Source

  • Prepare for release (34fe471)
  • Merge branch 'adjust-structured-diff-return-value' into main (06928e3)
  • Merge pull request #​1201 from berlysia/adjust-structured-diff-return-value (fb66c81)
  • Lock node-fetch to the latest 2.x (6303c88)
  • Merge pull request #​1198 from jonny133/jonny133-node-fetch-2_6_7 (9049848)
  • now structuredDiffForFile is well-typed (dc54972)
  • make structuredDiffForFile for BitBucketServer the same as the others (0b5865f)
  • Resolve node-fetch to 2.6.7 (ab77e3c)
  • Merge pull request #​1197 from danger/fb/fix-moved-json-crash (a7355a3)
  • Cleanup debug log (3411074)
  • Don't crash when danger.git.JSONDiffForFile encounters a moved JSON file (99e19f7)
  • Merge pull request #​1176 from Rouby/patch-1 (d896baf)
  • Merge branch 'main' into patch-1 (4804f80)
  • Merge branch 'main' of https://github.com/danger/danger-js into patch-1 (38a963e)
  • add changelog entry for pr 1176 (68ab2e9)
  • extend github api to send complete reviews (fb630ec)

v10.8.0

Compare Source

v10.7.1

Compare Source

v10.7.0

Compare Source

  • Adds support for XcodeCloud

v10.6.6

Compare Source

  • Fix for supporting Bitbucket Server personal repositories
  • GitLab: Added GitLabApi to danger.gitlab.api. - [@​shyim]
  • GitLab: Added label helper functions to danger.gitlab.api.addLabels and danger.gitlab.api.removeLabels. - [@​shyim]

v10.6.4

Compare Source

  • DEBUG="*" will now log out the response for any HTTP request which isn't classed as "OK" - [@​orta]

v10.6.3

Compare Source

  • Fixed Bitrise's ciRunURL underlying env var - [@​rogerluan]
  • Simplified Bitrise repo slug lookup, fixing SSH URL parsing in BitBucketServer - [@​rogerluan]
  • Log failure to update status also when not in verbose mode - [@​rogerluan]

v10.6.2

Compare Source

  • Added Codemagic.io as a supported CI - [@​fbartho]
  • Switched Danger's default branch to be 'main' from 'master' - [@​orta]
  • Added GitLab Approvals to the DSL: gitlab.approvals - kelvin-lemon

v10.6.1

Compare Source

  • Better detection of using the github actions bot for comment deletion - [@​orta]

v10.6.0

Compare Source

  • Bitbucket Cloud: Add markdown emoji instead of unicode - [@​JanStevens]
  • Add DANGER_DISABLE_TSC environment variable to disable transpiling with tsc, providing a way to force transpiling
    with Babel - [@​ozzieorca]
  • Adds options --newComment and --removePreviousComments - [@​davidhouweling]
  • Add support for a file path filter when calculation lines of code - [@​melvinvermeer]

v10.5.4

Compare Source

  • Fix for danger local not passing through --staging - [@​g3offrey]

v10.5.3

Compare Source

v10.5.2

Compare Source

v10.5.1

Compare Source

  • Bitbucket Cloud: Fix bug when Danger updating inline comment with summary comment. - [@​hellocore]
  • Fall back to alternative methods for establishing the PR number from CodeBuild - [@​alexandermendes]

v10.5.0

Compare Source

v10.4.1

Compare Source

v10.4.0

Compare Source

  • Adds aliases to the FakeCI env vars. You could now have something like:
    - run: "npx danger-ts ci"
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        DANGER_MANUAL_CI: true
        DANGER_MANUAL_GH_REPO: ${{ steps.pr_info.outputs.repo }}
        DANGER_MANUAL_PR: ${{ steps.pr_info.outputs.number }}
    Which looks more intentional instead of: DANGER_FAKE_CI etc. [@​orta]

v10.3.1

Compare Source

  • Experimental support for internal routing when using npx danger-ts [@​orta]

v10.3.0

Compare Source

  • Added a CLI option --ignoreOutOfDiffComments so that you can ignore inline-comments for lines that were not changed
    in the checked PR. The comments would be ignored completely - they won't even show in the results comment. [@​pinkasey]

v10.2.1

Compare Source

  • Wait for close event on spawned process in local git platform - [@​gzaripov]
  • Fix Typo in README.md [@​NotMoni]
  • Fix danger failure on getting diff for files with spaces in file path [@​HonzaMac]
  • Document how to disable transpilation [@​rzgry]
  • Fix get blob url for pr commit [@​doniyor2109]

v10.2.0

Compare Source

  • Take commit hash from CircleCI environment variable [@​valscion]
  • Fix project path with /- in GitLab MR URL [@​pgoudreau]
  • When creating a new PR with createOrUpdatePR, add the description (as done when editing) - [@​sogame]

v10.1.1

Compare Source

v10.1.0

Compare Source

  • Adds support for Bamboo CI [@​tim3trick]
  • Replace regex to a long url repos approach on Bitrise [@​lucasmpaim]
  • Pass process arguments back to the original process [@​f-meloni]
  • When fetching existing labels in createOrAddLabel use pagination to fetch them all - [@​sogame]

v10.0.0

Compare Source

  • Changed JSON patch implementation for better memory performance. [@​dkundel]

    Breaking: JSONPatchForFile will return a different order of operations than previously. It will also return a
    path with the index of the element inserted into an array for add operations.

v9.4.0

Compare Source

  • Vbump (24b0965)
  • Merge pull request #​1018 from sogame/Contributor_url (dcf1472)
  • Add missing contributor url (49b6f27)
  • Merge pull request #​1017 from sogame/Labels_add_debug (e6c7436)
  • Add debug messages for "createLabel" and "addLabels" failures in "createOrAddLabel" (31a1961)

v9.3.0

Compare Source

  • Add the staged flag to danger local command - [@​soyn]
  • Don't use hardcoded userId to update comments if using personal token in Github Actions - [@​rohit-gohri]
  • Disable warning in Github Action if using DANGER_GITHUB_API_TOKEN - [@​rohit-gohri]
  • Update parse-diff library - [@​417-72KI]
  • Fix repository slug in Jenkins provider - [@​sandratatarevicova]
  • Add Gitlab diff support - [@​rohit-gohri]
  • Fix Typos across danger-js Repo - [@​yohix]
  • Fix @octokit/rest deprecation warning when using .issues.addLabels() - [@​sogame]

v9.2.10

Compare Source

v9.2.9

Compare Source

  • Bitbucket Cloud: Allow DangerCI to get UUID from Bitbucket - [@​hellocore]
  • Update docs for GitLab - [@​orta]

v9.2.8

Compare Source

v9.2.7

Compare Source

  • Maybe fix deploys to GPR for Docker - [@​orta]

v9.2.6

Compare Source

  • Add support for Cirrus CI - [@​RDIL]

v9.2.5

Compare Source

  • Remove additional danger from pr generated json - [@​f-meloni]

v9.2.4

Compare Source

v9.2.3

Compare Source

v9.2.2

Compare Source

v9.2.1

Compare Source

v9.2.0

Compare Source

v9.1.8

Compare Source

  • Get GitHub Actions event file pathname from env variable - [@​IljaDaderko]

v9.1.7

Compare Source

  • GitHub Actions docs update - [@​orta]

v9.1.5

Compare Source

v9.1.4

Compare Source

  • Use new env BITBUCKET_REPO_FULL_NAME in bitbucket pipeline. - [@​Soyn]
  • Take commit hash from CI Source if available - [@​f-meloni]

v9.1.3

Compare Source

v9.1.1

Compare Source

v9.1.0

Compare Source

v9.0.3

Compare Source

  • Add support OAuth for BitBucket Cloud - [@​hellocore]
  • Allow handleResults to be called without a git object - [@​jtreanor]

v9.0.2

Compare Source

  • Fix for the GitLab dependency making danger not load - [@​f-meloni]

v9.0.1

Compare Source

  • Fixed incorrect main comment template on Bitbucket Cloud - [@​hellocore]

v9.0.0

Compare Source

  • Add BitBucket Cloud & BitBucket Pipelines support - [@​hellocore]
  • Add GitLab missing states - [@​f-meloni]
  • Fixes incorrect slug for builds from forks on Codefresh - [@​stevenp]

v8.0.0

Compare Source

v7.1.4

Compare Source

  • Un-hardcodes the repo in danger.github.utils.createOrUpdatePR- [@​ds300]

v7.1.3

Compare Source

v7.1.2

Compare Source

  • Update ts-jest to 24.0.2 - [@​friederbluemle]

  • Adds a fix for the default name of Danger in status - [@​orta]

  • Adds danger.git.fileMatch.getKeyedPaths(), providing more convenient access to paths. This replaces
    fileMatch.tap() and fileMatch.debug().

    const components = fileMatch("components/**/*.js", "!**/*.test.js")
    const componentTests = fileMatch("!**/*.test.js")
    
    if (components.edited && !componentTests.edited) {
      warn(
        [
          "This PR modified some components but none of their tests. <br>",
          "That's okay so long as it's refactoring existing code. <br>",
          "Affected files: ",
          components.getKeyedPaths().edited.join(", "),
        ].join("")
      )
    }

    This makes it much simpler to compose a collection of file checks - [@​paulmelnikow]

v7.1.1

Compare Source

v7.1.0

Compare Source

  • Adds Chainsmoker, and expands the Danger DSL with the addition of danger.git.fileMatch.

    const documentation = danger.git.fileMatch("**/*.md")
    const packageJson = danger.git.fileMatch("package.json")
    const lockfile = danger.git.fileMatch("yarn.lock", "package-lock.json")
    
    if (documentation.edited) {
      message("Thanks - We :heart: our [documentarians](http://www.writethedocs.org/)!")
    }
    
    if (packageJson.modified && !lockfile.modified) {
      warn("This PR modified package.json, but not the lockfile")
    }

    This makes it much simpler to compose a collection of file checks - [@​paulmelnikow]

v7.0.19

Compare Source

  • Taken a stab at trying to make the commit status summary to feel better in both Danger & Peril [@​orta], [@​dblandin]

v7.0.17

Compare Source

  • Send different build update keys based on the id on Bitbucket [@​f-meloni]

v7.0.16

Compare Source

v7.0.15

Compare Source

v7.0.14

Compare Source

v7.0.13

Compare Source

  • Adds some Debug logs for babel transformation - [@​orta]

v7.0.12

Compare Source

  • Support multi-line import/require statements in Dangerfiles & possibly fix source-mapping for errors - [@​fbartho]

v7.0.11

Compare Source

  • Return the DangerResults meta after sorting and merging operations - [@​f-meloni]
  • Make bitbucket generated signature less aggressive - [@​f-meloni]

v7.0.10

Compare Source

  • Prepare for release (36de6b0)
  • Don't expect a default export from octokit (d096d18)

v7.0.9

Compare Source

  • Updates the import for octokit at the top of the danger.d.ts - [@​orta]

v7.0.8

Compare Source

  • Handles the previews API correctly - [@​orta]

v7.0.7

Compare Source

  • Removed vm2 from Danger, it's not being used in Peril now - [@​orta]
  • danger pr with --json or --js` now don't require a Dangerfile to be present - [@​orta]

v7.0.4

Compare Source

  • More fixes for GITHUB_URL instead of just DANGER_GITHUB_URL for GitHub Enterprise. - [@​Aghassi]

v7.0.2

Compare Source

  • Fix issue where the PR command could not be run with a GitHub Enterprise URL.
  • Specify filename when loading Babel options. Fixes #​664
    (#​804) - [@​NMinhNguyen]
  • Running Danger on GitHub Actions now runs Danger from source code. Before that, Danger on GitHub Actions is stuck at
    v5.0.0-beta-24. @​dtinth

v7.0.1

Compare Source

  • Taken a stab at trying to make the commit status summary to feel better in both Danger & Peril [@​orta], [@​dblandin]

v7.0.0

Compare Source

  • Updates @octokit/rest to v16.x.x - this is a major semver change on their end, which I know it breaks some of
    Artsy/Danger's Peril Dangerfiles, so it's possible that it could break your Dangerfiles too. How do you know?

    Roughly, if you have any code that uses danger.github.api then it's very possible that you need to update your code.

    There are update notes here, but if you're using TypeScript
    then it'll raise the issues at a type-check level. Note, that this version may cause issues if you are using GitHub
    Enterprise, you can get updates here.

v6.1.13

Compare Source

  • Allow sub-processes to pass their own name an href so that it doesn't say made by Danger JS [@​orta]

    This is done by extending the DangerResults object passed back to Danger JS, by adding a meta section to the JSON:

    {
      "markdowns": [],
      "fails": [],
      "warnings": [],
      "messages": [],
      "meta": {
        "runtimeHref": "https://mysite.com",
        "runtimeName": "My Danger Runner"
      }
    }

    "meta" is optional, and will fall back to the DangerJS one.

  • Removed a dependency (voca) now that we're using TypeScript and have access to .includes [@​orta]

v6.1.12

Compare Source

  • Fix issue with detecting Babel if babel-core is installed - [@​sajjadzamani]

v6.1.11

Compare Source

  • Changelog faff (c25eb34)
  • Merge pull request #​787 from cysp/feature/github-actions-docs (09b9a69)
  • Merge pull request #​786 from cysp/feature/github-actions (f7cf264)
  • Update GITHUB_EVENT_TYPE to GITHUB_EVENT_NAME for Actions (1e9ff77)
  • Link to the documentation for GitHub Actions (5e317d4)
  • Merged by Peril (e8f0293)
  • Remove backticks from #​783 (a96e87e)

v6.1.10

Compare Source

  • Use the changelog command (b576ed0)
  • Merge pull request #​783 from randak/add-commit-id (ec0f2b5)
  • Merge branch 'master' into add-commit-id (4be622f)
  • Merge pull request #​784 from sajjadzamani/support-older-babel-versions (0fdcda1)
  • Add support for older babel versions (8aee4e0)
  • Remove IDE generated files (5a837b0)
  • Update changelog.md (e7a6c41)
  • Add commit ID to comment footer (#​168) (28bd18c)

[v6.1.9]


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant