apple-mail-mcp 2.8.11 → 2.8.12

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/build/index.js +1 -1
  2. package/package.json +4 -2
package/build/index.js CHANGED
@@ -58296,7 +58296,7 @@ var require_imap_flow = __commonJS({
58296
58296
  );
58297
58297
  for (let key of Object.keys(this.clientInfo)) {
58298
58298
  if (typeof this.clientInfo[key] === "string") {
58299
- this.clientInfo[key] = this.clientInfo[key].normalize("NFD").replace(/\p{Diacritic}/gu, "");
58299
+ this.clientInfo[key] = this.clientInfo[key].normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), "");
58300
58300
  }
58301
58301
  }
58302
58302
  this.serverInfo = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apple-mail-mcp",
3
- "version": "2.8.11",
3
+ "version": "2.8.12",
4
4
  "description": "MCP server for Apple Mail - read, search, send, and manage emails via Claude and other AI assistants",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
@@ -79,7 +79,8 @@
79
79
  "postcss": "^8.5.15"
80
80
  },
81
81
  "scripts": {
82
- "build": "tsc --noEmit && esbuild src/index.ts src/cli.ts --bundle --platform=node --format=esm --outdir=build --banner:js=\"import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);\"",
82
+ "preinstall": "node -e \"const fs=require('fs');const ua=process.env.npm_config_user_agent||'';if(fs.existsSync('.git')&&!ua.startsWith('pnpm')){console.error('\\nThis repo uses pnpm. npm/yarn resolve dependencies off-lockfile and the committed bundle will mismatch CI.\\n\\n corepack enable && pnpm install --frozen-lockfile\\n');process.exit(1)}\"",
83
+ "build": "tsc --noEmit && esbuild src/index.ts src/cli.ts --bundle --platform=node --format=esm --target=node20 --outdir=build --banner:js=\"import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);\"",
83
84
  "start": "node build/index.js",
84
85
  "dev": "tsc --watch",
85
86
  "test": "vitest run",
@@ -93,6 +94,7 @@
93
94
  "format": "prettier --write src",
94
95
  "format:check": "prettier --check src",
95
96
  "typecheck": "tsc --noEmit",
97
+ "sync:skills": "node scripts/sync-skills.mjs",
96
98
  "version": "node scripts/sync-plugin-version.mjs && git add .claude-plugin .agents/plugins codex .hermes-plugin .antigravity-plugin"
97
99
  }
98
100
  }