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

escope

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escope - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

14

escope.js

@@ -61,6 +61,7 @@ /*

VERSION,
hasOwnProperty,
scope,
scopes;
VERSION = '0.0.2';
VERSION = '0.0.3';

@@ -177,2 +178,9 @@ function assert(cond, text) {

hasOwnProperty = (function () {
var pred = Object.prototype.hasOwnProperty;
return function hasOwnProperty(obj, name) {
return pred.call(obj, name);
};
}());
function traverse(top, visitor) {

@@ -336,3 +344,3 @@ var worklist, leavelist, node, ret, current, current2, candidates, candidate, marker = {};

name = ref.identifier.name;
if (this.set.hasOwnProperty(name)) {
if (hasOwnProperty(this.set, name)) {
variable = this.set[name];

@@ -361,3 +369,3 @@ variable.references.push(ref);

name = node.name;
if (!this.set.hasOwnProperty(name)) {
if (!hasOwnProperty(this.set, name)) {
variable = new Variable(name, this);

@@ -364,0 +372,0 @@ variable.identifiers.push(node);

@@ -6,3 +6,3 @@ {

"main": "escope.js",
"version": "0.0.2",
"version": "0.0.3",
"engines": {

@@ -9,0 +9,0 @@ "node": ">=0.4.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