Skip to content

Commit

Permalink
Fix usage of lodash
Browse files Browse the repository at this point in the history
We didn't have lodash as a dependency instead having lodash.isObject
builds were working because lodash was a dev dependency.

Resolves #346
  • Loading branch information
Christopher Pardy committed Aug 26, 2023
1 parent e7263f4 commit 37df47d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "json-rules-engine",
"version": "6.4.0",
"version": "6.4.1",
"description": "Rules Engine expressed in simple json",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/rule-result.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

import deepClone from 'clone'
import { isObject } from 'lodash'
import isObject from 'lodash.isobjectlike'

export default class RuleResult {
constructor (conditions, event, priority, name) {
Expand Down

0 comments on commit 37df47d

Please # to comment.