@securitychecks/cli 0.1.1-rc.1 → 0.1.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/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/lib.js +5 -5
- package/dist/lib.js.map +1 -1
- package/package.json +2 -2
package/dist/lib.js
CHANGED
|
@@ -1069,7 +1069,7 @@ function createEmptyWaiverFile(version = "0.0.0") {
|
|
|
1069
1069
|
entries: {}
|
|
1070
1070
|
};
|
|
1071
1071
|
}
|
|
1072
|
-
var CLI_VERSION = "0.1.1
|
|
1072
|
+
var CLI_VERSION = "0.1.1";
|
|
1073
1073
|
var SCHECK_DIR = ".scheck";
|
|
1074
1074
|
var BASELINE_FILE = "baseline.json";
|
|
1075
1075
|
var WAIVER_FILE = "waivers.json";
|
|
@@ -1718,7 +1718,7 @@ function toObservation(correlation, framework) {
|
|
|
1718
1718
|
signals: correlation.compoundingEffect.signals
|
|
1719
1719
|
},
|
|
1720
1720
|
meta: {
|
|
1721
|
-
clientVersion: "0.1.1
|
|
1721
|
+
clientVersion: "0.1.1",
|
|
1722
1722
|
requestId: randomUUID(),
|
|
1723
1723
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
1724
1724
|
}
|
|
@@ -1736,7 +1736,7 @@ async function reportCorrelations(result, config, framework) {
|
|
|
1736
1736
|
correlations: observations,
|
|
1737
1737
|
summary: result.stats,
|
|
1738
1738
|
meta: {
|
|
1739
|
-
clientVersion: "0.1.1
|
|
1739
|
+
clientVersion: "0.1.1",
|
|
1740
1740
|
framework
|
|
1741
1741
|
}
|
|
1742
1742
|
};
|
|
@@ -1748,7 +1748,7 @@ async function reportCorrelations(result, config, framework) {
|
|
|
1748
1748
|
headers: {
|
|
1749
1749
|
"Content-Type": "application/json",
|
|
1750
1750
|
...config.apiKey && { Authorization: `Bearer ${config.apiKey}` },
|
|
1751
|
-
"X-Client-Version": "0.1.1
|
|
1751
|
+
"X-Client-Version": "0.1.1"
|
|
1752
1752
|
},
|
|
1753
1753
|
body: JSON.stringify(payload),
|
|
1754
1754
|
signal: controller.signal
|
|
@@ -1824,7 +1824,7 @@ function buildTelemetry(result, options) {
|
|
|
1824
1824
|
} : void 0,
|
|
1825
1825
|
meta: {
|
|
1826
1826
|
duration: result.duration,
|
|
1827
|
-
clientVersion: "0.1.1
|
|
1827
|
+
clientVersion: "0.1.1",
|
|
1828
1828
|
mode: options.mode ?? (ciProvider ? "ci" : "manual"),
|
|
1829
1829
|
ciProvider
|
|
1830
1830
|
},
|