Skip to content
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

[Bug] Dependency Imports #4763

Open
Blackglade opened this issue Feb 4, 2025 · 1 comment
Open

[Bug] Dependency Imports #4763

Blackglade opened this issue Feb 4, 2025 · 1 comment
Labels
Awaiting Reproduction Can we reproduce the reported bug?

Comments

@Blackglade
Copy link

Blackglade commented Feb 4, 2025

Describe the Bug

I noticed some strange imports in specific utility functions / files that were not labeled as a direct dependency in the parent package.json file. For example take a look at this import in the cornerstone extension:

import { compact, flatten, zip } from 'lodash';

This sounds like something that is a crucial utility library. It is, however, labeled as a dev dependency in the parent package.json:

"lodash": "^4.17.21"

Why does this occur?

Steps to Reproduce

Steps defined as above.

The current behavior

Imports are in dev dependency.

The expected behavior

Should be moved to dependency

OS

macOS

Node version

v22

Browser

Chrome

@Blackglade Blackglade added the Awaiting Reproduction Can we reproduce the reported bug? label Feb 4, 2025
Copy link
Member

sedghi commented Feb 6, 2025

I don't know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Reproduction Can we reproduce the reported bug?
Projects
None yet
Development

No branches or pull requests

2 participants