testaro 74.0.0 → 74.0.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/actSpecs.js +2 -1
- package/call.js +0 -4
- package/package.json +1 -1
- package/procs/shoot.js +7 -4
package/actSpecs.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
© 2021–2024 CVS Health and/or one of its affiliates. All rights reserved.
|
|
3
|
-
©
|
|
3
|
+
© 2026 Jeff Witt.
|
|
4
|
+
© 2025–2026 Jonathan Robert Pool.
|
|
4
5
|
|
|
5
6
|
Licensed under the MIT License. See LICENSE file at the project root or
|
|
6
7
|
https://opensource.org/license/mit/ for details.
|
package/call.js
CHANGED
|
@@ -22,13 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
// IMPORTS
|
|
24
24
|
|
|
25
|
-
// Module to keep secrets.
|
|
26
25
|
require('dotenv').config();
|
|
27
|
-
// Module to process files.
|
|
28
26
|
const fs = require('fs/promises');
|
|
29
|
-
// Function to process a testing request.
|
|
30
27
|
const {doJob} = require('./run');
|
|
31
|
-
// Function to watch for jobs.
|
|
32
28
|
const {dirWatch} = require('./dirWatch');
|
|
33
29
|
const {netWatch} = require('./netWatch');
|
|
34
30
|
|
package/package.json
CHANGED
package/procs/shoot.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
+
© 2026 Jeff Witt.
|
|
2
3
|
© 2025–2026 Jonathan Robert Pool.
|
|
3
4
|
Licensed under the MIT License. See LICENSE file for details.
|
|
4
5
|
*/
|
|
@@ -29,10 +30,12 @@ const {PNG} = require('pngjs');
|
|
|
29
30
|
|
|
30
31
|
// FUNCTIONS
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
/*
|
|
34
|
+
Coerces a label into a filesystem-safe string. Runs of any character outside
|
|
35
|
+
[A-Za-z0-9._-] collapse to one underscore; leading and trailing dots and
|
|
36
|
+
underscores are stripped (no hidden files, no traversal); capped at 100
|
|
37
|
+
characters; falls back to 'unnamed' if nothing usable remains.
|
|
38
|
+
*/
|
|
36
39
|
const sanitizeLabel = (label) => {
|
|
37
40
|
const raw = String(label);
|
|
38
41
|
const cleaned = raw
|