babel-plugin-transform-isnil
Advanced tools
Comparing version 0.0.7 to 0.0.8
{ | ||
"name": "babel-plugin-transform-isnil", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "replace the comparing of null or undefined with isNil", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
@@ -6,3 +6,3 @@ import flatten from 'flat' | ||
const isNilWrapper = template('(function (val) { return val === null || typeof val === \'undefined\' })()') | ||
const isNilWrapper = template('(function (val) { return val === null || typeof val === \'undefined\' })') | ||
@@ -9,0 +9,0 @@ function addIsNilHelper() { |
@@ -15,3 +15,3 @@ import test from 'ava-spec' | ||
const helper = 'var _isNilWrapper = function (val) { return val === null || typeof val === \'undefined\'; }();' | ||
const helper = 'var _isNilWrapper = function _isNilWrapper(val) { return val === null || typeof val === \'undefined\'; };' | ||
@@ -18,0 +18,0 @@ const specs = [ |
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
14377