Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-isnil

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-isnil - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

package.json
{
"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 = [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc