New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

myst-spec-ext

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myst-spec-ext - npm Package Compare versions

Comparing version 1.1.10 to 1.1.11

30

dist/types.d.ts

@@ -1,2 +0,2 @@

import type { Block as SpecBlock, Parent, StaticPhrasingContent, FlowContent, ListContent, PhrasingContent, TableCell as SpecTableCell, FootnoteReference as FNR, FootnoteDefinition as FND, Heading as SpecHeading, Image as SpecImage, Admonition as SpecAdmonition, Code as SpecCode, ListItem as SpecListItem, Container as SpecContainer } from 'myst-spec';
import type { Block as SpecBlock, Parent, StaticPhrasingContent, FlowContent, ListContent, PhrasingContent, TableCell as SpecTableCell, FootnoteReference as FNR, FootnoteDefinition as FND, Heading as SpecHeading, Image as SpecImage, Admonition as SpecAdmonition, Code as SpecCode, ListItem as SpecListItem, Container as SpecContainer, InlineMath as SpecInlineMath, Math as SpecMath } from 'myst-spec';
type Visibility = 'show' | 'hide' | 'remove';

@@ -30,2 +30,27 @@ export type Delete = Parent & {

};
/**
* AlgorithmLine is, e.g., a line in an algorithm and can be numbered as well as indented.
* Otherwise this works the same as a paragraph, ideally with tighter styling.
* The Line is used in Algorithms (e.g. when parsing from LaTeX)
*/
export type AlgorithmLine = Parent & {
type: 'algorithmLine';
indent?: number;
enumerator?: string;
};
export type InlineMath = SpecInlineMath & {
label?: string;
identifier?: string;
};
export type Math = SpecMath & {
kind?: 'subequation';
};
export type MathGroup = {
type: 'mathGroup';
label?: string;
identifier?: string;
enumerated?: boolean;
enumerator?: string;
children: Math[];
};
export type FootnoteDefinition = FND & {

@@ -164,3 +189,4 @@ /** @deprecated this should be enumerator */

};
export type Container = SpecContainer & {
export type Container = Omit<SpecContainer, 'kind'> & {
kind?: 'figure' | 'table' | 'quote' | 'code';
source?: Dependency;

@@ -167,0 +193,0 @@ };

2

package.json
{
"name": "myst-spec-ext",
"version": "1.1.10",
"version": "1.1.11",
"description": "Extensions for myst-spec that are used in mystmd",

@@ -5,0 +5,0 @@ "author": "Rowan Cockett <rowan@curvenote.com>",

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