You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "hainenber (via GitHub)" <gi...@apache.org> on 2026/02/08 08:18:14 UTC
[PR] build(dev-deps): move Webpack-dedicated `js-yaml-loader` to dev deps section [superset]
hainenber opened a new pull request, #37788:
URL: https://github.com/apache/superset/pull/37788
<!---
Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/
Example:
fix(dashboard): load charts correctly
-->
build(dev-deps): move Webpack-dedicated `js-yaml-loader` to dev deps section
### SUMMARY
<!--- Describe the change below, including rationale and design decisions -->
`js-yaml-loader` is only used for building bundled assets by Webpack so it would be pretty alien to have it as runtime dep. This PR is to move it to `devDependencies` section for clarity of purpose and to reduce vulnerability attack surface.
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
<!--- Skip this if not applicable -->
### TESTING INSTRUCTIONS
<!--- Required! What steps can be taken to manually verify the changes? -->
### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] build(dev-deps): move Webpack-dedicated `js-yaml-loader` to dev deps section [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37788:
URL: https://github.com/apache/superset/pull/37788#issuecomment-3866507701
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] build(dev-deps): move Webpack-dedicated `js-yaml-loader` to dev deps section [superset]
Posted by "hainenber (via GitHub)" <gi...@apache.org>.
hainenber commented on code in PR #37788:
URL: https://github.com/apache/superset/pull/37788#discussion_r2778884230
##########
superset-frontend/package.json:
##########
@@ -110,6 +110,12 @@
"@emotion/cache": "^11.4.0",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
+ "@luma.gl/constants": "~9.2.5",
Review Comment:
This is only alphabetic re-ordering of dependencies. It's safe
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] build(dev-deps): move Webpack-dedicated `js-yaml-loader` to dev deps section [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37788:
URL: https://github.com/apache/superset/pull/37788#issuecomment-3866509565
<!-- Bito Reply -->
The changes in package.json add several @luma.gl dependencies and remove js-yaml-loader from runtime dependencies. In package-lock.json, js-yaml-loader is moved to devDependencies with related packages marked as dev. This is more than alphabetic reordering and involves functional updates, but appears safe for dependency management.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] build(dev-deps): move Webpack-dedicated `js-yaml-loader` to dev deps section [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas merged PR #37788:
URL: https://github.com/apache/superset/pull/37788
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] build(dev-deps): move Webpack-dedicated `js-yaml-loader` to dev deps section [superset]
Posted by "codeant-ai-for-open-source[bot] (via GitHub)" <gi...@apache.org>.
codeant-ai-for-open-source[bot] commented on PR #37788:
URL: https://github.com/apache/superset/pull/37788#issuecomment-3866509191
## **Sequence Diagram**
The PR moves the Webpack-only package js-yaml-loader from runtime dependencies to devDependencies so it is only installed for development/builds. The diagram shows the change flow from manifest update to build-time use and absence at runtime.
```mermaid
sequenceDiagram
participant Dev as Developer / PR
participant Repo as package.json & package-lock.json
participant PM as Package Manager (npm/yarn)
participant Build as Webpack build
participant Runtime as Production runtime
Dev->>Repo: Modify manifests (move js-yaml-loader to devDependencies)
Repo->>PM: package-lock updated / install metadata marked dev
PM->>Build: Install devDependencies for CI/local build
Build->>PM: Use js-yaml-loader during asset bundling
Note over Runtime,PM: js-yaml-loader not included in production runtime installs
Runtime-->>Build: Serve bundled assets (no runtime dependency on js-yaml-loader)
```
---
*Generated by [CodeAnt AI](https://codeant.ai)*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org