@datapos/datapos-shared 0.3.194 → 0.3.195

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.
@@ -13,7 +13,7 @@ function U() {
13
13
  }
14
14
  const v = "https://cdn.jsdelivr.net/npm/highcharts@11.4.3/es-modules/masters/", I = "highcharts";
15
15
  let b, D = !1;
16
- function P() {
16
+ function B() {
17
17
  async function e(n, s, m, h) {
18
18
  await r();
19
19
  const l = [];
@@ -79,7 +79,7 @@ function P() {
79
79
  }
80
80
  const S = 4, O = `https://cdn.jsdelivr.net/npm/micromark@${S}/+esm`, A = 1, N = `https://cdn.jsdelivr.net/npm/prismjs@${A}/+esm`;
81
81
  let x;
82
- function B() {
82
+ function P() {
83
83
  async function e() {
84
84
  return await t(), { micromark: x };
85
85
  }
@@ -87,13 +87,14 @@ function B() {
87
87
  await t();
88
88
  }
89
89
  async function t() {
90
- x || (x = (await Promise.all([import(
90
+ if (x) return;
91
+ x = (await Promise.all([import(
91
92
  /* @vite-ignore */
92
93
  O
93
94
  ), import(
94
95
  /* @vite-ignore */
95
96
  N
96
- )]))[0].micromark, globalThis.Prism);
97
+ )]))[0].micromark;
97
98
  }
98
99
  return { getStuff: e, render: a };
99
100
  }
@@ -377,6 +378,6 @@ export {
377
378
  ee as serialiseError,
378
379
  j as useCytoscapeJS,
379
380
  U as useDataTable,
380
- P as useHighcharts,
381
- B as useMicromark
381
+ B as useHighcharts,
382
+ P as useMicromark
382
383
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.194",
3
+ "version": "0.3.195",
4
4
  "description": "A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "private": false,