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

is-reference

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-reference - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

CHANGELOG.md
# is-reference changelog
## 1.1.3
* Handle expressions without a Program
## 1.1.2

@@ -4,0 +8,0 @@

@@ -6,2 +6,4 @@ function isReference(node, parent) {

if (node.type === 'Identifier') {
if (!parent)
return true;
switch (parent.type) {

@@ -8,0 +10,0 @@ // disregard `bar` in `foo.bar`

@@ -12,2 +12,4 @@ (function (global, factory) {

if (node.type === 'Identifier') {
if (!parent)
return true;
switch (parent.type) {

@@ -14,0 +16,0 @@ // disregard `bar` in `foo.bar`

2

package.json
{
"name": "is-reference",
"version": "1.1.2",
"version": "1.1.3",
"description": "Determine whether an AST node is a reference",

@@ -5,0 +5,0 @@ "main": "dist/is-reference.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