Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/helper-skip-transparent-expression-wrappers

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-skip-transparent-expression-wrappers - npm Package Compare versions

Comparing version 7.20.0 to 7.21.4-esm

lib/package.json

7

lib/index.js

@@ -9,5 +9,3 @@ "use strict";

exports.skipTransparentExprWrappers = skipTransparentExprWrappers;
var _t = require("@babel/types");
const {

@@ -21,7 +19,5 @@ isParenthesizedExpression,

} = _t;
function isTransparentExprWrapper(node) {
return isTSAsExpression(node) || isTSSatisfiesExpression(node) || isTSTypeAssertion(node) || isTSNonNullExpression(node) || isTypeCastExpression(node) || isParenthesizedExpression(node);
}
function skipTransparentExprWrappers(path) {

@@ -31,6 +27,4 @@ while (isTransparentExprWrapper(path.node)) {

}
return path;
}
function skipTransparentExprWrapperNodes(node) {

@@ -40,3 +34,2 @@ while (isTransparentExprWrapper(node)) {

}
return node;

@@ -43,0 +36,0 @@ }

6

package.json
{
"name": "@babel/helper-skip-transparent-expression-wrappers",
"version": "7.20.0",
"version": "7.21.4-esm",
"description": "Helper which skips types and parentheses",

@@ -20,6 +20,6 @@ "repository": {

"dependencies": {
"@babel/types": "^7.20.0"
"@babel/types": "^7.21.4-esm"
},
"devDependencies": {
"@babel/traverse": "^7.20.0"
"@babel/traverse": "^7.21.4-esm"
},

@@ -26,0 +26,0 @@ "engines": {

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