searchfetch 3.2.2 → 3.2.3

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/index.js +1 -1
  2. package/package.json +12 -7
package/index.js CHANGED
@@ -1019,7 +1019,7 @@ function resolveSearchTemplate(engine, query, region, safeSearch) {
1019
1019
 
1020
1020
  // === MCP SERVER & TOOLS ==================================================
1021
1021
 
1022
- const server = new McpServer({ name: "searchfetch", version: "3.2.2" });
1022
+ const server = new McpServer({ name: "searchfetch", version: "3.2.3" });
1023
1023
 
1024
1024
  // --- websearch tool ---
1025
1025
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "searchfetch",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "Fault-tolerant MCP Server for Stealth Web Search and Fetching",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,13 +23,15 @@
23
23
  "inspector-py": "npx @modelcontextprotocol/inspector uv run python ./server.py",
24
24
  "test": "npm run test:js && npm run test:py",
25
25
  "test:js": "node --test \"*.test.js\"",
26
- "test:py": "uv run pytest test_*.py -v",
26
+ "test:py": "uv run --extra dev pytest test_*.py -v",
27
27
  "lint": "npm run lint:js && npm run lint:py",
28
- "lint:js": "npx eslint \"*.js\"",
29
- "lint:py": "uv run ruff check server.py test_*.py",
30
- "format": "npx prettier --write \"*.js\" \"*.json\" \"*.md\" && uv run ruff format server.py test_*.py",
31
- "format:check": "npx prettier --check \"*.js\" \"*.json\" \"*.md\" && uv run ruff format --check server.py test_*.py",
32
- "e2e": "npm run test"
28
+ "lint:js": "npx eslint \"*.js\" \"scripts/*.mjs\"",
29
+ "lint:py": "uv run --extra dev ruff check server.py scripts/*.py test_*.py",
30
+ "format": "npx prettier --write \"*.js\" \"scripts/*.mjs\" \"*.json\" \"*.md\" && uv run --extra dev ruff format server.py scripts/*.py test_*.py",
31
+ "format:check": "npx prettier --check \"*.js\" \"scripts/*.mjs\" \"*.json\" \"*.md\" && uv run --extra dev ruff format --check server.py scripts/*.py test_*.py",
32
+ "e2e": "npm run e2e:node && npm run e2e:py",
33
+ "e2e:node": "node scripts/e2e-node.mjs",
34
+ "e2e:py": "uv run python scripts/e2e-python.py"
33
35
  },
34
36
  "dependencies": {
35
37
  "@modelcontextprotocol/sdk": "^1.29.0",
@@ -39,6 +41,9 @@
39
41
  "turndown": "^7.2.4",
40
42
  "zod": "^4.4.3"
41
43
  },
44
+ "overrides": {
45
+ "encoding-sniffer": "1.0.2"
46
+ },
42
47
  "devDependencies": {
43
48
  "eslint": "^10.6.0",
44
49
  "prettier": "^3.9.4"