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

@babel/helper-builder-react-jsx

Package Overview
Dependencies
Maintainers
4
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-builder-react-jsx - npm Package Compare versions

Comparing version 7.21.4-esm.3 to 7.21.4-esm.4

lib/package.json

16

lib/index.js

@@ -1,9 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _default;
var _t = require("@babel/types");
var _helperAnnotateAsPure = require("@babel/helper-annotate-as-pure");
import * as _t from "@babel/types";
const {

@@ -33,3 +26,4 @@ booleanLiteral,

} = _t;
function _default(opts) {
import annotateAsPure from "@babel/helper-annotate-as-pure";
export default function (opts) {
const visitor = {};

@@ -143,3 +137,3 @@ visitor.JSXNamespacedName = function (path) {

const call = state.call || callExpression(state.callee, args);
if (state.pure) (0, _helperAnnotateAsPure.default)(call);
if (state.pure) annotateAsPure(call);
return call;

@@ -215,3 +209,3 @@ }

const call = state.call || callExpression(state.callee, args);
if (state.pure) (0, _helperAnnotateAsPure.default)(call);
if (state.pure) annotateAsPure(call);
return call;

@@ -218,0 +212,0 @@ }

{
"name": "@babel/helper-builder-react-jsx",
"version": "7.21.4-esm.3",
"version": "7.21.4-esm.4",
"description": "Helper function to build react jsx",

@@ -17,8 +17,8 @@ "repository": {

"dependencies": {
"@babel/helper-annotate-as-pure": "7.21.4-esm.3",
"@babel/types": "7.21.4-esm.3"
"@babel/helper-annotate-as-pure": "7.21.4-esm.4",
"@babel/types": "7.21.4-esm.4"
},
"devDependencies": {
"@babel/core": "7.21.4-esm.3",
"@babel/traverse": "7.21.4-esm.3"
"@babel/core": "7.21.4-esm.4",
"@babel/traverse": "7.21.4-esm.4"
},

@@ -25,0 +25,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