@codingame/monaco-vscode-katex-common 25.1.1 → 25.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-katex-common",
3
- "version": "25.1.1",
3
+ "version": "25.1.2",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - common package depending on katex",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "25.1.1",
18
+ "@codingame/monaco-vscode-api": "25.1.2",
19
19
  "katex": "0.16.27",
20
20
  "marked": "14.0.0"
21
21
  },
@@ -100,7 +100,7 @@ class MarkedKatexSupport {
100
100
  return this.sanitizeStyles(styleString, allowedProperties);
101
101
  }
102
102
  static { this._katexPromise = ( new Lazy(async () => {
103
- this._katex = (await import('katex').then(module => module.default ?? module)).default;
103
+ this._katex = (await import('katex')).default;
104
104
  return this._katex;
105
105
  })); }
106
106
  static getExtension(window, options = {}) {