@pie-lib/math-rendering 2.5.19-next.1 → 3.1.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.1.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.0.0...@pie-lib/math-rendering@3.1.0) (2023-09-20)
7
+
8
+
9
+ ### Features
10
+
11
+ * use forked mathml-to-latex library, as it contains fixes PD-3011 ([8949ac2](https://github.com/pie-framework/pie-lib/commit/8949ac2ddf6664bf437a35dbe21555f18ac77426))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.0.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@2.5.18...@pie-lib/math-rendering@3.0.0) (2023-09-20)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
23
+
24
+
25
+ ### BREAKING CHANGES
26
+
27
+ * updated mathml-to-latex version.
28
+
29
+
30
+
31
+
32
+
6
33
  ## [2.5.18](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@2.5.17...@pie-lib/math-rendering@2.5.18) (2023-09-14)
7
34
 
8
35
 
@@ -1,16 +1,14 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
7
5
  });
8
6
  exports["default"] = void 0;
9
7
 
10
- var _mathmlToLatex = _interopRequireDefault(require("mathml-to-latex"));
8
+ var _mathmlToLatex = require("@pie-framework/mathml-to-latex");
11
9
 
12
10
  var _default = function _default(mathml) {
13
- return _mathmlToLatex["default"].convert(mathml);
11
+ return _mathmlToLatex.MathMLToLaTeX.convert(mathml);
14
12
  };
15
13
 
16
14
  exports["default"] = _default;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/mml-to-latex.js"],"names":["mathml","Mathml2latex","convert"],"mappings":";;;;;;;;;AAAA;;eACe,kBAACA,MAAD;AAAA,SAAYC,0BAAaC,OAAb,CAAqBF,MAArB,CAAZ;AAAA,C","sourcesContent":["import Mathml2latex from 'mathml-to-latex';\nexport default (mathml) => Mathml2latex.convert(mathml);\n"],"file":"mml-to-latex.js"}
1
+ {"version":3,"sources":["../src/mml-to-latex.js"],"names":["mathml","MathMLToLaTeX","convert"],"mappings":";;;;;;;AAAA;;eACe,kBAACA,MAAD;AAAA,SAAYC,6BAAcC,OAAd,CAAsBF,MAAtB,CAAZ;AAAA,C","sourcesContent":["import { MathMLToLaTeX } from '@pie-framework/mathml-to-latex';\nexport default (mathml) => MathMLToLaTeX.convert(mathml);\n"],"file":"mml-to-latex.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/math-rendering",
3
- "version": "2.5.19-next.1+a3d3a6fe",
3
+ "version": "3.1.0",
4
4
  "description": "math rendering utilities",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -10,11 +10,11 @@
10
10
  "author": "pie-framework developers",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
+ "@pie-framework/mathml-to-latex": "1.3.2",
13
14
  "debug": "^4.1.1",
14
15
  "lodash": "^4.17.11",
15
- "mathjax-full": "3.2.2",
16
- "mathml-to-latex": "1.2.0"
16
+ "mathjax-full": "3.2.2"
17
17
  },
18
- "gitHead": "a3d3a6fe26bb727791a182616f27058ebfb29d31",
18
+ "gitHead": "2d15a99b28278cd284fcefb847734a353ca6ab24",
19
19
  "scripts": {}
20
20
  }
@@ -1,2 +1,2 @@
1
- import Mathml2latex from 'mathml-to-latex';
2
- export default (mathml) => Mathml2latex.convert(mathml);
1
+ import { MathMLToLaTeX } from '@pie-framework/mathml-to-latex';
2
+ export default (mathml) => MathMLToLaTeX.convert(mathml);