online-compiler-widget 1.0.7 → 1.0.9

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/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as o, b as r, C as p, i as s, g as t, F as l, d as n, O as C, f as m, u } from "./index-DXBH_pLq.js";
1
+ import { h as o, b as r, C as p, i as s, g as t, F as l, d as n, O as C, f as m, j as u, u as d } from "./index-BzPDIpqi.js";
2
2
  import "@xyflow/react";
3
3
  export {
4
4
  o as CompilerApi,
@@ -10,5 +10,6 @@ export {
10
10
  n as MonacoEditorWrapper,
11
11
  C as OutputPanel,
12
12
  m as RunContainer,
13
- u as useCompiler
13
+ u as getInfo,
14
+ d as useCompiler
14
15
  };
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-C7peEAIB.js";
1
+ import { conf as t, language as e } from "./typescript-C0nuZtwN.js";
2
2
  const i = t, o = {
3
3
  // Set defaultToken to invalid to see what you do not tokenize yet
4
4
  defaultToken: "invalid",
@@ -1,6 +1,6 @@
1
- import { c as P, l as _, e as B } from "./index-DXBH_pLq.js";
2
- import { f as y, g as J, C as Q, H as Y, b as G, d as X, F as Z, S as $, e as K } from "./lspLanguageFeatures-zv-LjF19.js";
3
- import { a as Ae, D as Oe, h as Ie, R as Ne, c as Le, i as Ee, j as Ue, t as De, k as Be } from "./lspLanguageFeatures-zv-LjF19.js";
1
+ import { c as P, l as _, e as B } from "./index-BzPDIpqi.js";
2
+ import { f as y, g as J, C as Q, H as Y, b as G, d as X, F as Z, S as $, e as K } from "./lspLanguageFeatures-cT6O1lEr.js";
3
+ import { a as Ae, D as Oe, h as Ie, R as Ne, c as Le, i as Ee, j as Ue, t as De, k as Be } from "./lspLanguageFeatures-cT6O1lEr.js";
4
4
  const x = 2 * 60 * 1e3;
5
5
  class C {
6
6
  constructor(i) {
@@ -1,4 +1,4 @@
1
- import { l as e } from "./index-DXBH_pLq.js";
1
+ import { l as e } from "./index-BzPDIpqi.js";
2
2
  const t = [
3
3
  "area",
4
4
  "base",
@@ -1,4 +1,4 @@
1
- import { R as Ge, l as x, e as w, U as Je, M as R } from "./index-DXBH_pLq.js";
1
+ import { R as Ge, l as x, e as w, U as Je, M as R } from "./index-BzPDIpqi.js";
2
2
  var T;
3
3
  (function(e) {
4
4
  function n(i) {
@@ -1,4 +1,4 @@
1
- import { l as e } from "./index-DXBH_pLq.js";
1
+ import { l as e } from "./index-BzPDIpqi.js";
2
2
  const i = {
3
3
  comments: {
4
4
  blockComment: ["{/*", "*/}"]
@@ -1,4 +1,4 @@
1
- import { l as e } from "./index-DXBH_pLq.js";
1
+ import { l as e } from "./index-BzPDIpqi.js";
2
2
  const t = {
3
3
  comments: {
4
4
  lineComment: "#",
@@ -1,4 +1,4 @@
1
- import { l as t } from "./index-DXBH_pLq.js";
1
+ import { l as t } from "./index-BzPDIpqi.js";
2
2
  const e = [
3
3
  "area",
4
4
  "base",
@@ -1,4 +1,4 @@
1
- import { c as M, e as w, U as F, a as P, M as v, l as f, t as K, R as O } from "./index-DXBH_pLq.js";
1
+ import { c as M, e as w, U as F, a as P, M as v, l as f, t as K, R as O } from "./index-BzPDIpqi.js";
2
2
  class E {
3
3
  constructor(e, t) {
4
4
  this._modeId = e, this._defaults = t, this._worker = null, this._client = null, this._configChangeListener = this._defaults.onDidChange(() => this._stopWorker()), this._updateExtraLibsToken = 0, this._extraLibsChangeListener = this._defaults.onDidExtraLibsChange(
@@ -1,4 +1,4 @@
1
- import { l as e } from "./index-DXBH_pLq.js";
1
+ import { l as e } from "./index-BzPDIpqi.js";
2
2
  const n = {
3
3
  wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
4
4
  comments: {
@@ -1,4 +1,4 @@
1
- import { l as e } from "./index-DXBH_pLq.js";
1
+ import { l as e } from "./index-BzPDIpqi.js";
2
2
  const n = {
3
3
  comments: {
4
4
  blockComment: ["<!--", "-->"]
@@ -1,4 +1,4 @@
1
- import { l as e } from "./index-DXBH_pLq.js";
1
+ import { l as e } from "./index-BzPDIpqi.js";
2
2
  const t = {
3
3
  comments: {
4
4
  lineComment: "#"
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "online-compiler-widget",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
+ "style": "./dist/index.css",
8
9
  "exports": {
9
10
  ".": {
10
11
  "import": "./dist/index.js",
File without changes