Socket
Socket
Sign inDemoInstall

babel-types

Package Overview
Dependencies
Maintainers
6
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-types - npm Package Compare versions

Comparing version 6.6.0 to 6.6.4

1

lib/definitions/core.js

@@ -1,2 +0,1 @@

/* @flow */
/* eslint max-len: 0 */

@@ -3,0 +2,0 @@

2

lib/index.js

@@ -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",

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