Catalog npm
Back to packageRELEASE DETAILS

1.2.0

npm

@0xsarwagya/ontoly-diff

Deterministic Software Graph diffing for Ontoly.

change-detectiondeveloper-toolsgraph-diffontolysoftware-graphstatic-analysistypescript
Published1 Aug 2026
Direct dependencies5
Transitive dependenciesNot calculated

README

Current package documentation

@0xsarwagya/ontoly-diff

Responsibility

@0xsarwagya/ontoly-diff owns deterministic diffing between two Software Graphs. It computes added, removed, and modified nodes and added or removed edges. It does not parse repositories, run capabilities, or interpret changes semantically.

See RFC 0005 in rfcs/0005-graph-diffing.md for the full contract.

Installation

pnpm add @0xsarwagya/ontoly-diff

API

  • diffSoftwareGraphs(base, head) returns a GraphDiff describing added, removed, and modified nodes and added or removed edges.

Example

import { diffSoftwareGraphs } from "@0xsarwagya/ontoly-diff";

const diff = diffSoftwareGraphs(baseGraph, headGraph);
console.log(diff.summary);

Status

Alpha preview shipped in 1.1.0-alpha.2. The API follows RFC 0005 and is governed by the Software Graph specification and RFC process.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 5

Native requirements
5 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xsarwagya/ontoly-core
Environment
{
  "local_name": "@0xsarwagya/ontoly-core",
  "alias": false,
  "peer_metadata": null
}
1.2.0runtime
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^8.3.5development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^3.0.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
5.9.2development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22.15.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "1601e7498696101fa2e70fc5a7df6324962ff92e",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-diff/-/ontoly-diff-1.2.0.tgz",
  "fileCount": 7,
  "integrity": "sha512-H1EPmazub/gpd+FgRd8CiEALh5yXgk3zyAfky9O+hWdZBJ8QWFmUeaIu8Z0FgZ61RIaz+kQXLnw9RIQEyuldjw==",
  "signatures": [
    {
      "sig": "MEUCIQCVTTb9x2a5MaTDU7mKSsDRVVUpOdGT+HPJzik3LSZmJAIgQUp1x5crB+5gj5nZpGnjT+KelPP0KAjx+coVidy7yAY=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-diff@1.2.0",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 49052
}

Repository

PENDING
0xsarwagya/ontoly

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:40 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d41f35a135e944bd335f986d9809fa2b42bd6cfe06fba4d56aee978bda57c801

Other collected versions

1.3.57 Oct1.3.47 Oct1.3.34 Aug1.3.24 Aug1.3.14 Aug1.3.03 AugView all collected versions →