@wordpress/latex-to-mathml 1.4.1-next.8fd3f8831.0 → 1.5.1-next.06ee73755.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/build/index.cjs +1 -1
- package/build-module/{index.js → index.mjs} +1 -1
- package/build-module/{loader.js → loader.mjs} +1 -1
- package/package.json +6 -7
- /package/build-module/{index.js.map → index.mjs.map} +0 -0
- /package/build-module/{loader.js.map → loader.mjs.map} +0 -0
package/LICENSE.md
CHANGED
package/build/index.cjs
CHANGED
|
@@ -33,7 +33,7 @@ __export(index_exports, {
|
|
|
33
33
|
default: () => latexToMathML
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(index_exports);
|
|
36
|
-
var import_temml = __toESM(require("temml")
|
|
36
|
+
var import_temml = __toESM(require("temml"));
|
|
37
37
|
function latexToMathML(latex, { displayMode = true } = {}) {
|
|
38
38
|
const mathML = import_temml.default.renderToString(latex, {
|
|
39
39
|
displayMode,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/latex-to-mathml",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1-next.06ee73755.0",
|
|
4
4
|
"description": "Convert LaTeX math syntax to MathML.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -31,20 +31,19 @@
|
|
|
31
31
|
"build-types",
|
|
32
32
|
"*.md"
|
|
33
33
|
],
|
|
34
|
-
"type": "module",
|
|
35
34
|
"main": "build/index.cjs",
|
|
36
|
-
"module": "build-module/index.
|
|
35
|
+
"module": "build-module/index.mjs",
|
|
37
36
|
"exports": {
|
|
38
37
|
".": {
|
|
39
38
|
"types": "./build-types/index.d.ts",
|
|
40
|
-
"import": "./build-module/index.
|
|
39
|
+
"import": "./build-module/index.mjs",
|
|
41
40
|
"require": "./build/index.cjs"
|
|
42
41
|
},
|
|
43
42
|
"./package.json": "./package.json"
|
|
44
43
|
},
|
|
45
44
|
"wpScriptModuleExports": {
|
|
46
|
-
".": "./build-module/index.
|
|
47
|
-
"./loader": "./build-module/loader.
|
|
45
|
+
".": "./build-module/index.mjs",
|
|
46
|
+
"./loader": "./build-module/loader.mjs"
|
|
48
47
|
},
|
|
49
48
|
"types": "build-types",
|
|
50
49
|
"dependencies": {
|
|
@@ -53,5 +52,5 @@
|
|
|
53
52
|
"publishConfig": {
|
|
54
53
|
"access": "public"
|
|
55
54
|
},
|
|
56
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "fd315436f44683a993d5f053789b5279d95b2872"
|
|
57
56
|
}
|
|
File without changes
|
|
File without changes
|