New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4 to 0.0.5

4

CHANGELOG.md

@@ -0,1 +1,5 @@

v0.0.5
---
Update modules
v0.0.4

@@ -2,0 +6,0 @@ ---

4

lib/index.js

@@ -40,3 +40,5 @@ 'use strict';

var value = (0, _lodash2.default)(node, 'object.property.extra.raw', null) || (0, _lodash2.default)(node, 'object.property.name', null);
if (value) name += '[' + value + ']';
if (value) {
name += '[' + value + ']';
}
} else if (type === 'CallExpression') {

@@ -43,0 +45,0 @@ name += '(';

{
"name": "babel-plugin-transform-isnil",
"version": "0.0.4",
"version": "0.0.5",
"description": "replace the comparing of null or undefined with isNil",

@@ -32,7 +32,9 @@ "main": "lib",

"ava": "^0.14.0",
"ava-spec": "^1.0.0",
"babel-cli": "^6.7.7",
"babel-core": "^6.7.7",
"babel-preset-es2015": "^6.6.0",
"babel-register": "^6.7.2",
"ava-spec": "^1.0.1",
"babel-cli": "^6.11.4",
"babel-core": "^6.13.2",
"babel-preset-es2015": "^6.13.2",
"babel-register": "^6.11.6",
"flat": "^2.0.1",
"lodash.get": "^4.4.1",
"xo": "^0.15.0"

@@ -39,0 +41,0 @@ },

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