@fulmenhq/tsfulmen 0.2.5 → 0.2.6
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 +28 -1
- package/dist/appidentity/index.js +14 -4
- package/dist/appidentity/index.js.map +1 -1
- package/dist/config/index.js +14 -4
- package/dist/config/index.js.map +1 -1
- package/dist/crucible/index.js +14 -4
- package/dist/crucible/index.js.map +1 -1
- package/dist/errors/index.js +14 -4
- package/dist/errors/index.js.map +1 -1
- package/dist/foundry/index.js +14 -4
- package/dist/foundry/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -5
- package/dist/index.js.map +1 -1
- package/dist/pathfinder/index.js +14 -4
- package/dist/pathfinder/index.js.map +1 -1
- package/dist/reports/license-inventory.csv +1 -1
- package/dist/schema/index.js +14 -4
- package/dist/schema/index.js.map +1 -1
- package/dist/signals/index.js +14 -4
- package/dist/signals/index.js.map +1 -1
- package/dist/telemetry/http/index.js +14 -4
- package/dist/telemetry/http/index.js.map +1 -1
- package/dist/telemetry/index.js +14 -4
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/prometheus/index.js +14 -4
- package/dist/telemetry/prometheus/index.js.map +1 -1
- package/package.json +1 -1
package/dist/crucible/index.js
CHANGED
|
@@ -6,8 +6,8 @@ import { spawn } from 'child_process';
|
|
|
6
6
|
import { fileURLToPath } from 'url';
|
|
7
7
|
import glob from 'fast-glob';
|
|
8
8
|
import Ajv from 'ajv';
|
|
9
|
-
import Ajv2019 from 'ajv/dist/2019';
|
|
10
|
-
import Ajv2020 from 'ajv/dist/2020';
|
|
9
|
+
import Ajv2019 from 'ajv/dist/2019.js';
|
|
10
|
+
import Ajv2020 from 'ajv/dist/2020.js';
|
|
11
11
|
import AjvDraft04 from 'ajv-draft-04';
|
|
12
12
|
import { Readable } from 'stream';
|
|
13
13
|
import picomatch from 'picomatch';
|
|
@@ -1051,8 +1051,18 @@ async function isGoneatAvailable(goneatPath) {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
return new Promise((resolve) => {
|
|
1053
1053
|
const proc = spawn(pathToTest, ["version"], { stdio: "ignore" });
|
|
1054
|
-
|
|
1055
|
-
|
|
1054
|
+
const timeout = setTimeout(() => {
|
|
1055
|
+
proc.kill();
|
|
1056
|
+
resolve(false);
|
|
1057
|
+
}, 5e3);
|
|
1058
|
+
proc.on("close", (code) => {
|
|
1059
|
+
clearTimeout(timeout);
|
|
1060
|
+
resolve(code === 0);
|
|
1061
|
+
});
|
|
1062
|
+
proc.on("error", () => {
|
|
1063
|
+
clearTimeout(timeout);
|
|
1064
|
+
resolve(false);
|
|
1065
|
+
});
|
|
1056
1066
|
});
|
|
1057
1067
|
}
|
|
1058
1068
|
async function runGoneatValidation(schemaPath, dataPath, goneatPath) {
|