Socket
Socket
Sign inDemoInstall

mathlive

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathlive - npm Package Compare versions

Comparing version 0.83.0 to 0.84.0

2

dist/public/commands.d.ts

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

/* 0.83.0 */ import type { Keys } from './types-utils';
/* 0.84.0 */ import type { Keys } from './types-utils';
import type { ParseMode, Style } from './core';

@@ -3,0 +3,0 @@ import type { InsertOptions, Mathfield, Model, VirtualKeyboardInterface } from './mathfield';

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

/* 0.83.0 */ /**
/* 0.84.0 */ /**
* The mode that indicates how a portion of content is interpreted

@@ -3,0 +3,0 @@ *

@@ -1,5 +0,8 @@

/* 0.83.0 */ import { Selector } from './commands';
/* 0.84.0 */ import { Selector } from './commands';
import { LatexSyntaxError, ParseMode, Style } from './core';
import { Mathfield, InsertOptions, OutputFormat, Offset, Range, Selection } from './mathfield';
import { MathfieldOptions } from './options';
export declare type Expression = number | string | {
[key: string]: any;
} | [Expression, ...Expression[]];
/**

@@ -511,2 +514,3 @@ * The `focus-out` event signals that the mathfield has lost focus through keyboard

get expression(): any;
set expression(mathJson: Expression | any);
get errors(): LatexSyntaxError[];

@@ -668,4 +672,4 @@ get placeholders(): {

set defaultMode(value: 'inline-math' | 'math' | 'text');
get fontsDirectory(): string;
set fontsDirectory(value: string);
get fontsDirectory(): string | null;
set fontsDirectory(value: string | null);
get mathModeSpace(): string;

@@ -672,0 +676,0 @@ set mathModeSpace(value: string);

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

/* 0.83.0 */ import { Selector } from './commands';
/* 0.84.0 */ import { Selector } from './commands';
import { CombinedVirtualKeyboardOptions, MathfieldOptions } from './options';

@@ -3,0 +3,0 @@ import { ParseMode, Style } from './core';

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

/* 0.83.0 */ /**
/* 0.84.0 */ /**
*

@@ -14,4 +14,4 @@ * Use MathLive to render and edit mathematical formulas.

*
* @packageDocumentation MathLive SDK Reference 0.83.0
* @version 0.83.0
* @packageDocumentation MathLive SDK Reference 0.84.0
* @version 0.84.0
*

@@ -18,0 +18,0 @@ */

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

/* 0.83.0 */ import { MacroDictionary, ParseMode, Registers } from './core';
/* 0.84.0 */ import { MacroDictionary, ParseMode, Registers } from './core';
import type { Mathfield, Range } from './mathfield';

@@ -815,3 +815,4 @@ import { VirtualKeyboardMode } from './mathfield-element';

*
* The default value is './fonts'.
* The default value is './fonts'. Use `null` to prevent
* any fonts from being loaded.
*

@@ -842,3 +843,3 @@ * Changing this setting after the mathfield has been created will have

*/
fontsDirectory: string;
fontsDirectory: string | null;
/**

@@ -849,4 +850,7 @@ * A URL fragment pointing to the directory containing the optional

* Some default sounds are available in the `/dist/sounds` directory of the SDK.
*
* Use `null` to prevent any sound from being loaded.
*
*/
soundsDirectory: string;
soundsDirectory: string | null;
/**

@@ -969,4 +973,5 @@ * Support for [Trusted Type](https://w3c.github.io/webappsec-trusted-types/dist/spec/).

*
* Setting this value to `null` will prevent the fonts from being loaded.
*/
fontsDirectory?: string;
fontsDirectory?: string | null;
/**

@@ -1005,4 +1010,3 @@ * Support for [Trusted Type](https://w3c.github.io/webappsec-trusted-types/dist/spec/).

/**
* `<script>` tags of the
* indicated type will be processed while others will be ignored.
* `<script>` tags with this type will be processed as LaTeX.
*

@@ -1012,2 +1016,8 @@ * **Default**: `"math/tex"`

processScriptType?: string;
/**
* `<script>` tags with this type will be processed as MathJSON.
*
* **Default**: `"math/json"`
*/
processMathJSONScriptType?: string;
/** The format(s) in

@@ -1014,0 +1024,0 @@ * which to render the math for screen readers:

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

/* 0.83.0 */ /**
/* 0.84.0 */ /**
* @internal

@@ -3,0 +3,0 @@ */

{
"name": "mathlive",
"version": "0.83.0",
"version": "0.84.0",
"description": "Render and edit beautifully typeset math",

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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

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