@pie-element/explicit-constructed-response 6.12.1-next.9 → 6.12.2-next.6

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,17 @@
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
+ ## [6.12.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.12.0...@pie-element/explicit-constructed-response@6.12.1) (2024-04-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-3683, PD-3644 ([73734c5](https://github.com/pie-framework/pie-elements/commit/73734c50a1e4fcda6be4f67c725816d75aea222f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [6.12.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.11.1...@pie-element/explicit-constructed-response@6.12.0) (2024-04-22)
7
18
 
8
19
 
@@ -3,6 +3,17 @@
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
+ ## [6.11.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.11.0...@pie-element/explicit-constructed-response-configure@6.11.1) (2024-04-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-3683, PD-3644 ([73734c5](https://github.com/pie-framework/pie-elements/commit/73734c50a1e4fcda6be4f67c725816d75aea222f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [6.11.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.10.1...@pie-element/explicit-constructed-response-configure@6.11.0) (2024-04-22)
7
18
 
8
19
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response-configure",
3
- "version": "6.11.0",
3
+ "version": "6.11.1",
4
4
  "private": true,
5
5
  "main": "lib/index.js",
6
6
  "modue": "src/index.js",
@@ -8,7 +8,7 @@
8
8
  "@material-ui/core": "^3.9.2",
9
9
  "@material-ui/icons": "^3.0.1",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/pie-toolbox": "1.16.0",
11
+ "@pie-lib/pie-toolbox": "1.16.4",
12
12
  "classnames": "^2.2.6",
13
13
  "debug": "^3.1.0",
14
14
  "lodash": "^4.17.15",
@@ -3,6 +3,17 @@
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
+ ## [4.10.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.10.0...@pie-element/explicit-constructed-response-controller@4.10.1) (2024-04-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * update pie-lib/pie-toolbox PD-3683, PD-3644 ([73734c5](https://github.com/pie-framework/pie-elements/commit/73734c50a1e4fcda6be4f67c725816d75aea222f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [4.10.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.9.1...@pie-element/explicit-constructed-response-controller@4.10.0) (2024-04-22)
7
18
 
8
19
 
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response-controller",
3
3
  "private": true,
4
- "version": "4.10.0",
4
+ "version": "4.10.1",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "author": "",
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
- "@pie-lib/pie-toolbox": "1.16.0",
11
+ "@pie-lib/pie-toolbox": "1.16.4",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "type-of": "^2.0.1"
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.9.1/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.9.3/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
package/module/element.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.9.1/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.9.3/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
@@ -78928,13 +78928,14 @@ getDefaultExportFromCjs(mathRendering);
78928
78928
  };
78929
78929
  var NEWLINE_BLOCK_REGEX = /\\embed\{newLine\}\[\]/g;
78930
78930
  var NEWLINE_LATEX = '\\newline ';
78931
+ var mathRenderingKEY = '@pie-lib/math-rendering@2';
78932
+ var mathRenderingAccessibleKEY = '@pie-lib/math-rendering-accessible@1';
78931
78933
  var getGlobal = function getGlobal() {
78932
- var key = '@pie-lib/math-rendering-accessible@1';
78933
78934
  if (typeof window !== 'undefined') {
78934
- if (!window[key]) {
78935
- window[key] = {};
78935
+ if (!window[mathRenderingAccessibleKEY]) {
78936
+ window[mathRenderingAccessibleKEY] = {};
78936
78937
  }
78937
- return window[key];
78938
+ return window[mathRenderingAccessibleKEY];
78938
78939
  } else {
78939
78940
  return {};
78940
78941
  }
@@ -78996,22 +78997,6 @@ getDefaultExportFromCjs(mathRendering);
78996
78997
  placeholder.remove();
78997
78998
  });
78998
78999
  };
78999
- var waitForMathRenderingLib = function waitForMathRenderingLib(callback) {
79000
- if (window.hasOwnProperty('@pie-lib/math-rendering@2')) {
79001
- callback();
79002
- return;
79003
- }
79004
- var checkIntervalId;
79005
- var maxWaitTime = 500;
79006
- var startTime = Date.now();
79007
- var checkForLib = function checkForLib() {
79008
- if (window.hasOwnProperty('@pie-lib/math-rendering@2') || Date.now() - startTime > maxWaitTime) {
79009
- clearInterval(checkIntervalId);
79010
- callback();
79011
- }
79012
- };
79013
- checkIntervalId = setInterval(checkForLib, 100);
79014
- };
79015
79000
  var removeExcessMjxContainers = function removeExcessMjxContainers(content) {
79016
79001
  var elements = content.querySelectorAll('[data-latex][data-math-handled="true"]');
79017
79002
  elements.forEach(function (element) {
@@ -79023,9 +79008,11 @@ getDefaultExportFromCjs(mathRendering);
79023
79008
  }
79024
79009
  });
