Socket
Socket
Sign inDemoInstall

danger

Package Overview
Dependencies
Maintainers
3
Versions
320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danger - npm Package Versions

1
3032

0.7.0

Diff

Changelog

Source

0.7.0

  • You can build and run in vscode using your own custom env/development.env file. This is useful because you can use the debugger against a real PR. See env/development.env.example for syntax. - [@orta]

  • Uses jest-transform and jest-runtime to eval and apply babel transforms.

    This does two things, makes it feasible to do hosted-danger and makes it possible to write your Dangerfile in a way that's consistent with the rest of your JavaScript. - [@orta]

  • Add tests directory to .npmignore - macklinu

  • Update to Jest 18 - macklinu

orta
published 0.6.10 •

Changelog

Source

0.6.10

  • Brings back the ability to emulate a fake CI run locally via danger - [@orta]
orta
published 0.6.9 •

Changelog

Source

0.6.9

  • Makes babel-polyfill a direct dependency, this is because it is actually an implicit dependency in the app. I'm not sure how I feel about this, I guess if we use a part of it in the babel translation of a user's Dangerfile them I'm OK with it. - [@orta]
orta
published 0.6.8 •

Changelog

Source

0.6.6 - 0.6.7 - 0.6.8

  • Ship flow annotations with the npm module - [@orta]
orta
published 0.6.7 •

Changelog

Source

0.6.6 - 0.6.7 - 0.6.8

  • Ship flow annotations with the npm module - [@orta]
orta
published 0.6.6 •

Changelog

Source

0.6.6 - 0.6.7 - 0.6.8

  • Ship flow annotations with the npm module - [@orta]
orta
published 0.6.5 •

Changelog

Source

0.6.5

  • Adds more node instances to travis - romanki + orta
  • Adds support for Semaphore CI - [@orta]
orta
published 0.6.4 •

Changelog

Source

0.6.4

  • The env vars DANGER_TEST_REPO and DANGER_TEST_PR will allow you initialize the FakeCI with a repo of your choice. See README.md for more info
  • Improved error messaging around not including a DANGER_GITHUB_API_TOKEN in the ENV - nsfmc / orta
  • Adds support for getting the diff for a specific file from git: e.g.
// Politely ask for their name on the entry too
const changelogDiff = danger.git.diffForFile("changelog.md")
const contributorName = danger.github.pr.user.login
if (changelogDiff && changelogDiff.indexOf(contributorName) === -1) {
  warn("Please add your GitHub name to the changelog entry, so we can attribute you.")
}
orta
published 0.6.3 •

Changelog

Source

0.6.3

  • Does not break commonmark on GitHub - [@orta]
  • upgrades to flow 0.35.0 and fixes associated type errors in covariant/invariant interfaces - nsfmc
  • omits flow requirement for new test files - nsfmc
  • adds support for circleci - nsfmc
  • defines CISource properties in flow as read-only - nsfmc
orta
published 0.5.0 •

Changelog

Source

0.5.0

  • danger.pr -> danger.github.pr, I've also created interfaces for them - [@orta]
  • warn, message, markdown are all ported over to DangerJS - [@orta]
  • Shows a HTML table for Danger message - [@orta]
  • Now offers a Flow-typed definition file, it's not shipped to their repo yet, you can make it by npm run export-flowtype - [@orta]
  • Started turning this into a real project by adding tests - [@orta]
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc