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

clues

Package Overview
Dependencies
Maintainers
2
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clues - npm Package Compare versions

Comparing version 3.3.11 to 3.3.13

test/null-logic-test.js

2

bower.json
{
"name": "clues",
"version": "3.3.11",
"version": "3.3.13",
"main": "clues.js",

@@ -5,0 +5,0 @@ "scripts": [

@@ -38,3 +38,3 @@ (function(self) {

var dot = ref.search(/ᐅ|\./);
if (dot > -1 && logic[ref] === undefined) {
if (dot > -1 && (!logic || logic[ref] === undefined)) {
var next = ref.slice(0,dot);

@@ -56,5 +56,5 @@ return clues(logic,next,$global,caller,fullref)

fullref = (fullref ? fullref+'.' : '')+ref;
fn = logic[ref];
fn = logic ? logic[ref] : undefined;
if (fn === undefined) {
if (typeof(logic) === 'object' && Object.getPrototypeOf(logic)[ref] !== undefined)
if (typeof(logic) === 'object' && logic !== null && (Object.getPrototypeOf(logic) || {})[ref] !== undefined)
fn = Object.getPrototypeOf(logic)[ref];

@@ -124,3 +124,3 @@ else if ($global[ref] && caller && caller !== '__user__')

.then(function(args) {
return fn.apply(logic, args);
return fn.apply(logic || {}, args);
})

@@ -127,0 +127,0 @@ .then(function(d) {

{
"name": "clues",
"version": "3.3.11",
"version": "3.3.13",
"description": "Lightweight logic tree solver using promises.",

@@ -5,0 +5,0 @@ "keywords": [

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