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

@ambassify/aql-condition

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ambassify/aql-condition - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

.nyc_output/bf0f2b01-af5d-4fa5-9fcb-c5038a9d9970.json

5

lib/validate.js

@@ -16,4 +16,5 @@ 'use strict';

function isCondition(c) {
if (!c || _typeof(c) !== 'object') return false;
if (!c.operator) return false;
if (!c || _typeof(c) !== 'object') return false; // eslint-disable-next-line no-use-before-define
if (!c.operator || !VALIDATORS[c.operator]) return false;
return OPERATORS.KEYLESS.includes(c.operator) ? true : !!c.key;

@@ -20,0 +21,0 @@ }

4

package.json
{
"name": "@ambassify/aql-condition",
"version": "0.3.0",
"version": "0.3.1",
"description": "AQL condition tool",

@@ -44,3 +44,3 @@ "main": "src/index.js",

},
"gitHead": "c3c64213038c02c85e95082e842d0ad88f164187"
"gitHead": "40837e367d07e0fc4bf1c4b0d3533974f409a244"
}

@@ -13,3 +13,4 @@ 'use strict';

if (!c.operator)
// eslint-disable-next-line no-use-before-define
if (!c.operator || !VALIDATORS[c.operator])
return false;

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