isset-helper
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "isset-helper", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A tiny helper method, checking a variable for existence", | ||
@@ -27,3 +27,9 @@ "main": "./dist/module.umd.js", | ||
"pump": "^3.0.0" | ||
} | ||
}, | ||
"files": [ | ||
"dist/", | ||
"package.json", | ||
"README.md", | ||
"LICENSE" | ||
] | ||
} |
@@ -54,3 +54,4 @@ # Isset Helper | ||
2. `variable` is not `undefined` | ||
3. If `type` is a string, `typeof variable` has to match `type`, otherwise, `variable` has to match `instanceof type` | ||
3. If `type` is a string, `typeof variable` has to match `type`, | ||
otherwise `variable` has to match `instanceof type` | ||
4. If `type` is `"string"`, the length of trimmed `variable` is greater than zero | ||
@@ -57,0 +58,0 @@ 5. If `type` is `"array"`, `variable` has to pass the [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray) check |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72
5160
6
0
1