stream-monaco 0.0.5 → 0.0.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/dist/index.cjs CHANGED
@@ -29,7 +29,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
 
30
30
  //#endregion
31
31
  const monaco_editor = __toESM(require("monaco-editor"));
32
- const node_process = __toESM(require("node:process"));
33
32
  const alien_signals = __toESM(require("alien-signals"));
34
33
  const __shikijs_monaco = __toESM(require("@shikijs/monaco"));
35
34
  const shiki = __toESM(require("shiki"));
@@ -233,8 +232,6 @@ const monaco = monaco_editor;
233
232
  let seq = 0;
234
233
  const DEBUG = (() => {
235
234
  if (typeof window !== "undefined" && window.__STREAM_MONACO_DEBUG__ !== void 0) return Boolean(window.__STREAM_MONACO_DEBUG__);
236
- const proc = node_process.default;
237
- if (proc && proc.env && proc.env.NODE_ENV === "production") return false;
238
235
  return false;
239
236
  })();
240
237
  function log(tag, ...args) {
package/dist/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { __export, __reExport } from "./chunk-CHLpw0oG.js";
2
2
  import * as _monaco from "monaco-editor";
3
- import nodeProcess from "node:process";
4
3
  import { computed, effect, signal } from "alien-signals";
5
4
  import { shikiToMonaco } from "@shikijs/monaco";
6
5
  import { createHighlighter } from "shiki";
@@ -205,8 +204,6 @@ const monaco = _monaco;
205
204
  let seq = 0;
206
205
  const DEBUG = (() => {
207
206
  if (typeof window !== "undefined" && window.__STREAM_MONACO_DEBUG__ !== void 0) return Boolean(window.__STREAM_MONACO_DEBUG__);
208
- const proc = nodeProcess;
209
- if (proc && proc.env && proc.env.NODE_ENV === "production") return false;
210
207
  return false;
211
208
  })();
212
209
  function log(tag, ...args) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stream-monaco",
3
3
  "type": "module",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "packageManager": "pnpm@10.23.0",
6
6
  "description": "A framework-agnostic library for integrating Monaco Editor with Shiki highlighting, optimized for streaming updates.",
7
7
  "author": "Simon He",