snyk 1.811.0 → 1.812.0
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/cli/index.js
CHANGED
|
@@ -27770,12 +27770,12 @@ exports.getStandardData = void 0;
|
|
|
27770
27770
|
const version = __webpack_require__(38217);
|
|
27771
27771
|
const uuid_1 = __webpack_require__(42277);
|
|
27772
27772
|
const os = __webpack_require__(12087);
|
|
27773
|
-
const osName = __webpack_require__(7719);
|
|
27774
27773
|
const crypto = __webpack_require__(76417);
|
|
27775
27774
|
const is_ci_1 = __webpack_require__(10090);
|
|
27776
27775
|
const sources_1 = __webpack_require__(71653);
|
|
27777
27776
|
const metrics_1 = __webpack_require__(32971);
|
|
27778
27777
|
const createDebug = __webpack_require__(15158);
|
|
27778
|
+
const osName = __webpack_require__(7719);
|
|
27779
27779
|
const debug = createDebug('snyk');
|
|
27780
27780
|
const START_TIME = Date.now();
|
|
27781
27781
|
function getMetrics(durationMs) {
|
|
@@ -27803,6 +27803,9 @@ async function getStandardData(args) {
|
|
|
27803
27803
|
const metrics = getMetrics(durationMs);
|
|
27804
27804
|
const data = {
|
|
27805
27805
|
os: osName(os.platform(), os.release()),
|
|
27806
|
+
osPlatform: os.platform(),
|
|
27807
|
+
osRelease: os.release(),
|
|
27808
|
+
osArch: os.arch(),
|
|
27806
27809
|
version: snykVersion,
|
|
27807
27810
|
nodeVersion: process.version,
|
|
27808
27811
|
standalone: isStandalone,
|