New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

json-rules-engine

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-rules-engine - npm Package Compare versions

Comparing version 5.0.4 to 5.1.0-rc1

3

CHANGELOG.md

@@ -0,1 +1,4 @@

#### 5.1.0 / 2020-11-27
* Allow facts to have values of `undefined`
#### 5.0.4 / 2020-09-26

@@ -2,0 +5,0 @@ * Upgrade dependencies to latest

3

dist/fact.js

@@ -43,5 +43,2 @@ 'use strict';

if (!this.id) throw new Error('factId required');
if (typeof this.value === 'undefined' && typeof this.calculationMethod === 'undefined') {
throw new Error('facts must have a value or method');
}

@@ -48,0 +45,0 @@ this.priority = parseInt(options.priority || 1, 10);

{
"name": "json-rules-engine",
"version": "5.0.4",
"version": "5.1.0-rc1",
"description": "Rules Engine expressed in simple json",

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