@unified-latex/unified-latex-util-parse
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -215,9 +215,9 @@ // libs/compiler-ast.ts | ||
{}, | ||
macros, | ||
...Object.values(macroInfo) | ||
...Object.values(macroInfo), | ||
macros | ||
); | ||
const allEnvInfo = Object.assign( | ||
{}, | ||
environments, | ||
...Object.values(environmentInfo) | ||
...Object.values(environmentInfo), | ||
environments | ||
); | ||
@@ -224,0 +224,0 @@ const fullParser = unified().use(unifiedLatexFromStringMinimal, { mode }).use(unifiedLatexProcessAtLetterAndExplMacros, { |
import { Plugin } from "unified"; | ||
import * as Ast from "@unified-latex/unified-latex-types"; | ||
declare type PluginOptions = { | ||
type PluginOptions = { | ||
/** | ||
@@ -5,0 +5,0 @@ * Whether the text will be parsed assuming math mode or not. |
import { Plugin } from "unified"; | ||
import * as Ast from "@unified-latex/unified-latex-types"; | ||
import { EnvInfoRecord, MacroInfoRecord } from "@unified-latex/unified-latex-types"; | ||
export declare type PluginOptions = { | ||
export type PluginOptions = { | ||
mode?: "math" | "regular"; | ||
@@ -6,0 +6,0 @@ macros?: MacroInfoRecord; |
import * as Ast from "@unified-latex/unified-latex-types"; | ||
import { Plugin } from "unified"; | ||
declare type PluginOptions = { | ||
type PluginOptions = { | ||
/** | ||
@@ -5,0 +5,0 @@ * Whether to parse macros as if `\makeatletter` is set (i.e., parse `@` as a regular macro character). |
import * as Ast from "@unified-latex/unified-latex-types"; | ||
import { EnvInfoRecord, MacroInfoRecord } from "@unified-latex/unified-latex-types"; | ||
import { Plugin } from "unified"; | ||
declare type PluginOptions = { | ||
type PluginOptions = { | ||
environments: EnvInfoRecord; | ||
@@ -6,0 +6,0 @@ macros: MacroInfoRecord; |
import { Plugin } from "unified"; | ||
import * as Ast from "@unified-latex/unified-latex-types"; | ||
declare type PluginOptions = { | ||
type PluginOptions = { | ||
/** | ||
@@ -5,0 +5,0 @@ * List of environments whose body should be parsed in math mode |
{ | ||
"name": "@unified-latex/unified-latex-util-parse", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Tools for manipulating unified-latex ASTs", | ||
@@ -8,12 +8,12 @@ "main": "index.js", | ||
"dependencies": { | ||
"@unified-latex/unified-latex-ctan": "^1.2.1", | ||
"@unified-latex/unified-latex-types": "^1.2.1", | ||
"@unified-latex/unified-latex-util-arguments": "^1.2.1", | ||
"@unified-latex/unified-latex-util-catcode": "^1.2.1", | ||
"@unified-latex/unified-latex-util-environments": "^1.2.1", | ||
"@unified-latex/unified-latex-util-match": "^1.2.1", | ||
"@unified-latex/unified-latex-util-pegjs": "^1.2.1", | ||
"@unified-latex/unified-latex-util-print-raw": "^1.2.1", | ||
"@unified-latex/unified-latex-util-trim": "^1.2.1", | ||
"@unified-latex/unified-latex-util-visit": "^1.2.1", | ||
"@unified-latex/unified-latex-ctan": "^1.2.2", | ||
"@unified-latex/unified-latex-types": "^1.2.2", | ||
"@unified-latex/unified-latex-util-arguments": "^1.2.2", | ||
"@unified-latex/unified-latex-util-catcode": "^1.2.2", | ||
"@unified-latex/unified-latex-util-environments": "^1.2.2", | ||
"@unified-latex/unified-latex-util-match": "^1.2.2", | ||
"@unified-latex/unified-latex-util-pegjs": "^1.2.2", | ||
"@unified-latex/unified-latex-util-print-raw": "^1.2.2", | ||
"@unified-latex/unified-latex-util-trim": "^1.2.2", | ||
"@unified-latex/unified-latex-util-visit": "^1.2.2", | ||
"unified": "^10.1.2" | ||
@@ -20,0 +20,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
79877