online-compiler-widget 1.0.6 → 1.0.8

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-CynjJCBx.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, u } from "./index-DXBH_pLq.js";
2
2
  import "@xyflow/react";
3
3
  export {
4
4
  o as CompilerApi,
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-DQLpCsXR.js";
1
+ import { conf as t, language as e } from "./typescript-C7peEAIB.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-CynjJCBx.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-BKFokjl5.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-BKFokjl5.js";
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";
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-CynjJCBx.js";
1
+ import { l as e } from "./index-DXBH_pLq.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-CynjJCBx.js";
1
+ import { R as Ge, l as x, e as w, U as Je, M as R } from "./index-DXBH_pLq.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-CynjJCBx.js";
1
+ import { l as e } from "./index-DXBH_pLq.js";
2
2
  const i = {
3
3
  comments: {
4
4
  blockComment: ["{/*", "*/}"]
@@ -1,4 +1,4 @@
1
- import { l as e } from "./index-CynjJCBx.js";
1
+ import { l as e } from "./index-DXBH_pLq.js";
2
2
  const t = {
3
3
  comments: {
4
4
  lineComment: "#",
@@ -1,4 +1,4 @@
1
- import { l as t } from "./index-CynjJCBx.js";
1
+ import { l as t } from "./index-DXBH_pLq.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-CynjJCBx.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-DXBH_pLq.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-CynjJCBx.js";
1
+ import { l as e } from "./index-DXBH_pLq.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-CynjJCBx.js";
1
+ import { l as e } from "./index-DXBH_pLq.js";
2
2
  const n = {
3
3
  comments: {
4
4
  blockComment: ["<!--", "-->"]
@@ -1,4 +1,4 @@
1
- import { l as e } from "./index-CynjJCBx.js";
1
+ import { l as e } from "./index-DXBH_pLq.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.6",
3
+ "version": "1.0.8",
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",
@@ -34,6 +35,7 @@
34
35
  "@types/node": "^25.0.6",
35
36
  "@types/react": "^19.0.0",
36
37
  "@vitejs/plugin-react": "^4.0.0",
38
+ "rollup-plugin-styles": "^4.0.0",
37
39
  "sass": "^1.97.2",
38
40
  "typescript": "^5.0.0",
39
41
  "vite": "^5.0.0",