@babel/helper-function-name
Advanced tools
Comparing version 7.21.4-esm to 7.21.4-esm.1
@@ -1,9 +0,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = _default; | ||
var _template = require("@babel/template"); | ||
var _t = require("@babel/types"); | ||
import template from "@babel/template"; | ||
import * as _t from "@babel/types"; | ||
const { | ||
@@ -31,3 +25,3 @@ NOT_LOCAL_BINDING, | ||
} | ||
const buildPropertyMethodAssignmentWrapper = _template.default.statement(` | ||
const buildPropertyMethodAssignmentWrapper = template.statement(` | ||
(function (FUNCTION_KEY) { | ||
@@ -45,3 +39,3 @@ function FUNCTION_ID() { | ||
`); | ||
const buildGeneratorPropertyMethodAssignmentWrapper = _template.default.statement(` | ||
const buildGeneratorPropertyMethodAssignmentWrapper = template.statement(` | ||
(function (FUNCTION_KEY) { | ||
@@ -125,3 +119,3 @@ function* FUNCTION_ID() { | ||
} | ||
function _default({ | ||
export default function ({ | ||
node, | ||
@@ -128,0 +122,0 @@ parent, |
{ | ||
"name": "@babel/helper-function-name", | ||
"version": "7.21.4-esm", | ||
"version": "7.21.4-esm.1", | ||
"description": "Helper function to change the property 'name' of every function", | ||
@@ -17,4 +17,4 @@ "repository": { | ||
"dependencies": { | ||
"@babel/template": "^7.21.4-esm", | ||
"@babel/types": "^7.21.4-esm" | ||
"@babel/template": "^7.21.4-esm.1", | ||
"@babel/types": "^7.21.4-esm.1" | ||
}, | ||
@@ -25,3 +25,3 @@ "engines": { | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
"type": "commonjs" | ||
"type": "module" | ||
} |
Sorry, the diff of this file is not supported yet
Yes
21386
159
Updated@babel/types@^7.21.4-esm.1