@babel/helper-builder-react-jsx
Advanced tools
Comparing version 7.21.4-esm to 7.21.4-esm.1
@@ -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", | ||
"version": "7.21.4-esm.1", | ||
"description": "Helper function to build react jsx", | ||
@@ -17,8 +17,8 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-annotate-as-pure": "^7.21.4-esm", | ||
"@babel/types": "^7.21.4-esm" | ||
"@babel/helper-annotate-as-pure": "^7.21.4-esm.1", | ||
"@babel/types": "^7.21.4-esm.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.21.4-esm", | ||
"@babel/traverse": "^7.21.4-esm" | ||
"@babel/core": "^7.21.4-esm.1", | ||
"@babel/traverse": "^7.21.4-esm.1" | ||
}, | ||
@@ -29,3 +29,3 @@ "engines": { | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
"type": "commonjs" | ||
"type": "module" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Yes
27490
211