Catalog npm
Back to packageRELEASE DETAILS

1.3.3

npm

@0xsarwagya/ontoly-diff

Deterministic Software Graph diffing for Ontoly.

change-detectiondeveloper-toolsgraph-diffontolysoftware-graphstatic-analysistypescript
Published4 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.3.3runtime
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": "4a3bb2bfc5a265213bb2600b6daf35d5194158fb",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-diff/-/ontoly-diff-1.3.3.tgz",
  "fileCount": 7,
  "integrity": "sha512-ZTBTvfg1tg4vIpx9Ai8jePbRDQSINsO4LubIqzIlW1NuacubMduGHv//8SxFZ0eXjgQINgPwkx/YKMt7gL8Q3Q==",
  "signatures": [
    {
      "sig": "MEYCIQCMO8yzwEasSg3fDHbW1m4xafcRf7T13dTiziK5sViWAQIhAIP6Yz1vSB/rab1eWP/v7dWYMCv7xKnxs8ShYUhq/kbo",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-diff@1.3.3",
    "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:be57e5e5152866cbd8bb8d92038ccb2f11a2e77a77a42e6a8fff109e1126f7af

Other collected versions

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