Fix js-yaml 5.x imports (no default export) - #551
Merged
Conversation
js-yaml 5.x dropped the default export. Change all six `import yaml from 'js-yaml'` sites to namespace imports (`import * as yaml from 'js-yaml'`) so load, dump, etc. resolve correctly.
cigamit
approved these changes
Jun 28, 2026
sy-base
pushed a commit
to sy-base/ascender
that referenced
this pull request
Jul 4, 2026
js-yaml 5.x dropped the default export. Change all six `import yaml from 'js-yaml'` sites to namespace imports (`import * as yaml from 'js-yaml'`) so load, dump, etc. resolve correctly. Co-authored-by: test <test@test.com>
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.
Summary
import yaml from 'js-yaml'call sites break at build time withexport 'default' was not found in 'js-yaml'import * as yaml from 'js-yaml') in all six filesFiles changed
awx/ui/src/util/yaml.jsawx/ui/src/util/prompt/mergeExtraVars.jsawx/ui/src/components/LaunchPrompt/steps/PreviewStep.jsawx/ui/src/components/Schedule/ScheduleAdd/ScheduleAdd.jsawx/ui/src/components/Schedule/ScheduleEdit/ScheduleEdit.jsawx/ui/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeModal.jsTest plan
npm startcompiles without js-yaml errors