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

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.5.45 to 3.5.46

2

bower.json
{
"name": "clues",
"version": "3.5.37",
"version": "3.5.45",
"main": "clues.js",

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

@@ -64,3 +64,4 @@ (function(self) {

fullref = (fullref ? fullref+'.' : '')+ref;
var separator = fullref && fullref[fullref.length-1] !== '(' && '.' || '';
fullref = (fullref ? fullref+separator : '')+ref;
fn = logic ? logic[ref] : undefined;

@@ -136,3 +137,3 @@ if (fn === undefined) {

return res || clues(logic,arg,$global,ref || 'fn',fullref)
return res || clues(logic,arg,$global,ref || 'fn',fullref+'(')
.then(null,function(e) {

@@ -139,0 +140,0 @@ if (optional) return (showError) ? e : undefined;

{
"name": "clues",
"version": "3.5.45",
"version": "3.5.46",
"description": "Lightweight logic tree solver using promises.",

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

@@ -82,3 +82,3 @@ const clues = require('../clues');

t.same(e.caller,'hash','caller is hash');
t.same(e.fullref,'info.public.hash.userid','fullref');
t.same(e.fullref,'info(public(hash(userid','fullref');
});

@@ -85,0 +85,0 @@ });

@@ -36,3 +36,3 @@ const clues = require('../clues');

t.same(await clues(facts,'a.b.fullref'),'a.b.fullref','direct call shows fullref');
t.same(await clues(facts,'fullref'),'fullref.a.b.fullref','indirect call shows fullref');
t.same(await clues(facts,'fullref'),'fullref(.a.b.fullref','indirect call shows fullref');

@@ -39,0 +39,0 @@ const o = facts();

@@ -135,3 +135,3 @@ const clues = require('../clues');

t.ok($global.error.stack,'contains a stack');
t.same($global.error.fullref,'optional.stack_error','fullref ok');
t.same($global.error.fullref,'optional(stack_error','fullref ok');
});

@@ -138,0 +138,0 @@

@@ -53,3 +53,3 @@ const clues = require('../clues');

t.same(d.message,'#Error');
t.same(d.fullref,'showerror.error');
t.same(d.fullref,'showerror(error');
t.same(d.ref,'error');

@@ -56,0 +56,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