New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

danger

Package Overview
Dependencies
Maintainers
3
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danger - npm Package Versions

1
2931
33

0.11.3

Diff
dangersystems
published 0.11.3 •

Changelog

Source

0.11.3 - 0.11.5

  • Internal changes for usage with Peril - [@orta]

  • Add danger pr --repl, which drops into a Node.js REPL after evaluating the dangerfile - macklinu

  • Add support for Codeship - deecewan

dangersystems
published 0.11.2 •

Changelog

Source

0.11.0 - 0.11.2

  • Add support for Docker Cloud - camacho
dangersystems
published 0.11.1 •
orta
published 0.10.0 •

Changelog

Source

0.10.0

  • Adds support for running Danger against a PR locally - [@orta]

The workflow is that you find a PR that exhibits the behavior you'd like Danger to run against, then edit the local Dangerfile.js and run yarn run danger pr https://github.com/facebook/jest/pull/2629.

This will post the results to your console, instead of on the PR itself.

  • Danger changes to your Dangerfile are not persisted after the run - [@orta]
  • Add summary comment for danger message - kwonoj
  • Add jest-environment-node to the Package.json - [@orta]
orta
published 0.9.0 •

Changelog

Source

0.9.0

  • Adds support for git.commits and github.commits - [@orta]

    Why two? Well github.commits contains a bunch of github specific metadata ( e.g. GitHub user creds, commit comment counts. ) Chances are, you're always going to use git.commits however if you want more rich data, the GitHub one is available too. Here's an example:

const merges = git.commits.filter(commit => commit.message.include("Merge Master"))
if (merges.length) {
  fail("Please rebase your PR")
}
  • Support custom dangerfile via -d commandline arg - kwonoj
  • Allow debug dump output via DEBUG=danger:* environment variable - kwonoj
  • Adds surf-build ci provider - kwonoj
  • Forward environment variables to external module constructor - kwonoj
orta
published 0.8.0 •

Changelog

Source

0.8.0

  • Support danger run -ci to specify external CI provider - kwonoj
  • Adds --verbose to danger, which for now will echo out all the URLs Danger has requested - [@orta]
  • Migrate codebase into TypeScript from flow - kwonoj
  • Handle removing all sorts of import types for Danger in the Dangerfile - [@orta]
orta
published 0.7.5 •
orta
published 0.7.4 •
orta
published 0.7.3 •

Changelog

Source

0.7.3-4-5

  • A failing network request will raise an error - [@orta]
  • Fix Dangerfile parsing which broke due to Peril related changes - [@orta]
  • Tweak the npmignore, ship less random stuff to others - [@orta]
orta
published 0.7.2 •

Changelog

Source

0.7.2

  • Fixes to the shipped Flow/TS definitions - [@orta]
  • Adds more functions the the internal Danger GitHub client - [@orta]
  • Infrastructure work to allow Peril to run a Dangerfile - [@orta]
  • Upgrade outdated ESLint packages - macklinu
  • Enhance Windows OS compatibility - kwonoj