Socket
Socket
Sign inDemoInstall

@prismatic-io/spectral

Package Overview
Dependencies
Maintainers
0
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismatic-io/spectral - npm Package Compare versions

Comparing version 9.0.0-rc.1 to 9.0.0-rc.2

12

dist/generators/utils/getComponentSignatureWithPrism.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc