@truto/truto-jsonata 1.0.5 → 1.0.7
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 +4 -3
- package/dist/main.cjs.map +1 -1
- package/dist/module.js +5 -4
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import $hgUW1$jsonata from "jsonata";
|
|
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";
|
|
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, isFunction as $hgUW1$isFunction} from "lodash-es";
|
|
3
3
|
import {DateTime as $hgUW1$DateTime} from "luxon";
|
|
4
4
|
import {Lexer as $hgUW1$Lexer, marked as $hgUW1$marked} from "marked";
|
|
5
5
|
import {diceCoefficient as $hgUW1$diceCoefficient} from "dice-coefficient";
|
|
@@ -1285,8 +1285,9 @@ function $153d9abb3c74da4b$var$firstNonEmpty(...args) {
|
|
|
1285
1285
|
var $153d9abb3c74da4b$export$2e2bcd8739ae039 = $153d9abb3c74da4b$var$firstNonEmpty;
|
|
1286
1286
|
|
|
1287
1287
|
|
|
1288
|
+
|
|
1288
1289
|
async function $3e0a662faddb5a62$var$getArrayBuffer(file) {
|
|
1289
|
-
return file ? await file.arrayBuffer() : undefined;
|
|
1290
|
+
return file && (0, $hgUW1$isFunction)(file.arrayBuffer) ? await file.arrayBuffer() : undefined;
|
|
1290
1291
|
}
|
|
1291
1292
|
var $3e0a662faddb5a62$export$2e2bcd8739ae039 = $3e0a662faddb5a62$var$getArrayBuffer;
|
|
1292
1293
|
|
|
@@ -1325,8 +1326,8 @@ var $52da679a67e0b066$export$2e2bcd8739ae039 = $52da679a67e0b066$var$base64decod
|
|
|
1325
1326
|
|
|
1326
1327
|
|
|
1327
1328
|
|
|
1328
|
-
async function $22f22d9ed76050e5$var$convertMarkdownToHtml(markdown) {
|
|
1329
|
-
return (0, $hgUW1$marked).parse(markdown);
|
|
1329
|
+
async function $22f22d9ed76050e5$var$convertMarkdownToHtml(markdown, options) {
|
|
1330
|
+
return (0, $hgUW1$marked).parse(markdown, options);
|
|
1330
1331
|
}
|
|
1331
1332
|
var $22f22d9ed76050e5$export$2e2bcd8739ae039 = $22f22d9ed76050e5$var$convertMarkdownToHtml;
|
|
1332
1333
|
|