@pie-lib/math-rendering 2.5.18 → 3.0.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,22 @@
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.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)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * updated mathml-to-latex version.
17
+
18
+
19
+
20
+
21
+
6
22
  ## [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
23
 
8
24
 
@@ -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("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 '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.18",
3
+ "version": "3.0.0",
4
4
  "description": "math rendering utilities",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,8 +13,8 @@
13
13
  "debug": "^4.1.1",
14
14
  "lodash": "^4.17.11",
15
15
  "mathjax-full": "3.2.2",
16
- "mathml-to-latex": "1.2.0"
16
+ "mathml-to-latex": "1.3.0"
17
17
  },
18
- "gitHead": "6f04d170326550dbffab4f9ba32d517d7dfb7ac8",
18
+ "gitHead": "121a79648ee4d55b9bc793e8ed4822812435e7c6",
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 'mathml-to-latex';
2
+ export default (mathml) => MathMLToLaTeX.convert(mathml);