@xiuper/mpp-core 1.0.1 → 1.0.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.
@@ -127,7 +127,7 @@
127
127
  initMetadataForClass(SocketContext, 'SocketContext');
128
128
  initMetadataForLambda(SocketImpl$attachForReadingImpl$slambda, CoroutineImpl, VOID, [1]);
129
129
  initMetadataForLambda(SocketImpl$attachForWritingImpl$slambda, CoroutineImpl, VOID, [1]);
130
- initMetadataForClass(SocketImpl, 'SocketImpl', VOID, SocketBase, [SocketBase, CoroutineScope, ASocket]);
130
+ initMetadataForClass(SocketImpl, 'SocketImpl', VOID, SocketBase, [SocketBase, ASocket, CoroutineScope]);
131
131
  initMetadataForClass(SocketAddress, 'SocketAddress');
132
132
  initMetadataForCompanion(Companion_1);
133
133
  initMetadataForClass(UnixSocketAddress, 'UnixSocketAddress', VOID, SocketAddress);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiuper/mpp-core",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "main": "xiuper-mpp-core.js",
5
5
  "types": "xiuper-mpp-core.d.ts",
6
6
  "devDependencies": {
@@ -83853,6 +83853,17 @@
83853
83853
  registry.ok0(new YamllintLinter(shellExecutor));
83854
83854
  }
83855
83855
  function initializePlatformLogging(config) {
83856
+ redirectConsoleToStderr();
83857
+ }
83858
+ function redirectConsoleToStderr() {
83859
+ var result = function () {
83860
+ // Redirect all console methods to console.error (stderr)
83861
+ console.log = console.error;
83862
+ console.info = console.error;
83863
+ console.warn = console.error;
83864
+ console.debug = console.error;
83865
+ return true;
83866
+ }();
83856
83867
  }
83857
83868
  function DefaultMcpProcessLauncher() {
83858
83869
  }