apple-numbers-mcp 1.1.8 → 1.1.10

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.
package/build/index.js CHANGED
@@ -3104,9 +3104,9 @@ var require_data = __commonJS({
3104
3104
  }
3105
3105
  });
3106
3106
 
3107
- // node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js
3107
+ // node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/lib/utils.js
3108
3108
  var require_utils = __commonJS({
3109
- "node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js"(exports, module) {
3109
+ "node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/lib/utils.js"(exports, module) {
3110
3110
  "use strict";
3111
3111
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
3112
3112
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
@@ -3417,9 +3417,9 @@ var require_utils = __commonJS({
3417
3417
  }
3418
3418
  });
3419
3419
 
3420
- // node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js
3420
+ // node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/lib/schemes.js
3421
3421
  var require_schemes = __commonJS({
3422
- "node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js"(exports, module) {
3422
+ "node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/lib/schemes.js"(exports, module) {
3423
3423
  "use strict";
3424
3424
  var { isUUID } = require_utils();
3425
3425
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -3627,9 +3627,9 @@ var require_schemes = __commonJS({
3627
3627
  }
3628
3628
  });
3629
3629
 
3630
- // node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js
3630
+ // node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/index.js
3631
3631
  var require_fast_uri = __commonJS({
3632
- "node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js"(exports, module) {
3632
+ "node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/index.js"(exports, module) {
3633
3633
  "use strict";
3634
3634
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
3635
3635
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -3770,6 +3770,7 @@ var require_fast_uri = __commonJS({
3770
3770
  return uriTokens.join("");
3771
3771
  }
3772
3772
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
3773
+ var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
3773
3774
  function getParseError(parsed, matches) {
3774
3775
  if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
3775
3776
  return 'URI path must start with "/" when authority is present.';
@@ -3799,6 +3800,11 @@ var require_fast_uri = __commonJS({
3799
3800
  uri = "//" + uri;
3800
3801
  }
3801
3802
  }
3803
+ const authorityMatch = uri.match(AUTHORITY_PREFIX);
3804
+ if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
3805
+ parsed.error = "URI authority must not contain a literal backslash.";
3806
+ malformedAuthorityOrPort = true;
3807
+ }
3802
3808
  const matches = uri.match(URI_PARSE);
3803
3809
  if (matches) {
3804
3810
  parsed.scheme = matches[1];
@@ -3842,7 +3848,7 @@ var require_fast_uri = __commonJS({
3842
3848
  if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
3843
3849
  if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
3844
3850
  try {
3845
- parsed.host = URL.domainToASCII(parsed.host.toLowerCase());
3851
+ parsed.host = new URL("http://" + parsed.host).hostname;
3846
3852
  } catch (e) {
3847
3853
  parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
3848
3854
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apple-numbers-mcp",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "MCP server for Apple Numbers - read, write, search, and format .numbers spreadsheets via Claude and other AI assistants",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
@@ -81,6 +81,7 @@
81
81
  "format": "prettier --write src",
82
82
  "format:check": "prettier --check src",
83
83
  "typecheck": "tsc --noEmit",
84
+ "sync:skills": "node scripts/sync-skills.mjs",
84
85
  "test": "vitest run",
85
86
  "test:coverage": "vitest run --coverage",
86
87
  "test:integration": "vitest run --config vitest.integration.config.ts",
package/requirements.txt CHANGED
@@ -1 +1 @@
1
- numbers-parser==4.18.2
1
+ numbers-parser==4.18.5