Socket
Socket
Sign inDemoInstall

@babel/traverse

Package Overview
Dependencies
Maintainers
4
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/traverse - npm Package Compare versions

Comparing version 7.23.7 to 7.23.9

4

lib/path/inference/util.js

@@ -17,3 +17,3 @@ "use strict";

{
if (isFlowType(types[0])) {
if (types.every(v => isFlowType(v))) {
if (createFlowUnionType) {

@@ -23,3 +23,3 @@ return createFlowUnionType(types);

return createUnionTypeAnnotation(types);
} else {
} else if (types.every(v => isTSType(v))) {
if (createTSUnionType) {

@@ -26,0 +26,0 @@ return createTSUnionType(types);

{
"name": "@babel/traverse",
"version": "7.23.7",
"version": "7.23.9",
"description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes",

@@ -25,4 +25,4 @@ "author": "The Babel Team (https://babel.dev/team)",

"@babel/helper-split-export-declaration": "^7.22.6",
"@babel/parser": "^7.23.6",
"@babel/types": "^7.23.6",
"@babel/parser": "^7.23.9",
"@babel/types": "^7.23.9",
"debug": "^4.3.1",

@@ -32,3 +32,3 @@ "globals": "^11.1.0"

"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/core": "^7.23.9",
"@babel/helper-plugin-test-runner": "^7.22.5"

@@ -35,0 +35,0 @@ },

Sorry, the diff of this file is not supported yet

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