File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 13
13
"@testing-library/react" : " ^13.4.0" ,
14
14
"@testing-library/user-event" : " ^14.4.3" ,
15
15
"dompurify" : " ^2.4.0" ,
16
+ "json5" : " 2.2.3" ,
16
17
"json-stable-stringify" : " ^1.0.1" ,
17
18
"marked" : " ^3.0.8" ,
18
19
"react" : " ^18.2.0" ,
Original file line number Diff line number Diff line change 1
1
// copyright (c) 2020 - 2023, Matthias Behr
2
2
// util.js
3
- import jp from 'jsonpath'
3
+ import jp from 'jsonpath'
4
+
5
+ // provide JSON5.parse for conversion functions:
6
+ import JSON5 from 'json5'
7
+
8
+ // eslint-disable-next-line no-undef
9
+ if ( ! globalThis . JSON5 ) {
10
+ // eslint-disable-next-line no-undef
11
+ globalThis . JSON5 = JSON5 ;
12
+ }
4
13
5
14
// const vscode = window.acquireVsCodeApi();
6
15
let vscode = undefined ;
Original file line number Diff line number Diff line change @@ -6562,6 +6562,11 @@ json-stable-stringify@^1.0.1:
6562
6562
dependencies :
6563
6563
jsonify "~0.0.0"
6564
6564
6565
+
6566
+ version "2.2.3"
6567
+ resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
6568
+ integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
6569
+
6565
6570
json5@^1.0.1 :
6566
6571
version "1.0.1"
6567
6572
resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe"
You can’t perform that action at this time.
0 commit comments