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

babel-plugin-minify-mangle-names

Package Overview
Dependencies
Maintainers
4
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-minify-mangle-names - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

lib/counted-set.js

8

lib/index.js

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

// capture direct evals
CallExpression: function CallExpression(path) {
CallExpression(path) {
var callee = path.get("callee");

@@ -100,3 +100,3 @@

this.program.traverse({
Scopable: function Scopable(path) {
Scopable(path) {
var scope = path.scope;

@@ -221,3 +221,3 @@

path.traverse({
ReferencedIdentifier: function ReferencedIdentifier(refPath) {
ReferencedIdentifier(refPath) {
if (refPath.node.name === oldName && refPath.scope === scope) {

@@ -241,3 +241,3 @@ refPath.node.name = newName;

visitor: {
Program: function Program(path) {
Program(path) {
// If the source code is small then we're going to assume that the user

@@ -244,0 +244,0 @@ // is running on this on single files before bundling. Therefore we

{
"name": "babel-plugin-minify-mangle-names",
"version": "0.0.4",
"version": "0.0.5",
"description": "",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/babel/babili#readme",

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