json-rules-engine
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -0,1 +1,4 @@ | ||
#### 5.0.4 / 2020-09-26 | ||
* Upgrade dependencies to latest | ||
#### 5.0.3 / 2020-01-26 | ||
@@ -2,0 +5,0 @@ * Upgrade jsonpath-plus dependency, to fix inconsistent scalar results (#175) |
@@ -188,3 +188,3 @@ 'use strict'; | ||
/** | ||
* Add a fact definition to the engine. Facts are called by rules as they are evaluated. | ||
* Remove a fact definition to the engine. Facts are called by rules as they are evaluated. | ||
* @param {object|Fact} id - fact identifier or instance of Fact | ||
@@ -191,0 +191,0 @@ */ |
{ | ||
"name": "json-rules-engine", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Rules Engine expressed in simple json", | ||
@@ -43,2 +43,13 @@ "main": "dist/index.js", | ||
}, | ||
"mocha": { | ||
"require": [ | ||
"babel-core/register", | ||
"babel-polyfill" | ||
], | ||
"file": "./test/support/bootstrap.js", | ||
"checkLeaks": true, | ||
"globals": [ | ||
"expect" | ||
] | ||
}, | ||
"author": "Cache Hamm <cache.hamm@gmail.com>", | ||
@@ -53,4 +64,4 @@ "license": "ISC", | ||
"babel-core": "6.26.3", | ||
"babel-eslint": "10.0.3", | ||
"babel-loader": "8.0.6", | ||
"babel-eslint": "10.1.0", | ||
"babel-loader": "8.1.0", | ||
"babel-polyfill": "6.26.0", | ||
@@ -64,17 +75,17 @@ "babel-preset-es2015": "~6.24.1", | ||
"dirty-chai": "2.0.1", | ||
"mocha": "^6.2.2", | ||
"mocha": "^8.1.3", | ||
"perfy": "^1.1.5", | ||
"sinon": "^7.5.0", | ||
"sinon-chai": "^3.3.0", | ||
"sinon": "^9.0.3", | ||
"sinon-chai": "^3.5.0", | ||
"snazzy": "^8.0.0", | ||
"standard": "^14.3.1", | ||
"tsd": "^0.10.0" | ||
"standard": "^14.3.4", | ||
"tsd": "^0.13.1" | ||
}, | ||
"dependencies": { | ||
"clone": "^2.1.2", | ||
"events": "^3.0.0", | ||
"hash-it": "^4.0.4", | ||
"jsonpath-plus": "^3.0.0", | ||
"events": "^3.2.0", | ||
"hash-it": "^4.0.5", | ||
"jsonpath-plus": "^4.0.0", | ||
"lodash.isobjectlike": "^4.0.0" | ||
} | ||
} |
![json-rules-engine](http://i.imgur.com/MAzq7l2.png) | ||
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard) | ||
[![Build Status](https://travis-ci.org/CacheControl/json-rules-engine.svg?branch=master)](https://travis-ci.org/CacheControl/json-rules-engine) | ||
[![Build Status](https://github.com/cachecontrol/json-rules-engine/workflows/Node.js%20CI/badge.svg?branch=master)](https://github.com/cachecontrol/json-rules-engine/workflows/Node.js%20CI/badge.svg?branch=master) | ||
[![npm version](https://badge.fury.io/js/json-rules-engine.svg)](https://badge.fury.io/js/json-rules-engine) | ||
@@ -22,3 +23,3 @@ [![install size](https://packagephobia.now.sh/badge?p=json-rules-engine)](https://packagephobia.now.sh/result?p=json-rules-engine) | ||
* Isomorphic; runs in node and browser | ||
* Lightweight & extendable; 24kb gzipped w/few dependencies | ||
* Lightweight & extendable; 12kb gzipped w/few dependencies | ||
@@ -25,0 +26,0 @@ ## Installation |
74259
20
226
+ Addedjsonpath-plus@4.0.0(transitive)
- Removedjsonpath-plus@3.0.0(transitive)
Updatedevents@^3.2.0
Updatedhash-it@^4.0.5
Updatedjsonpath-plus@^4.0.0