@prismatic-io/spectral
Advanced tools
Comparing version 9.0.0-rc.1 to 9.0.0-rc.2
@@ -15,3 +15,3 @@ "use strict"; | ||
const util_1 = require("util"); | ||
const execFile = (0, util_1.promisify)(child_process_1.execFile); | ||
const exec = (0, util_1.promisify)(child_process_1.exec); | ||
const getComponentSignatureWithPrism = () => __awaiter(void 0, void 0, void 0, function* () { | ||
@@ -22,5 +22,5 @@ if (!(yield isPrismAvailable())) { | ||
} | ||
const { stdout: signatureKey } = yield execFile("prism", [ | ||
"components:signature", | ||
]); | ||
const { stdout: signatureKey } = yield exec("prism components:signature", { | ||
windowsHide: true, | ||
}); | ||
if (!signatureKey) { | ||
@@ -35,3 +35,5 @@ console.log("Failed to get component signature. Please verify your Component has been published."); | ||
try { | ||
yield execFile("prism", ["--version"]); | ||
yield exec("prism --version", { | ||
windowsHide: true, | ||
}); | ||
} | ||
@@ -38,0 +40,0 @@ catch (_a) { |
{ | ||
"name": "@prismatic-io/spectral", | ||
"version": "9.0.0-rc.1", | ||
"version": "9.0.0-rc.2", | ||
"description": "Utility library for building Prismatic components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
286178
6010
1