Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mapcode-foundation/mapcode-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Loading
...
head repository: mapcode-foundation/mapcode-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ts-modularization
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 43 files changed
  • 2 contributors

Commits on May 29, 2026

  1. Add design spec for TypeScript rewrite, modularization & CLI testing

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    57753de View commit details
    Browse the repository at this point in the history
  2. Add implementation plan for TypeScript modularization

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    fc70489 View commit details
    Browse the repository at this point in the history
  3. chore: scaffold TypeScript toolchain (tsconfig, vitest, package.json)

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    6b44aa9 View commit details
    Browse the repository at this point in the history
  4. chore: add ESLint + Prettier

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    438450a View commit details
    Browse the repository at this point in the history
  5. feat: port ndata.js to typed data module

    Converts ndata.js (7 top-level arrays, ~8267 lines) to src/data/ndata.ts
    with `export const NAME: readonly number[]` declarations via sed transform.
    Adds ndata describe block to smoke test.
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    38a1bf9 View commit details
    Browse the repository at this point in the history
  6. feat: port ctrynams territory name tables to typed data modules

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    bf18129 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    784e0da View commit details
    Browse the repository at this point in the history
  8. feat: port mapcode.js engine to typed core module

    Verbatim port of mapcode.js to src/core/engine.ts with mechanical
    transforms only (data imports, top-level const/let, public exports,
    parameter type annotations for noImplicitAny). Function bodies are
    logically identical to mapcode.js. Also relaxes no-var and
    no-unused-vars for src/core/** so the verbatim ES5 algorithm passes
    lint without reformatting.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    9fcbb7e View commit details
    Browse the repository at this point in the history
  9. feat: add typed public wrapper modules and index

    Creates thin domain wrappers (encode, decode, territory, alphabet, geo)
    that forward engine calls with typed signatures, and replaces src/index.ts
    with a clean public surface. Also annotates getTerritoryFullname return as
    any in engine.ts to allow the typed wrapper to declare string return.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    8596e6f View commit details
    Browse the repository at this point in the history
  10. test: add known-value encode/decode smoke tests

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    ed18b77 View commit details
    Browse the repository at this point in the history
  11. test: port full encode corpus to Vitest

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    6bd1691 View commit details
    Browse the repository at this point in the history
  12. test: port full territory corpus to Vitest

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    febe035 View commit details
    Browse the repository at this point in the history
  13. build: add tsup dual ESM+CJS+dts build

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    1947d5b View commit details
    Browse the repository at this point in the history
  14. docs: add ESM example and README; remove legacy global-scope files

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    RijnBuve-TomTom and claude committed May 29, 2026
    Configuration menu
    Copy the full SHA
    11098cb View commit details
    Browse the repository at this point in the history
  15. prettified

    RijnBuve-TomTom committed May 29, 2026
    Configuration menu
    Copy the full SHA
    58458fd View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.