Socket
Socket
Sign inDemoInstall

uglify-js

Package Overview
Dependencies
Maintainers
3
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uglify-js - npm Package Compare versions

Comparing version 2.4.21 to 2.4.22

2

lib/parse.js

@@ -216,3 +216,3 @@ /***********************************************************************

var S = {
text : $TEXT.replace(/\uFEFF/g, ''),
text : $TEXT.replace(/^\uFEFF/g, ''),
filename : filename,

@@ -219,0 +219,0 @@ pos : 0,

@@ -143,6 +143,6 @@ /***********************************************************************

function can_mangle(name) {
if (reserved.indexOf(name) >= 0) return false;
if (options.only_cache) {
return cache.props.has(name);
}
if (reserved.indexOf(name) >= 0) return false;
if (/^[0-9.]+$/.test(name)) return false;

@@ -153,2 +153,3 @@ return true;

function should_mangle(name) {
if (reserved.indexOf(name) >= 0) return false;
return cache.props.has(name)

@@ -155,0 +156,0 @@ || names_to_mangle.indexOf(name) >= 0;

@@ -7,3 +7,3 @@ {

"license": "BSD",
"version": "2.4.21",
"version": "2.4.22",
"engines": {

@@ -10,0 +10,0 @@ "node": ">=0.4.0"

Sorry, the diff of this file is too big to display

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