solforge 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solforge",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Solana localnet orchestration tool for cloning mainnet programs and tokens",
5
5
  "module": "index.ts",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -1,5 +1,14 @@
1
1
  #!/usr/bin/env bun
2
2
 
3
+ // Suppress bigint-buffer warning
4
+ const originalStderrWrite = process.stderr.write.bind(process.stderr);
5
+ process.stderr.write = function(chunk: any, encoding?: any, callback?: any) {
6
+ if (typeof chunk === 'string' && chunk.includes('bigint: Failed to load bindings')) {
7
+ return true; // Suppress this specific warning
8
+ }
9
+ return originalStderrWrite(chunk, encoding, callback);
10
+ };
11
+
3
12
  import { Command } from "commander";
4
13
  import chalk from "chalk";
5
14
  import { existsSync } from "fs";