danger 11.2.5 → 11.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -18,6 +18,10 @@
18
18
 
19
19
  <!-- Your comment above this -->
20
20
 
21
+ ## 11.2.6
22
+
23
+ - A fix for the fix in 11.2.5
24
+
21
25
  ## 11.2.5
22
26
 
23
27
  - Fix for running in projects which contain the path `danger-pr` e.g. `~/danger-projects` #1375
package/VISION.md CHANGED
@@ -31,7 +31,7 @@ great place to be for a developer tool.
31
31
  # Why Danger JS? What about Danger Ruby?
32
32
 
33
33
  When I started Danger JS, Danger Ruby was two years old, is still doing just fine. See the
34
- [original vision file](https://github.com/danger/danger/blob/main/VISION.md). This document assumes you have read it.
34
+ [original vision file](https://github.com/danger/danger/blob/master/VISION.md). This document assumes you have read it.
35
35
 
36
36
  The amount of issues we get in comparison to the number of downloads on Rubygems makes me feel pretty confident about
37
37
  Danger Ruby's state of production quality and maturity. I wanted to start thinking about the larger patterns in software
@@ -48,7 +48,7 @@ This realization came at the same time as serious thinking on a hosted version o
48
48
  can limit the exposed Danger DSL to only something that can be obtained over the API remotely. By doing this, a hosted
49
49
  Danger does not need to clone and run the associated projects. This is essential for my sanity. I cannot run multiple
50
50
  [servers like CocoaDocs](http://cocoadocs.org). So far, I'm calling this Peril. You can consult the
51
- [vision file for Peril](https://github.com/danger/peril/blob/main/VISION.md) if you'd like.
51
+ [vision file for Peril](https://github.com/danger/peril/blob/master/VISION.md) if you'd like.
52
52
 
53
53
  [plugins]: https://www.npmjs.com/search?q=keywords:danger-plugin&page=1&ranking=optimal
54
54
  [peril]: http://artsy.github.io/blog/2017/09/04/Introducing-Peril/
@@ -14,8 +14,8 @@ var dangerRunToRunnerCLI = function (argv) {
14
14
  // convert
15
15
  var newJSFile_1 = argv[1];
16
16
  usesProcessSeparationCommands.forEach(function (name) {
17
- var re = new RegExp("danger-".concat(name, ".js$"));
18
- newJSFile_1 = newJSFile_1.replace(re, "danger-runner.js");
17
+ var re = new RegExp("danger-".concat(name, "(.js)?$"));
18
+ newJSFile_1 = newJSFile_1.replace(re, "danger-runner$1");
19
19
  });
20
20
  // Support re-routing internally in npx for danger-ts
21
21
  // If I recall, npm 7 is getting an npx re-write, so it might
@@ -1 +1 @@
1
- {"version":3,"file":"dangerRunToRunnerCLI.js","sourceRoot":"","sources":["../../../source/commands/utils/dangerRunToRunnerCLI.ts"],"names":[],"mappings":";;AAAA,6BAA2B;AAE3B,IAAM,6BAA6B,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;AAE3D,IAAM,oBAAoB,GAAG,UAAC,IAAc;IAC1C,IAAI,UAAU,GAAG,EAAE,CAAA;IACnB,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;IAExB,0FAA0F;IAC1F,0EAA0E;IAE1E,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;QACrB,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;KAC5B;SAAM,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,OAAO,CAAC,GAAG,IAAI,IAAI,EAAE;QAC1D,UAAU;QACV,IAAI,WAAS,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;QACvB,6BAA6B,CAAC,OAAO,CAAC,UAAC,IAAI;YACzC,IAAM,EAAE,GAAG,IAAI,MAAM,CAAC,iBAAU,IAAI,SAAO,CAAC,CAAA;YAC5C,WAAS,GAAG,WAAS,CAAC,OAAO,CAAC,EAAE,EAAE,kBAAkB,CAAC,CAAA;QACvD,CAAC,CAAC,CAAA;QAEF,qDAAqD;QACrD,6DAA6D;QAC7D,mEAAmE;QACnE,2EAA2E;QAC3E,EAAE;QACF,IAAI,WAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,WAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;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C,CAAC,CAAA;QACnE,OAAO,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;YACnC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAA;SAC7B;KACF;IAED,OAAO,UAAU,CAAA;AACnB,CAAC,CAAA;AAED,kBAAe,oBAAoB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danger",
3
- "version": "11.2.5",
3
+ "version": "11.2.6",
4
4
  "description": "Unit tests for Team Culture",
5
5
  "main": "distribution/danger.js",
6
6
  "typings": "distribution/danger.d.ts",