4 Commits

Author SHA1 Message Date
Oussama Knouz
eab5086cd8 chore: relicense from MIT to Apache-2.0
Some checks failed
CI / test (18) (pull_request) Has been cancelled
CI / test (20) (pull_request) Has been cancelled
CI / test (22) (pull_request) Has been cancelled
Replace the MIT LICENSE with the full Apache License 2.0 text, update the
SPDX license field in package.json and package-lock.json, and adapt the
README badge and License section accordingly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 16:31:34 +01:00
Oussama Knouz
0f188803a8 chore: migrate to mobiletic-labs org and rename npm scope
- Git URLs: git.mobiletic.net/mobiletic/anonymizer -> .../mobiletic-labs/anonymizer
  (homepage, repository, bugs, CI badge, clone instructions).
- npm package renamed @mobiletic/anonymizer -> @mobiletic-labs/anonymizer
  across package.json, lockfile, README, CONTRIBUTING, examples, issue template.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 12:05:47 +01:00
Mobiletic
81b6b03239 feat: harden generic preset, add LLM retry, and finish tooling/docs
- PatternDef.validate + Luhn-gated credit-card detection; de-overlap the
  generic phone/date/IP patterns; presets.swiss unchanged (production behavior)
- strip g/y flags from nameHint so .test() is stateless (latent footgun)
- openAICompatibleProvider: bounded retry on transient failures (network /
  timeout / 429 / 5xx), configurable via retries + retryDelayMs
- eslint + prettier + vitest coverage (97%); CI runs lint/format/coverage
- docs: README badges + new-option docs, SECURITY.md, issue/PR templates

26 tests passing; build emits ESM+CJS+types.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 17:03:20 +01:00
Mobiletic
f09b917f1a feat: initial release of @mobiletic/anonymizer
Framework-agnostic PII anonymization extracted from Mobiletic's chatbot.
Pluggable LLM detection + configurable regex fallback, deterministic
coreference, and streaming-safe de-anonymization.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 21:58:38 +01:00