claude-yolo 1.6.1 → 1.6.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.
@@ -7,6 +7,7 @@ import { createRequire } from 'module';
7
7
  import { fileURLToPath } from 'url';
8
8
  import { execSync } from 'child_process';
9
9
  import readline from 'readline';
10
+ import punycode from 'punycode';
10
11
 
11
12
  // ANSI color codes
12
13
  const RED = '\x1b[31m';
@@ -159,6 +160,10 @@ async function run() {
159
160
  // Read the original CLI file content
160
161
  let cliContent = fs.readFileSync(originalCliPath, 'utf8');
161
162
 
163
+ // Replace all instances of "punycode" with "punycode/"
164
+ cliContent = cliContent.replace(/"punycode"/g, '"punycode/"');
165
+ debug('Replaced all instances of "punycode" with "punycode/"');
166
+
162
167
  // Replace getIsDocker() calls with true
163
168
  cliContent = cliContent.replace(/[a-zA-Z0-9_]*\.getIsDocker\(\)/g, 'true');
164
169
  debug("Replaced all instances of *.getIsDocker() with true");
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "claude-yolo",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "YOLO wrapper for Claude CLI with danger mode always enabled, auto-updates, and colorful loading messages",
5
5
  "bin": {
6
6
  "claude-yolo": "./bin/claude-yolo.js"
7
7
  },
8
8
  "dependencies": {
9
- "@anthropic-ai/claude-code": "0.2.14"
9
+ "@anthropic-ai/claude-code": "0.2.14",
10
+ "punycode": "latest"
10
11
  },
11
12
  "type": "module",
12
13
  "scripts": {