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

@babel/helper-function-name

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-function-name - 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,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.3",
"version": "7.21.4-esm.4",
"description": "Helper function to change the property 'name' of every function",

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

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

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