79025
79010
  };
79011
+ var getMathJaxCustomKey = function getMathJaxCustomKey() {
79012
+ var _window, _window$MathJax, _window2, _window2$MathJax, _window2$MathJax$conf;
79013
+ return ((_window = window) === null || _window === void 0 ? void 0 : (_window$MathJax = _window.MathJax) === null || _window$MathJax === void 0 ? void 0 : _window$MathJax.customKey) || ((_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$MathJax = _window2.MathJax) === null || _window2$MathJax === void 0 ? void 0 : (_window2$MathJax$conf = _window2$MathJax.config) === null || _window2$MathJax$conf === void 0 ? void 0 : _window2$MathJax$conf.customKey);
79014
+ };
79026
79015
  var renderMath = function renderMath(el, renderOpts) {
79027
- renderOpts = renderOpts || defaultOpts();
79028
- var _renderOpts = renderOpts, skipWaitForMathRenderingLib = _renderOpts.skipWaitForMathRenderingLib;
79029
79016
  var isString = typeof el === 'string';
79030
79017
  var executeOn = document.body;
79031
79018
  if (isString) {
@@ -79033,16 +79020,13 @@ getDefaultExportFromCjs(mathRendering);
79033
79020
  div.innerHTML = el;
79034
79021
  executeOn = div;
79035
79022
  }
79036
- var unprocessedMathElements = executeOn.querySelectorAll('[data-latex]:not([data-math-handled="true"])');
79037
- unprocessedMathElements.forEach(createPlaceholder);
79038
- var mathRenderingCallback = function mathRenderingCallback() {
79023
+ var _ref = renderOpts || ({}), skipWaitForMathRenderingLib = _ref.skipWaitForMathRenderingLib;
79024
+ var renderMathAccessible = function renderMathAccessible() {
79039
79025
  fixMathElements(executeOn);
79040
79026
  adjustMathMLStyle(executeOn);
79041
- if (window.hasOwnProperty('@pie-lib/math-rendering@2')) {
79042
- removePlaceholdersAndRestoreDisplay();
79043
- return mr.renderMath(el);
79044
- }
79045
- if (!window.MathJax && !window.mathjaxLoadedP || window.MathJax && !window.hasOwnProperty('@pie-lib/math-rendering-accessible@1')) {
79027
+ var mathJaxCustomKey = getMathJaxCustomKey();
79028
+ if (!window.MathJax && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
79029
+ renderOpts = renderOpts || defaultOpts();
79046
79030
  (0, _mathjaxScript.initializeMathJax)(renderOpts);
79047
79031
  }
79048
79032
  if (isString && window.MathJax && window.mathjaxLoadedP) {
@@ -79091,9 +79075,36 @@ getDefaultExportFromCjs(mathRendering);
79091
79075
  }
79092
79076
  };
79093
79077
  if (skipWaitForMathRenderingLib) {
79094
- return mathRenderingCallback();
79078
+ return renderMathAccessible();
79095
79079
  } else {
79096
- waitForMathRenderingLib(mathRenderingCallback);
79080
+ if (window.hasOwnProperty(mathRenderingKEY) && window[mathRenderingKEY].instance) {
79081
+ removePlaceholdersAndRestoreDisplay();
79082
+ return mr.renderMath();
79083
+ }
79084
+ if (window.hasOwnProperty(mathRenderingAccessibleKEY) && window[mathRenderingAccessibleKEY].instance) {
79085
+ return renderMathAccessible();
79086
+ }
79087
+ var waitForMathRenderingLib = function waitForMathRenderingLib(renderMathAccessibleCallback) {
79088
+ var mathElements = executeOn.querySelectorAll('[data-latex]');
79089
+ mathElements.forEach(createPlaceholder);
79090
+ var checkIntervalId;
79091
+ var maxWaitTime = 500;
79092
+ var startTime = Date.now();
79093
+ var checkForLib = function checkForLib() {
79094
+ var mathRenderingHasLoaded = window.hasOwnProperty(mathRenderingKEY) && window[mathRenderingKEY].instance;
79095
+ var hasExceededMaxWait = Date.now() - startTime > maxWaitTime;
79096
+ if (mathRenderingHasLoaded || hasExceededMaxWait) {
79097
+ clearInterval(checkIntervalId);
79098
+ if (mathRenderingHasLoaded) {
79099
+ removePlaceholdersAndRestoreDisplay();
79100
+ return mr.renderMath();
79101
+ }
79102
+ renderMathAccessibleCallback();
79103
+ }
79104
+ };
79105
+ checkIntervalId = setInterval(checkForLib, 100);
79106
+ };
79107
+ waitForMathRenderingLib(renderMathAccessible);
79097
79108
  }
79098
79109
  };
79099
79110
  var _default = renderMath;
package/module/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/explicit-constructed-response@6.12.0</title>
5
+ <title>@pie-element/explicit-constructed-response@6.12.1</title>
6
6
  <script
7
7
  type="module"
8
8
  src="https://cdn.jsdelivr.net/npm/@pslb/demo-el@^1.0.0/dist/demo-el/demo-el.esm.js"></script>
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response",
3
- "version": "6.12.0",
3
+ "version": "6.12.1",
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "1.9.1"
7
+ "version": "1.9.3"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
package/module/print.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/explicit-constructed-response@6.12.0</title>
5
+ <title>@pie-element/explicit-constructed-response@6.12.1</title>
6
6
  <link
7
7
  href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
8
8
  rel="stylesheet"
package/module/print.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.9.1/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.9.3/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
@@ -78891,13 +78891,14 @@ getDefaultExportFromCjs(mathRendering);
78891
78891
  };
78892
78892
  var NEWLINE_BLOCK_REGEX = /\\embed\{newLine\}\[\]/g;
78893
78893
  var NEWLINE_LATEX = '\\newline ';
78894
+ var mathRenderingKEY = '@pie-lib/math-rendering@2';
78895
+ var mathRenderingAccessibleKEY = '@pie-lib/math-rendering-accessible@1';
78894
78896
  var getGlobal = function getGlobal() {
78895
- var key = '@pie-lib/math-rendering-accessible@1';
78896
78897
  if (typeof window !== 'undefined') {
78897
- if (!window[key]) {
78898
- window[key] = {};
78898
+ if (!window[mathRenderingAccessibleKEY]) {
78899
+ window[mathRenderingAccessibleKEY] = {};
78899
78900
  }
78900
- return window[key];
78901
+ return window[mathRenderingAccessibleKEY];
78901
78902
  } else {
78902
78903
  return {};
78903
78904
  }
@@ -78959,22 +78960,6 @@ getDefaultExportFromCjs(mathRendering);
78959
78960
  placeholder.remove();
78960
78961
  });
78961
78962
  };
