Skip to content

chore(deps): let the interface range reach UnregisterRoute - #28

Merged
Upd4ting merged 1 commit into
mainfrom
chore/bump-interface-api
Aug 10, 2026
Merged

chore(deps): let the interface range reach UnregisterRoute#28
Upd4ting merged 1 commit into
mainfrom
chore/bump-interface-api

Conversation

@Upd4ting

@Upd4ting Upd4ting commented Aug 10, 2026

Copy link
Copy Markdown
Member

The interface dependency read ^0.0.8 — and an npm caret on a 0.0.x version pins that exact patch (>=0.0.8 <0.0.9). Nothing depending on this module could ever resolve interface-api 0.0.10, where UnregisterRoute (AntelopeJS/interface-api#13) ships.

This matters beyond this package: the AntelopeJS loader hands every module of a deployment the implementor's interface copy. The pin here therefore decided the interface version for every consumer — the CMS page teardown calls UnregisterRoute and got TypeError: not a function in any environment where this module supplies the interface.

Widened to >=0.0.10 <1.0.0, the range shape consumers already use for 0.x interfaces. Lockfile resolves 0.0.10; 120 tests passing.

Consumer waiting on this: the CMS fix/release-page-route branch, which releases a page's own layout route on unregistration — the last registry its teardown did not reclaim.

Greptile Summary

Updates @antelopejs/interface-api so consumers can resolve the UnregisterRoute API introduced in version 0.0.10.

  • Widens the dependency range from ^0.0.8 to >=0.0.10 <1.0.0.
  • Updates the lockfile’s root resolution and utility peer snapshot to interface-api 0.0.10.

Confidence Score: 5/5

The PR appears safe to merge, with the manifest and lockfile consistently enabling interface-api 0.0.10.

The dependency range now reaches the required interface release, and the lockfile consistently resolves the root package and interface utility against version 0.0.10 without an identified current failure.

Important Files Changed

Filename Overview
package.json Widens the interface-api dependency range to include version 0.0.10 and subsequent compatible pre-1.0 releases.
pnpm-lock.yaml Consistently updates the root importer and dependency snapshots to interface-api 0.0.10 while retaining the separately required 0.0.8 snapshot.

Reviews (1): Last reviewed commit: "chore(deps): let the interface range rea..." | Re-trigger Greptile

The interface dependency read ^0.0.8, and an npm caret on a 0.0.x
version pins that exact patch: nothing depending on this module could
ever see interface-api 0.0.10, where UnregisterRoute ships. The
AntelopeJS loader hands every module the implementor's interface copy,
so the pin here decided for the whole deployment.

Widen to >=0.0.10 <1.0.0, the same shape consumers already use.
@Upd4ting
Upd4ting merged commit 1f7b2a1 into main Aug 10, 2026
3 checks passed
@Upd4ting
Upd4ting deleted the chore/bump-interface-api branch August 10, 2026 15:26
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