New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

esshorten2

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esshorten2 - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

6

lib/esshorten.js

@@ -104,3 +104,3 @@ /*!

idmap = tmp.__id_map__;
if (idmap[name]) {
if (idmap && idmap[name]) {
flag = true;

@@ -175,3 +175,3 @@ break;

scope.__id_map__ = idMap;
var scopeFrom, idMap;
var scopeFrom;

@@ -188,3 +188,3 @@ for (j = 0, jz = scope.references.length; j < jz; ++j) {

*/
if (varMap[ref.identifier.name]) {
if (varMap && varMap[ref.identifier.name]) {
// change reference's name

@@ -191,0 +191,0 @@ ref.identifier.name = varMap[ref.identifier.name];

@@ -5,3 +5,3 @@ {

"main": "lib/esshorten.js",
"version": "1.1.6",
"version": "1.1.7",
"engines": {

@@ -8,0 +8,0 @@ "node": ">=0.6.0"

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