danger 11.2.0 → 11.2.1

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/.release-it.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
- "github": {
3
- "release": true,
4
- "assets": "brew-distribution/*.zip"
5
- },
6
- "buildCommand": "yarn package",
2
+ "_": "CI will switch the release here to true",
3
+ "github": { "release": false, "assets": "brew-distribution/*.zip" },
4
+ "buildCommand": "yarn package:x64; yarn package:arm64",
7
5
  "hooks": {
8
6
  "before:bump": "yarn declarations; yarn build:schemas",
9
- "after:bump": "yarn package",
10
- "after:release": "VERSION=${version} scripts/create-homebrew-tap-pr.sh"
7
+ "after:release": "gh workflow run .github/workflows/release.yml version=${version}",
8
+ "_": "CI will remove the _ from both of the below lines",
9
+ "_after:bump": "yarn package:x64; yarn package:arm64",
10
+ "_after:release": "export VERSION=${version}; echo 'VERSION=${version}' >> $GITHUB_ENV"
11
11
  }
12
12
  }
package/CHANGELOG.md CHANGED
@@ -16,8 +16,19 @@
16
16
 
17
17
  <!-- Your comment below this -->
18
18
 
19
+
19
20
  <!-- Your comment above this -->
20
21
 
22
+
23
+ ## 11.2.1
24
+
25
+ - Updates jsonwebtoken due to security issues
26
+ - Support arm64 binary generation for Apple silicon users [#1342](https://github.com/danger/danger-js/pull/1342) [@pepix]
27
+
28
+ ## 11.2.1
29
+
30
+ - Bug fix for bitbucket bot detection ignoring case #1291
31
+
21
32
  ## 11.2.0
22
33
 
23
34
  - Append random string to danger-results.json and danger-dsl.json files to better support concurrent processes #1311
package/CONTRIBUTING.md CHANGED
@@ -40,8 +40,8 @@ Following [this commit](https://github.com/danger/danger-js/commit/a26ac3b3bd4f0
40
40
  - Modify `changelog.md`, adding a new `### 0.21.0` heading under the `### Main` heading at the top of the file.
41
41
  - Commit both changes with the commit message **Version bump**.
42
42
  - Tag this commit - `git tag 0.21.0`.
43
- - Push the commit and tag to master - `git push origin main --follow-tags`. Travis CI will build the tagged commit and
44
- publish that tagged version to NPM.
43
+ - Push the commit and tag to master - `git push origin main --follow-tags`. GitHub Actions will build the tagged commit
44
+ and publish that tagged version to NPM.
45
45
 
46
46
  :ship:
47
47
 
package/README.md CHANGED
@@ -99,8 +99,9 @@ Check the issues, I try and keep my short term perspective there. Long term is i
99
99
  Following [this commit](https://github.com/danger/danger-js/commit/a26ac3b3bd4f002acd37f6a363c8e74c9d5039ab) as a model:
100
100
 
101
101
  - Checkout the `main` branch. Ensure your working tree is clean, and make sure you have the latest changes by running
102
- `git pull`.
102
+ `git pull; yarn`.
103
103
  - Publish - `npm run release -- patch --ci`.
104
+ - This will trigger a CI run which updates homebrew for the native builds
104
105
 
105
106
  :ship:
106
107
 
package/VISION.md CHANGED
@@ -26,7 +26,7 @@ JS has been accomplished:
26
26
 
27
27
  So, what now? Well. It's kinda done and now can mature. For the past few years Danger Ruby has solidified and become
28
28
  foundational infrastructure which you can trust won't change much, now Danger JS can be in the same place. This is a
29
- great place to be a developer tool.
29
+ great place to be for a developer tool.
30
30
 
31
31
  # Why Danger JS? What about Danger Ruby?
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danger",
3
- "version": "11.2.0",
3
+ "version": "11.2.1",
4
4
  "description": "Unit tests for Team Culture",
5
5
  "main": "distribution/danger.js",
6
6
  "typings": "distribution/danger.d.ts",
@@ -65,6 +65,8 @@
65
65
  "build:watch": "tsc -w",
66
66
  "link": "yarn run build && chmod +x distribution/commands/danger.js && yarn link",
67
67
  "package": "yarn run pkg . --output brew-distribution/danger; zip -j brew-distribution/danger-macos.zip brew-distribution/danger; shasum -a 256 brew-distribution/danger-macos.zip",
68
+ "package:x64": "yarn run pkg . --output brew-distribution/danger-x64 --targets node16-macos-x64; zip -j brew-distribution/danger-macos-x64.zip brew-distribution/danger-x64; shasum -a 256 brew-distribution/danger-macos-x64.zip",
69
+ "package:arm64": "yarn run pkg . --output brew-distribution/danger-arm64 --targets node16-macos-arm64; zip -j brew-distribution/danger-macos-arm64.zip brew-distribution/danger-arm64; shasum -a 256 brew-distribution/danger-macos-arm64.zip",
68
70
  "declarations": "ts-node ./scripts/create-danger-dts.ts",
69
71
  "docs:cp_defs": "mkdir docs/docs_generate; cp source/danger.d.ts docs/docs_generate; cp node_modules/@octokit/rest/index.d.ts docs/docs_generate/github.d.ts",
70
72
  "docs": "yarn run docs:cp_defs; yarn typedoc --ignoreCompilerErrors --mode modules --json docs/js_ref_dsl_docs.json --includeDeclarations source",
@@ -102,7 +104,7 @@
102
104
  "@types/jest": "^24.0.11",
103
105
  "@types/json5": "^0.0.30",
104
106
  "@types/jsonpointer": "^4.0.0",
105
- "@types/jsonwebtoken": "^7.2.8",
107
+ "@types/jsonwebtoken": "^9.0.0",
106
108
  "@types/lodash.includes": "^4.3.4",
107
109
  "@types/lodash.mapvalues": "^4.6.6",
108
110
  "@types/lodash.memoize": "^4.1.3",
@@ -154,7 +156,7 @@
154
156
  "hyperlinker": "^1.0.0",
155
157
  "json5": "^2.1.0",
156
158
  "jsonpointer": "^5.0.0",
157
- "jsonwebtoken": "^8.4.0",
159
+ "jsonwebtoken": "^9.0.0",
158
160
  "lodash.find": "^4.6.0",
159
161
  "lodash.includes": "^4.3.0",
160
162
  "lodash.isobject": "^3.0.2",