@shipi18n/core 2.9.0 → 2.10.0
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/package.json +1 -1
- package/src/index.js +3 -0
- package/src/policy.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipi18n/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "Translation QA for i18n locale files: placeholder and plural validation, key parity, coverage, and an LLM-as-judge semantic review. Also a structure-preserving translation engine — bring your own OpenAI or Anthropic key.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
package/src/index.js
CHANGED
|
@@ -28,3 +28,6 @@ export { anthropicAdapter, openaiAdapter, resolveAdapter } from './adapters/inde
|
|
|
28
28
|
// so the GitHub Action can run `check` without depending on the CLI. The CLI
|
|
29
29
|
// re-exports these names for compatibility.
|
|
30
30
|
export { humanReport, jsonReport, sarifReport, junitReport, REPORTERS, RULE_META, verdict } from './reporters.js'
|
|
31
|
+
// Adoption hardening (2.10.0): baseline ("fail only on new"), per-rule severity,
|
|
32
|
+
// suppression. Applied after the check and before `verdict`.
|
|
33
|
+
export { applyPolicy, buildBaseline, findingFingerprint, parseSeverity, SEVERITY_LEVELS } from './policy.js'
|
package/src/policy.js
ADDED
|
Binary file
|