Socket
Socket
Sign inDemoInstall

@babel/helper-function-name

Package Overview
Dependencies
17
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.21.4-esm.4 to 7.22.5

16

lib/index.js

@@ -1,3 +0,9 @@

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

@@ -25,3 +31,3 @@ NOT_LOCAL_BINDING,

}
const buildPropertyMethodAssignmentWrapper = template.statement(`
const buildPropertyMethodAssignmentWrapper = _template.default.statement(`
(function (FUNCTION_KEY) {

@@ -39,3 +45,3 @@ function FUNCTION_ID() {

`);
const buildGeneratorPropertyMethodAssignmentWrapper = template.statement(`
const buildGeneratorPropertyMethodAssignmentWrapper = _template.default.statement(`
(function (FUNCTION_KEY) {

@@ -119,3 +125,3 @@ function* FUNCTION_ID() {

}
export default function ({
function _default({
node,

@@ -122,0 +128,0 @@ parent,

{
"name": "@babel/helper-function-name",
"version": "7.21.4-esm.4",
"version": "7.22.5",
"description": "Helper function to change the property 'name' of every function",

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

"dependencies": {
"@babel/template": "7.21.4-esm.4",
"@babel/types": "7.21.4-esm.4"
"@babel/template": "^7.22.5",
"@babel/types": "^7.22.5"
},

@@ -25,3 +25,3 @@ "engines": {

"author": "The Babel Team (https://babel.dev/team)",
"type": "module"
"type": "commonjs"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc