chore(deps): bump @comapeo/map-server - #262
Merged
Merged
Conversation
gmaclennan
enabled auto-merge
September 3, 2026 15:00
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 3, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 3, 2026
typebox 1.3.25 moved the IDNA code from a single `_idna.mjs` into an
`idna/` directory with the regexes hoisted into a `pattern` module, so the
1.3.8 patch matched nothing. patch-package exits 0 on a failed patch outside
CI, so this went unnoticed and typebox was installed unpatched.
That matters because `typebox/compile`, which `@comapeo/map-server` imports,
statically pulls in the IDN format modules, and a `\p{...}` escape is a
parse-time SyntaxError on a V8 built `--with-intl=none`.
Where the old patch stubbed the affected predicates to `false`, this one
applies a single policy: without Unicode tables, treat every non-ASCII code
point as an ordinary letter. `\p{ASCII}` becomes an exact character range,
`\p{L}` becomes ASCII letters plus everything above U+007F, and the mark and
script tests become `(?!)`. Keeping non-ASCII permitted is what stops `xn--`
labels being rejected, since IsPunyLabel validates the decoded U-label.
Diffing all 21 format guards against pristine over 810 ASCII and punycode
inputs gives no input rejected that upstream accepts, and four accepted that
upstream rejects (punycode labels decoding to non-letter symbols). Real
internationalized names validate identically; `ドメイン・名前.example` is the one
stricter case, as the Japanese middle dot rule needs script tables.
Conflicts in the backend manifest and lockfile. main replaced @mapeo/crypto 1.1.0 with @comapeo/crypto 2.0.0 and bumped @comapeo/core to 7.5.0 for the master-key cache; this branch bumped @comapeo/map-server to 3.0.1. Took main's dependency set and kept map-server 3.0.1, then regenerated the lockfile from main's rather than resolving it by hand.
This was referenced Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated bump of
@comapeo/map-servertriggered by its release.