strong-error-handler 5.0.6 → 5.0.8
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.
|
@@ -20,13 +20,14 @@ jobs:
|
|
|
20
20
|
actions: read
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
|
-
- uses: step-security/harden-runner@
|
|
23
|
+
- uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
|
24
24
|
with:
|
|
25
25
|
disable-sudo: true
|
|
26
26
|
egress-policy: block
|
|
27
27
|
allowed-endpoints: >
|
|
28
28
|
api.github.com:443
|
|
29
29
|
github.com:443
|
|
30
|
+
objects.githubusercontent.com:443
|
|
30
31
|
|
|
31
32
|
- name: Checkout repository
|
|
32
33
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
@@ -34,11 +35,11 @@ jobs:
|
|
|
34
35
|
persist-credentials: false
|
|
35
36
|
|
|
36
37
|
- name: Initialize CodeQL
|
|
37
|
-
uses: github/codeql-action/init@
|
|
38
|
+
uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
|
|
38
39
|
with:
|
|
39
40
|
languages: javascript-typescript
|
|
40
41
|
config-file: .github/codeql/codeql-config.yml
|
|
41
42
|
|
|
42
43
|
- name: Perform CodeQL Analysis
|
|
43
|
-
uses: github/codeql-action/analyze@
|
|
44
|
+
uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
|
|
44
45
|
|
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
fail-fast: false
|
|
32
32
|
runs-on: ${{ matrix.os }}
|
|
33
33
|
steps:
|
|
34
|
-
- uses: step-security/harden-runner@
|
|
34
|
+
- uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
|
35
35
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
|
36
36
|
with:
|
|
37
37
|
disable-sudo: true
|
|
@@ -45,7 +45,7 @@ jobs:
|
|
|
45
45
|
with:
|
|
46
46
|
persist-credentials: false
|
|
47
47
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
48
|
-
uses: actions/setup-node@
|
|
48
|
+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
|
49
49
|
with:
|
|
50
50
|
node-version: ${{ matrix.node-version }}
|
|
51
51
|
cache: npm
|
|
@@ -59,7 +59,7 @@ jobs:
|
|
|
59
59
|
name: Code Lint
|
|
60
60
|
runs-on: ubuntu-latest
|
|
61
61
|
steps:
|
|
62
|
-
- uses: step-security/harden-runner@
|
|
62
|
+
- uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
|
63
63
|
with:
|
|
64
64
|
disable-sudo: true
|
|
65
65
|
egress-policy: block
|
|
@@ -72,7 +72,7 @@ jobs:
|
|
|
72
72
|
with:
|
|
73
73
|
persist-credentials: false
|
|
74
74
|
- name: Use Node.js 20
|
|
75
|
-
uses: actions/setup-node@
|
|
75
|
+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
|
76
76
|
with:
|
|
77
77
|
node-version: 20
|
|
78
78
|
cache: 'npm'
|
|
@@ -89,7 +89,7 @@ jobs:
|
|
|
89
89
|
runs-on: ubuntu-latest
|
|
90
90
|
if: ${{ github.event.pull_request }}
|
|
91
91
|
steps:
|
|
92
|
-
- uses: step-security/harden-runner@
|
|
92
|
+
- uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
|
93
93
|
with:
|
|
94
94
|
disable-sudo: true
|
|
95
95
|
egress-policy: block
|
|
@@ -101,7 +101,7 @@ jobs:
|
|
|
101
101
|
fetch-depth: 0
|
|
102
102
|
persist-credentials: false
|
|
103
103
|
- name: Use Node.js 20
|
|
104
|
-
uses: actions/setup-node@
|
|
104
|
+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
|
105
105
|
with:
|
|
106
106
|
node-version: 20
|
|
107
107
|
cache: npm
|
|
@@ -125,7 +125,7 @@ jobs:
|
|
|
125
125
|
name: Lockfile Lint
|
|
126
126
|
runs-on: ubuntu-latest
|
|
127
127
|
steps:
|
|
128
|
-
- uses: step-security/harden-runner@
|
|
128
|
+
- uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
|
129
129
|
with:
|
|
130
130
|
disable-sudo: true
|
|
131
131
|
egress-policy: block
|
|
@@ -136,7 +136,7 @@ jobs:
|
|
|
136
136
|
with:
|
|
137
137
|
persist-credentials: false
|
|
138
138
|
- name: Use Node.js 20
|
|
139
|
-
uses: actions/setup-node@
|
|
139
|
+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
|
140
140
|
with:
|
|
141
141
|
node-version: 20
|
|
142
142
|
cache: npm
|
|
@@ -32,7 +32,7 @@ jobs:
|
|
|
32
32
|
id-token: write
|
|
33
33
|
|
|
34
34
|
steps:
|
|
35
|
-
- uses: step-security/harden-runner@
|
|
35
|
+
- uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
|
36
36
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
|
37
37
|
with:
|
|
38
38
|
disable-sudo: true
|
|
@@ -66,13 +66,13 @@ jobs:
|
|
|
66
66
|
|
|
67
67
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
|
68
68
|
# format to the repository Actions tab.
|
|
69
|
-
- uses: actions/upload-artifact@
|
|
69
|
+
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
|
70
70
|
with:
|
|
71
71
|
name: OSSF Scorecard SARIF file
|
|
72
72
|
path: results.sarif
|
|
73
73
|
retention-days: 90
|
|
74
74
|
|
|
75
75
|
# Upload the results to GitHub's code scanning dashboard.
|
|
76
|
-
- uses: github/codeql-action/upload-sarif@
|
|
76
|
+
- uses: github/codeql-action/upload-sarif@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
|
|
77
77
|
with:
|
|
78
78
|
sarif_file: results.sarif
|
package/CHANGES.md
CHANGED
|
@@ -1,12 +1,78 @@
|
|
|
1
|
-
2024-
|
|
1
|
+
2024-03-07, Version 5.0.8
|
|
2
2
|
=========================
|
|
3
3
|
|
|
4
|
-
* chore:
|
|
4
|
+
* chore: lock file maintenance (renovate[bot])
|
|
5
5
|
|
|
6
|
-
* chore: update
|
|
6
|
+
* chore: update dependency express to ^4.18.3 (renovate[bot])
|
|
7
|
+
|
|
8
|
+
* chore: update github/codeql-action action to v3.24.6 (renovate[bot])
|
|
9
|
+
|
|
10
|
+
* chore: update commitlint monorepo to ^19.0.3 (renovate[bot])
|
|
11
|
+
|
|
12
|
+
* chore: update dependency @commitlint/cli to ^19.0.2 (renovate[bot])
|
|
13
|
+
|
|
14
|
+
* chore: update dependency @commitlint/cli to ^19.0.1 (renovate[bot])
|
|
15
|
+
|
|
16
|
+
* chore: update commitlint monorepo to v19 (renovate[bot])
|
|
17
|
+
|
|
18
|
+
* test: convert to ES Module (Rifa Achrinza)
|
|
19
|
+
|
|
20
|
+
* chore: update dependency chai to v5 (renovate[bot])
|
|
21
|
+
|
|
22
|
+
* chore: update dependency eslint to ^8.57.0 (renovate[bot])
|
|
23
|
+
|
|
24
|
+
* ci: update CodeQL domain allowlist (Rifa Achrinza)
|
|
25
|
+
|
|
26
|
+
* chore: update actions/upload-artifact action to v4 (renovate[bot])
|
|
27
|
+
|
|
28
|
+
* chore: update github/codeql-action action to v3.24.5 (renovate[bot])
|
|
29
|
+
|
|
30
|
+
* chore: update dependency http-status to ^1.7.4 (renovate[bot])
|
|
31
|
+
|
|
32
|
+
* chore: update github/codeql-action action to v3.24.4 (renovate[bot])
|
|
33
|
+
|
|
34
|
+
* chore: update github/codeql-action action to v3.24.3 (renovate[bot])
|
|
35
|
+
|
|
36
|
+
* chore: update dependency @commitlint/config-conventional to ^18.6.2 (renovate[bot])
|
|
37
|
+
|
|
38
|
+
* chore: update dependency lockfile-lint to ^4.13.2 (renovate[bot])
|
|
39
|
+
|
|
40
|
+
* chore: update github/codeql-action action to v3.24.1 (renovate[bot])
|
|
41
|
+
|
|
42
|
+
* chore: update commitlint monorepo to ^18.6.1 (renovate[bot])
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
2024-02-12, Version 5.0.7
|
|
46
|
+
=========================
|
|
7
47
|
|
|
8
48
|
* chore: lock file maintenance (renovate[bot])
|
|
9
49
|
|
|
50
|
+
* chore: update dependency lockfile-lint to ^4.13.1 (renovate[bot])
|
|
51
|
+
|
|
52
|
+
* chore: update dependency lockfile-lint to ^4.13.0 (renovate[bot])
|
|
53
|
+
|
|
54
|
+
* chore: update dependency mocha to ^10.3.0 (renovate[bot])
|
|
55
|
+
|
|
56
|
+
* chore: update actions/setup-node action to v4.0.2 (renovate[bot])
|
|
57
|
+
|
|
58
|
+
* chore: update step-security/harden-runner action to v2.7.0 (renovate[bot])
|
|
59
|
+
|
|
60
|
+
* chore: update github/codeql-action action to v3.24.0 (renovate[bot])
|
|
61
|
+
|
|
62
|
+
* chore: update github/codeql-action action to v3.23.2 (renovate[bot])
|
|
63
|
+
|
|
64
|
+
* chore: update commitlint monorepo to ^18.6.0 (renovate[bot])
|
|
65
|
+
|
|
66
|
+
* chore: update github/codeql-action action to v3.23.1 (renovate[bot])
|
|
67
|
+
|
|
68
|
+
* chore: update dependency supertest to ^6.3.4 (renovate[bot])
|
|
69
|
+
|
|
70
|
+
* chore: update dependency chai to ^4.4.1 (renovate[bot])
|
|
71
|
+
|
|
72
|
+
* chore: update github/codeql-action action to v3 (renovate[bot])
|
|
73
|
+
|
|
74
|
+
* chore: update github/codeql-action action to v2.23.0 (renovate[bot])
|
|
75
|
+
|
|
10
76
|
* chore: update dependency chai to ^4.4.0 (renovate[bot])
|
|
11
77
|
|
|
12
78
|
* chore: update commitlint monorepo to ^18.4.4 (renovate[bot])
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "strong-error-handler",
|
|
3
3
|
"description": "Error handler for use in development and production environments.",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "5.0.
|
|
5
|
+
"version": "5.0.8",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=16"
|
|
8
8
|
},
|
|
@@ -21,21 +21,21 @@
|
|
|
21
21
|
"debug": "^4.3.4",
|
|
22
22
|
"fast-safe-stringify": "^2.1.1",
|
|
23
23
|
"handlebars": "^4.7.8",
|
|
24
|
-
"http-status": "^1.7.
|
|
24
|
+
"http-status": "^1.7.4",
|
|
25
25
|
"js2xmlparser": "^5.0.0",
|
|
26
26
|
"strong-globalize": "^6.0.6"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@commitlint/cli": "^
|
|
30
|
-
"@commitlint/config-conventional": "^
|
|
29
|
+
"@commitlint/cli": "^19.0.3",
|
|
30
|
+
"@commitlint/config-conventional": "^19.0.3",
|
|
31
31
|
"@types/express": "^4.17.21",
|
|
32
|
-
"chai": "^
|
|
33
|
-
"eslint": "^8.
|
|
32
|
+
"chai": "^5.1.0",
|
|
33
|
+
"eslint": "^8.57.0",
|
|
34
34
|
"eslint-config-loopback": "^13.1.0",
|
|
35
|
-
"express": "^4.18.
|
|
36
|
-
"lockfile-lint": "^4.
|
|
37
|
-
"mocha": "^10.
|
|
38
|
-
"supertest": "^6.3.
|
|
35
|
+
"express": "^4.18.3",
|
|
36
|
+
"lockfile-lint": "^4.13.2",
|
|
37
|
+
"mocha": "^10.3.0",
|
|
38
|
+
"supertest": "^6.3.4"
|
|
39
39
|
},
|
|
40
40
|
"browser": {
|
|
41
41
|
"strong-error-handler": false
|