Socket
Socket
Sign inDemoInstall

@prismatic-io/spectral

Package Overview
Dependencies
3
Maintainers
2
Versions
159
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-beta.3 to 2.0.0-beta.5

2

dist/index.d.ts

@@ -9,4 +9,4 @@ import { ActionDefinition, InputFieldDefinition, PerformReturn } from "./types";

};
key: string;
public?: boolean | undefined;
key: string;
display: import("./server-types").ComponentDisplayDefinition;

@@ -13,0 +13,0 @@ version: string;

import { DataPayload } from "./server-types";
import { ConditionalExpression } from "./types";
import { ConditionalExpression, KeyValuePair } from "./types";
declare const _default: {

@@ -17,2 +17,3 @@ types: {

toString: (value: unknown, defaultValue?: string) => string;
keyValPairListToObject: (kvpList: KeyValuePair<unknown>[]) => Record<string, unknown>;
};

@@ -19,0 +20,0 @@ docs: {

@@ -71,2 +71,5 @@ "use strict";

const isUrl = (value) => valid_url_1.isWebUri(value) !== undefined;
const keyValPairListToObject = (kvpList) => {
return kvpList.reduce((result, { key, value }) => (Object.assign(Object.assign({}, result), { [key]: value })), {});
};
const isConditionalExpression = (value) => {

@@ -140,2 +143,3 @@ if (!Array.isArray(value)) {

toString,
keyValPairListToObject,
},

@@ -142,0 +146,0 @@ docs: {

{
"name": "@prismatic-io/spectral",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.5",
"description": "Utility library for building Prismatic components",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc