Comparing version 0.54.1 to 0.55.0
@@ -1,2 +0,2 @@ | ||
/* 0.54.1 */ export declare const DOMAIN_NONE = 0; | ||
/* 0.55.0 */ export declare const DOMAIN_NONE = 0; | ||
export declare const DOMAIN_ZERO = 1; | ||
@@ -3,0 +3,0 @@ export declare const DOMAIN_PRIME_NUMBER = 256; |
@@ -1,2 +0,2 @@ | ||
/* 0.54.1 */ import { Domain } from './domains'; | ||
/* 0.55.0 */ import { Domain } from './domains'; | ||
export declare type FunctionDefinition = { | ||
@@ -33,2 +33,6 @@ /** | ||
/** | ||
* If true, `Sequence` arguments are not automatically spliced in | ||
*/ | ||
sequenceHold?: boolean; | ||
/** | ||
* Number of arguments, or minimum or minimum and maximum number of arguments. | ||
@@ -217,3 +221,3 @@ * | ||
export declare type Form = 'canonical' | 'canonical-add' | 'canonical-divide' | 'canonical-exp' | 'canonical-list' | 'canonical-multiply' | 'canonical-power' | 'canonical-negate' | 'canonical-number' | 'canonical-root' | 'canonical-subtract' | 'flatten' | 'full' | 'sorted' | 'stripped-metadata' | 'sum-product'; | ||
export declare type DictionaryCategory = 'algebra' | 'arithmetic' | 'calculus' | 'complex' | 'combinatorics' | 'dimensions' | 'intervals' | 'linear-algebra' | 'lists' | 'logic' | 'numeric' | 'quantifiers' | 'physics' | 'polynomials' | 'relations' | 'sets' | 'statistics' | 'core' | 'transcendentals' | 'trigonometry' | 'rounding' | 'units'; | ||
export declare type DictionaryCategory = 'algebra' | 'arithmetic' | 'calculus' | 'complex' | 'combinatorics' | 'dimensions' | 'inequalities' | 'intervals' | 'linear-algebra' | 'lists' | 'logic' | 'numeric' | 'other' | 'quantifiers' | 'physics' | 'polynomials' | 'relations' | 'sets' | 'statistics' | 'symbols' | 'core' | 'transcendentals' | 'trigonometry' | 'rounding' | 'units'; | ||
/** | ||
@@ -220,0 +224,0 @@ * Return a dictionary suitable for the specified category, or `"all"` |
@@ -1,2 +0,2 @@ | ||
/* 0.54.1 */ import type { Keys } from './types-utils'; | ||
/* 0.55.0 */ import type { Keys } from './types-utils'; | ||
import type { ParseMode, Style } from './core'; | ||
@@ -3,0 +3,0 @@ import type { Mathfield, Model } from './mathfield'; |
@@ -1,2 +0,2 @@ | ||
/* 0.54.1 */ import { ErrorListener, MacroDictionary, ParseMode, ParserErrorCode, MathfieldErrorCode } from './core'; | ||
/* 0.55.0 */ import { ErrorListener, MacroDictionary, ParseMode, ParserErrorCode, MathfieldErrorCode } from './core'; | ||
import type { Mathfield } from './mathfield'; | ||
@@ -708,3 +708,3 @@ import type { Selector } from './commands'; | ||
*/ | ||
export declare type KeyboardLayoutName = 'apple.en-intl' | 'apple.french' | 'apple.german' | 'windows.en-intl' | 'windows.french' | 'windows.german' | 'linux.en' | 'linux.french' | 'linux.german'; | ||
export declare type KeyboardLayoutName = 'apple.en-intl' | 'apple.french' | 'apple.german' | 'apple.spanish' | 'windows.en-intl' | 'windows.french' | 'windows.german' | 'windows.spanish' | 'linux.en' | 'linux.french' | 'linux.german' | 'linux.spanish'; | ||
/** | ||
@@ -711,0 +711,0 @@ * Change the current physical keyboard layout. |
@@ -1,2 +0,2 @@ | ||
/* 0.54.1 */ /** | ||
/* 0.55.0 */ /** | ||
* The mode that indicates how a portion of content is interpreted | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
/* 0.54.1 */ import { Selector } from './commands'; | ||
/* 0.55.0 */ import { Selector } from './commands'; | ||
import { MathfieldConfig } from './config'; | ||
@@ -3,0 +3,0 @@ import { ParseMode, MacroDictionary, Style } from './core'; |
@@ -1,2 +0,2 @@ | ||
/* 0.54.1 */ /** | ||
/* 0.55.0 */ /** | ||
* | ||
@@ -11,3 +11,3 @@ * Use MathLive to render and edit mathematical formulas. | ||
* // Load the `Mathlive` module from a CDN | ||
* import MathLive from 'https://unpkg.com/mathlive/dist/mathlive.mjs'; | ||
* import MathLive from 'https://unpkg.com/mathlive/dist/mathlive.min.mjs'; | ||
* | ||
@@ -17,4 +17,4 @@ * console.log(MathLive.latexToAST('e^{i\\pi}+1=0')); | ||
* | ||
* @packageDocumentation MathLive SDK Reference 0.54.1 | ||
* @version 0.54.1 | ||
* @packageDocumentation MathLive SDK Reference 0.55.0 | ||
* @version 0.55.0 | ||
* | ||
@@ -29,3 +29,3 @@ */ | ||
/** | ||
* Current version: `0.54.1` | ||
* Current version: `0.55.0` | ||
* | ||
@@ -85,3 +85,3 @@ * The version string of the SDK using the [semver](https://semver.org/) convention: | ||
* ```javascript | ||
* import MathLive from 'https://unpkg.com/mathlive/dist/mathlive.mjs'; | ||
* import MathLive from 'https://unpkg.com/mathlive/dist/mathlive.min.mjs'; | ||
* MathLive.makeMathField('equation'); | ||
@@ -324,3 +324,3 @@ * ``` | ||
* @example | ||
* import MathLive from 'https://unpkg.com/mathlive/dist/mathlive.mjs'; | ||
* import MathLive from 'https://unpkg.com/mathlive/dist/mathlive.min.mjs'; | ||
* document.addEventListener("load", () => { | ||
@@ -327,0 +327,0 @@ * MathLive.renderMathInDocument(); |
@@ -1,2 +0,2 @@ | ||
/* 0.54.1 */ /** | ||
/* 0.55.0 */ /** | ||
* @internal | ||
@@ -3,0 +3,0 @@ */ |
{ | ||
"name": "mathlive", | ||
"version": "0.54.1", | ||
"version": "0.55.0", | ||
"description": "Render and edit beautifully typeset math", | ||
@@ -27,3 +27,3 @@ "license": "MIT", | ||
"module": "./dist/mathlive.mjs", | ||
"types": "./dist/mathlive.d.ts", | ||
"types": "./dist/public/mathlive.d.ts", | ||
"files": [ | ||
@@ -87,13 +87,14 @@ "/dist" | ||
"devDependencies": { | ||
"@babel/types": "^7.11.0", | ||
"@cortex-js/prettier-config": "^1.0.0", | ||
"@types/css-font-loading-module": "0.0.4", | ||
"@types/jest": "^26.0.3", | ||
"@types/node": "^14.0.14", | ||
"@typescript-eslint/eslint-plugin": "^3.4.0", | ||
"@typescript-eslint/parser": "^3.4.0", | ||
"@typescript-eslint/typescript-estree": "^3.4.0", | ||
"autoprefixer": "^9.8.4", | ||
"@types/jest": "^26.0.10", | ||
"@types/node": "^14.6.0", | ||
"@typescript-eslint/eslint-plugin": "^3.9.0", | ||
"@typescript-eslint/parser": "^3.9.0", | ||
"@typescript-eslint/typescript-estree": "^3.9.0", | ||
"autoprefixer": "^9.8.6", | ||
"check-node-version": "^4.0.3", | ||
"cssnano": "^4.1.10", | ||
"eslint": "^7.3.1", | ||
"eslint": "^7.7.0", | ||
"eslint-config-prettier": "latest", | ||
@@ -104,5 +105,5 @@ "eslint-plugin-no-unsanitized": "^3.1.2", | ||
"husky": "^4.2.5", | ||
"jest": "^26.1.0", | ||
"jest": "^26.4.0", | ||
"jest-silent-reporter": "^0.2.1", | ||
"less": "^3.11.3", | ||
"less": "^3.12.2", | ||
"lint-staged": "^10.2.11", | ||
@@ -112,11 +113,11 @@ "postcss-cli": "^7.1.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.18.0", | ||
"rollup": "^2.26.3", | ||
"rollup-plugin-copy": "^3.3.0", | ||
"rollup-plugin-eslint": "^7.0.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-postcss": "^3.1.2", | ||
"rollup-plugin-terser": "latest", | ||
"rollup-plugin-typescript2": "latest", | ||
"ts-jest": "^26.1.1", | ||
"typescript": "^3.9.5" | ||
"rollup-plugin-postcss": "^3.1.5", | ||
"rollup-plugin-terser": "^7.0.0", | ||
"rollup-plugin-typescript2": "^0.27.2", | ||
"ts-jest": "^26.2.0", | ||
"typescript": "^3.9.7" | ||
}, | ||
@@ -123,0 +124,0 @@ "dependencies": {}, |
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 too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
4447579
60
66480
2
0
33
1