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
6
Versions
43
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.0.0-beta.2 to 7.0.0-beta.3

31

lib/index.js
"use strict";
exports.__esModule = true;
exports.default = _default;
exports.default = function (path, emit, kind) {
if (kind === void 0) {
kind = "var";
}
var t = _interopRequireWildcard(require("babel-types"));
path.traverse(visitor, {
kind: kind,
emit: emit
});
};
var _babelTypes = require("babel-types");
var t = _interopRequireWildcard(_babelTypes);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }

@@ -33,3 +21,3 @@

var declarations = path.get("declarations");
var firstId = void 0;
var firstId;

@@ -68,2 +56,13 @@ for (var _iterator = declarations, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {

}
};
};
function _default(path, emit, kind) {
if (kind === void 0) {
kind = "var";
}
path.traverse(visitor, {
kind: kind,
emit: emit
});
}
{
"name": "babel-helper-hoist-variables",
"version": "7.0.0-beta.2",
"version": "7.0.0-beta.3",
"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.2"
"babel-types": "7.0.0-beta.3"
}
}
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