Skip to content

Replace the archived URI reader with a maintained runtime - #864

Draft
Timothee Guerin (timotheeguerin) wants to merge 3 commits into
mainfrom
timotheeguerin/replace-archived-uri-runtime
Draft

Timothee Guerin (timotheeguerin) wants to merge 3 commits into
mainfrom
timotheeguerin/replace-archived-uri-runtime

Conversation

@timotheeguerin

Copy link
Copy Markdown
Member

No new lint rules are being accepted in this repository.

Please propose new Azure lint rules in Azure/typespec-azure.

The archived @azure-tools/uri expects the old callable get-uri export, so downstream dependency overrides can break URI reads while the original dependency stack remains outdated (specs mitigation).

Use the maintained get-uri runtime while preserving file, HTTP, FTP, and reference resolution behavior. Full Rush build, lint, and tests passed; the packaged validator also loaded an HTTP spec and external reference on Node 20.17, with a clean production audit.

Compatibility: Node.js 20.17 or newer is required (Node 18 support is removed). Jest 27 consumers that read URIs need NODE_OPTIONS=--experimental-vm-modules. Publish the coordinated core, rulesets, and AutoRest versions together; consumers with a global get-uri override must update or remove it when adopting the new versions.

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.

2 participants