josdejong/jsoneditor

Add support for Trusted Types

オープン

#1,621 opened on 2024/10/23

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (2,078 件のフォーク)batch import
featurehelp wanted

Repository metrics

Stars
 (12,263 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Hello,

I'm using your great library on angular with the @maaxgr/ang-jsoneditor (14.0.0) wrapper & jsoneditor (10.1.0).

I recently started implementing Trusted Types for security reasons and find myself unable to authorize in my CSP the jsoneditor due to a lack of trusted type usage.

image

As it is still experimental I would get it if you want to wait before implementing this, but the polyfill-like approach could be used to mitigate risk if they make breaking changes in the future.

Could you please add support for it ?

Thanks !

コントリビューターガイド