myst-frontmatter
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -10,2 +10,3 @@ "use strict"; | ||
ExportFormats["docx"] = "docx"; | ||
ExportFormats["xml"] = "xml"; | ||
})(ExportFormats = exports.ExportFormats || (exports.ExportFormats = {})); |
@@ -375,2 +375,4 @@ "use strict"; | ||
input = 'pdf+tex'; | ||
if (input === 'jats') | ||
input = 'xml'; | ||
const format = (0, simple_validators_1.validateEnum)(input, Object.assign(Object.assign({}, opts), { enum: types_1.ExportFormats })); | ||
@@ -377,0 +379,0 @@ return format; |
@@ -7,2 +7,3 @@ export var ExportFormats; | ||
ExportFormats["docx"] = "docx"; | ||
ExportFormats["xml"] = "xml"; | ||
})(ExportFormats || (ExportFormats = {})); |
@@ -362,2 +362,4 @@ import doi from 'doi-utils'; | ||
input = 'pdf+tex'; | ||
if (input === 'jats') | ||
input = 'xml'; | ||
const format = validateEnum(input, Object.assign(Object.assign({}, opts), { enum: ExportFormats })); | ||
@@ -364,0 +366,0 @@ return format; |
@@ -60,3 +60,4 @@ import type { CreditRole } from 'credit-roles'; | ||
pdftex = "pdf+tex", | ||
docx = "docx" | ||
docx = "docx", | ||
xml = "xml" | ||
} | ||
@@ -63,0 +64,0 @@ export declare type Export = { |
{ | ||
"name": "myst-frontmatter", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158453
3101