@babel/types
Advanced tools
Comparing version 7.23.4 to 7.23.5
@@ -8,3 +8,3 @@ "use strict"; | ||
var _index = require("../validators/generated/index.js"); | ||
function getBindingIdentifiers(node, duplicates, outerOnly) { | ||
function getBindingIdentifiers(node, duplicates, outerOnly, newBindingsOnly) { | ||
const search = [].concat(node); | ||
@@ -15,2 +15,5 @@ const ids = Object.create(null); | ||
if (!id) continue; | ||
if (newBindingsOnly && ((0, _index.isAssignmentExpression)(id) || (0, _index.isUnaryExpression)(id))) { | ||
continue; | ||
} | ||
const keys = getBindingIdentifiers.keys[id.type]; | ||
@@ -17,0 +20,0 @@ if ((0, _index.isIdentifier)(id)) { |
{ | ||
"name": "@babel/types", | ||
"version": "7.23.4", | ||
"version": "7.23.5", | ||
"description": "Babel Types is a Lodash-esque utility library for AST nodes", | ||
@@ -32,4 +32,4 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"devDependencies": { | ||
"@babel/generator": "^7.23.4", | ||
"@babel/parser": "^7.23.4", | ||
"@babel/generator": "^7.23.5", | ||
"@babel/parser": "^7.23.5", | ||
"glob": "^7.2.0" | ||
@@ -36,0 +36,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2411360
20263