Socket
Socket
Sign inDemoInstall

hoister

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoister - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

index.js

@@ -25,3 +25,3 @@ module.exports = hoist

var childNode = nodes[i]
if (childNode.type === 'EmptyStatement') return
if (childNode.type === 'EmptyStatement') continue
var result = walk(childNode)

@@ -28,0 +28,0 @@ if (result === 'remove'){

{
"name": "hoister",
"version": "0.0.1",
"version": "0.0.2",
"description": "Put all function and variable declarations at the top of the scope in an AST",

@@ -5,0 +5,0 @@ "main": "index.js",

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