Comparing version 1.0.1 to 1.0.2
@@ -7,3 +7,6 @@ # Change Log | ||
## [1.0.2] - 2017-12-06 | ||
- Typo fix | ||
## [1.0.1] - 2017-12-06 | ||
- First release |
@@ -8,3 +8,3 @@ /** | ||
module.exports = (value, checkNull = true) => { | ||
if ((checkNull && value === null) || typeof value === 'undefined') | ||
if ((checkNull && value === null) || value === undefined) | ||
return []; | ||
@@ -11,0 +11,0 @@ else |
{ | ||
"name": "arrayme", | ||
"version": "1.0.1", | ||
"description": "Transforms a value into array", | ||
"version": "1.0.2", | ||
"description": "Transforms a value to an array", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
<div align="center"> | ||
<h1>arrayme</h1> | ||
Transforms a value into array. | ||
Transforms a value to an array. | ||
<br/><br/> | ||
@@ -5,0 +5,0 @@ <a href="https://travis-ci.org/fabioricali/arrayme" target="_blank"><img src="https://travis-ci.org/fabioricali/arrayme.svg?branch=master" title="Build Status"/></a> |
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
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
2616