@squaredup/plugin-common
Advanced tools
+4
-1
@@ -400,2 +400,5 @@ import { createHash, randomBytes } from 'crypto'; | ||
| const isValidStringOrStringArray = (input) => | ||
| isValidString(input) || (Array.isArray(input) && input.length > 0 && input.every(isValidString)); | ||
| /** | ||
@@ -426,3 +429,3 @@ * Checks to see if a given vertex object contains the minimum property requirements for validity. | ||
| isValidString(vertex.sourceName) && | ||
| isValidString(vertex.type) && | ||
| isValidStringOrStringArray(vertex.type) && | ||
| isValidString(vertex.sourceType); | ||
@@ -429,0 +432,0 @@ |
+1
-1
| { | ||
| "name": "@squaredup/plugin-common", | ||
| "version": "2.2.2", | ||
| "version": "2.2.3", | ||
| "description": "Common functions that can be used by any plugin", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
28032
0.58%581
0.35%