@fulmenhq/tsfulmen 0.2.4 → 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 +37 -0
- 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/pathfinder/index.js
CHANGED
|
@@ -8,8 +8,8 @@ import path3, { dirname, join, relative, extname, resolve } from 'path';
|
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
9
9
|
import glob from 'fast-glob';
|
|
10
10
|
import Ajv from 'ajv';
|
|
11
|
-
import Ajv2019 from 'ajv/dist/2019';
|
|
12
|
-
import Ajv2020 from 'ajv/dist/2020';
|
|
11
|
+
import Ajv2019 from 'ajv/dist/2019.js';
|
|
12
|
+
import Ajv2020 from 'ajv/dist/2020.js';
|
|
13
13
|
import AjvDraft04 from 'ajv-draft-04';
|
|
14
14
|
import { Readable } from 'stream';
|
|
15
15
|
import picomatch from 'picomatch';
|
|
@@ -730,8 +730,18 @@ async function isGoneatAvailable(goneatPath) {
|
|
|
730
730
|
}
|
|
731
731
|
return new Promise((resolve2) => {
|
|
732
732
|
const proc = spawn(pathToTest, ["version"], { stdio: "ignore" });
|
|
733
|
-
|
|
734
|
-
|
|
733
|
+
const timeout = setTimeout(() => {
|
|
734
|
+
proc.kill();
|
|
735
|
+
resolve2(false);
|
|
736
|
+
}, 5e3);
|
|
737
|
+
proc.on("close", (code) => {
|
|
738
|
+
clearTimeout(timeout);
|
|
739
|
+
resolve2(code === 0);
|
|
740
|
+
});
|
|
741
|
+
proc.on("error", () => {
|
|
742
|
+
clearTimeout(timeout);
|
|
743
|
+
resolve2(false);
|
|
744
|
+
});
|
|
735
745
|
});
|
|
736
746
|
}
|
|
737
747
|
async function runGoneatValidation(schemaPath, dataPath, goneatPath) {
|