myst-demo 0.14.3 → 0.15.1
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/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/package.json +2 -2
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAyN1D,wBAAgB,YAAY,CAAC,EAC3B,EAAE,EACF,KAAK,EACL,MAAM,EACN,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,SAAS,GACV,EAAE;IACD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,eAAe,CAAA;KAAE,KAAK,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;IAC7E,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAqQA;AAED,eAAO,MAAM,gBAAgB,EAAE,YAS9B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
22
22
|
import { VFile } from 'vfile';
|
|
23
23
|
import { remove } from 'unist-util-remove';
|
|
24
24
|
import { load as yamlLoad, dump as yamlDump } from 'js-yaml';
|
|
25
|
-
import { fileError, RuleId
|
|
25
|
+
import { fileError, RuleId } from 'myst-common';
|
|
26
26
|
import { SourceFileKind } from 'myst-spec-ext';
|
|
27
27
|
import { validatePageFrontmatter } from 'myst-frontmatter';
|
|
28
28
|
import { ArticleProvider, GridSystemProvider } from '@myst-theme/providers';
|
|
@@ -127,7 +127,6 @@ function parse(text, defaultFrontmatter, options) {
|
|
|
127
127
|
const htmlString = mystToHtml(JSON.parse(JSON.stringify(mdast)));
|
|
128
128
|
const references = {
|
|
129
129
|
cite: { order: [], data: {} },
|
|
130
|
-
footnotes: {},
|
|
131
130
|
};
|
|
132
131
|
const frontmatterRaw = getFrontmatter(vfile, mdast);
|
|
133
132
|
const frontmatter = validatePageFrontmatter(frontmatterRaw, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myst-demo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"myst-to-docx": "^1.0.14",
|
|
39
39
|
"myst-to-html": "^1.5.11",
|
|
40
40
|
"myst-to-jats": "^1.0.32",
|
|
41
|
-
"myst-to-react": "^0.
|
|
41
|
+
"myst-to-react": "^0.15.1",
|
|
42
42
|
"myst-to-tex": "^1.0.41",
|
|
43
43
|
"myst-to-typst": "^0.0.30",
|
|
44
44
|
"myst-transforms": "^1.3.32",
|