Socket
Socket
Sign inDemoInstall

@babel/helper-hoist-variables

Package Overview
Dependencies
4
Maintainers
5
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-beta.49 to 7.0.0-beta.50

2

lib/index.js

@@ -43,3 +43,3 @@ "use strict";

for (const name in declar.getBindingIdentifiers()) {
state.emit(t().identifier(name), name);
state.emit(t().identifier(name), name, declar.node.init !== null);
}

@@ -46,0 +46,0 @@ }

{
"name": "@babel/helper-hoist-variables",
"version": "7.0.0-beta.49",
"version": "7.0.0-beta.50",
"description": "Helper function to hoist variables",

@@ -9,4 +9,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-hoist-variables",

"dependencies": {
"@babel/types": "7.0.0-beta.49"
"@babel/types": "7.0.0-beta.50"
}
}
# @babel/helper-hoist-variables
## Installation
> Helper function to hoist variables
See our website [@babel/helper-hoist-variables](https://new.babeljs.io/docs/en/next/babel-helper-hoist-variables.html) for more information.
## Install
Using npm:
```sh
npm install @babel/helper-hoist-variables --save
npm install --save @babel/helper-hoist-variables
```
## API
or using yarn:
```javascript
declare export default hoistVariables(path: NodePath, emit: Function, kind: "var" | "let" = "var");
```sh
yarn add --save @babel/helper-hoist-variables
```
## Usage
TODO
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc