@truto/truto-jsonata 1.0.4 → 1.0.6
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/dist/main.cjs +8 -0
- package/dist/main.cjs.map +1 -1
- package/dist/module.js +9 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import $hgUW1$jsonata from "jsonata";
|
|
2
2
|
import {difference as $hgUW1$difference, groupBy as $hgUW1$groupBy, castArray as $hgUW1$castArray, keyBy as $hgUW1$keyBy, pick as $hgUW1$pick, omit as $hgUW1$omit, compact as $hgUW1$compact, join as $hgUW1$join, orderBy as $hgUW1$orderBy, find as $hgUW1$find, filter as $hgUW1$filter, values as $hgUW1$values, reduce as $hgUW1$reduce, each as $hgUW1$each, get as $hgUW1$get, isEmpty as $hgUW1$isEmpty, concat as $hgUW1$concat, isEqual as $hgUW1$isEqual, flatMap as $hgUW1$flatMap, map as $hgUW1$map, set as $hgUW1$set, isString as $hgUW1$isString, flattenDeep as $hgUW1$flattenDeep, sortBy as $hgUW1$sortBy, repeat as $hgUW1$repeat, flatten as $hgUW1$flatten, reject as $hgUW1$reject, isNil as $hgUW1$isNil} from "lodash-es";
|
|
3
3
|
import {DateTime as $hgUW1$DateTime} from "luxon";
|
|
4
|
-
import {Lexer as $hgUW1$Lexer} from "marked";
|
|
4
|
+
import {Lexer as $hgUW1$Lexer, marked as $hgUW1$marked} from "marked";
|
|
5
5
|
import {diceCoefficient as $hgUW1$diceCoefficient} from "dice-coefficient";
|
|
6
6
|
import {createDocument as $hgUW1$createDocument} from "@mixmark-io/domino";
|
|
7
7
|
import $hgUW1$turndown from "turndown";
|
|
@@ -1324,6 +1324,13 @@ var $52da679a67e0b066$export$2e2bcd8739ae039 = $52da679a67e0b066$var$base64decod
|
|
|
1324
1324
|
|
|
1325
1325
|
|
|
1326
1326
|
|
|
1327
|
+
|
|
1328
|
+
async function $22f22d9ed76050e5$var$convertMarkdownToHtml(markdown, options) {
|
|
1329
|
+
return (0, $hgUW1$marked).parse(markdown, options);
|
|
1330
|
+
}
|
|
1331
|
+
var $22f22d9ed76050e5$export$2e2bcd8739ae039 = $22f22d9ed76050e5$var$convertMarkdownToHtml;
|
|
1332
|
+
|
|
1333
|
+
|
|
1327
1334
|
function $3e1c03caddb74419$export$2e2bcd8739ae039(expression) {
|
|
1328
1335
|
expression.registerFunction("dtFromIso", (0, $9e00534fc92334a4$export$2e2bcd8739ae039));
|
|
1329
1336
|
expression.registerFunction("base64decode", (0, $52da679a67e0b066$export$2e2bcd8739ae039));
|
|
@@ -1354,6 +1361,7 @@ function $3e1c03caddb74419$export$2e2bcd8739ae039(expression) {
|
|
|
1354
1361
|
expression.registerFunction("sortNodes", (0, $5c5e048cce648ad9$export$2e2bcd8739ae039));
|
|
1355
1362
|
expression.registerFunction("blob", (0, $a55f44f6811a2712$export$2e2bcd8739ae039));
|
|
1356
1363
|
expression.registerFunction("convertHtmlToMarkdown", (0, $466433da5b17336d$export$2e2bcd8739ae039));
|
|
1364
|
+
expression.registerFunction("convertMarkdownToHtml", (0, $22f22d9ed76050e5$export$2e2bcd8739ae039));
|
|
1357
1365
|
expression.registerFunction("digest", (0, $07f7ad31d6a8cbdd$export$2e2bcd8739ae039));
|
|
1358
1366
|
expression.registerFunction("sign", (0, $9e0fe82470a4aa3f$export$2e2bcd8739ae039));
|
|
1359
1367
|
expression.registerFunction("xmlToJs", (0, $482257986df2ffd5$export$2e2bcd8739ae039));
|