github-webhook 3.0.0 → 3.0.2
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 +12 -0
- package/github-webhook.js +10 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [3.0.2](https://github.com/rvagg/github-webhook/compare/v3.0.1...v3.0.2) (2026-01-28)
|
|
2
|
+
|
|
3
|
+
### Trivial Changes
|
|
4
|
+
|
|
5
|
+
* **deps:** update deps ([#24](https://github.com/rvagg/github-webhook/issues/24)) ([90fab2b](https://github.com/rvagg/github-webhook/commit/90fab2b80fb20b1f176d60e62619fa3bad63192d))
|
|
6
|
+
|
|
7
|
+
## [3.0.1](https://github.com/rvagg/github-webhook/compare/v3.0.0...v3.0.1) (2026-01-24)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* perform symlink-safe isMain check ([#23](https://github.com/rvagg/github-webhook/issues/23)) ([1f9efdd](https://github.com/rvagg/github-webhook/commit/1f9efdd1ce3bcfc6d766c1d0ab809f55e31c88af))
|
|
12
|
+
|
|
1
13
|
## [3.0.0](https://github.com/rvagg/github-webhook/compare/v2.0.2...v3.0.0) (2026-01-24)
|
|
2
14
|
|
|
3
15
|
### ⚠ BREAKING CHANGES
|
package/github-webhook.js
CHANGED
|
@@ -14,7 +14,16 @@ import minimist from 'minimist'
|
|
|
14
14
|
const serverDebug = debug('github-webhook:server')
|
|
15
15
|
const eventsDebug = debug('github-webhook:events')
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
// Handle symlinks (npm global install creates symlinks)
|
|
18
|
+
function resolveRealPath (p) {
|
|
19
|
+
try {
|
|
20
|
+
return fs.realpathSync(p)
|
|
21
|
+
} catch {
|
|
22
|
+
return p
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const isMain = resolveRealPath(process.argv[1]) === fileURLToPath(import.meta.url)
|
|
18
27
|
|
|
19
28
|
if (isMain) {
|
|
20
29
|
const argv = minimist(process.argv.slice(2))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-webhook",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "A flexible web server for reacting GitHub Webhooks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "github-webhook.js",
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@semantic-release/changelog": "^6.0.3",
|
|
31
|
-
"@semantic-release/commit-analyzer": "^13.0.
|
|
31
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
32
32
|
"@semantic-release/git": "^10.0.1",
|
|
33
|
-
"@semantic-release/github": "^12.0.
|
|
34
|
-
"@semantic-release/npm": "^13.
|
|
35
|
-
"@semantic-release/release-notes-generator": "^14.0
|
|
36
|
-
"conventional-changelog-conventionalcommits": "^9.
|
|
37
|
-
"semantic-release": "^25.0.
|
|
33
|
+
"@semantic-release/github": "^12.0.2",
|
|
34
|
+
"@semantic-release/npm": "^13.1.3",
|
|
35
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
36
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
37
|
+
"semantic-release": "^25.0.2",
|
|
38
38
|
"standard": "^17.1.2"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"debug": "^4.4.3",
|
|
42
|
-
"github-webhook-handler": "^
|
|
42
|
+
"github-webhook-handler": "^2.0.0",
|
|
43
43
|
"matchme": "^2.0.1",
|
|
44
44
|
"minimist": "^1.2.8",
|
|
45
45
|
"split2": "^4.2.0",
|