babel-types
Advanced tools
Comparing version 6.6.0 to 6.6.4
@@ -1,2 +0,1 @@ | ||
/* @flow */ | ||
/* eslint max-len: 0 */ | ||
@@ -3,0 +2,0 @@ |
@@ -157,3 +157,3 @@ "use strict"; | ||
var aliases /*: ?Array<string>*/ = t.FLIPPED_ALIAS_KEYS[targetType]; | ||
var aliases = t.FLIPPED_ALIAS_KEYS[targetType]; | ||
if (aliases) { | ||
@@ -160,0 +160,0 @@ if (aliases[0] === nodeType) return true; |
@@ -239,3 +239,3 @@ /* eslint indent: 0 */ | ||
function isSpecifierDefault(specifier /*: Object*/) /*: boolean*/ { | ||
function isSpecifierDefault(specifier) { | ||
return t.isImportDefaultSpecifier(specifier) || t.isIdentifier(specifier.imported || specifier.exported, { name: "default" }); | ||
@@ -242,0 +242,0 @@ } |
{ | ||
"name": "babel-types", | ||
"version": "6.6.0", | ||
"version": "6.6.4", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"babel-runtime": "^5.0.0", | ||
"babel-traverse": "^6.6.0", | ||
"babel-traverse": "^6.6.4", | ||
"esutils": "^2.0.2", | ||
@@ -15,0 +15,0 @@ "lodash": "^3.10.1", |
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
115545
2863
Updatedbabel-traverse@^6.6.4