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

@babel/helper-hoist-variables

Package Overview
Dependencies
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-hoist-variables - npm Package Compare versions

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

10

lib/index.js

@@ -1,2 +0,8 @@

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

@@ -37,3 +43,3 @@ assignmentExpression,

};
export default function hoistVariables(path, emit, kind = "var") {
function hoistVariables(path, emit, kind = "var") {
path.traverse(visitor, {

@@ -40,0 +46,0 @@ kind,

6

package.json
{
"name": "@babel/helper-hoist-variables",
"version": "7.21.4-esm.2",
"version": "7.21.4-esm.3",
"description": "Helper function to hoist variables",

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

"dependencies": {
"@babel/types": "7.21.4-esm.2"
"@babel/types": "7.21.4-esm.3"
},
"TODO": "The @babel/traverse dependency is only needed for the NodePath TS type. We can consider exporting it from @babel/core.",
"devDependencies": {
"@babel/traverse": "7.21.4-esm.2"
"@babel/traverse": "7.21.4-esm.3"
},

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