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

krill

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

krill - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

5

lib/krill.js

@@ -89,7 +89,8 @@ /*

var field = subpred[key][0];
if (!xlate.hasOwnProperty(field))
var value = mod_jsprim.pluck(xlate, field);
if (value === undefined)
throw (new VError('subpredicate "%j": ' +
'no translation for field "%s"',
subpred, field));
subpred[key][0] = xlate[field];
subpred[key][0] = value;
}, newpred);

@@ -96,0 +97,0 @@ return (new Predicate(newpred, this.p_types));

2

package.json
{
"name": "krill",
"description": "simple boolean filter language",
"version": "0.2.0",
"version": "0.3.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "contributors": [

@@ -212,2 +212,20 @@ /*

result: false
}, {
pred: { eq: [ 'nested.hostname', 'johnny tightlips' ] },
values: {
nested: {
hostname: 'johnny tightlips'
},
pid: 15
},
result: true
}, {
pred: { eq: [ 'nested.hostname', 'sid the squealer' ] },
values: { /* nested properties */
nested: {
hostname: 'johnny tightlips'
},
pid: 15
},
result: false
} ];

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