Skip to content

chore: version packages - #15

Merged
chrisdengso merged 1 commit into
mainfrom
changeset-release/main
Jul 20, 2026
Merged

chore: version packages#15
chrisdengso merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@moderation-api/unicode-spoofing@0.3.0

Minor Changes

  • #14 86027a1 Thanks @chrisdengso! - Export the constants behind the analysis, so callers can enumerate values instead of hardcoding strings: SCRIPT_NAMES (every script dominantScript and words[].scripts can report), SUPPORTED_SCRIPTS, PSEUDO_SCRIPTS, FORMAT_CHAR_SCRIPTS, LEGITIMATE_SCRIPT_COMBINATIONS, ZALGO_MARK_RUN, and the primaryScript(char) classifier.

    Script-typed fields now use the new ScriptName union instead of string: AnalysisResult.dominantScript, WordFinding.scripts and AnalyzeOptions.expectedScripts. Runtime behavior is unchanged, but TypeScript callers passing a plain string[] to expectedScripts will need ScriptName[] — which is the point: expectedScripts: ['Cyrilic'] no longer compiles.

@github-actions
github-actions Bot requested a review from chrisdengso as a code owner July 20, 2026 11:07
@chrisdengso
chrisdengso merged commit df15de5 into main Jul 20, 2026
1 check passed
@chrisdengso
chrisdengso deleted the changeset-release/main branch July 20, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant