Skip to content

Commit 7ae6d1e

Browse files
authoredSep 6, 2023
release: 3.4.0 (#208)
1 parent 0047265 commit 7ae6d1e

File tree

5 files changed

+1748
-1086
lines changed

5 files changed

+1748
-1086
lines changed
 

‎CHANGELOG.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# Runnerty ChangeLog
22

3+
<a name="3.4.0"></a>
4+
5+
# [3.4.0](06/09/2023)
6+
7+
### Features
8+
9+
- **api:** access to health api allowed without authentication
10+
- **dependencies:** minor dependency updates
11+
312
<a name="3.3.6"></a>
413

5-
# [3.3.6](09/08/2022)
14+
# [3.3.6](09/08/2023)
615

716
### Bug Fixes
817

@@ -14,7 +23,7 @@
1423

1524
<a name="3.3.5"></a>
1625

17-
# [3.3.5](02/08/2022)
26+
# [3.3.5](02/08/2023)
1827

1928
### Features
2029

‎lib/utils.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,8 @@ function requireDir(directory, modules) {
427427
if (fs.existsSync(path.join(containerDirectory, dirs[dirsLength]))) {
428428
if (fs.statSync(path.join(containerDirectory, dirs[dirsLength])).isDirectory()) {
429429
if (fs.existsSync(path.join(containerDirectory, dirs[dirsLength], dirs[dirsLength] + '.js'))) {
430-
container[dirs[dirsLength]] = require(path.join(
431-
containerDirectory,
432-
dirs[dirsLength],
433-
dirs[dirsLength] + '.js'
434-
));
430+
const modulePath = path.join(containerDirectory, dirs[dirsLength], dirs[dirsLength] + '.js');
431+
container[dirs[dirsLength]] = require(modulePath);
435432
} else {
436433
if (path.join(containerDirectory, dirs[dirsLength], 'index.js')) {
437434
container[dirs[dirsLength]] = require(path.join(containerDirectory, dirs[dirsLength], 'index.js'));

‎package-lock.json

+1,721-1,064
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+12-13
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "runnerty",
33
"description": "Process orchestrator",
4-
"version": "3.3.6",
4+
"version": "3.4.0",
55
"preferGlobal": true,
66
"main": "index.js",
77
"license": "MIT",
@@ -29,16 +29,15 @@
2929
"@runnerty/interpreter-core": "~3.1.1",
3030
"@runnerty/trigger-server": "~3.1.1",
3131
"ajv": "~8.12.0",
32-
"axios": "~1.4.0",
32+
"axios": "~1.5.0",
3333
"better-ajv-errors": "~1.2.0",
34-
"body-parser": "~1.20.2",
3534
"boxen": "~5.1.2",
3635
"bytes": "~3.1.2",
3736
"chalk": "~4.1.2",
3837
"colors": "1.4.0",
3938
"commander": "~11.0.0",
4039
"cors": "~2.8.5",
41-
"cron-parser": "~4.8.1",
40+
"cron-parser": "~4.9.0",
4241
"dotenv": "^16.3.1",
4342
"express": "~4.18.2",
4443
"express-basic-auth": "~1.2.1",
@@ -48,13 +47,13 @@
4847
"helmet": "~7.0.0",
4948
"json-stringify-safe": "~5.0.1",
5049
"jsonfile": "^6.1.0",
51-
"jsonwebtoken": "~9.0.1",
50+
"jsonwebtoken": "~9.0.2",
5251
"lodash": "~4.17.21",
5352
"moment": "~2.29.4",
5453
"morgan": "~1.10.0",
5554
"ms": "~2.1.3",
5655
"node-ical": "~0.16.1",
57-
"npm-package-arg": "^10.1.0",
56+
"npm-package-arg": "^11.0.1",
5857
"object-sizeof": "~2.6.3",
5958
"resolve": "^1.22.4",
6059
"semver": "~7.5.4",
@@ -91,18 +90,18 @@
9190
"workflow-automation"
9291
],
9392
"engines": {
94-
"node": ">=14.15.0"
93+
"node": ">=16.20.2"
9594
},
9695
"devDependencies": {
97-
"@babel/core": "^7.22.10",
98-
"@babel/eslint-parser": "^7.22.10",
99-
"eslint": "^8.46.0",
96+
"@babel/core": "^7.22.15",
97+
"@babel/eslint-parser": "^7.22.15",
98+
"eslint": "^8.48.0",
10099
"eslint-config-prettier": "^9.0.0",
101100
"eslint-plugin-jest": "^27.2.3",
102101
"eslint-plugin-prettier": "^5.0.0",
103-
"jest": "^29.6.2",
104-
"jest-cli": "^29.1.2",
105-
"prettier": "^3.0.1",
102+
"jest": "^29.6.4",
103+
"jest-cli": "^29.6.4",
104+
"prettier": "^3.0.3",
106105
"runnerty-tests-modules": "file:__tests__/end2end"
107106
},
108107
"jest": {

‎ws-api/ws-api.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ module.exports = () => {
109109
return null;
110110
}
111111
}).unless({
112-
path: ['/auth']
112+
path: ['/auth', '/health']
113113
})
114114
);
115115

@@ -171,7 +171,7 @@ module.exports = () => {
171171
* Output: object
172172
*/
173173
router.get('/health', (req, res) => {
174-
res.status(200).send('Your runnerty instance is ok!');
174+
res.status(200);
175175
});
176176

177177
/**

0 commit comments

Comments
 (0)
Please sign in to comment.