Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

myst-frontmatter

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myst-frontmatter - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

1

dist/cjs/frontmatter/types.js

@@ -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;

3

dist/types/frontmatter/types.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc