CacheControl / CacheControl/json-rules-engine
jsonpath-plus expects browser to use ESM
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 507
- PR merge metrics
- No merged PRs in 30d
Description
This library will no longer work in browser `jsonpath-plus` serves ESM when being used in the browser, however, this package only supports commonJS, so we get into a situation where if we are running this in a browser (vitest) we get an error when json-rules-engine tries to load jsonpath-plus
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the browser/Vitest failure when json-rules-engine loads jsonpath-plus, then trace how that dependency is loaded. Done means the rules engine can load and run in a browser without the reported ESM/CommonJS error; the issue names no files or tests to guide the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100