Socket
Socket
Sign inDemoInstall

@prismatic-io/spectral

Package Overview
Dependencies
Maintainers
8
Versions
171
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.2 to 9.0.3

9

dist/generators/componentManifest/createStaticFiles.js

@@ -20,2 +20,3 @@ "use strict";

const createStaticFiles = (_a) => __awaiter(void 0, [_a], void 0, function* ({ component, dryRun, signature, packageName, dependencies, verbose, sourceDir, destinationDir, registry, }) {
var _b, _c, _d, _e;
if (verbose) {

@@ -56,3 +57,3 @@ console.info("Creating static files...");

isPublic: Boolean(component.public),
action: Object.keys(component.actions).length
action: Object.keys((_b = component.actions) !== null && _b !== void 0 ? _b : {}).length
? {

@@ -62,3 +63,3 @@ key: Object.keys(component.actions)[0],

: null,
trigger: Object.keys(component.triggers).length
trigger: Object.keys((_c = component.triggers) !== null && _c !== void 0 ? _c : {}).length
? {

@@ -68,3 +69,3 @@ key: Object.keys(component.triggers)[0],

: null,
connection: component.connections.length
connection: ((_d = component.connections) !== null && _d !== void 0 ? _d : []).length
? {

@@ -74,3 +75,3 @@ key: component.connections[0].key,

: null,
dataSource: Object.keys(component.dataSources).length
dataSource: Object.keys((_e = component.dataSources) !== null && _e !== void 0 ? _e : {}).length
? {

@@ -77,0 +78,0 @@ key: Object.keys(component.dataSources)[0],

{
"name": "@prismatic-io/spectral",
"version": "9.0.2",
"version": "9.0.3",
"description": "Utility library for building Prismatic components",

@@ -51,2 +51,3 @@ "keywords": ["prismatic"],

"object-sizeof": "^2.6.4",
"prettier": "2.6.2",
"safe-stable-stringify": "2.3.1",

@@ -53,0 +54,0 @@ "serialize-error": "8.1.0",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc