CacheControl / CacheControl/json-rules-engine

jsonpath-plus expects browser to use ESM

未關閉
#417 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
3.1k
分支
507
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

先重現 json-rules-engine 載入 jsonpath-plus 時的 Browser/Vitest 失敗,然後追蹤該相依性是如何載入的。完成的標準是規則引擎能在瀏覽器中載入並執行,且不會出現回報的 ESM/CommonJS 錯誤;issue 沒有列出可用來引導變更的檔案或測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
web-dev
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。