Skip to content

chore(deps): update lodash-es requirement from ^4.17.21 to ^4.18.1 in plugin-chart-word-cloud#100

Open
devin-ai-integration[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/superset-frontend/plugins/plugin-chart-word-cloud/lodash-es-tw-4.18.1
Open

chore(deps): update lodash-es requirement from ^4.17.21 to ^4.18.1 in plugin-chart-word-cloud#100
devin-ai-integration[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/superset-frontend/plugins/plugin-chart-word-cloud/lodash-es-tw-4.18.1

Conversation

@devin-ai-integration

Copy link
Copy Markdown

Summary

Re-applies the stuck Dependabot bump (apache#41561) for lodash-es ^4.17.21 → ^4.18.1 in superset-frontend/plugins/plugin-chart-word-cloud, plus fixes for the two failing jest shards (5 and 7).

Dependency changes:

  • plugin-chart-word-cloud/package.json: add "lodash-es": "^4.18.1" as explicit dependency
  • Migrate imports: import { isEqual } from 'lodash''lodash-es' in WordCloud.tsx, import { sortBy } from 'lodash''lodash-es' in ColorSchemeControl/index.tsx

Test fixes (unrelated to version bump, but blocking CI on the upstream PR):

  • TablePreview.test.tsx: Remove stale IconTooltip mock (component now uses ActionButton); replace getByRole('button', { name: 'sync'/'eye' }) with findByTestId('Refresh table schema') / findByTestId('Show CREATE VIEW statement') to match current rendering
  • SavedQueryList.test.tsx: Narrow selector from /query/i to /Query$/ to avoid matching row-action ActionButtons whose aria-label (e.g. "Query preview") also contains "query"

Tracking issue: #91

Link to Devin session: https://app.devin.ai/sessions/a5b7db68e6cc4ff99a13fe8465805be9

… plugin-chart-word-cloud

- Migrate lodash imports to lodash-es in plugin-chart-word-cloud
- Add lodash-es ^4.18.1 as explicit dependency
- Fix TablePreview test: replace stale IconTooltip mock with data-test queries
- Fix SavedQueryList test: use specific selector to avoid multiple matches

Co-Authored-By: bot_apk <apk@cognition.ai>
@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

The plugin build requires @types/lodash-es to provide TypeScript
declarations for lodash-es imports. This was added to the upstream
root package.json as part of the lodash→lodash-es migration.

Co-Authored-By: bot_apk <apk@cognition.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants