Scan your whole stack
From OX Research Newsroom
Are you using @conformetry/core?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.103
@conformetry/core was last scanned on 29 Nov 2026 at version 0.0.103. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.103 LATEST | 29 Nov 2026 | No rules fired |
| 0.0.102 | 29 Nov 2026 | No rules fired |
| 0.0.101 | 29 Nov 2026 | No rules fired |
| 0.0.100 | 28 Nov 2026 | Not shown |
| 0.0.99 | 26 Nov 2026 | Not shown |
Findings for v0.0.103. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.0.103; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The shared contract every other Conformetry
package builds on. It is the contracts leaf of the five-layer spine — core <- configuration <- analysis <- output <- cli — so it declares types and holds
nothing executable: no service, no NestJS module, no dependency on anything
else in the conformetry graph. Importing a result type from here therefore
drags nothing behind it.
npm install --save-dev @conformetry/core
| File | Responsibility |
|---|---|
lib/differences.types.ts |
The structured ConformetryDifference shape, and the language and category unions that discriminate it |
lib/inventory.types.ts |
What discovery found, as the output layer renders it: templates, instances, and the pairings between them |
lib/runner.types.ts |
The ConformetryLanguageValidator contract and the document, payload, and result shapes it is spoken in |
lib/scoring.types.ts |
InstanceScore: how well one matched instance honours the template it matched |
The behavior these types describe lives above them. The difference and scoring
primitives, the file-existence pass, and every per-format validator are in
@conformetry/languages; the validator
envelope is in @conformetry/validation;
rendering is in @conformetry/output.
"Language" here means a validator for one file format — TypeScript, JSON,
markdown, Python. The word "plugin" is reserved for the Nx plugin in
@conformetry/nx, and is deliberately not used
for these.
A validator supplies a descriptor and a single-document comparison. Extension
filtering, grouping differences under their file, and assembling the result are
handled once by RunnerService in @conformetry/validation, so a language
package contains only its comparison logic:
@Injectable()
export class ExampleValidatorService implements ConformetryLanguageValidator {
public readonly descriptor = EXAMPLE_VALIDATOR_DESCRIPTOR;
public validateDocument(
document: PreparedValidationDocument,
): DocumentValidationResult {
// compare document.renderedTemplate against document.instance
return { differences, totalWeight };
}
}
A validator reports how much the template asked for alongside what it found.
totalWeight counts every requirement the comparison weighed — conforming ones
included, because leaving them out would score an instance only against the
parts of itself that are already wrong.
Each difference may carry a weight, defaulting to 1. It says how many
requirements that one finding stands in for: a validator reports a missing
class once, however many members it held, so weighing the finding by its
subtree is what keeps deleting a class from costing the same as deleting an
import. No per-kind weight table is needed — a class is worth more because it
contains more.
score = (totalWeight - sum(difference.weight ?? 1)) / totalWeight
ScoringService, in @conformetry/languages, owns that arithmetic, including
the two cases worth getting right once: the default weight of a finding that
declares none, and an empty template whose denominator is zero and which
therefore conforms perfectly.
@conformetry/validation drives the
registered validators; they are never responsible for discovering files or
loading configuration.
Differences carry the location on both sides — instance and template — along
with the expected value and a concrete fix. That last field is the point:
reports are meant to be actionable by whoever, or whatever, has to make the
file conform. Prefer populating instanceLine/templateLine (or
instancePath for document formats) over folding a location into the message.
Types only: ConformetryDifference, ConformetryDifferenceLanguage,
ConformetryDifferenceType, ConformetryLanguageValidator, DirectoryEntry,
DocumentValidationResult, FileSystemAdapter, GeneratorDefinition,
GeneratorHook, GeneratorHookContext, GeneratorHooks, InstanceScore,
InventoriedInstance, InventoriedPairing, InventoriedTemplate,
LanguageValidatorDescriptor, LanguageValidatorResult,
PreparedValidationDocument, PreparedValidationPayload, and
ValidationFileResult.
nx run conformetry-core:vitest
One test, and it asserts the property that makes this package a leaf: the module contributes nothing at runtime, so importing a result type from here cannot drag a service or a NestJS module behind it. Exporting one value fails it.
MIT — see LICENSE.
This project was generated from the nestjs-service-project conformetry template.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.