Socket
Socket
Sign inDemoInstall

@babel/types

Package Overview
Dependencies
3
Maintainers
4
Versions
154
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.23.4 to 7.23.5

5

lib/retrievers/getBindingIdentifiers.js

@@ -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)) {

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc