Socket
Socket
Sign inDemoInstall

@babel/types

Package Overview
Dependencies
Maintainers
5
Versions
168
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 7.1.5 to 7.1.6

4

lib/clone/cloneNode.js

@@ -39,2 +39,6 @@ "use strict";

newNode.name = node.name;
if (has(node, "typeAnnotation")) {
newNode.typeAnnotation = deep ? cloneIfNodeOrArray(node.typeAnnotation, true) : node.typeAnnotation;
}
} else if (!has(_definitions.NODE_FIELDS, type)) {

@@ -41,0 +45,0 @@ throw new Error(`Unknown node type: "${type}"`);

6

package.json
{
"name": "@babel/types",
"version": "7.1.5",
"version": "7.1.6",
"description": "Babel Types is a Lodash-esque utility library for AST nodes",

@@ -17,5 +17,5 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

"devDependencies": {
"@babel/generator": "^7.1.5",
"@babel/parser": "^7.1.5"
"@babel/generator": "^7.1.6",
"@babel/parser": "^7.1.6"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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