koishi-plugin-chatluna-character 0.0.113 → 0.0.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs +1 -5
- package/lib/index.mjs +1 -5
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -366,11 +366,7 @@ function preprocessContent(content) {
|
|
|
366
366
|
}
|
|
367
367
|
__name(preprocessContent, "preprocessContent");
|
|
368
368
|
function tryParseJSON(content) {
|
|
369
|
-
|
|
370
|
-
return JSON.parse(content);
|
|
371
|
-
} catch (e) {
|
|
372
|
-
return null;
|
|
373
|
-
}
|
|
369
|
+
return JSON.parse(content);
|
|
374
370
|
}
|
|
375
371
|
__name(tryParseJSON, "tryParseJSON");
|
|
376
372
|
function attemptToFixJSON(content) {
|
package/lib/index.mjs
CHANGED
|
@@ -334,11 +334,7 @@ function preprocessContent(content) {
|
|
|
334
334
|
}
|
|
335
335
|
__name(preprocessContent, "preprocessContent");
|
|
336
336
|
function tryParseJSON(content) {
|
|
337
|
-
|
|
338
|
-
return JSON.parse(content);
|
|
339
|
-
} catch (e) {
|
|
340
|
-
return null;
|
|
341
|
-
}
|
|
337
|
+
return JSON.parse(content);
|
|
342
338
|
}
|
|
343
339
|
__name(tryParseJSON, "tryParseJSON");
|
|
344
340
|
function attemptToFixJSON(content) {
|
package/package.json
CHANGED