linear-gradient-parser
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "linear-gradient-parser", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Parses a SVG linear gradient string / parsed JSON into css background image property", | ||
@@ -5,0 +5,0 @@ "author": "Oded Goldglas <odedglas@gmail.com>", |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
const formatPosition = (pos) => Number(pos.trim().endsWith('%') ? | ||
const formatPosition = (pos) => Number(`${pos}`.trim().endsWith('%') ? | ||
pos.trim().replace('%', '') : pos); | ||
@@ -9,0 +9,0 @@ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
47995
2