-
Notifications
You must be signed in to change notification settings - Fork 729
fix: profile worker dependencies import #3982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||
| import { proxyActivities } from '@temporalio/workflow' | ||||||
|
|
||||||
| import { parseLlmJson } from '@crowd/common' | ||||||
| import { parseLlmJson } from '@crowd/common/src/llm' | ||||||
|
||||||
| import { parseLlmJson } from '@crowd/common/src/llm' | |
| import { parseLlmJson } from '@crowd/common/llm' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary deep import bypasses package public API
Low Severity
The
parseLlmJsonfunction is already re-exported from@crowd/commonviaexport * from './llm'inservices/libs/common/src/index.ts. The new deep import@crowd/common/src/llmbypasses the package's public API and is the only such subpath import pattern in the entire codebase, making it inconsistent with all other@crowd/commonimports. The original import was correct.