78962
- var waitForMathRenderingLib = function waitForMathRenderingLib(callback) {
78963
- if (window.hasOwnProperty('@pie-lib/math-rendering@2')) {
78964
- callback();
78965
- return;
78966
- }
78967
- var checkIntervalId;
78968
- var maxWaitTime = 500;
78969
- var startTime = Date.now();
78970
- var checkForLib = function checkForLib() {
78971
- if (window.hasOwnProperty('@pie-lib/math-rendering@2') || Date.now() - startTime > maxWaitTime) {
78972
- clearInterval(checkIntervalId);
78973
- callback();
78974
- }
78975
- };
78976
- checkIntervalId = setInterval(checkForLib, 100);
78977
- };
78978
78963
  var removeExcessMjxContainers = function removeExcessMjxContainers(content) {
78979
78964
  var elements = content.querySelectorAll('[data-latex][data-math-handled="true"]');
78980
78965
  elements.forEach(function (element) {
@@ -78986,9 +78971,11 @@ getDefaultExportFromCjs(mathRendering);
78986
78971
  }
78987
78972
  });
78988
78973
  };
78974
+ var getMathJaxCustomKey = function getMathJaxCustomKey() {
78975
+ var _window, _window$MathJax, _window2, _window2$MathJax, _window2$MathJax$conf;
78976
+ return ((_window = window) === null || _window === void 0 ? void 0 : (_window$MathJax = _window.MathJax) === null || _window$MathJax === void 0 ? void 0 : _window$MathJax.customKey) || ((_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$MathJax = _window2.MathJax) === null || _window2$MathJax === void 0 ? void 0 : (_window2$MathJax$conf = _window2$MathJax.config) === null || _window2$MathJax$conf === void 0 ? void 0 : _window2$MathJax$conf.customKey);
78977
+ };
78989
78978
  var renderMath = function renderMath(el, renderOpts) {
78990
- renderOpts = renderOpts || defaultOpts();
78991
- var _renderOpts = renderOpts, skipWaitForMathRenderingLib = _renderOpts.skipWaitForMathRenderingLib;
78992
78979
  var isString = typeof el === 'string';
78993
78980
  var executeOn = document.body;
78994
78981
  if (isString) {
@@ -78996,16 +78983,13 @@ getDefaultExportFromCjs(mathRendering);
78996
78983
  div.innerHTML = el;
78997
78984
  executeOn = div;
78998
78985
  }
78999
- var unprocessedMathElements = executeOn.querySelectorAll('[data-latex]:not([data-math-handled="true"])');
79000
- unprocessedMathElements.forEach(createPlaceholder);
79001
- var mathRenderingCallback = function mathRenderingCallback() {
78986
+ var _ref = renderOpts || ({}), skipWaitForMathRenderingLib = _ref.skipWaitForMathRenderingLib;
78987
+ var renderMathAccessible = function renderMathAccessible() {
79002
78988
  fixMathElements(executeOn);
79003
78989
  adjustMathMLStyle(executeOn);
79004
- if (window.hasOwnProperty('@pie-lib/math-rendering@2')) {
79005
- removePlaceholdersAndRestoreDisplay();
79006
- return mr.renderMath(el);
79007
- }
79008
- if (!window.MathJax && !window.mathjaxLoadedP || window.MathJax && !window.hasOwnProperty('@pie-lib/math-rendering-accessible@1')) {
78990
+ var mathJaxCustomKey = getMathJaxCustomKey();
78991
+ if (!window.MathJax && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
78992
+ renderOpts = renderOpts || defaultOpts();
79009
78993
  (0, _mathjaxScript.initializeMathJax)(renderOpts);
79010
78994
  }
79011
78995
  if (isString && window.MathJax && window.mathjaxLoadedP) {
@@ -79054,9 +79038,36 @@ getDefaultExportFromCjs(mathRendering);
79054
79038
  }
79055
79039
  };
79056
79040
  if (skipWaitForMathRenderingLib) {
79057
- return mathRenderingCallback();
79041
+ return renderMathAccessible();
79058
79042
  } else {
79059
- waitForMathRenderingLib(mathRenderingCallback);
79043
+ if (window.hasOwnProperty(mathRenderingKEY) && window[mathRenderingKEY].instance) {
79044
+ removePlaceholdersAndRestoreDisplay();
79045
+ return mr.renderMath();
79046
+ }
79047
+ if (window.hasOwnProperty(mathRenderingAccessibleKEY) && window[mathRenderingAccessibleKEY].instance) {
79048
+ return renderMathAccessible();
79049
+ }
79050
+ var waitForMathRenderingLib = function waitForMathRenderingLib(renderMathAccessibleCallback) {
79051
+ var mathElements = executeOn.querySelectorAll('[data-latex]');
79052
+ mathElements.forEach(createPlaceholder);
79053
+ var checkIntervalId;
79054
+ var maxWaitTime = 500;
79055
+ var startTime = Date.now();
79056
+ var checkForLib = function checkForLib() {
79057
+ var mathRenderingHasLoaded = window.hasOwnProperty(mathRenderingKEY) && window[mathRenderingKEY].instance;
79058
+ var hasExceededMaxWait = Date.now() - startTime > maxWaitTime;
79059
+ if (mathRenderingHasLoaded || hasExceededMaxWait) {
79060
+ clearInterval(checkIntervalId);
79061
+ if (mathRenderingHasLoaded) {
79062
+ removePlaceholdersAndRestoreDisplay();
79063
+ return mr.renderMath();
79064
+ }
79065
+ renderMathAccessibleCallback();
79066
+ }
79067
+ };
79068
+ checkIntervalId = setInterval(checkForLib, 100);
79069
+ };
79070
+ waitForMathRenderingLib(renderMathAccessible);
79060
79071
  }
79061
79072
  };
79062
79073
  var _default = renderMath;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "6.12.1-next.9+e026ec0fb",
7
+ "version": "6.12.2-next.6+a8bb09f90",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "postpublish": "../../scripts/postpublish"
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@material-ui/core": "^3.9.2",
14
14
  "@pie-framework/pie-player-events": "^0.1.0",
15
- "@pie-lib/pie-toolbox": "1.16.0",
15
+ "@pie-lib/pie-toolbox": "1.16.4",
16
16
  "classnames": "^2.2.5",
17
17
  "lodash": "^4.17.10",
18
18
  "prop-types": "^15.6.1",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "author": "",
23
23
  "license": "ISC",
24
- "gitHead": "e026ec0fbd2c31d68252919a02d2f90c3d5c031c",
24
+ "gitHead": "a8bb09f9065b56fcfc103c732db52b4f82c8dbe9",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js",
27
27
  "exports": {