Update fhirpath.js from 4.11.0 to 5.0.0 - #91
Merged
Merged
Conversation
- Update dependency version in both package.json and vue3-src/package.json - Replace removed Context type import in QuestionnaireContext.vue with local type alias (Context was not re-exported in v5.0.0) - All 222 tests pass with the new version Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Provides an npm_upgrade_context tool that gathers: - All package.json files referencing a given package - All source files importing from the package - Currently installed version - Target version registry info and changelog URL - Step-by-step upgrade instructions Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://thankful-water-06b155100-91.eastasia.4.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://thankful-water-06b155100-91.eastasia.4.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://yellow-plant-0209dde10-91.centralus.3.azurestaticapps.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The fhirpath.js package was pinned at 4.11.0 while v5.0.0 shipped on 2026-07-13 with ES module support, instance selector syntax, and several fixes. This PR bumps the dependency to pick up those improvements.
Approach
fhirpathversion spec from^4.11.0to^5.0.0in bothpackage.json(root) andvue3-src/package.json.Contexttype is no longer exported from fhirpath in v5. Replaced the import inQuestionnaireContext.vuewith an equivalent local type alias (Record<string, any>).All other imports (
fhirpath,fhirpath/fhir-context/r4,fhirpath/fhir-context/r5, named exports likeAsyncOptions,Model,types,version) remain compatible -- the documented entry points are unchanged in v5.Also included
Added a reusable
.github/extensions/npm-upgrade-helper/Copilot CLI extension that provides annpm_upgrade_contexttool. For future dependency upgrades, calling this tool surfaces all package.json references, every source file import, the installed version, registry metadata, and changelog links in one shot.